- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/Osi-0.98.1/Osi/src/OsiSolverParameters.hpp File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Enumerations
enum | OsiIntParam { OsiMaxNumIteration = 0, OsiMaxNumIterationHotStart, OsiNameDiscipline, OsiLastIntParam }
enum | OsiDblParam { OsiDualObjectiveLimit = 0, OsiPrimalObjectiveLimit, OsiDualTolerance, OsiPrimalTolerance, OsiObjOffset, OsiLastDblParam }
enum | OsiStrParam { OsiProbName = 0, OsiSolverName, OsiLastStrParam }
enum | OsiHintParam { OsiDoPresolveInInitial = 0, OsiDoDualInInitial, OsiDoPresolveInResolve, OsiDoDualInResolve, OsiDoScale, OsiDoCrash, OsiDoReducePrint, OsiDoInBranchAndCut, OsiLastHintParam }
enum | OsiHintStrength { OsiHintIgnore = 0, OsiHintTry, OsiHintDo, OsiForceDo }

## Enumeration Type Documentation

enum OsiIntParam

Enumerator:

  OsiMaxNumIteration | The maximum number of iterations (whatever that means for the given solver) the solver can execute in the OsiSolverinterface::initialSolve() and the OsiSolverinterface::resolve() methods before terminating.
  OsiMaxNumIterationHotStart | The maximum number of iterations (whatever that means for the given solver) the solver can execute in the OsiSolverinterface::solveFromHotStart() method before terminating.
  OsiNameDiscipline | The name discipline; specifies how the solver will handle row and column names. 0: Auto names: Names cannot be set by the client. Names of the form Rnnnnnnn or Cnnnnnnn are generated on demand when a name for a specific row or column is requested; nnnnnnn is derived from the row or column index. Requests for a vector of names return a vector with zero entries. 1: Lazy names: Names supplied by the client are retained. Names of the form Rnnnnnnn or Cnnnnnnn are generated on demand if no name has been supplied by the client. Requests for a vector of names return a vector sized to the largest index of a name supplied by the client; some entries in the vector may be null strings. 2: Full names: Names supplied by the client are retained. Names of the form Rnnnnnnn or Cnnnnnnn are generated on demand if no name has been supplied by the client. Requests for a vector of names return a vector sized to match the constraint system, and all entries will contain either the name specified by the client or a generated name.
  OsiLastIntParam | Just a marker, so that OsiSolverInterface can allocate a static sized array to store parameters.

Definition at line 7 of file OsiSolverParameters.hpp.

enum OsiDblParam

Enumerator:

  OsiDualObjectiveLimit | Dual objective limit. This is to be used as a termination criteria in methods where the dual objective monotonically changes (e.g., dual simplex, the volume algorithm)
  OsiPrimalObjectiveLimit | Primal objective limit. This is to be used as a termination criteria in methods where the primal objective monotonically changes (e.g., primal simplex)
  OsiDualTolerance | The maximum amount the dual constraints can be violated and still be considered feasible.
  OsiPrimalTolerance | The maximum amount the primal constraints can be violated and still be considered feasible.
  OsiObjOffset | The value of any constant term in the objective function.
  OsiLastDblParam | Just a marker, so that OsiSolverInterface can allocate a static sized array to store parameters.

Definition at line 40 of file OsiSolverParameters.hpp.

enum OsiStrParam

Enumerator:

  OsiProbName | Name of the problem. This is the found on the Name card of an mps file.
  OsiSolverName | Name of the solver. This parameter is not settable.
  OsiLastStrParam | Just a marker, so that OsiSolverInterface can allocate a static sized array to store parameters.

Definition at line 63 of file OsiSolverParameters.hpp.

enum OsiHintParam

Enumerator:

  OsiDoPresolveInInitial | Whether to do a presolve in initialSolve.
  OsiDoDualInInitial | Whether to use a dual algorithm in initialSolve. The reverse is to use a primal algorithm
  OsiDoPresolveInResolve | Whether to do a presolve in resolve.
  OsiDoDualInResolve | Whether to use a dual algorithm in resolve. The reverse is to use a primal algorithm
  OsiDoScale | Whether to scale problem.
  OsiDoCrash | Whether to create a non-slack basis (only in initialSolve).
  OsiDoReducePrint | Whether to reduce amount of printout, e.g., for branch and cut.
  OsiDoInBranchAndCut | Whether we are in branch and cut - so can modify behavior.
  OsiLastHintParam | Just a marker, so that OsiSolverInterface can allocate a static sized array to store parameters.

Definition at line 74 of file OsiSolverParameters.hpp.

enum OsiHintStrength

Enumerator:

  OsiHintIgnore | Ignore hint (default).
  OsiHintTry | This means it is only a hint.
  OsiHintDo | This means do hint if at all possible.
  OsiForceDo | And this means throw an exception if not possible.

Definition at line 98 of file OsiSolverParameters.hpp.