Clp  1.17.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations
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

Enumerator
OsiMaxNumIteration 

Iteration limit for initial solve and resolve.

The maximum number of iterations (whatever that means for the given solver) the solver can execute in the OsiSolverinterface::initialSolve() and OsiSolverinterface::resolve() methods before terminating.

OsiMaxNumIterationHotStart 

Iteration limit for hot start.

The maximum number of iterations (whatever that means for the given solver) the solver can execute in the OsiSolverinterface::solveFromHotStart() method before terminating.

OsiNameDiscipline 

Handling of row and column names.

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 

End marker.

Used by OsiSolverInterface to allocate a fixed-sized array to store integer parameters.

Definition at line 8 of file OsiSolverParameters.hpp.

Enumerator
OsiDualObjectiveLimit 

Dual objective limit.

This is to be used as a termination criteria in algorithms where the dual objective changes monotonically (e.g., dual simplex, volume algorithm).

OsiPrimalObjectiveLimit 

Primal objective limit.

This is to be used as a termination criteria in algorithms where the primal objective changes monotonically (e.g., primal simplex)

OsiDualTolerance 

Dual feasibility tolerance.

The maximum amount a dual constraint can be violated and still be considered feasible.

OsiPrimalTolerance 

Primal feasibility tolerance.

The maximum amount a primal constraint can be violated and still be considered feasible.

OsiObjOffset 

The value of any constant term in the objective function.

OsiLastDblParam 

End marker.

Used by OsiSolverInterface to allocate a fixed-sized array to store double parameters.

Definition at line 52 of file OsiSolverParameters.hpp.

Enumerator
OsiProbName 

The name of the loaded problem.

This is the string specified on the Name card of an mps file.

OsiSolverName 

The name of the solver.

This parameter is read-only.

OsiLastStrParam 

End marker.

Used by OsiSolverInterface to allocate a fixed-sized array to store string parameters.

Definition at line 87 of file OsiSolverParameters.hpp.

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 106 of file OsiSolverParameters.hpp.

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 130 of file OsiSolverParameters.hpp.