lpi_cpx.c File Reference Detailed DescriptionLP interface for CPLEX >= 8.0. Definition in file lpi_cpx.c. #include <assert.h> #include "cplex.h" #include "scip/bitencode.h" #include "lpi/lpi.h" #include "scip/pub_message.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 41 of file lpi_cpx.c. Referenced by SCIPlpiGetSolverName().
Value:
{ int _restat_; \ if( (_restat_ = (x)) != 0 ) \ { \ SCIPmessagePrintWarning((messagehdlr), "LP Error: CPLEX returned %d\n", _restat_); \ return SCIP_LPERROR; \ } \ } Definition: type_retcode.h:40 Definition at line 49 of file lpi_cpx.c. Referenced by getBase(), getParameterValues(), lpiStrongbranchIntegral(), restoreLPData(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiChgBounds(), SCIPlpiChgCoef(), SCIPlpiChgObj(), SCIPlpiChgObjsen(), SCIPlpiChgSides(), SCIPlpiClear(), SCIPlpiCreate(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiFree(), SCIPlpiGetBase(), SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetBounds(), SCIPlpiGetCoef(), SCIPlpiGetColNames(), SCIPlpiGetCols(), SCIPlpiGetDualfarkas(), SCIPlpiGetNorms(), SCIPlpiGetObj(), SCIPlpiGetObjval(), SCIPlpiGetPrimalRay(), SCIPlpiGetRealSolQuality(), SCIPlpiGetRowNames(), SCIPlpiGetRows(), SCIPlpiGetSides(), SCIPlpiGetSol(), SCIPlpiGetSolFeasibility(), SCIPlpiLoadColLP(), SCIPlpiReadState(), SCIPlpiSetBase(), SCIPlpiSetNorms(), SCIPlpiSetState(), SCIPlpiSolveBarrier(), SCIPlpiSolveDual(), SCIPlpiSolvePrimal(), SCIPlpiStrongbranchesFrac(), SCIPlpiStrongbranchFrac(), SCIPlpiWriteState(), setBase(), and setParameterValues().
Value:
{ int _restat_; \ if( (_restat_ = (x)) != 0 ) \ { \ SCIPerrorMessage("LP Error: CPLEX returned %d\n", _restat_); \ SCIPABORT(); \ return FALSE; \ } \ }
Definition at line 58 of file lpi_cpx.c. Referenced by SCIPlpiIsDualFeasible(), SCIPlpiIsDualInfeasible(), SCIPlpiIsDualUnbounded(), SCIPlpiIsPrimalFeasible(), SCIPlpiIsPrimalInfeasible(), SCIPlpiIsPrimalUnbounded(), and SCIPlpiIsStable().
Definition at line 67 of file lpi_cpx.c. Referenced by checkParameterValues(), lpiStrongbranchIntegral(), SCIPlpiGetIntpar(), and SCIPlpiSetIntpar().
Definition at line 72 of file lpi_cpx.c. Referenced by restoreLPData().
Definition at line 76 of file lpi_cpx.c. Referenced by SCIPlpiChgBounds().
Definition at line 79 of file lpi_cpx.c. Referenced by colpacketNum().
Definition at line 81 of file lpi_cpx.c. Referenced by rowpacketNum().
Definition at line 85 of file lpi_cpx.c. Referenced by checkParameterValues(), copyParameterValues(), getIntParam(), getParameterValues(), setIntParam(), and setParameterValues().
Definition at line 105 of file lpi_cpx.c. Referenced by checkParameterValues(), copyParameterValues(), getDblParam(), getParameterValues(), setDblParam(), and setParameterValues(). Typedef Documentation
Function Documentation
resizes larray and uarray to have at least num entries
Definition at line 205 of file lpi_cpx.c. References BMSreallocMemoryArray, SCIP_LPi::boundchgsize, SCIP_LPi::larray, MAX, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIP_LPi::uarray. Referenced by SCIPlpiChgBounds().
resizes senarray, rngarray, and rngindarray to have at least num entries
Definition at line 234 of file lpi_cpx.c. References BMSreallocMemoryArray, MAX, NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_LPi::rngindarray, SCIP_ALLOC, SCIP_OKAY, SCIP_LPi::senarray, and SCIP_LPi::sidechgsize. Referenced by SCIPlpiAddRows(), SCIPlpiChgSides(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvCol(), SCIPlpiGetRows(), SCIPlpiGetSides(), and SCIPlpiLoadColLP().
resizes valarray and indarray to have at least num entries
Definition at line 259 of file lpi_cpx.c. References BMSreallocMemoryArray, SCIP_LPi::indarray, MAX, NULL, SCIP_ALLOC, SCIP_OKAY, SCIP_LPi::valarray, and SCIP_LPi::valsize. Referenced by SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiScaleCol(), and SCIPlpiScaleRow().
resizes cstat array to have at least num entries
Definition at line 282 of file lpi_cpx.c. References BMSreallocMemoryArray, SCIP_LPi::cstat, SCIP_LPi::cstatsize, MAX, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by getBase(), and SCIPlpiSetState().
resizes rstat array to have at least num entries
Definition at line 304 of file lpi_cpx.c. References BMSreallocMemoryArray, MAX, NULL, SCIP_LPi::rstat, SCIP_LPi::rstatsize, SCIP_ALLOC, and SCIP_OKAY. Referenced by getBase(), and SCIPlpiSetState().
stores current basis in internal arrays of LPI data structure
Definition at line 326 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cstat, ensureCstatMem(), ensureRstatMem(), SCIP_LPi::messagehdlr, NULL, SCIP_LPi::rstat, SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage. Referenced by lpiStrongbranchIntegral(), and SCIPlpiGetState().
loads basis stored in internal arrays of LPI data structure into CPLEX
Definition at line 353 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cstat, SCIP_LPi::messagehdlr, NULL, SCIP_LPi::rstat, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_OKAY, and SCIPdebugMessage. Referenced by lpiStrongbranchIntegral(), and SCIPlpiSetState().
returns the number of packets needed to store column packet information
Definition at line 383 of file lpi_cpx.c. References COLS_PER_PACKET. Referenced by lpistateCreate(), and lpistateFree().
returns the number of packets needed to store row packet information
Definition at line 392 of file lpi_cpx.c. References ROWS_PER_PACKET. Referenced by lpistateCreate(), and lpistateFree().
store row and column basis status in a packed LPi state object
Definition at line 401 of file lpi_cpx.c. References SCIP_LPiState::ncols, SCIP_LPiState::nrows, NULL, SCIP_LPiState::packcstat, SCIP_LPiState::packrstat, and SCIPencodeDualBit(). Referenced by SCIPlpiGetState().
unpacks row and column basis status from a packed LPi state object
Definition at line 417 of file lpi_cpx.c. References SCIP_LPiState::ncols, SCIP_LPiState::nrows, NULL, SCIP_LPiState::packcstat, SCIP_LPiState::packrstat, and SCIPdecodeDualBit(). Referenced by SCIPlpiSetState().
creates LPi state information object
Definition at line 433 of file lpi_cpx.c. References BMSallocBlockMemory, BMSallocBlockMemoryArray, colpacketNum(), NULL, rowpacketNum(), SCIP_ALLOC, and SCIP_OKAY. Referenced by SCIPlpiGetState().
frees LPi state information
Definition at line 454 of file lpi_cpx.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArray, colpacketNum(), NULL, and rowpacketNum(). Referenced by SCIPlpiFreeState().
gets all CPLEX parameters used in LPI
Definition at line 476 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, dblparam, SCIP_CPXParam::dblparval, intparam, SCIP_CPXParam::intparval, SCIP_LPi::messagehdlr, NULL, NUMDBLPARAM, NUMINTPARAM, SCIP_OKAY, and SCIPdebugMessage. Referenced by checkParameterValues(), and SCIPlpiCreate().
in debug mode, checks validity of CPLEX parameters
Definition at line 502 of file lpi_cpx.c. References CPX_INT_MAX, SCIP_LPi::cpxenv, SCIP_LPi::curparam, dblparammin, SCIP_CPXParam::dblparval, getParameterValues(), SCIP_CPXParam::intparval, MAX, NULL, NUMDBLPARAM, NUMINTPARAM, SCIP_CALL, and SCIP_OKAY. Referenced by setParameterValues().
sets all CPLEX parameters used in LPI
Definition at line 526 of file lpi_cpx.c. References CHECK_ZERO, checkParameterValues(), SCIP_LPi::cpxenv, SCIP_LPi::curparam, dblparam, dblparammin, SCIP_CPXParam::dblparval, intparam, SCIP_CPXParam::intparval, MAX, SCIP_LPi::messagehdlr, NULL, NUMDBLPARAM, NUMINTPARAM, SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiSolveBarrier(), SCIPlpiSolveDual(), SCIPlpiSolvePrimal(), SCIPlpiStrongbranchesFrac(), and SCIPlpiStrongbranchFrac().
copies CPLEX parameters from source to dest
Definition at line 567 of file lpi_cpx.c. References SCIP_CPXParam::dblparval, SCIP_CPXParam::intparval, NUMDBLPARAM, and NUMINTPARAM. Referenced by SCIPlpiCreate().
gets a single integer parameter value
Definition at line 582 of file lpi_cpx.c. References SCIP_LPi::cpxparam, intparam, SCIP_CPXParam::intparval, NULL, NUMINTPARAM, SCIPABORT, and SCIPerrorMessage. Referenced by lpiStrongbranchIntegral(), SCIPlpiGetIntpar(), SCIPlpiSolveDual(), and SCIPlpiSolvePrimal().
gets a single double parameter value
Definition at line 604 of file lpi_cpx.c. References SCIP_LPi::cpxparam, dblparam, SCIP_CPXParam::dblparval, NULL, NUMDBLPARAM, SCIP_Real, SCIPABORT, and SCIPerrorMessage. Referenced by lpiStrongbranchIntegral(), SCIPlpiGetRealpar(), and SCIPlpiSolveDual().
sets a single integer parameter value
Definition at line 635 of file lpi_cpx.c. References SCIP_LPi::cpxparam, intparam, SCIP_CPXParam::intparval, NULL, NUMINTPARAM, SCIPABORT, and SCIPerrorMessage. Referenced by lpiStrongbranchIntegral(), SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiSetIntpar(), SCIPlpiSolveBarrier(), SCIPlpiSolveDual(), SCIPlpiSolvePrimal(), SCIPlpiStrongbranchesFrac(), and SCIPlpiStrongbranchFrac().
sets a single double parameter value
Definition at line 660 of file lpi_cpx.c. References SCIP_LPi::cpxparam, dblparam, SCIP_CPXParam::dblparval, NULL, NUMDBLPARAM, SCIPABORT, and SCIPerrorMessage. Referenced by SCIPlpiSetRealpar(), and SCIPlpiSolveDual().
marks the current LP to be unsolved
Definition at line 690 of file lpi_cpx.c. References FALSE, SCIP_LPi::instabilityignored, NULL, and SCIP_LPi::solstat. Referenced by SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiChgBounds(), SCIPlpiChgCoef(), SCIPlpiChgObjsen(), SCIPlpiChgSides(), SCIPlpiClear(), SCIPlpiCreate(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiLoadColLP(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), SCIPlpiSetBase(), SCIPlpiSolveBarrier(), SCIPlpiSolveDual(), and SCIPlpiSolvePrimal().
converts SCIP's objective sense into CPLEX's objective sense
Definition at line 701 of file lpi_cpx.c. References SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIPABORT, and SCIPerrorMessage. Referenced by SCIPlpiChgObjsen(), and SCIPlpiLoadColLP().
converts SCIP's lhs/rhs pairs into CPLEX's sen/rhs/rng
Definition at line 720 of file lpi_cpx.c. References NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_LPi::rngindarray, and SCIP_LPi::senarray. Referenced by SCIPlpiAddRows(), SCIPlpiChgSides(), and SCIPlpiLoadColLP().
converts CPLEX's sen/rhs/rng triplets into SCIP's lhs/rhs pairs
Definition at line 786 of file lpi_cpx.c. References NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIPABORT, SCIPerrorMessage, and SCIP_LPi::senarray. Referenced by reconvertSides(). converts CPLEX's sen/rhs/rng triplets into SCIP's lhs/rhs pairs, only storing the left hand side
Definition at line 843 of file lpi_cpx.c. References NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIPABORT, SCIPerrorMessage, and SCIP_LPi::senarray. Referenced by reconvertSides(). converts CPLEX's sen/rhs/rng triplets into SCIP's lhs/rhs pairs, only storing the right hand side
Definition at line 891 of file lpi_cpx.c. References NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIPABORT, SCIPerrorMessage, and SCIP_LPi::senarray. Referenced by reconvertSides(). converts CPLEX's sen/rhs/rng triplets into SCIP's lhs/rhs pairs
Definition at line 939 of file lpi_cpx.c. References NULL, reconvertBothSides(), reconvertLhs(), and reconvertRhs(). Referenced by SCIPlpiGetRows(), and SCIPlpiGetSides().
after restoring the old lp data in CPLEX we need to resolve the lp to be able to retrieve correct information
Definition at line 957 of file lpi_cpx.c. References CHECK_ZERO, CPX_REFACTORMAXITERS, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPmessagePrintWarning(). Referenced by SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), and SCIPlpiGetBInvRow().
gets name and version of LP solver Definition at line 1000 of file lpi_cpx.c. References CPX_SUBVERSION, and cpxname.
gets pointer for LP solver - use only with great care Here we return the pointer to the LP environment.
Definition at line 1024 of file lpi_cpx.c. References SCIP_LPi::cpxlp.
creates an LP problem object
Definition at line 1043 of file lpi_cpx.c. References BMSallocMemory, CHECK_ZERO, copyParameterValues(), FALSE, getParameterValues(), invalidateSolution(), NULL, SCIP_ALLOC, SCIP_Bool, SCIP_CALL, SCIP_LPPAR_PRICING, SCIP_OKAY, SCIP_PRICING_LPIDEFAULT, SCIP_Real, SCIPdebugMessage, SCIPlpiChgObjsen(), and SCIPlpiSetIntpar().
deletes an LP problem object
Definition at line 1123 of file lpi_cpx.c. References BMSfreeMemory, BMSfreeMemoryArrayNull, CHECK_ZERO, NULL, SCIP_OKAY, and SCIPdebugMessage.
copies LP data with column matrix into LP solver
Definition at line 1169 of file lpi_cpx.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, convertSides(), SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, cpxObjsen(), ensureSidechgMem(), invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::senarray.
adds columns to the LP
Definition at line 1229 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
deletes all columns in the given range from LP
Definition at line 1263 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
deletes columns from SCIP_LP; the new position of a column must not be greater that its old position
Definition at line 1284 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
adds rows to the LP
Definition at line 1305 of file lpi_cpx.c. References CHECK_ZERO, convertSides(), SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureSidechgMem(), FALSE, invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_LPi::rngfound, SCIP_LPi::rngindarray, SCIP_CALL, SCIP_LPPAR_SCALING, SCIP_OKAY, SCIPdebugMessage, SCIPlpiSetIntpar(), SCIP_LPi::senarray, and TRUE.
deletes all rows in the given range from LP
Definition at line 1358 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
deletes rows from SCIP_LP; the new position of a row must not be greater that its old position
Definition at line 1379 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
clears the whole LP
Definition at line 1400 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
changes lower and upper bounds of columns
Definition at line 1430 of file lpi_cpx.c. References CHECK_ZERO, CPX_MAGICZEROCONSTANT, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureBoundchgMem(), EPSZ, invalidateSolution(), SCIP_LPi::larray, SCIP_LPi::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPdebugPrintf, and SCIP_LPi::uarray. Referenced by SCIPlpiScaleCol().
changes left and right hand sides of rows
Definition at line 1480 of file lpi_cpx.c. References CHECK_ZERO, convertSides(), SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureSidechgMem(), invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_LPi::rngindarray, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::senarray. Referenced by SCIPlpiScaleRow().
changes a single coefficient
Definition at line 1525 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPlpiScaleCol(), and SCIPlpiScaleRow().
changes the objective sense
Definition at line 1546 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, cpxObjsen(), invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPlpiCreate().
changes objective values of columns in the LP
Definition at line 1569 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPlpiScaleCol().
multiplies a row with a non-zero scalar; for negative scalars, the row's sense is switched accordingly
Definition at line 1588 of file lpi_cpx.c. References SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureValMem(), SCIP_LPi::indarray, invalidateSolution(), NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiChgCoef(), SCIPlpiChgSides(), SCIPlpiGetRows(), and SCIP_LPi::valarray.
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 1644 of file lpi_cpx.c. References SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureValMem(), SCIP_LPi::indarray, invalidateSolution(), NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiChgBounds(), SCIPlpiChgCoef(), SCIPlpiChgObj(), SCIPlpiGetCols(), SCIPlpiGetObj(), and SCIP_LPi::valarray.
gets the number of rows in the LP
Definition at line 1718 of file lpi_cpx.c. References SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIP_OKAY, and SCIPdebugMessage.
gets the number of columns in the LP
Definition at line 1735 of file lpi_cpx.c. References SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIP_OKAY, and SCIPdebugMessage.
gets the number of nonzero elements in the LP constraint matrix
Definition at line 1752 of file lpi_cpx.c. References SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, 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 1772 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPlpiScaleCol().
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 1828 of file lpi_cpx.c. References BMSclearMemoryArray, CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureSidechgMem(), SCIP_LPi::messagehdlr, NULL, reconvertSides(), SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::senarray. Referenced by SCIPlpiScaleRow().
gets column names
Definition at line 1891 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
gets row names
Definition at line 1925 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
gets objective sense of the LP
Definition at line 1959 of file lpi_cpx.c. References SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIP_OKAY, and SCIPdebugMessage.
gets objective coefficients from LP problem object
Definition at line 1976 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPlpiScaleCol().
gets current bounds from LP problem object
Definition at line 1997 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
gets current row sides from LP problem object
Definition at line 2026 of file lpi_cpx.c. References BMSclearMemoryArray, CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureSidechgMem(), SCIP_LPi::messagehdlr, NULL, reconvertSides(), SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::senarray.
gets a single coefficient
Definition at line 2062 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, 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 2093 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, FALSE, SCIP_LPi::fromscratch, getIntParam(), SCIP_LPi::instabilityignored, invalidateSolution(), SCIP_LPi::iterations, SCIP_LPi::messagehdlr, NULL, SCIP_CALL, SCIP_LPERROR, SCIP_NOMEMORY, SCIP_OKAY, SCIPdebugMessage, SCIPerrorMessage, setIntParam(), setParameterValues(), SCIP_LPi::solisbasic, SCIP_LPi::solstat, and TRUE.
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 2198 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, FALSE, SCIP_LPi::fromscratch, getDblParam(), getIntParam(), SCIP_LPi::instabilityignored, invalidateSolution(), SCIP_LPi::iterations, SCIP_LPi::messagehdlr, NULL, SCIP_CALL, SCIP_LPERROR, SCIP_NOMEMORY, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiGetObjval(), SCIPlpiIsObjlimExc(), setDblParam(), setIntParam(), setParameterValues(), SCIP_LPi::solisbasic, SCIP_LPi::solstat, and TRUE. Referenced by lpiStrongbranchIntegral().
calls barrier or interior point algorithm to solve the LP with crossover to simplex basis
Definition at line 2383 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, FALSE, SCIP_LPi::fromscratch, SCIP_LPi::instabilityignored, invalidateSolution(), SCIP_LPi::iterations, SCIP_LPi::messagehdlr, NULL, SCIP_CALL, SCIP_LPERROR, SCIP_NOMEMORY, SCIP_OKAY, SCIPdebugMessage, SCIPerrorMessage, setIntParam(), setParameterValues(), SCIP_LPi::solisbasic, and SCIP_LPi::solstat.
manually performs strong branching on one integral variable
Definition at line 2467 of file lpi_cpx.c. References CHECK_ZERO, CPX_INT_MAX, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, EPSCEIL, EPSFLOOR, EPSISINT, SCIP_LPi::feastol, getBase(), getDblParam(), getIntParam(), SCIP_LPi::messagehdlr, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiGetIterations(), SCIPlpiGetObjval(), SCIPlpiIsIterlimExc(), SCIPlpiIsObjlimExc(), SCIPlpiIsOptimal(), SCIPlpiIsPrimalInfeasible(), SCIPlpiSolveDual(), setBase(), setIntParam(), and TRUE. Referenced by SCIPlpiStrongbranchesInt(), and SCIPlpiStrongbranchInt().
performs strong branching iterations on one fractional candidate
Definition at line 2591 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, EPSISINT, FALSE, SCIP_LPi::feastol, SCIP_LPi::fromscratch, SCIP_LPi::messagehdlr, NULL, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, setIntParam(), setParameterValues(), and TRUE.
performs strong branching iterations on given fractional candidates
Definition at line 2655 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, EPSISINT, FALSE, SCIP_LPi::feastol, SCIP_LPi::fromscratch, SCIP_LPi::messagehdlr, NULL, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, setIntParam(), setParameterValues(), and TRUE.
performs strong branching iterations on one candidate with integral value
Definition at line 2721 of file lpi_cpx.c. References SCIP_LPi::cpxlp, EPSISINT, SCIP_LPi::feastol, lpiStrongbranchIntegral(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage.
performs strong branching iterations on given candidates with integral values
Definition at line 2755 of file lpi_cpx.c. References SCIP_LPi::cpxlp, EPSISINT, SCIP_LPi::feastol, lpiStrongbranchIntegral(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage. returns whether a solve method was called after the last modification of the LP
Definition at line 2808 of file lpi_cpx.c. References NULL, and SCIP_LPi::solstat.
gets information about primal and dual feasibility of the current LP solution
Definition at line 2818 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_Bool, SCIP_OKAY, and SCIPdebugMessage. 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 2845 of file lpi_cpx.c. References SCIP_LPi::cpxlp, NULL, and SCIP_LPi::solstat. 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 2859 of file lpi_cpx.c. References SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, and SCIP_LPi::solstat. returns TRUE iff LP is proven to be primal unbounded
Definition at line 2872 of file lpi_cpx.c. References ABORT_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIPdebugMessage, and SCIP_LPi::solstat. returns TRUE iff LP is proven to be primal infeasible
Definition at line 2896 of file lpi_cpx.c. References ABORT_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIPdebugMessage, and SCIP_LPi::solstat. Referenced by lpiStrongbranchIntegral(). returns TRUE iff LP is proven to be primal feasible
Definition at line 2915 of file lpi_cpx.c. References ABORT_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIP_Bool, SCIPdebugMessage, and SCIP_LPi::solstat. 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 2936 of file lpi_cpx.c. References NULL, and SCIP_LPi::solstat. 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 2949 of file lpi_cpx.c. References SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, and SCIP_LPi::solstat. returns TRUE iff LP is proven to be dual unbounded
Definition at line 2962 of file lpi_cpx.c. References ABORT_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIPdebugMessage, and SCIP_LPi::solstat. returns TRUE iff LP is proven to be dual infeasible
Definition at line 2981 of file lpi_cpx.c. References ABORT_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIPdebugMessage, and SCIP_LPi::solstat. returns TRUE iff LP is proven to be dual feasible
Definition at line 3002 of file lpi_cpx.c. References ABORT_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIP_Bool, SCIPdebugMessage, and SCIP_LPi::solstat. returns TRUE iff LP was solved to optimality
Definition at line 3021 of file lpi_cpx.c. References NULL, and SCIP_LPi::solstat. Referenced by lpiStrongbranchIntegral(), and SCIPlpiIsStable(). returns TRUE iff current LP basis is stable
Definition at line 3032 of file lpi_cpx.c. References ABORT_ZERO, SCIP_LPi::checkcondition, SCIP_LPi::conditionlimit, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, FALSE, NULL, SCIP_INVALID, SCIP_LPSOLQUALITY_ESTIMCONDITION, SCIP_OKAY, SCIP_Real, SCIPABORT, SCIPdebugMessage, SCIPlpiGetRealSolQuality(), SCIPlpiIsObjlimExc(), SCIPlpiIsOptimal(), and SCIP_LPi::solstat. returns TRUE iff the objective limit was reached
Definition at line 3081 of file lpi_cpx.c. References NULL, and SCIP_LPi::solstat. Referenced by lpiStrongbranchIntegral(), SCIPlpiIsStable(), and SCIPlpiSolveDual(). returns TRUE iff the iteration limit was reached
Definition at line 3094 of file lpi_cpx.c. References NULL, and SCIP_LPi::solstat. Referenced by lpiStrongbranchIntegral(). returns TRUE iff the time limit was reached
Definition at line 3105 of file lpi_cpx.c. References NULL, and SCIP_LPi::solstat.
returns the internal solution status of the solver
Definition at line 3116 of file lpi_cpx.c. References SCIP_LPi::cpxlp, NULL, and SCIP_LPi::solstat.
tries to reset the internal status of the LP solver in order to ignore an instability of the last solving call
Definition at line 3127 of file lpi_cpx.c. References SCIP_LPi::cpxlp, SCIP_LPi::instabilityignored, NULL, SCIP_OKAY, SCIP_LPi::solstat, and TRUE.
gets objective value of solution
Definition at line 3150 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIPlpiInfinity(). Referenced by lpiStrongbranchIntegral(), and SCIPlpiSolveDual().
gets primal and dual solution vectors
Definition at line 3179 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::instabilityignored, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::solstat.
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 3209 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::solstat.
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 3228 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::solstat.
gets the number of LP iterations of the last solve call
Definition at line 3248 of file lpi_cpx.c. References SCIP_LPi::iterations, NULL, and SCIP_OKAY. Referenced by lpiStrongbranchIntegral().
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 3266 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_INVALID, SCIP_INVALIDDATA, SCIP_LPSOLQUALITY_ESTIMCONDITION, SCIP_LPSOLQUALITY_EXACTCONDITION, SCIP_OKAY, SCIPdebugMessage, and SCIPerrorMessage. Referenced by SCIPlpiIsStable().
gets current basis status for columns and rows; arrays must be large enough to store the basis status
Definition at line 3320 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_OKAY, and SCIPdebugMessage.
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 3360 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, invalidateSolution(), SCIP_LPi::messagehdlr, NULL, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_OKAY, and SCIPdebugMessage.
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 3404 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, SCIP_LPi::messagehdlr, NULL, restoreLPData(), SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIPdebugMessage, setIntParam(), and setParameterValues().
get dense row of inverse basis matrix B^-1
Definition at line 3438 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, ensureValMem(), SCIP_LPi::indarray, SCIP_LPi::messagehdlr, NULL, restoreLPData(), SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIPdebugMessage, setIntParam(), and setParameterValues().
get dense column of inverse basis matrix B^-1
Definition at line 3509 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, ensureSidechgMem(), ensureValMem(), SCIP_LPi::indarray, SCIP_LPi::messagehdlr, NULL, restoreLPData(), SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::senarray, setIntParam(), and setParameterValues().
get dense row of inverse basis matrix times constraint matrix B^-1 * A
Definition at line 3582 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, ensureValMem(), SCIP_LPi::indarray, SCIP_LPi::messagehdlr, NULL, restoreLPData(), SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIPdebugMessage, setIntParam(), and setParameterValues().
get dense column of inverse basis matrix times constraint matrix B^-1 * A
Definition at line 3654 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, ensureSidechgMem(), ensureValMem(), SCIP_LPi::indarray, SCIP_LPi::messagehdlr, NULL, restoreLPData(), SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::senarray, setIntParam(), and setParameterValues().
stores LPi state (like basis information) into lpistate object
Definition at line 3730 of file lpi_cpx.c. References SCIP_LPi::clearstate, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cstat, getBase(), lpistateCreate(), lpistatePack(), NULL, SCIP_LPi::rstat, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::solisbasic.
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 3778 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cstat, ensureCstatMem(), ensureRstatMem(), lpistateUnpack(), SCIP_LPi::messagehdlr, SCIP_LPiState::ncols, SCIP_LPiState::nrows, NULL, REALABS, SCIP_LPi::rstat, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiIsInfinity(), and setBase().
frees LPi state information
Definition at line 3855 of file lpi_cpx.c. References lpistateFree(), NULL, and SCIP_OKAY.
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 3882 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
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 3899 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPdebugMessage.
stores LPi pricing norms information
Definition at line 3931 of file lpi_cpx.c. References BMSallocBlockMemory, BMSallocBlockMemoryArray, BMSfreeBlockMemory, BMSfreeBlockMemoryArray, CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::messagehdlr, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::solisbasic.
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 3991 of file lpi_cpx.c. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPiNorms::head, SCIP_LPi::messagehdlr, SCIP_LPiNorms::norm, SCIP_LPiNorms::normlen, NULL, SCIP_OKAY, and SCIPdebugMessage.
frees pricing norms information
Definition at line 4024 of file lpi_cpx.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArray, NULL, and SCIP_OKAY.
gets integer parameter of LP
Definition at line 4053 of file lpi_cpx.c. References CPX_INT_MAX, SCIP_LPi::cpxlp, SCIP_LPi::fromscratch, getIntParam(), NULL, SCIP_LPi::pricing, SCIP_LPi::rngfound, SCIP_LPPAR_FASTMIP, SCIP_LPPAR_FROMSCRATCH, SCIP_LPPAR_LPINFO, SCIP_LPPAR_LPITLIM, SCIP_LPPAR_PRESOLVING, SCIP_LPPAR_PRICING, SCIP_LPPAR_SCALING, SCIP_LPPAR_THREADS, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PRICING_AUTO, SCIP_PRICING_DEVEX, SCIP_PRICING_FULL, SCIP_PRICING_PARTIAL, SCIP_PRICING_STEEP, SCIP_PRICING_STEEPQSTART, 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 4143 of file lpi_cpx.c. References CPX_INT_MAX, SCIP_LPi::cpxlp, FALSE, SCIP_LPi::fromscratch, MIN, NULL, SCIP_LPi::pricing, SCIP_LPi::rngfound, SCIP_LPERROR, SCIP_LPPAR_FASTMIP, SCIP_LPPAR_FROMSCRATCH, SCIP_LPPAR_LPINFO, SCIP_LPPAR_LPITLIM, SCIP_LPPAR_PRESOLVING, SCIP_LPPAR_PRICING, SCIP_LPPAR_SCALING, SCIP_LPPAR_THREADS, 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, setIntParam(), and TRUE. Referenced by SCIPlpiAddRows(), and SCIPlpiCreate().
gets floating point parameter of LP
Definition at line 4245 of file lpi_cpx.c. References SCIP_LPi::conditionlimit, SCIP_LPi::cpxlp, getDblParam(), NULL, SCIP_LPPAR_BARRIERCONVTOL, SCIP_LPPAR_CONDITIONLIMIT, SCIP_LPPAR_DUALFEASTOL, SCIP_LPPAR_FEASTOL, SCIP_LPPAR_LOBJLIM, SCIP_LPPAR_LPTILIM, SCIP_LPPAR_MARKOWITZ, SCIP_LPPAR_UOBJLIM, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, and SCIPdebugMessage.
sets floating point parameter of LP
Definition at line 4291 of file lpi_cpx.c. References SCIP_LPi::checkcondition, SCIP_LPi::conditionlimit, SCIP_LPi::cpxlp, SCIP_LPi::feastol, NULL, SCIP_LPPAR_BARRIERCONVTOL, SCIP_LPPAR_CONDITIONLIMIT, SCIP_LPPAR_DUALFEASTOL, SCIP_LPPAR_FEASTOL, SCIP_LPPAR_LOBJLIM, SCIP_LPPAR_LPTILIM, SCIP_LPPAR_MARKOWITZ, SCIP_LPPAR_UOBJLIM, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIPdebugMessage, and setDblParam(). returns value treated as infinity in the LP solver
Definition at line 4350 of file lpi_cpx.c. Referenced by SCIPlpiGetObjval(). checks if given value is treated as infinity in the LP solver
Definition at line 4358 of file lpi_cpx.c. Referenced by SCIPlpiSetState().
reads LP from a file read file in MPS format parameters: filename bool keepNames bool ignoreErrors
Definition at line 4379 of file lpi_cpx.c. References SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIP_OKAY, SCIP_READERROR, SCIPdebugMessage, and SCIPerrorMessage.
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 4403 of file lpi_cpx.c. References SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, NULL, SCIP_OKAY, SCIP_READERROR, SCIPdebugMessage, and SCIPerrorMessage. Variable Documentation
Initial value:
= { CPX_PARAM_ADVIND, CPX_PARAM_ITLIM, CPX_PARAM_FASTMIP, CPX_PARAM_SCAIND, CPX_PARAM_PREIND, CPX_PARAM_PPRIIND, CPX_PARAM_DPRIIND, CPX_PARAM_SIMDISPLAY, CPX_PARAM_SCRIND, CPX_PARAM_THREADS } Definition at line 89 of file lpi_cpx.c. Referenced by getIntParam(), getParameterValues(), setIntParam(), and setParameterValues().
Initial value:
= { CPX_PARAM_EPRHS, CPX_PARAM_EPOPT, CPX_PARAM_BAREPCOMP, CPX_PARAM_OBJLLIM, CPX_PARAM_OBJULIM, CPX_PARAM_TILIM, CPX_PARAM_EPMRK } Definition at line 106 of file lpi_cpx.c. Referenced by getDblParam(), getParameterValues(), setDblParam(), and setParameterValues().
Initial value:
= { +1e-09, +1e-09, +1e-12, -1e+99, -1e+99, -1e+99, 0.0001 } Definition at line 117 of file lpi_cpx.c. Referenced by checkParameterValues(), and setParameterValues().
Definition at line 994 of file lpi_cpx.c. Referenced by SCIPlpiGetSolverName(). |