#include <ClpSolve.hpp>
Public Types | |
enum | SolveType { useDual = 0, usePrimal, usePrimalorSprint, useBarrier, automatic } |
enum | PresolveType { presolveOn = 0, presolveOff, presolveNumber } |
Public Member Functions | |
Constructors and destructor and copy | |
ClpSolve () | |
Default constructor. | |
ClpSolve (const ClpSolve &) | |
Copy constructor. | |
ClpSolve & | operator= (const ClpSolve &rhs) |
Assignment operator. This copies the data. | |
~ClpSolve () | |
Destructor. | |
Functions most useful to user | |
void | setSpecialOption (int which, int value, int extraInfo=-1) |
int | getSpecialOption (int which) const |
void | setSolveType (SolveType method, int extraInfo=-1) |
Solve types. | |
SolveType | getSolveType () |
void | setPresolveType (PresolveType amount, int extraInfo=-1) |
PresolveType | getPresolveType () |
int | getPresolvePasses () const |
int | getExtraInfo (int which) const |
Extra info for idiot (or sprint). | |
Private Attributes | |
data. | |
SolveType | method_ |
Solve type. | |
PresolveType | presolveType_ |
Presolve type. | |
int | numberPasses_ |
Amount of presolve. | |
int | options_ [4] |
Options. | |
int | extraInfo_ [4] |
Extra information. |
Definition at line 19 of file ClpSolve.hpp.
|
enums for solve function Definition at line 24 of file ClpSolve.hpp.
00024 { 00025 useDual=0, 00026 usePrimal, 00027 usePrimalorSprint, 00028 useBarrier, 00029 automatic 00030 }; |
|
which translation is: which: 0 - startup in Dual (nothing if basis exists).: 0 - no basis 1 - crash 2 - use initiative about idiot! but no crash 1 - startup in Primal (nothing if basis exists): 0 - use initiative 1 - use crash 2 - use idiot and look at further info 3 - use sprint and look at further info 4 - use all slack 5 - use initiative but no idiot 6 - use initiative but no sprint 7 - use initiative but no crash 8 - do allslack or idiot 9 - do allslack or sprint 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no Definition at line 1043 of file ClpSolve.cpp. References extraInfo_, and options_.
01044 { 01045 options_[which]=value; 01046 extraInfo_[which]=extraInfo; 01047 } |