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
[2]1To build Clp see INSTALL file
[225]3To use Clp you need the Clp and Coin libraries
5To make the unitTest and standalone executable do
[349]7make unitTest in the Clp directory (or make in Clp/test).  This creates an executable Clp
[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
14and then try ? or setting various stuff.
[349]16clp filename   reads file, does presolve and dual algorithm
17clp filename -primalsimplex would use primal instead
[349]19On Linux clp can do file completion and line editing if it can find history, readline and termcap.. 
[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
[102]26clp -presolve on -dualbound 1.0e10 -netlib
28works well.
[349]30There are samples in ./Samples.  To create an executable - testit do
[349]32make DRIVER=minimum to use minimum.cpp
[349]34or whichever driver you want.  A list is in Makefile.
36Three useful samples are:
[64]38minimum.cpp  This is the simplest possible program to read an mps file.
[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.
45presolve.cpp.  This is a good driver for larger problems.
47Other ones can get complicated so start simple and work your way up.
Note: See TracBrowser for help on using the repository browser.