All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lpi_xprs.c File Reference Detailed DescriptionLP interface for Xpress-MP 16-21. Definition in file lpi_xprs.c. #include <string.h> #include <assert.h> #include "xprs.h" #include "lpi/lpi.h" #include "scip/bitencode.h" #include "scip/pub_message.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 32 of file lpi_xprs.c.
Definition at line 42 of file lpi_xprs.c. Referenced by lpiSolve().
Definition at line 47 of file lpi_xprs.c. Referenced by lpiSolve(), SCIPlpiGetSolFeasibility(), SCIPlpiIsDualFeasible(), SCIPlpiIsOptimal(), SCIPlpiIsPrimalFeasible(), and SCIPlpiIsStable().
Value:
{ int restat = (x); \
if( restat != 0 ) { \
char errmsg[512]; \
const char *msg; \
xprs_error((p), restat, &msg, errmsg); \
SCIPerrorMessage(msg, restat, errmsg); \
return SCIP_LPERROR; \
} \
}
Definition at line 72 of file lpi_xprs.c. Referenced by SCIPlpiCreate().
Value:
{ int restat = (x); \
if( restat != 0 ) { \
char errmsg[512]; \
const char *msg; \
xprs_error((p), restat, &msg, errmsg); \
SCIPmessagePrintWarning((messagehdlr), msg, restat, errmsg); \
} \
}
Definition at line 82 of file lpi_xprs.c.
Definition at line 91 of file lpi_xprs.c.
Definition at line 92 of file lpi_xprs.c. Referenced by SCIPlpiAddCols(), SCIPlpiAddRows(), and SCIPlpiLoadColLP().
Definition at line 93 of file lpi_xprs.c. Referenced by SCIPlpiCreate(), and SCIPlpiFree().
Definition at line 94 of file lpi_xprs.c. Referenced by getBase(), lpiSolve(), lpiStrongbranch(), lpiStrongbranches(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiChgBounds(), SCIPlpiChgCoef(), SCIPlpiChgObj(), SCIPlpiChgSides(), SCIPlpiClear(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiGetBase(), SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetBounds(), SCIPlpiGetCoef(), SCIPlpiGetCols(), SCIPlpiGetDualfarkas(), SCIPlpiGetIntpar(), SCIPlpiGetNCols(), SCIPlpiGetNNonz(), SCIPlpiGetNRows(), SCIPlpiGetObj(), SCIPlpiGetObjval(), SCIPlpiGetPrimalRay(), SCIPlpiGetRealpar(), SCIPlpiGetRows(), SCIPlpiGetSides(), SCIPlpiGetSol(), SCIPlpiGetState(), SCIPlpiHasDualRay(), SCIPlpiHasPrimalRay(), SCIPlpiIsIterlimExc(), SCIPlpiIsStable(), SCIPlpiIsTimelimExc(), SCIPlpiLoadColLP(), SCIPlpiReadLP(), SCIPlpiReadState(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), SCIPlpiSetBase(), SCIPlpiSetIntpar(), SCIPlpiSetRealpar(), SCIPlpiSetState(), SCIPlpiSolveBarrier(), SCIPlpiWriteLP(), SCIPlpiWriteState(), and setBase().
Definition at line 98 of file lpi_xprs.c. Referenced by colpacketNum().
Definition at line 100 of file lpi_xprs.c. Referenced by rowpacketNum(). Typedef Documentation
Definition at line 97 of file lpi_xprs.c.
Definition at line 99 of file lpi_xprs.c. Function Documentation
Referenced by lpiSolve().
output Xpress error
Definition at line 56 of file lpi_xprs.c.
resizes larray and uarray to have at least num entries
Definition at line 152 of file lpi_xprs.c. References BMSreallocMemoryArray, SCIP_LPi::boundchgsize, SCIP_LPi::larray, MAX, NULL, SCIP_ALLOC, SCIP_OKAY, and SCIP_LPi::uarray. Referenced by SCIPlpiChgBounds().
resizes senarray and rngarray to have at least num entries
Definition at line 181 of file lpi_xprs.c. References BMSreallocMemoryArray, MAX, NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_ALLOC, SCIP_OKAY, SCIP_LPi::senarray, and SCIP_LPi::sidechgsize. Referenced by SCIPlpiAddRows(), SCIPlpiChgSides(), SCIPlpiGetRows(), SCIPlpiGetSides(), SCIPlpiGetSol(), and SCIPlpiLoadColLP().
resizes valarray and indarray to have at least num entries
Definition at line 205 of file lpi_xprs.c. References BMSreallocMemoryArray, SCIP_LPi::indarray, MAX, NULL, SCIP_ALLOC, SCIP_OKAY, SCIP_LPi::valarray, and SCIP_LPi::valsize. Referenced by SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiScaleCol(), and SCIPlpiScaleRow().
resizes cstat array to have at least num entries
Definition at line 228 of file lpi_xprs.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 250 of file lpi_xprs.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 272 of file lpi_xprs.c. References CHECK_ZERO, SCIP_LPi::cstat, ensureCstatMem(), ensureRstatMem(), NULL, SCIP_LPi::rstat, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpiStrongbranch(), lpiStrongbranches(), SCIPlpiGetPrimalRay(), and SCIPlpiGetState().
loads basis stored in internal arrays of LPI data structure into Xpress
Definition at line 299 of file lpi_xprs.c. References CHECK_ZERO, SCIP_LPi::cstat, NULL, SCIP_LPi::rstat, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpiStrongbranch(), lpiStrongbranches(), and SCIPlpiSetState().
returns the number of packets needed to store column packet information
Definition at line 322 of file lpi_xprs.c. References COLS_PER_PACKET. Referenced by lpistateCreate(), and lpistateFree().
returns the number of packets needed to store row packet information
Definition at line 331 of file lpi_xprs.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 340 of file lpi_xprs.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 356 of file lpi_xprs.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 372 of file lpi_xprs.c. References BMSallocBlockMemory, BMSallocBlockMemoryArray, colpacketNum(), NULL, rowpacketNum(), SCIP_ALLOC, and SCIP_OKAY. Referenced by SCIPlpiGetState().
frees LPi state information
Definition at line 393 of file lpi_xprs.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArray, colpacketNum(), NULL, and rowpacketNum(). Referenced by SCIPlpiFreeState().
marks the current LP to be unsolved Definition at line 415 of file lpi_xprs.c. References NULL, and SCIP_LPi::solstat. Referenced by lpiSolve(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiChgBounds(), SCIPlpiChgCoef(), SCIPlpiChgObjsen(), SCIPlpiChgSides(), SCIPlpiClear(), SCIPlpiCreate(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiLoadColLP(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), and SCIPlpiSetBase().
converts SCIP's objective sense into Xpress' objective sense Definition at line 423 of file lpi_xprs.c. References SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIPABORT, and SCIPerrorMessage. Referenced by SCIPlpiChgObjsen().
converts SCIP's lhs/rhs pairs into Xpress' sen/rhs/rng
Definition at line 440 of file lpi_xprs.c. References NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, and SCIP_LPi::senarray. Referenced by SCIPlpiAddRows(), SCIPlpiChgSides(), and SCIPlpiLoadColLP().
converts Xpress' sen/rhs/rng triplets into SCIP's lhs/rhs pairs
Definition at line 492 of file lpi_xprs.c. References NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIPABORT, SCIPerrorMessage, and SCIP_LPi::senarray. Referenced by reconvertSides(). converts Xpress' sen/rhs/rng triplets into SCIP's lhs/rhs pairs, only storing the left hand side
Definition at line 541 of file lpi_xprs.c. References NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIPABORT, SCIPerrorMessage, and SCIP_LPi::senarray. Referenced by reconvertSides(). converts Xpress' sen/rhs/rng triplets into SCIP's lhs/rhs pairs, only storing the right hand side
Definition at line 586 of file lpi_xprs.c. References NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIPABORT, SCIPerrorMessage, and SCIP_LPi::senarray. Referenced by reconvertSides(). converts Xpress' sen/rhs/rng triplets into SCIP's lhs/rhs pairs
Definition at line 631 of file lpi_xprs.c. References NULL, reconvertBothSides(), reconvertLhs(), and reconvertRhs(). Referenced by SCIPlpiGetRows(), and SCIPlpiGetSides().
gets name and version of LP solver Definition at line 664 of file lpi_xprs.c. References xprsname. Referenced by lpFlushChgCols(), lpFlushChgRows(), SCIPcreate(), SCIPlpCreate(), SCIPlpMarkFlushed(), and SCIPprintVersion().
gets description of LP solver (developer, webpage, ...) Definition at line 674 of file lpi_xprs.c. Referenced by SCIPcreate().
gets pointer for LP solver - use only with great care Here we return the pointer to the LP environment.
Definition at line 685 of file lpi_xprs.c. References SCIP_LPi::xprslp.
creates an LP problem object
Definition at line 704 of file lpi_xprs.c. References BMSallocMemory, CHECK_ZEROE, CHECK_ZEROPLPIE, invalidateSolution(), NULL, numlp, SCIP_ALLOC, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiChgObjsen(), and TRUE. Referenced by addConcaveEstimatorMultivariate(), initAlternativeLP(), SCIPlpComputeRelIntPoint(), and SCIPlpCreate().
deletes an LP problem object
Definition at line 784 of file lpi_xprs.c. References BMSfreeMemory, BMSfreeMemoryArrayNull, CHECK_ZEROPLPIE, NULL, numlp, SCIP_OKAY, and SCIPdebugMessage. Referenced by addConcaveEstimatorMultivariate(), SCIP_DECL_CONSEXITSOL(), SCIPlpComputeRelIntPoint(), and SCIPlpFree().
copies LP data with column matrix into LP solver
Definition at line 829 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, CHECK_ZEROLPIW, convertSides(), ensureSidechgMem(), invalidateSolution(), SCIP_LPi::name, NULL, SCIP_LPi::objsense, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::senarray, and SCIP_LPi::xprslp.
adds columns to the LP
Definition at line 958 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, CHECK_ZEROLPIW, invalidateSolution(), NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by addAltLPConstraint(), addAltLPRow(), addConcaveEstimatorMultivariate(), lpFlushAddCols(), SCIPlpComputeRelIntPoint(), and SCIPlpiLoadColLP().
deletes all columns in the given range from LP
Definition at line 1033 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, invalidateSolution(), NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpFlushDelCols(), and SCIPlpiClear().
deletes columns from SCIP_LP; the new position of a column must not be greater that its old position
Definition at line 1062 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, invalidateSolution(), NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpDelColset().
adds rows to the LP
Definition at line 1111 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, CHECK_ZEROLPIW, convertSides(), ensureSidechgMem(), invalidateSolution(), NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::senarray, and SCIP_LPi::xprslp. Referenced by addAltLPConstraint(), addAltLPRow(), addConcaveEstimatorMultivariate(), initAlternativeLP(), lpFlushAddRows(), and SCIPlpComputeRelIntPoint().
deletes all rows in the given range from LP
Definition at line 1189 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, invalidateSolution(), NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpFlushDelRows(), and SCIPlpiClear().
deletes rows from SCIP_LP; the new position of a row must not be greater that its old position
Definition at line 1218 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, invalidateSolution(), NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpDelRowset().
clears the whole LP
Definition at line 1266 of file lpi_xprs.c. References CHECK_ZERO, invalidateSolution(), NULL, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIPlpiDelCols(), SCIPlpiDelRows(), and SCIP_LPi::xprslp. Referenced by SCIPlpiLoadColLP().
changes lower and upper bounds of columns
Definition at line 1296 of file lpi_xprs.c. References CHECK_ZERO, ensureBoundchgMem(), invalidateSolution(), SCIP_LPi::larray, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPdebugPrintf, SCIP_LPi::uarray, and SCIP_LPi::xprslp. Referenced by conflictAnalyzeLP(), fixAltLPVariable(), fixAltLPVariables(), lpFlushChgCols(), lpLexDualSimplex(), SCIPconflictAnalyzeStrongbranch(), SCIPlpiScaleCol(), unfixAltLPVariable(), and unfixAltLPVariables().
changes left and right hand sides of rows
Definition at line 1327 of file lpi_xprs.c. References CHECK_ZERO, convertSides(), ensureSidechgMem(), invalidateSolution(), NULL, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::senarray, and SCIP_LPi::xprslp. Referenced by conflictAnalyzeLP(), lpFlushChgRows(), lpLexDualSimplex(), scaleFirstRow(), and SCIPlpiScaleRow().
changes a single coefficient
Definition at line 1356 of file lpi_xprs.c. References CHECK_ZERO, invalidateSolution(), NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by SCIPlpiScaleCol(), SCIPlpiScaleRow(), updateFirstRow(), and updateFirstRowGlobal().
changes the objective sense
Definition at line 1376 of file lpi_xprs.c. References invalidateSolution(), NULL, SCIP_LPi::objsense, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::xprslp, and xprsObjsen(). Referenced by SCIPlpiCreate().
changes objective values of columns in the LP
Definition at line 1394 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpFlushChgCols(), lpLexDualSimplex(), SCIPlpiScaleCol(), setAltLPObj(), and setAltLPObjZero().
multiplies a row with a non-zero scalar; for negative scalars, the row's sense is switched accordingly
Definition at line 1412 of file lpi_xprs.c. References CHECK_ZERO, ensureValMem(), SCIP_LPi::indarray, invalidateSolution(), NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiChgCoef(), SCIPlpiChgSides(), SCIPlpiGetRows(), SCIP_LPi::valarray, and SCIP_LPi::xprslp.
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 1469 of file lpi_xprs.c. References CHECK_ZERO, ensureValMem(), SCIP_LPi::indarray, invalidateSolution(), NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiChgBounds(), SCIPlpiChgCoef(), SCIPlpiChgObj(), SCIPlpiGetCols(), SCIPlpiGetObj(), SCIP_LPi::valarray, and SCIP_LPi::xprslp.
gets the number of rows in the LP
Definition at line 1544 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by addAltLPConstraint(), addAltLPRow(), and SCIPlpFlush().
gets the number of columns in the LP
Definition at line 1561 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by addAltLPConstraint(), addAltLPRow(), checkIISlocal(), checkLPBoundsClean(), extendToCover(), scaleFirstRow(), SCIPlpComputeRelIntPoint(), and SCIPlpFlush().
gets the number of nonzero elements in the LP constraint matrix
Definition at line 1578 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by SCIPlpiGetCols(), and SCIPlpiGetRows().
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 1598 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdebugMessage, SCIPlpiGetNNonz(), and SCIP_LPi::xprslp. Referenced by SCIPlpiGetPrimalRay(), and 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 1663 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, ensureSidechgMem(), NULL, reconvertSides(), SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIPlpiGetNNonz(), SCIP_LPi::senarray, and SCIP_LPi::xprslp. Referenced by scaleFirstRow(), and SCIPlpiScaleRow().
gets column names
Definition at line 1727 of file lpi_xprs.c. References SCIP_LPERROR, and SCIPerrorMessage.
gets row names
Definition at line 1742 of file lpi_xprs.c. References SCIP_LPERROR, and SCIPerrorMessage.
gets the objective sense of the LP
Definition at line 1757 of file lpi_xprs.c. References SCIP_LPERROR, and SCIPerrorMessage.
gets objective coefficients from LP problem object
Definition at line 1767 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpFlushChgCols(), lpLexDualSimplex(), SCIPlpiScaleCol(), and SCIPlpMarkFlushed().
gets current bounds from LP problem object
Definition at line 1787 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by checkLPBoundsClean(), lpFlushChgCols(), lpLexDualSimplex(), SCIPlpiGetCols(), and SCIPlpMarkFlushed().
gets current row sides from LP problem object
Definition at line 1815 of file lpi_xprs.c. References CHECK_ZERO, ensureSidechgMem(), NULL, reconvertSides(), SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::senarray, and SCIP_LPi::xprslp. Referenced by lpFlushChgRows(), lpLexDualSimplex(), SCIPlpiGetRows(), SCIPlpMarkFlushed(), and undoBdchgsDualfarkas().
gets a single coefficient
Definition at line 1842 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp.
solve LP
Definition at line 1893 of file lpi_xprs.c. References CHECK_ZERO, invalidateSolution(), SCIP_LPi::iterations, NULL, SCIP_LPi::objsense, SCIP_LPi::par_fastlp, SCIP_LPi::par_lobjlim, SCIP_LPi::par_presolve, SCIP_LPi::par_uobjlim, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::solisbasic, SCIP_LPi::solstat, TRUE, SCIP_LPi::unbvec, XPRS_LP_OPTIMAL_SCALEDINFEAS, XPRS_LPQUICKPRESOLVE, SCIP_LPi::xprslp, and XPRSpostsolve(). Referenced by SCIPlpiSolveBarrier(), SCIPlpiSolveDual(), and SCIPlpiSolvePrimal().
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 1985 of file lpi_xprs.c. References lpiSolve(), and SCIP_LPi::solmethod. Referenced by checkAltLPInfeasible(), handle_singular(), lpLexDualSimplex(), lpPrimalSimplex(), and SCIPlpiHasDualRay().
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 1994 of file lpi_xprs.c. References lpiSolve(), and SCIP_LPi::solmethod. Referenced by addConcaveEstimatorMultivariate(), checkAltLPInfeasible(), conflictAnalyzeLP(), lpDualSimplex(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranchIntegral(), lpLexDualSimplex(), SCIPconflictAnalyzeStrongbranch(), SCIPlpComputeRelIntPoint(), SCIPlpiSolveBarrier(), SCIPlpiStrongbranch(), and SCIPlpiStrongbranchFrac().
calls barrier or interior point algorithm to solve the LP with crossover to simplex basis
Definition at line 2003 of file lpi_xprs.c. References CHECK_ZERO, lpiSolve(), NULL, SCIP_LPi::solisbasic, SCIP_LPi::solmethod, and SCIP_LPi::xprslp. Referenced by lpBarrier(), and SolveWSimplex().
start strong branching - call before any strong branching
Definition at line 2024 of file lpi_xprs.c. References SCIP_OKAY. Referenced by SCIPconflictAnalyzeStrongbranch(), and SCIPlpStartStrongbranch().
end strong branching - call after any strong branching
Definition at line 2033 of file lpi_xprs.c. References SCIP_OKAY. Referenced by SCIPconflictAnalyzeStrongbranch(), and SCIPlpEndStrongbranch().
performs strong branching iterations on one candidate
Definition at line 2043 of file lpi_xprs.c. References CHECK_ZERO, EPSCEIL, EPSFLOOR, FALSE, getBase(), NULL, SCIP_LPi::objsense, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiGetIterations(), SCIPlpiGetObjval(), SCIPlpiIsIterlimExc(), SCIPlpiIsObjlimExc(), SCIPlpiIsOptimal(), SCIPlpiIsPrimalInfeasible(), SCIPlpiSolveDual(), setBase(), TRUE, and SCIP_LPi::xprslp. Referenced by SCIPlpiStrongbranchFrac(), and SCIPlpiStrongbranchInt().
performs strong branching iterations on given candidates
Definition at line 2225 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, EPSCEIL, EPSFLOOR, FALSE, getBase(), NULL, SCIP_LPi::objsense, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiGetIterations(), SCIPlpiGetObjval(), SCIPlpiIsIterlimExc(), SCIPlpiIsObjlimExc(), SCIPlpiIsOptimal(), SCIPlpiIsPrimalInfeasible(), SCIPlpiSolveDual(), setBase(), TRUE, and SCIP_LPi::xprslp. Referenced by SCIPlpiStrongbranchesFrac(), and SCIPlpiStrongbranchesInt().
performs strong branching iterations on one fractional candidate
Definition at line 2430 of file lpi_xprs.c. References lpiStrongbranch(), SCIP_CALL, and SCIP_OKAY. Referenced by SCIPcolGetStrongbranch().
performs strong branching iterations on given fractional candidates
Definition at line 2451 of file lpi_xprs.c. References lpiStrongbranches(), SCIP_CALL, and SCIP_OKAY. Referenced by SCIPcolGetStrongbranches().
performs strong branching iterations on one candidate with integral value
Definition at line 2473 of file lpi_xprs.c. References lpiStrongbranch(), SCIP_CALL, and SCIP_OKAY. Referenced by SCIPcolGetStrongbranch().
performs strong branching iterations on given candidates with integral values
Definition at line 2494 of file lpi_xprs.c. References lpiStrongbranches(), SCIP_CALL, and SCIP_OKAY. Referenced by SCIPcolGetStrongbranches(). returns whether a solve method was called after the last modification of the LP
Definition at line 2527 of file lpi_xprs.c. References NULL, and SCIP_LPi::solstat. Referenced by performStrongbranchWithPropagation(), and SCIPconflictAnalyzeLP().
gets information about primal and dual feasibility of the current LP solution here "true" should mean feasible, "false" should mean unknown
Definition at line 2538 of file lpi_xprs.c. References NULL, SCIP_Bool, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::solmethod, SCIP_LPi::solstat, XPRS_LP_OPTIMAL_SCALEDINFEAS, and SCIP_LPi::xprslp. Referenced by lpAlgorithm(), SCIPlpiIsPrimalUnbounded(), and SCIPlpiStrongbranch(). 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 2560 of file lpi_xprs.c. References NULL, SCIP_LPi::solstat, and SCIP_LPi::xprslp. Referenced by checkAltLPInfeasible(), lpSolve(), SCIPlpiIsDualInfeasible(), and SCIPlpiStrongbranch(). 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 2574 of file lpi_xprs.c. References CHECK_ZERO, FALSE, NULL, SCIP_LPi::solstat, TRUE, SCIP_LPi::unbvec, and SCIP_LPi::xprslp. Referenced by lpSolve(), SCIPlpGetPrimalRay(), and SCIPlpGetUnboundedSol(). returns TRUE iff LP is proven to be primal feasible and unbounded
Definition at line 2600 of file lpi_xprs.c. References NULL, SCIPdebugMessage, SCIP_LPi::solmethod, SCIP_LPi::solstat, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), and checkAltLPInfeasible(). returns TRUE iff LP is proven to be primal infeasible
Definition at line 2619 of file lpi_xprs.c. References NULL, SCIPdebugMessage, SCIP_LPi::solstat, and SCIP_LPi::xprslp. Referenced by checkAltLPInfeasible(), conflictAnalyzeLP(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranchIntegral(), lpSolve(), SCIPconflictAnalyzeLP(), and SCIPlpiStrongbranchFrac(). returns TRUE iff LP is proven to be primal feasible
Definition at line 2633 of file lpi_xprs.c. References NULL, SCIPdebugMessage, SCIP_LPi::solmethod, SCIP_LPi::solstat, XPRS_LP_OPTIMAL_SCALEDINFEAS, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), lpSolve(), SCIPlpiGetSolFeasibility(), and SCIPlpiIsOptimal(). 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 2650 of file lpi_xprs.c. References NULL, SCIP_LPi::solstat, and SCIP_LPi::xprslp. Referenced by SCIPlpiGetState(), SCIPlpiIsPrimalInfeasible(), and SCIPlpiStrongbranch(). 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 2664 of file lpi_xprs.c. References CHECK_ZERO, FALSE, NULL, SCIP_CALL, SCIPlpiSolvePrimal(), SCIP_LPi::solmethod, SCIP_LPi::solstat, TRUE, and SCIP_LPi::xprslp. Referenced by lpSolve(), SCIPlpSolveAndEval(), and undoBdchgsDualfarkas(). returns TRUE iff LP is proven to be dual unbounded
Definition at line 2693 of file lpi_xprs.c. References NULL, SCIPdebugMessage, SCIP_LPi::solmethod, SCIP_LPi::solstat, and SCIP_LPi::xprslp. returns TRUE iff LP is proven to be dual infeasible
Definition at line 2707 of file lpi_xprs.c. References NULL, SCIPdebugMessage, SCIP_LPi::solstat, and SCIP_LPi::xprslp. returns TRUE iff LP is proven to be dual feasible
Definition at line 2721 of file lpi_xprs.c. References NULL, SCIPdebugMessage, SCIP_LPi::solmethod, SCIP_LPi::solstat, XPRS_LP_OPTIMAL_SCALEDINFEAS, and SCIP_LPi::xprslp. Referenced by conflictAnalyzeLP(), lpSolve(), performStrongbranchWithPropagation(), SCIPlpiGetSolFeasibility(), and SCIPlpiIsOptimal(). returns TRUE iff LP was solved to optimality
Definition at line 2736 of file lpi_xprs.c. References NULL, SCIP_LPi::solstat, XPRS_LP_OPTIMAL_SCALEDINFEAS, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), checkAltLPInfeasible(), conflictAnalyzeLP(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranchIntegral(), lpLexDualSimplex(), lpSolve(), SCIPlpComputeRelIntPoint(), SCIPlpiIsStable(), and SCIPlpiStrongbranchFrac(). returns TRUE iff current LP basis is stable
Definition at line 2748 of file lpi_xprs.c. References CHECK_ZERO, FALSE, NULL, SCIPdebugMessage, SCIP_LPi::solstat, TRUE, XPRS_LP_OPTIMAL_SCALEDINFEAS, and SCIP_LPi::xprslp. Referenced by checkAltLPInfeasible(), lpSolveStable(), and SCIPlpiStrongbranch(). returns TRUE iff the objective limit was reached
Definition at line 2782 of file lpi_xprs.c. References NULL, SCIP_LPi::solstat, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), conflictAnalyzeLP(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranchIntegral(), lpSolve(), SCIPlpiIsOptimal(), SCIPlpiIsStable(), SCIPlpiSolveDual(), SCIPlpiStrongbranchFrac(), and SCIPlpSolveAndEval(). returns TRUE iff the iteration limit was reached
Definition at line 2794 of file lpi_xprs.c. References CHECK_ZERO, FALSE, NULL, SCIP_LPi::solstat, TRUE, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranchIntegral(), lpSolve(), lpSolveStable(), SCIPlpComputeRelIntPoint(), and SCIPlpiStrongbranchFrac(). returns TRUE iff the time limit was reached
Definition at line 2815 of file lpi_xprs.c. References CHECK_ZERO, FALSE, NULL, SCIP_LPi::solstat, TRUE, and SCIP_LPi::xprslp. Referenced by lpSolve(), and SCIPlpComputeRelIntPoint().
returns the internal solution status of the solver
Definition at line 2836 of file lpi_xprs.c. References NULL, SCIP_LPi::solstat, and SCIP_LPi::xprslp. Referenced by checkAltLPInfeasible(), and lpSolve().
tries to reset the internal status of the LP solver in order to ignore an instability of the last solving call
Definition at line 2847 of file lpi_xprs.c. References NULL, SCIP_OKAY, TRUE, and SCIP_LPi::xprslp. Referenced by lpSolveStable().
gets objective value of solution
Definition at line 2862 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by conflictAnalyzeLP(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranchIntegral(), lpSolve(), performStrongbranchWithPropagation(), SCIPlpiSolveDual(), SCIPlpiStrongbranchFrac(), SCIPlpSolveAndEval(), and undoBdchgsDualsol().
gets primal and dual solution vectors
Definition at line 2878 of file lpi_xprs.c. References CHECK_ZERO, ensureSidechgMem(), NULL, SCIP_LPi::rhsarray, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::solstat, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), extendToCover(), lpLexDualSimplex(), SCIPlpComputeRelIntPoint(), SCIPlpGetSol(), SCIPlpGetUnboundedSol(), and undoBdchgsDualsol().
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 2916 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::cstat, getBase(), NULL, SCIP_LPi::rstat, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIPlpiGetCols(), SCIP_LPi::solmethod, SCIP_LPi::solstat, SCIP_LPi::unbvec, and SCIP_LPi::xprslp. Referenced by SCIPlpGetPrimalRay(), and SCIPlpGetUnboundedSol().
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 3022 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_LPERROR, SCIP_OKAY, SCIP_LPi::solmethod, SCIP_LPi::solstat, and SCIP_LPi::xprslp. Referenced by SCIPlpGetDualfarkas(), and undoBdchgsDualfarkas().
gets the number of LP iterations of the last solve call
Definition at line 3058 of file lpi_xprs.c. References SCIP_LPi::iterations, NULL, SCIP_OKAY, SCIP_LPi::solstat, and SCIP_LPi::xprslp. Referenced by conflictAnalyzeLP(), lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranchIntegral(), SCIPconflictAnalyzeStrongbranch(), SCIPlpGetIterations(), and SCIPlpiStrongbranchFrac().
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 3078 of file lpi_xprs.c. References NULL, SCIP_INVALID, and SCIP_OKAY. Referenced by checkAltLPInfeasible(), SCIP_DECL_DISPOUTPUT(), SCIPlpiIsStable(), and SCIPprintLPSolutionQuality().
gets current basis status for columns and rows; arrays must be large enough to store the basis status
Definition at line 3105 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_BASESTAT_ZERO, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpLexDualSimplex(), SCIPconflictAnalyzeStrongbranch(), SCIPlpGetBase(), SCIPlpGetSol(), and SCIPlpiGetState().
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 3146 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, invalidateSolution(), NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by SCIPconflictAnalyzeStrongbranch(), and SCIPlpiSetState().
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 3185 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpiGetBInvVec(), SCIPlpGetBasisInd(), and SCIPlpiGetBInvRow().
get dense row of inverse basis matrix B^-1
Definition at line 3225 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by SCIPlpGetBInvRow(), and SCIPlpiGetBInvARow().
get dense column of inverse basis matrix B^-1
Definition at line 3247 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by SCIPlpGetBInvCol().
get dense row of inverse basis matrix times constraint matrix B^-1 * A
Definition at line 3273 of file lpi_xprs.c. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, ensureValMem(), SCIP_LPi::indarray, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIP_LPi::valarray, and SCIP_LPi::xprslp. Referenced by SCIPlpGetBInvARow().
get dense column of inverse basis matrix times constraint matrix B^-1 * A
Definition at line 3326 of file lpi_xprs.c. References CHECK_ZERO, ensureValMem(), SCIP_LPi::indarray, NULL, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::valarray, and SCIP_LPi::xprslp. Referenced by SCIPlpGetBInvACol().
stores LPi state (like basis information) into lpistate object
Definition at line 3371 of file lpi_xprs.c. References CHECK_ZERO, SCIP_LPi::cstat, getBase(), lpistateCreate(), lpistatePack(), NULL, SCIP_LPi::rstat, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::solisbasic, and SCIP_LPi::xprslp. Referenced by SCIPlpGetState(), and SCIPlpStartDive().
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 3416 of file lpi_xprs.c. References CHECK_ZERO, SCIP_LPi::cstat, ensureCstatMem(), ensureRstatMem(), lpistateUnpack(), 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(), setBase(), and SCIP_LPi::xprslp. Referenced by SCIPlpSetState().
clears current LPi state (like basis information) of the solver
Definition at line 3479 of file lpi_xprs.c. References SCIP_LPi::messagehdlr, NULL, SCIP_OKAY, and SCIPmessagePrintWarning(). Referenced by SCIPtreeEndProbing().
frees LPi state information
Definition at line 3492 of file lpi_xprs.c. References lpistateFree(), NULL, and SCIP_OKAY. Referenced by SCIPlpFreeState().
checks, whether the given LP state contains simplex basis information
Definition at line 3510 of file lpi_xprs.c. References NULL. Referenced by SCIPlpSetState().
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 3520 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp.
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 3536 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by SCIPlpiSolveDual(), and SCIPlpiSolvePrimal().
stores LPi pricing norms information
Definition at line 3566 of file lpi_xprs.c. References NULL, and SCIP_OKAY. Referenced by SCIPlpGetNorms().
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 3582 of file lpi_xprs.c. References NULL, and SCIP_OKAY. Referenced by SCIPlpSetNorms().
frees pricing norms information
Definition at line 3595 of file lpi_xprs.c. References NULL, and SCIP_OKAY. Referenced by SCIPlpFreeNorms().
gets integer parameter of LP
Definition at line 3620 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_LPi::par_fastlp, SCIP_LPi::par_presolve, SCIP_LPPAR_FASTMIP, SCIP_LPPAR_FROMSCRATCH, SCIP_LPPAR_LPINFO, SCIP_LPPAR_LPITLIM, SCIP_LPPAR_PRESOLVING, SCIP_LPPAR_SCALING, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by lpCheckIntpar(), and SCIPlpStartDive().
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 3670 of file lpi_xprs.c. References CHECK_ZERO, FALSE, MIN, NULL, SCIP_LPi::par_fastlp, SCIP_LPi::par_presolve, SCIP_LPPAR_FASTMIP, SCIP_LPPAR_FROMSCRATCH, SCIP_LPPAR_LPINFO, SCIP_LPPAR_LPITLIM, SCIP_LPPAR_PRESOLVING, SCIP_LPPAR_SCALING, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIPdebugMessage, TRUE, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), checkAltLPInfeasible(), conflictAnalyzeLP(), extendToCover(), initAlternativeLP(), lpSetIntpar(), SCIP_DECL_CONSCHECK(), SCIPlpComputeRelIntPoint(), SCIPlpiAddRows(), and SCIPlpiCreate().
gets floating point parameter of LP
Definition at line 3717 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_LPi::par_lobjlim, SCIP_LPi::par_uobjlim, SCIP_LPPAR_BARRIERCONVTOL, SCIP_LPPAR_DUALFEASTOL, SCIP_LPPAR_FEASTOL, SCIP_LPPAR_LOBJLIM, SCIP_LPPAR_LPTILIM, SCIP_LPPAR_MARKOWITZ, SCIP_LPPAR_UOBJLIM, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by conflictAnalyzeLP(), and lpCheckRealpar().
sets floating point parameter of LP
Definition at line 3768 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_LPi::par_lobjlim, SCIP_LPi::par_uobjlim, SCIP_LPPAR_BARRIERCONVTOL, SCIP_LPPAR_DUALFEASTOL, SCIP_LPPAR_FEASTOL, SCIP_LPPAR_LOBJLIM, SCIP_LPPAR_LPTILIM, SCIP_LPPAR_MARKOWITZ, SCIP_LPPAR_UOBJLIM, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), conflictAnalyzeLP(), lpSetRealpar(), and SCIPlpComputeRelIntPoint(). returns value treated as infinity in the LP solver
Definition at line 3825 of file lpi_xprs.c. References NULL. Referenced by addAltLPConstraint(), addAltLPRow(), addConcaveEstimatorMultivariate(), conflictAnalyzeLP(), lpFlushAddCols(), lpFlushAddRows(), lpFlushChgCols(), lpFlushChgRows(), lpSetUobjlim(), SCIPlpComputeRelIntPoint(), SCIPlpCreate(), SCIPlpiCreate(), SCIPlpiGetObjval(), SCIPlpMarkFlushed(), SCIPlpSolveAndEval(), solveNodeLP(), unfixAltLPVariable(), unfixAltLPVariables(), and updateLazyBounds(). checks if given value is treated as infinity in the LP solver
Definition at line 3834 of file lpi_xprs.c. References NULL. Referenced by checkLPBoundsClean(), performStrongbranchWithPropagation(), and SCIPlpiSetState().
reads LP from a file read file in MPS format parameters: filename bool keepNames bool ignoreErrors
Definition at line 3856 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp.
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 3872 of file lpi_xprs.c. References CHECK_ZERO, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::xprslp. Referenced by addAltLPConstraint(), addAltLPRow(), SCIPlpComputeRelIntPoint(), SCIPlpiSolveDual(), SCIPlpiSolvePrimal(), and SCIPlpWrite(). Variable Documentation
number of open LP objects Definition at line 143 of file lpi_xprs.c. Referenced by SCIPlpiCreate(), and SCIPlpiFree().
Definition at line 658 of file lpi_xprs.c. Referenced by SCIPlpiGetSolverName(). |