Crate soplex_sys

Crate soplex_sys 

Source

Functions§

SoPlex_addColRational
adds a single rational column
SoPlex_addColReal
adds a single (floating point) column
SoPlex_addRowRational
adds a single rational row
SoPlex_addRowReal
adds a single (floating point) row
SoPlex_basisColStatus
returns status of column 0 -> column is set to its upper bound 1 -> column is set to its lower bound 2 -> column is fixed to its identical bounds 3 -> column is free and fixed to zero 4 -> column is basic 5 -> nothing known about basis status
SoPlex_basisRowStatus
returns status of row 0 -> row is set to its upper bound 1 -> row is set to its lower bound 2 -> row is fixed to its identical bounds 4 -> row is basic 5 -> nothing known about basis status
SoPlex_changeBoundsReal
changes vectors of column bounds to lb and ub
SoPlex_changeLhsRational
changes rational left-hand side vector for constraints to lhs
SoPlex_changeLhsReal
changes left-hand side vector for constraints to lhs
SoPlex_changeLowerReal
changes vector of lower bounds to lb
SoPlex_changeObjRational
changes rational objective function vector to obj
SoPlex_changeObjReal
changes objective function vector to obj
SoPlex_changeRangeReal
changes both sides for constraints to given lhs and rhs
SoPlex_changeRhsRational
changes rational right-hand side vector for constraints to rhs
SoPlex_changeRhsReal
changes right-hand side vector for constraints to rhs
SoPlex_changeRowLhsReal
changes left-hand side of a row to lhs
SoPlex_changeRowRangeReal
changes both sides of a row to given lhs and rhs
SoPlex_changeRowRhsReal
changes right-hand side of a row to rhs
SoPlex_changeUpperReal
changes vector of upper bounds to ub
SoPlex_changeVarBoundsRational
changes rational bounds of a column to lbnum/lbdenom and ubnum/ubdenom
SoPlex_changeVarBoundsReal
changes bounds of a column to lb and ub
SoPlex_changeVarLowerReal
changes lower bound of column to lb
SoPlex_changeVarUpperReal
changes upper bound of column to ub
SoPlex_clearLPReal
clears the (floating point) LP
SoPlex_create
creates new SoPlex struct
SoPlex_free
frees SoPlex struct
SoPlex_getDualReal
gets dual solution
SoPlex_getIntParam
returns value of integer parameter
SoPlex_getLowerReal
gets lower bound vector of columns into lb
SoPlex_getNumIterations
returns the number of iteration in last call to solve
SoPlex_getObjReal
gets objective vector into obj
SoPlex_getPrimalRationalString
Returns rational primal solution in a char pointer. The caller needs to ensure the char array is freed.
SoPlex_getPrimalReal
gets primal solution
SoPlex_getRedCostReal
gets reduced cost vector
SoPlex_getRowBoundsRational
get rational lower and upper bounds of row i
SoPlex_getRowBoundsReal
get lower and upper bounds of row i
SoPlex_getRowVectorRational
get non-zero entries and indices of rational row i
SoPlex_getRowVectorReal
get non-zero entries and indices of row i
SoPlex_getSolvingTime
returns the time spent in last call to solve
SoPlex_getStatus
returns the current solver status
SoPlex_getUpperReal
gets upper bound vector of columns into ub
SoPlex_numCols
returns number of columns
SoPlex_numRows
returns number of rows
SoPlex_objValueRationalString
Returns the rational objective value (as a string) if a primal solution is available. The caller needs to ensure the char array is freed.
SoPlex_objValueReal
returns the objective value if a primal solution is available
SoPlex_optimize
optimizes the given LP and returns solver status
SoPlex_readBasisFile
reads basis information from filename and returns true on success
SoPlex_readInstanceFile
reads LP file in LP or MPS format according to READMODE parameter; returns true on success
SoPlex_readSettingsFile
reads settings from filename and returns true on success
SoPlex_removeColReal
removes a single (floating point) column
SoPlex_removeRowReal
removes a single (floating point) row
SoPlex_setBoolParam
sets boolean parameter value
SoPlex_setIntParam
sets integer parameter value
SoPlex_setRational
enables rational solving mode
SoPlex_setRealParam
sets real parameter value
SoPlex_writeFileReal
write LP to file; LP or MPS format is chosen from the extension in filename