Ignore:
Timestamp:
May 10, 2005 11:40:19 AM (15 years ago)
Author:
rlh
Message:

updated the user guide

File:
1 edited

Legend:

Unmodified
Added
Removed
  • html/trunk/Cbc/ch03s03.html

    r554 r557  
    1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Branching</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.2"><link rel="home" href="index.html" title="CBC User Guide"><link rel="up" href="ch03.html" title="Chapter 3. 
    2   Other Classes and examples
    3   "><link rel="previous" href="ch03s02.html" title="CbcHeuristic - heuristic methods"><link rel="next" href="ch03s04.html" title="Advanced use of solver"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Branching</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><th width="60%" align="center">Chapter 3. 
    4   Other Classes and examples
    5   </th><td width="20%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="branching"></a>Branching</h2></div></div><div></div></div><p>
     1<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
     2<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Branching</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.2"/><link rel="home" href="index.html" title="CBC User Guide"/><link rel="up" href="ch03.html" title="Chapter 3. &#10;  Other Classes and Examples&#10;  "/><link rel="previous" href="ch03s02.html" title="CbcHeuristic - Heuristic Methods"/><link rel="next" href="ch03s04.html" title="Advanced use of solver"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Branching</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><th width="60%" align="center">Chapter 3. 
     3  Other Classes and Examples
     4  </th><td width="20%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr></table><hr/></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="branching"/>Branching</h2></div></div><div/></div><p>
    65If the user declares variables as integer but does no more, then Cbc will treat them
    76as simple integer variables.  In many cases the user would like to do some more fine tuning.  This shows how to create integer variables with pseudo costs.  When pseudo costs are given then
     
    98   The full code is in <tt class="filename">longthin.cpp</tt>
    109  (this code can be found in the CBC Samples directory, see
    11   <a href="ch05.html" title="Chapter 5. 
    12 More Samples
    13 ">Chapter 5, <i>
     10  <a href="ch05.html" title="Chapter 5. &#10;More Samples&#10;">Chapter 5, <i>
    1411More Samples
    1512</i></a>). 
     
    1916  The expected cost of going up obviously depends on the cost of the
    2017  variable so we just choose pseudo costs to reflect that.
    21   </p><div class="example"><a name="id2903248"></a><p class="title"><b>Example 3.8. Pseudo costs</b></p><pre class="programlisting">
     18  </p><div class="example"><a id="id3369250"/><p class="title"><b>Example 3.8. Pseudo costs</b></p><pre class="programlisting">
    2219   
    2320  int iColumn;
     
    5956   The full code is in <tt class="filename">crew.cpp</tt>
    6057  (this code can be found in the CBC Samples directory, see
    61   <a href="ch05.html" title="Chapter 5. 
    62 More Samples
    63 ">Chapter 5, <i>
     58  <a href="ch05.html" title="Chapter 5. &#10;More Samples&#10;">Chapter 5, <i>
    6459More Samples
    6560</i></a>).  In this case we may as well leave the simple integer
     
    6762branch on the follow-on rules first so we use priorities to say that those are the
    6863important ones.
    69 </p><div class="example"><a name="id2903330"></a><p class="title"><b>Example 3.9. Follow-on branching</b></p><pre class="programlisting">
     64</p><div class="example"><a id="id3369354"/><p class="title"><b>Example 3.9. Follow-on branching</b></p><pre class="programlisting">
    7065   
    7166  int iColumn;
     
    10095  model.passInPriorities(&amp;followPriority,true);
    10196     
    102   </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">CbcHeuristic - heuristic methods </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Advanced use of solver</td></tr></table></div></body></html>
     97  </pre></div></div><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">CbcHeuristic - Heuristic Methods </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Advanced use of solver</td></tr></table></div></body></html>
Note: See TracChangeset for help on using the changeset viewer.