Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

ClpSolve Class Reference

This is a very simple class to guide algorithms. More...

#include <ClpSolve.hpp>

List of all members.

Public Types

enum  SolveType {
  useDual = 0, usePrimal, usePrimalorSprint, useBarrier,
  automatic
}
 enums for solve function More...

enum  PresolveType { presolveOn = 0, presolveOff, presolveNumber }

Public Member Functions

Constructors and destructor and copy
 ClpSolve ()
 Default constructor.

 ClpSolve (const ClpSolve &)
 Copy constructor.

ClpSolveoperator= (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)
 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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

int getSpecialOption (int which) const
 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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

void setSolveType (SolveType method, int extraInfo=-1)
 Solve types.

SolveType getSolveType ()
 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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

void setPresolveType (PresolveType amount, int extraInfo=-1)
 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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

PresolveType getPresolveType ()
 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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

int getPresolvePasses () const
 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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

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.


Detailed Description

This is a very simple class to guide algorithms.

It is used to tidy up passing parameters to initialSolve and maybe for output from that

Definition at line 19 of file ClpSolve.hpp.


Member Enumeration Documentation

enum ClpSolve::SolveType
 

enums for solve function

Enumeration values:
useDual 
usePrimal 
usePrimalorSprint 
useBarrier 
automatic 

Definition at line 24 of file ClpSolve.hpp.

enum ClpSolve::PresolveType
 

Enumeration values:
presolveOn 
presolveOff 
presolveNumber 

Definition at line 31 of file ClpSolve.hpp.


Constructor & Destructor Documentation

ClpSolve::ClpSolve  ) 
 

Default constructor.

ClpSolve::ClpSolve const ClpSolve  ) 
 

Copy constructor.

ClpSolve::~ClpSolve  ) 
 

Destructor.


Member Function Documentation

ClpSolve& ClpSolve::operator= const ClpSolve rhs  ) 
 

Assignment operator. This copies the data.

void ClpSolve::setSpecialOption int  which,
int  value,
int  extraInfo = -1
 

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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

int ClpSolve::getSpecialOption int  which  )  const
 

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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

void ClpSolve::setSolveType SolveType  method,
int  extraInfo = -1
 

Solve types.

SolveType ClpSolve::getSolveType  ) 
 

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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

void ClpSolve::setPresolveType PresolveType  amount,
int  extraInfo = -1
 

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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

PresolveType ClpSolve::getPresolveType  ) 
 

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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

int ClpSolve::getPresolvePasses  )  const
 

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 10 - slp before 2 - interrupt handling - 0 yes, 1 no (for threadsafe) 3 - whether to make +- 1matrix - 0 yes, 1 no 4 - for barrier 0 - dense cholesky 1 - Wssmp allowing some long columns 2 - Wssmp not allowing long columns 3 - Wssmp using KKT 4 - bit set to do scaling 8 - set to be aggressive with gamma/delta?

int ClpSolve::getExtraInfo int  which  )  const
 

Extra info for idiot (or sprint).


Member Data Documentation

SolveType ClpSolve::method_ [private]
 

Solve type.

Definition at line 109 of file ClpSolve.hpp.

PresolveType ClpSolve::presolveType_ [private]
 

Presolve type.

Definition at line 111 of file ClpSolve.hpp.

int ClpSolve::numberPasses_ [private]
 

Amount of presolve.

Definition at line 113 of file ClpSolve.hpp.

int ClpSolve::options_[4] [private]
 

Options.

Definition at line 115 of file ClpSolve.hpp.

int ClpSolve::extraInfo_[4] [private]
 

Extra information.

Definition at line 117 of file ClpSolve.hpp.


The documentation for this class was generated from the following file:
Generated on Fri Aug 6 11:42:59 2004 by doxygen 1.3.5