source: trunk/README @ 349

Last change on this file since 349 was 349, checked in by forrest, 17 years ago

For JP

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
RevLine 
[2]1To build Clp see INSTALL file
2
[225]3To use Clp you need the Clp and Coin libraries
[2]4
5To make the unitTest and standalone executable do
6
[349]7make unitTest in the Clp directory (or make in Clp/test).  This creates an executable clp.in Clp
[2]8
[349]9Running clp gives you some hints.  It can do a unit test (clp -unitTest) and solve netlib
10problems (-netlib or -netlibp using primal).  It can also solve problems and set tolerances etc.  Just do
[2]11
[349]12clp
[64]13 
14and then try ? or setting various stuff.
15
[349]16clp filename   reads file, does presolve and dual algorithm
17clp filename -primalsimplex would use primal instead
[2]18
[349]19On Linux clp can do file completion and line editing if it can find history, readline and termcap.. 
20
[64]21If you want to stress the code you can set various stuff e.g. dantzig pricing
22 and then go into netlib testing.  I do not guarantee that it will solve all
[102]23netlib if you get too creative.  For instance using presolve makes netlib
24solve faster - but pilot87 prefers a large infeasibility weight.  So
[2]25
[102]26clp -presolve on -dualbound 1.0e10 -netlib
27
28works well.
29
[349]30There are samples in ./Samples.  To create an executable - testit do
[2]31
[349]32make DRIVER=minimum to use minimum.cpp
[64]33
[349]34or whichever driver you want.  A list is in Makefile.
35
36Three useful samples are:
37
[64]38minimum.cpp  This is the simplest possible program to read an mps file.
[102]39
[64]40defaults.cpp.  This does not do much more, but it does it in much more
41complicated way by specifically setting defaults so it does give more
42useful information.  It also prints a solution in a format "similar" to that
43of MPSX.
[102]44
45presolve.cpp.  This is a good driver for larger problems.
[349]46
47Other ones can get complicated so start simple and work your way up.
Note: See TracBrowser for help on using the repository browser.