Changes between Version 7 and Version 8 of FAQ


Ignore:
Timestamp:
Jul 13, 2006 1:16:39 PM (14 years ago)
Author:
andreasw
Comment:

exchanged last two FAQs; minor changes in text

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v7 v8  
    2222SBB stands for Simple Branch and Bound. When COIN-OR LP was being written, the Osi interface demanded an integer solver. An exception could have been thrown but anyone can write a branch and bound code in a day. With Strong Branching it was 460 lines of code, without 300 lines. Somehow the code kept growing and eventually it was moved it to its own project. Now the "Simple" is not as accurate and there was confusion with Gams Sbb code so was frozen as of Halloween 2004. All future development has been on Cbc (COIN-OR Branch and Cut) which is just a renamed version of Sbb.
    2323
    24 == How do you build the COIN-OR Cbc AMPL interface on Windows using cygwin from the CVS Cbc code base? ==
     24
     25== How do you build the COIN-OR Cbc AMPL solver executable on Unix-like platforms (including Cygwin and MinGW) from the ''SUBVERSION'' Cbc code base? ==
     26
     27 * First get Cbc:
     28{{{
     29svn co https://projects.coin-or.org/svn/Cbc/trunk cbc
     30}}}
     31 * Get the AMPL ASL library. There is a script with the distribution that makes setting up the ASL very convenient:
     32{{{
     33cd cbc/ThirdParty/ASL
     34./get.ASL
     35}}}
     36 * Run {{{configure}}} from the root directory of the source distribution ({{{src}}} in this case) and build cbc.
     37{{{
     38cd ../..
     39./configure
     40make
     41make install
     42}}}
     43
     44 * NOTE: If you are working in Cygwin or MinGW and use the native MS compiler ("cl"), you need to do the following steps in the set of instructions in the previous bullet, immediately after "{{{./configure}}}":
     45{{{
     46cd ThirdParty/ASL
     47./compile_MS_ASL
     48cd ../..
     49}}}
     50
     51 * The resulting {{{cbc}}} executable will work both as a regular command line shell to cbc and as an AMPL driver. '''Make sure it is on your path'''. Then simply choose cbc as the solver in AMPL:
     52{{{
     53ampl: option solver cbc;
     54}}}
     55
     56== How do you build the COIN-OR Cbc AMPL solver executable on Windows using cygwin from the (old) ''CVS'' Cbc code base? ==
    2557You will need to have cygwin installed on the machine. Cygwin can be downloaded and installed from http://www.cygwin.com.
    2658
     
    6092
    6193To use coin_cbc.exe as the ampl interface, specify "option solver coin_cbc.exe" from the ampl prompt or specify it in the .run file.
    62 
    63 == How do you build the COIN-OR Cbc AMPL interface on unix from the svn Cbc code base? ==
    64 
    65  * First get Cbc:
    66 {{{
    67 svn co https://projects.coin-or.org/svn/Cbc/trunk cbc
    68 }}}
    69  * Get the AMPL ASL library. There is a script with the distribution that makes setting up the ASL very convenient:
    70 {{{
    71 cd cbc/ThirdParty/ASL
    72 ./get.ASL
    73 }}}
    74  * Run {{{configure}}} from the root directory of the source distribution ({{{src}}} in this case) and build cbc.
    75 {{{
    76 cd ../..
    77 ./configure
    78 make
    79 make install
    80 }}}
    81 
    82  * NOTE: If you are working in Cygwin or MinGW and use the native MS compiler ("cl"), you need to do the following steps in the set of instructions in the previous bullet, immediately after "{{{./configure}}}":
    83 {{{
    84 cd ThirdParty/ASL
    85 ./compile_MS_ASL
    86 cd ../..
    87 }}}
    88 
    89  * The resulting {{{cbc}}} executable will work both as a regular command line shell to cbc and as an AMPL driver. '''Make sure it is on your path'''. Then simply choose cbc as the solver in AMPL:
    90 {{{
    91 ampl: option solver cbc;
    92 }}}