All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lpi_spx.cpp File Reference Detailed DescriptionLP interface for SoPlex version 1.4 and higher. This is an implementation of SCIP's LP interface for SoPlex. While the ratio test is fixed to SoPlex's standard, different pricing methods can be chosen and an autopricing strategy (start with devex and switch to steepest edge after too many iterations) is implemented directly. Scaler and simplifier may be applied if solving from scratch. For debugging purposes, the SoPlex results can be double checked with CPLEX if WITH_LPSCHECK is defined. This may yield false positives, since the LP is dumped to a file for transfering it to CPLEX, hence, precision may be lost. Definition in file lpi_spx.cpp. #include "spxsolver.h" #include "slufactor.h" #include "spxsteeppr.h" #include "spxparmultpr.h" #include "spxdevexpr.h" #include "spxfastrt.h" #include "spxmainsm.h" #include "spxequilisc.h" #include "scip/pub_message.h" #include <cassert> #include "lpi/lpi.h" #include "scip/bitencode.h" Go to the source code of this file.
Macro Definition Documentation
start with devex and switch to steepest edge after this many iterations Definition at line 34 of file lpi_spx.cpp.
if defined then in SCIPlpiStrongbranch() we restore the basis after the down branch and after the up branch; if false only after the end of a strong branching phase, which however seems to mostly increase strong branching time and iterations Definition at line 35 of file lpi_spx.cpp.
Definition at line 80 of file lpi_spx.cpp. Referenced by SCIPlpiGetSolverName().
verbosity level for LPINFO Definition at line 116 of file lpi_spx.cpp.
Definition at line 126 of file lpi_spx.cpp. Referenced by scip::ObjBranchrule::SCIP_DECL_BRANCHEXECEXT(), scip::ObjBranchrule::SCIP_DECL_BRANCHEXECLP(), scip::ObjBranchrule::SCIP_DECL_BRANCHEXECPS(), scip::ObjConshdlr::SCIP_DECL_CONSPRESOL(), scip::ObjConshdlr::SCIP_DECL_CONSPRINT(), scip::ObjConshdlr::SCIP_DECL_CONSPROP(), scip::ObjConshdlr::SCIP_DECL_CONSRESPROP(), scip::ObjConshdlr::SCIP_DECL_CONSSEPALP(), scip::ObjConshdlr::SCIP_DECL_CONSSEPASOL(), scip::ObjProp::SCIP_DECL_PROPPRESOL(), scip::ObjProp::SCIP_DECL_PROPRESPROP(), scip::ObjReader::SCIP_DECL_READERREAD(), scip::ObjReader::SCIP_DECL_READERWRITE(), scip::ObjSepa::SCIP_DECL_SEPAEXECLP(), scip::ObjSepa::SCIP_DECL_SEPAEXECSOL(), scip::ObjProbData::scip_trans(), scip::ObjVardata::scip_trans(), SCIPexprintCompile(), SCIPexprintCreate(), SCIPexprintEval(), SCIPexprintEvalInt(), SCIPexprintFree(), SCIPexprintFreeData(), SCIPexprintGrad(), SCIPexprintGradInt(), SCIPexprintHessianDense(), SCIPexprintHessianSparsityDense(), SCIPexprintNewParametrization(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiChgBounds(), SCIPlpiChgCoef(), SCIPlpiChgObj(), SCIPlpiChgObjsen(), SCIPlpiChgSides(), SCIPlpiClear(), SCIPlpiClearState(), SCIPlpiCreate(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiEndStrongbranch(), SCIPlpiExistsDualRay(), SCIPlpiExistsPrimalRay(), SCIPlpiFree(), SCIPlpiFreeNorms(), SCIPlpiFreeState(), SCIPlpiGetBase(), SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetBounds(), SCIPlpiGetCoef(), SCIPlpiGetColNames(), SCIPlpiGetCols(), SCIPlpiGetDualfarkas(), SCIPlpiGetInternalStatus(), SCIPlpiGetIntpar(), SCIPlpiGetIterations(), SCIPlpiGetNCols(), SCIPlpiGetNNonz(), SCIPlpiGetNorms(), SCIPlpiGetNRows(), SCIPlpiGetObj(), SCIPlpiGetObjsen(), SCIPlpiGetObjval(), SCIPlpiGetPrimalRay(), SCIPlpiGetRealpar(), SCIPlpiGetRealSolQuality(), SCIPlpiGetRowNames(), SCIPlpiGetRows(), SCIPlpiGetSides(), SCIPlpiGetSol(), SCIPlpiGetSolFeasibility(), SCIPlpiGetSolverPointer(), SCIPlpiGetState(), SCIPlpiHasDualRay(), SCIPlpiHasPrimalRay(), SCIPlpiHasStateBasis(), SCIPlpiIgnoreInstability(), SCIPlpiInfinity(), SCIPlpiIsDualFeasible(), SCIPlpiIsDualInfeasible(), SCIPlpiIsDualUnbounded(), SCIPlpiIsInfinity(), SCIPlpiIsIterlimExc(), SCIPlpiIsObjlimExc(), SCIPlpiIsOptimal(), SCIPlpiIsPrimalFeasible(), SCIPlpiIsPrimalInfeasible(), SCIPlpiIsPrimalUnbounded(), SCIPlpiIsStable(), SCIPlpiIsTimelimExc(), SCIPlpiLoadColLP(), SCIPlpiReadLP(), SCIPlpiReadState(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), SCIPlpiSetBase(), SCIPlpiSetIntpar(), SCIPlpiSetNorms(), SCIPlpiSetRealpar(), SCIPlpiSetState(), SCIPlpiSolveBarrier(), SCIPlpiSolveDual(), SCIPlpiSolvePrimal(), SCIPlpiStartStrongbranch(), SCIPlpiStrongbranchesFrac(), SCIPlpiStrongbranchesInt(), SCIPlpiStrongbranchFrac(), SCIPlpiStrongbranchInt(), SCIPlpiWasSolved(), SCIPlpiWriteLP(), and SCIPlpiWriteState().
Value:
do \
{ \
try \
{ \
(x); \
} \
catch(SPxException E) \
{ \
std::string s = E.what(); \
SCIPmessagePrintWarning((messagehdlr), "SoPlex threw an exception: %s\n", s.c_str()); \
return SCIP_LPERROR; \
} \
} \
while( FALSE )
Macro for a single SoPlex call for which exceptions have to be catched - return an LP error. We make no distinction between different exception types, e.g., between memory allocation and other exceptions. Definition at line 137 of file lpi_spx.cpp. Referenced by SCIPlpiChgCoef(), SCIPlpiChgObjsen(), SCIPlpiClear(), SCIPlpiCreate(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiReadState(), SCIPlpiSetBase(), and SCIPlpiWriteState().
Definition at line 167 of file lpi_spx.cpp.
Definition at line 168 of file lpi_spx.cpp.
Value:
do \
{ \
try \
{ \
(x); \
} \
catch(SPxException E) \
{ \
std::string s = E.what(); \
SCIPerrorMessage("SoPlex threw an exception: %s\n", s.c_str()); \
abort(); \
} \
} \
while( FALSE )
Definition at line 173 of file lpi_spx.cpp.
Definition at line 1302 of file lpi_spx.cpp.
Definition at line 1304 of file lpi_spx.cpp. Typedef Documentation
Definition at line 1301 of file lpi_spx.cpp.
Definition at line 1303 of file lpi_spx.cpp. Function Documentation
gets name and version of LP solver Definition at line 1536 of file lpi_spx.cpp. References SCIPdebugMessage, and SOPLEX_SUBVERSION.
gets description of LP solver (developer, webpage, ...) Definition at line 1551 of file lpi_spx.cpp.
gets pointer for LP solver - use only with great care
Definition at line 1566 of file lpi_spx.cpp.
creates an LP problem object
Definition at line 1585 of file lpi_spx.cpp. References FALSE, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_LPPAR_PRICING, SCIP_OKAY, SCIP_PRICING_LPIDEFAULT, SCIPlpiChgObjsen(), SCIPlpiInfinity(), SCIPlpiSetIntpar(), and SOPLEX_TRY.
deletes an LP problem object
Definition at line 1623 of file lpi_spx.cpp.
copies LP data with column matrix into LP solver
Definition at line 1656 of file lpi_spx.cpp. References NULL, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, SCIPlpiAddCols(), and SCIPmessagePrintWarning().
adds columns to the LP
Definition at line 1717 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SCIPmessagePrintWarning().
deletes all columns in the given range from LP
Definition at line 1781 of file lpi_spx.cpp. References NULL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
deletes columns from SCIP_LP; the new position of a column must not be greater that its old position
Definition at line 1803 of file lpi_spx.cpp. References NULL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
adds rows to the LP
Definition at line 1834 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SCIPmessagePrintWarning().
deletes all rows in the given range from LP
Definition at line 1896 of file lpi_spx.cpp. References NULL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
deletes rows from SCIP_LP; the new position of a row must not be greater that its old position
Definition at line 1918 of file lpi_spx.cpp. References NULL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
clears the whole LP
Definition at line 1949 of file lpi_spx.cpp. References NULL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
changes lower and upper bounds of columns
Definition at line 1967 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SCIPmessagePrintWarning().
changes left and right hand sides of rows
Definition at line 2011 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SCIPmessagePrintWarning().
changes a single coefficient
Definition at line 2055 of file lpi_spx.cpp. References NULL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
changes the objective sense
Definition at line 2079 of file lpi_spx.cpp. References NULL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
changes objective values of columns in the LP
Definition at line 2099 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SCIPmessagePrintWarning().
multiplies a row with a non-zero scalar; for negative scalars, the row's sense is switched accordingly
Definition at line 2140 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, and SCIPmessagePrintWarning().
multiplies a column with a non-zero scalar; the objective value is multiplied with the scalar, and the bounds are divided by the scalar; for negative scalars, the column's bounds are switched
Definition at line 2207 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, and SCIPmessagePrintWarning().
gets the number of rows in the LP
Definition at line 2289 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets the number of columns in the LP
Definition at line 2306 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets the number of nonzero elements in the LP constraint matrix
Definition at line 2323 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets columns from LP problem object; the arrays have to be large enough to store all values Either both, lb and ub, have to be NULL, or both have to be non-NULL, either nnonz, beg, ind, and val have to be NULL, or all of them have to be non-NULL.
Definition at line 2356 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets rows from LP problem object; the arrays have to be large enough to store all values. Either both, lhs and rhs, have to be NULL, or both have to be non-NULL, either nnonz, beg, ind, and val have to be NULL, or all of them have to be non-NULL.
Definition at line 2421 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets column names
Definition at line 2483 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets row names
Definition at line 2509 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets objective sense of the LP
Definition at line 2535 of file lpi_spx.cpp. References NULL, SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIP_OKAY, and SCIPdebugMessage.
gets objective coefficients from LP problem object
Definition at line 2552 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets current bounds from LP problem object
Definition at line 2575 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets current row sides from LP problem object
Definition at line 2603 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets a single coefficient
Definition at line 2631 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
calls primal simplex to solve the LP startFinishOptions - bits 1 - do not delete work areas and factorization at end 2 - use old factorization if same number of rows 4 - skip as much initialization of work areas as possible (work in progress) 4 does not seem to work. Primal algorithm
Definition at line 2712 of file lpi_spx.cpp. References FALSE, NULL, SCIP_Bool, and SCIPdebugMessage.
calls dual simplex to solve the LP startFinishOptions - bits 1 - do not delete work areas and factorization at end 2 - use old factorization if same number of rows 4 - skip as much initialization of work areas as possible (work in progress) 4 does not seem to work. Dual algorithm
Definition at line 2756 of file lpi_spx.cpp. References FALSE, NULL, SCIP_Bool, and SCIPdebugMessage.
calls barrier or interior point algorithm to solve the LP with crossover to simplex basis
Definition at line 2800 of file lpi_spx.cpp. References SCIP_INVALIDCALL, SCIPdebugMessage, and SCIPerrorMessage.
start strong branching - call before any strongbranching
Definition at line 2813 of file lpi_spx.cpp. References SCIP_OKAY.
end strong branching - call after any strongbranching
Definition at line 2824 of file lpi_spx.cpp. References SCIP_OKAY.
performs strong branching iterations on one fractional candidate
Definition at line 3057 of file lpi_spx.cpp. References SCIP_CALL, SCIP_LPERROR, and SCIP_OKAY.
performs strong branching iterations on given fractional candidates
Definition at line 3087 of file lpi_spx.cpp. References NULL, SCIP_CALL, SCIP_LPERROR, and SCIP_OKAY.
performs strong branching iterations on one candidate with integral value
Definition at line 3132 of file lpi_spx.cpp. References SCIP_CALL, SCIP_LPERROR, and SCIP_OKAY.
performs strong branching iterations on given candidates with integral values
Definition at line 3162 of file lpi_spx.cpp. References NULL, SCIP_CALL, SCIP_LPERROR, and SCIP_OKAY. returns whether a solve method was called after the last modification of the LP
Definition at line 3219 of file lpi_spx.cpp. References NULL.
gets information about primal and dual feasibility of the current LP solution
Definition at line 3229 of file lpi_spx.cpp. References NULL, SCIP_OKAY, SCIPdebugMessage, SCIPlpiIsDualFeasible(), and SCIPlpiIsPrimalFeasible(). returns TRUE iff LP is proven to have a primal unbounded ray (but not necessary a primal feasible point); this does not necessarily mean, that the solver knows and can return the primal ray
Definition at line 3250 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff LP is proven to have a primal unbounded ray (but not necessary a primal feasible point), and the solver knows and can return the primal ray
Definition at line 3265 of file lpi_spx.cpp. References FALSE, NULL, and SCIPdebugMessage. returns TRUE iff LP is proven to be primal unbounded
Definition at line 3282 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff LP is proven to be primal infeasible
Definition at line 3300 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff LP is proven to be primal feasible
Definition at line 3313 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff LP is proven to have a dual unbounded ray (but not necessary a dual feasible point); this does not necessarily mean, that the solver knows and can return the dual ray
Definition at line 3338 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff LP is proven to have a dual unbounded ray (but not necessary a dual feasible point), and the solver knows and can return the dual ray
Definition at line 3353 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff LP is dual unbounded
Definition at line 3366 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff LP is dual infeasible
Definition at line 3380 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff LP is proven to be dual feasible
Definition at line 3393 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff LP was solved to optimality
Definition at line 3412 of file lpi_spx.cpp. References NULL, SCIPdebugMessage, SCIPlpiIsDualFeasible(), and SCIPlpiIsPrimalFeasible(). returns TRUE iff current LP basis is stable
Definition at line 3429 of file lpi_spx.cpp. References FALSE, NULL, SCIP_INVALID, SCIP_LPSOLQUALITY_ESTIMCONDITION, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiGetRealSolQuality(), SCIPlpiIsObjlimExc(), and SCIPlpiIsOptimal(). returns TRUE iff the objective limit was reached
Definition at line 3465 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff the iteration limit was reached
Definition at line 3478 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage. returns TRUE iff the time limit was reached
Definition at line 3491 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage.
returns the internal solution status of the solver
Definition at line 3504 of file lpi_spx.cpp. References NULL, and SCIPdebugMessage.
tries to reset the internal status of the LP solver in order to ignore an instability of the last solving call
Definition at line 3517 of file lpi_spx.cpp. References FALSE, NULL, SCIP_OKAY, and SCIPdebugMessage.
gets objective value of solution
Definition at line 3534 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets primal and dual solution vectors
Definition at line 3551 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SCIPmessagePrintWarning().
gets primal ray for unbounded LPs Unbounded ray (NULL returned if none/wrong). Up to user to use delete [] on these arrays.
Definition at line 3604 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, SCIPerrorMessage, and SCIPmessagePrintWarning().
gets dual farkas proof for infeasibility Infeasibility ray (NULL returned if none/wrong). Up to user to use delete [] on these arrays.
Definition at line 3637 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SCIPmessagePrintWarning().
gets the number of LP iterations of the last solve call
Definition at line 3665 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
gets information about the quality of an LP solution Such information is usually only available, if also a (maybe not optimal) solution is available. The LPI should return SCIP_INVALID for
Definition at line 3685 of file lpi_spx.cpp. References NULL, SCIP_INVALID, SCIP_INVALIDDATA, SCIP_LPSOLQUALITY_ESTIMCONDITION, SCIP_LPSOLQUALITY_EXACTCONDITION, SCIP_OKAY, SCIPdebugMessage, and SCIPerrorMessage.
gets current basis status for columns and rows; arrays must be large enough to store the basis status
Definition at line 3798 of file lpi_spx.cpp. References NULL, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_CALL, SCIP_INVALIDDATA, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPABORT, SCIPdebugMessage, and SCIPerrorMessage.
sets current basis status for columns and rows Whats changed since last solve. Is only used when startFinishOptions used in dual or primal. Bit 1 - number of rows/columns has not changed (so work arrays valid) 2 - matrix has not changed 4 - if matrix has changed only by adding rows 8 - if matrix has changed only by adding columns 16 - row lbs not changed 32 - row ubs not changed 64 - column objective not changed 128 - column lbs not changed 256 - column ubs not changed 512 - basis not changed (up to user to set this to 0) top bits may be used internally
Definition at line 3883 of file lpi_spx.cpp. References NULL, SCIP_ALLOC, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_INVALIDDATA, SCIP_LPERROR, SCIP_OKAY, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, and SOPLEX_TRY.
returns the indices of the basic columns and rows; basic column n gives value n, basic row m gives value -1-m
Definition at line 3964 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
get dense row of inverse basis matrix B^-1
Definition at line 4084 of file lpi_spx.cpp. References NULL, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, SCIPlpiGetBasisInd(), and SCIPmessagePrintWarning().
get dense column of inverse basis matrix B^-1
Definition at line 4338 of file lpi_spx.cpp. References NULL, SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage.
get dense row of inverse basis matrix times constraint matrix B^-1 * A
Definition at line 4370 of file lpi_spx.cpp. References NULL, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, and SCIPlpiGetBInvRow().
get dense column of inverse basis matrix times constraint matrix B^-1 * A
Definition at line 4417 of file lpi_spx.cpp. References NULL, SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage.
stores LPi state (like basis information) into lpistate object
Definition at line 4458 of file lpi_spx.cpp. References NULL, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIPlpiGetBase().
loads LPi state (like basis information) into solver; note that the LP might have been extended with additional columns and rows since the state was stored with SCIPlpiGetState()
Definition at line 4502 of file lpi_spx.cpp. References NULL, REALABS, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiIsInfinity(), and SCIPlpiSetBase().
clears current LPi state (like basis information) of the solver
Definition at line 4558 of file lpi_spx.cpp. References NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SCIPmessagePrintWarning().
frees LPi state information
Definition at line 4585 of file lpi_spx.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
checks, whether the given LP state contains simplex basis information
Definition at line 4603 of file lpi_spx.cpp. References TRUE.
reads LP state (like basis information from a file Read a basis from the given filename, returns -1 on file error, 0 if no values, 1 if values
Definition at line 4612 of file lpi_spx.cpp. References SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
writes LP state (like basis information) to a file Write the basis in MPS format to the specified file. If writeValues true, writes values of structurals (and adds VALUES to end of NAME card) parameters:
Definition at line 4628 of file lpi_spx.cpp. References SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
stores LPi pricing norms information
Definition at line 4661 of file lpi_spx.cpp.
loads LPi pricing norms into solver; note that the LP might have been extended with additional columns and rows since the state was stored with SCIPlpiGetNorms()
Definition at line 4677 of file lpi_spx.cpp.
frees pricing norms information
Definition at line 4690 of file lpi_spx.cpp.
gets integer parameter of LP
Definition at line 4715 of file lpi_spx.cpp. References NULL, SCIP_LPPAR_FROMSCRATCH, SCIP_LPPAR_LPINFO, SCIP_LPPAR_LPITLIM, SCIP_LPPAR_PRESOLVING, SCIP_LPPAR_PRICING, SCIP_LPPAR_SCALING, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, and SCIPdebugMessage.
sets integer parameter of LP Amount of print out: 0 - none 1 - just final 2 - just factorizations 3 - as 2 plus a bit more 4 - verbose above that 8,16,32 etc just for selective SCIPdebug
Definition at line 4755 of file lpi_spx.cpp. References FALSE, NULL, SCIP_LPERROR, SCIP_LPPAR_FROMSCRATCH, SCIP_LPPAR_LPINFO, SCIP_LPPAR_LPITLIM, SCIP_LPPAR_PRESOLVING, SCIP_LPPAR_PRICING, SCIP_LPPAR_SCALING, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PRICING_AUTO, SCIP_PRICING_DEVEX, SCIP_PRICING_FULL, SCIP_PRICING_LPIDEFAULT, SCIP_PRICING_PARTIAL, SCIP_PRICING_STEEP, SCIP_PRICING_STEEPQSTART, SCIPdebugMessage, and TRUE.
gets floating point parameter of LP
Definition at line 4823 of file lpi_spx.cpp. References NULL, SCIP_LPPAR_CONDITIONLIMIT, SCIP_LPPAR_DUALFEASTOL, SCIP_LPPAR_FEASTOL, SCIP_LPPAR_LOBJLIM, SCIP_LPPAR_LPTILIM, SCIP_LPPAR_ROWREPSWITCH, SCIP_LPPAR_UOBJLIM, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, and SCIPdebugMessage.
sets floating point parameter of LP
Definition at line 4868 of file lpi_spx.cpp. References NULL, SCIP_LPPAR_CONDITIONLIMIT, SCIP_LPPAR_DUALFEASTOL, SCIP_LPPAR_FEASTOL, SCIP_LPPAR_LOBJLIM, SCIP_LPPAR_LPTILIM, SCIP_LPPAR_ROWREPSWITCH, SCIP_LPPAR_UOBJLIM, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, and SCIPdebugMessage. returns value treated as infinity in the LP solver Definition at line 4926 of file lpi_spx.cpp. References SCIPdebugMessage. checks if given value is treated as infinity in the LP solver
Definition at line 4936 of file lpi_spx.cpp. References SCIPdebugMessage.
reads LP from a file read file in MPS format parameters: filename bool keepNames bool ignoreErrors
Definition at line 4976 of file lpi_spx.cpp. References NULL, SCIP_NOFILE, SCIP_OKAY, SCIP_READERROR, SCIPdebugMessage, and SCIPmessagePrintWarning().
writes LP to a file write file in MPS format parameters: filename int formatType (0 - normal, 1 - extra accuracy, 2 - IEEE hex) int numberAcross (1 or 2 values should be specified on every data line in the MPS file) double objSense
Definition at line 5009 of file lpi_spx.cpp. References NULL, SCIP_OKAY, SCIP_WRITEERROR, SCIPdebugMessage, and SCIPmessagePrintWarning(). |