source: trunk/README @ 129

Last change on this file since 129 was 2, checked in by ladanyi, 16 years ago

Import of Coin Branch-and-Cut (formerly known as Sbb)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1To build Cbc see INSTALL file
2
3To use Cbc you need the Cbc, Cgl, Coin and Osi libraries.  You
4will probably need Clp as well.
5
6To make the unitTest and standalone executable do
7
8make unitTest in this directory.  This creates an executable cbc.
9
10Running cbc gives you some hints.  Just do
11
12cbc -
13 
14and then try ? or setting various stuff.
15
16On Linux cbc can do file completion and line editing. 
17
18While the competition is on no work is being done on the cbc driver.  You
19should look at the samples.
20
21There are samples in ./Samples.  Use the corresponding Makefile to
22create an executable - testit.
23
24At present there are only two useful samples.
25
26sample.cpp  This is a simple program to read an mps file.and solve the
27                integer problem.
28
29sample2.cpp.  This is the benchmark driver for the competition.  It overrides
30                the default branching methods and adds a (mildly useless)
31                heuristic.  It is intended to show you how to add your
32                own methods.  See CbcCompareUser.hpp for how to modify
33                choice of node from tree.  See CbcBranchUser.?pp for
34                how to modify which variable is chosen at a node.  For
35                more complex stuff such as new types of branches see
36                CbcBranchBase and CbcBranchActual in directory Cbc.
37                To see how to add heuristics see CbcHeuristicUser.?pp.
38
39                To add cut generators - define them as in Cgl and then just
40                add them as in sample2.cpp
41
42                The script "runtimes" in Samples directory will
43                run some or all of test set.  The version checked in
44                does some - just take off # to run.  An optional time
45                in minutes can be passed.
46
47
48
Note: See TracBrowser for help on using the repository browser.