|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lpi.h File Reference Detailed Descriptioninterface methods for specific LP solvers This file specifies a generic LP solver interface used by SCIP to create, modify, and solve linear programs of the form min/max obj * x lhs <= A * x <= rhs lb <= x <= ub and query information about the solution. Although it includes a few SCIP header files, e.g., because it uses SCIP's return codes, it can be used independently of any SCIP instance. In the methods accessing information about the (inverse of the) basis matrix, the interface assumes the following column-oriented format: slack variables of rows have coefficient +1 and the basis matrix is a regular m times m submatrix of (A,I), where m is the number of rows and I is the identity matrix. This means that if, internally, the LP solver uses coefficients -1 for some of the slack variables, then rows associated with slacks variables whose coefficient is -1 should be negated in order to return the result in terms of the LP interface definition. Definition in file lpi.h. #include "scip/def.h"#include "blockmemshell/memory.h"#include "scip/type_retcode.h"#include "lpi/type_lpi.h"Go to the source code of this file. Function Documentation
gets name and version of LP solver Definition at line 433 of file lpi_clp.cpp. References CLP_VERSION, CPX_SUBVERSION, cpxname, grbname, LPINAME, MIN, mskname, SCIP_Real, SCIPdebugMessage, SOPLEX_SUBVERSION, spxname, and xprsname. Referenced by lpFlushChgCols(), lpFlushChgRows(), SCIPcreate(), SCIPlpCreate(), SCIPlpMarkFlushed(), and SCIPprintVersion().
gets description of LP solver (developer, webpage, ...) Definition at line 442 of file lpi_clp.cpp. References spxdesc. Referenced by SCIPcreate().
gets pointer for LP solver - use only with great care The behavior of this function depends on the solver and its use is therefore only recommended if you really know what you are doing. In general, it returns a pointer to the LP solver object. gets pointer for LP solver - use only with great care gets pointer for LP solver - use only with great care Here we return the pointer to the LP environment. gets pointer for LP solver - use only with great care Here we return the pointer to the model.
Definition at line 450 of file lpi_clp.cpp. References SCIP_LPi::clp, SCIP_LPi::cpxlp, SCIP_LPi::grbmodel, NULL, SCIP_LPi::prob, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp.
creates an LP problem object creates an LP problem object
Definition at line 469 of file lpi_clp.cpp. References BMSallocMemory, BMSallocMemoryArray, BMSallocMemoryCPP, CHECK_ZERO, copyParameterValues(), DEGEN_LEVEL, FALSE, getParameterValues(), grbenv, invalidateSolution(), MOSEK_CALL, MosekEnv, nextlpid, NULL, numlp, printstr(), SCIP_ALLOC, SCIP_Bool, SCIP_CALL, SCIP_LPERROR, SCIP_LPPAR_PRICING, SCIP_OKAY, SCIP_PRICING_LPIDEFAULT, SCIP_Real, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiChgObjsen(), SCIPlpiInfinity(), SCIPlpiSetIntpar(), SCIPmessagePrintWarning(), SENSE2MOSEK, SETBACK_LIMIT, SOPLEX_TRY, SOPLEX_VERBLEVEL, TRUE, and warnedbeta. Referenced by addConcaveEstimatorMultivariate(), initAlternativeLP(), SCIPlpComputeRelIntPoint(), and SCIPlpCreate().
deletes an LP problem object
Definition at line 538 of file lpi_clp.cpp. References BMSfreeMemory, BMSfreeMemoryArray, BMSfreeMemoryArrayNull, CHECK_ZERO, grbenv, MOSEK_CALL, MosekEnv, 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 572 of file lpi_clp.cpp. References BMSallocMemoryArray, BMScopyMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, convertSides(), SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, cpxObjsen(), ensureColMem(), ensureRowMem(), ensureSidechgMem(), ensureValMem(), generateMskBounds(), getEndptrs(), SCIP_LPi::grbenv, SCIP_LPi::grbmodel, SCIP_LPi::iccnt, SCIP_LPi::indarray, invalidateSolution(), SCIP_LPi::irbeg, SCIP_LPi::ircnt, SCIP_LPi::irhs, SCIP_LPi::irng, SCIP_LPi::isen, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::name, SCIP_LPi::ncols, SCIP_LPi::nrows, NULL, SCIP_LPi::prob, QS_CONDRET, QS_RETURN, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiAddCols(), SCIPlpiChgObjsen(), SCIPlpiClear(), SCIPmessagePrintWarning(), SCIP_LPi::senarray, SENSE2MOSEK, SCIP_LPi::solstat, SCIP_LPi::spx, spxObjsen(), SCIP_LPi::task, and SCIP_LPi::xprslp.
adds columns to the LP
adds columns to the LP
Definition at line 638 of file lpi_clp.cpp. References BMSallocMemoryArray, BMScopyMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureColMem(), ensureValMem(), generateMskBounds(), getEndptrs(), SCIP_LPi::grbmodel, SCIP_LPi::iccnt, SCIP_LPi::indarray, invalidateSolution(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::ncols, NULL, SCIP_LPi::prob, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPmessagePrintWarning(), SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 705 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, debugCheckColrang(), ensureColMem(), ensureValMem(), getIndicesRange(), SCIP_LPi::grbmodel, SCIP_LPi::iccnt, SCIP_LPi::indarray, invalidateSolution(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::ncols, NULL, SCIP_LPi::prob, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::solstat, SOPLEX_TRY, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by lpFlushDelCols(), and SCIPlpiClear().
deletes columns from SCIP_LPI; the new position of a column must not be greater that its old position deletes columns from SCIP_LP; the new position of a column must not be greater that its old position
Definition at line 736 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureValMem(), getIndicesFromDense(), SCIP_LPi::grbmodel, SCIP_LPi::indarray, invalidateSolution(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::ncols, NULL, SCIP_LPi::prob, QS_CONDRET, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::solstat, SOPLEX_TRY, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by lpDelColset().
adds rows to the LP
adds rows to the LP
Definition at line 782 of file lpi_clp.cpp. References BMSallocMemoryArray, BMScopyMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, convertSides(), SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureRowMem(), ensureSidechgMem(), ensureValMem(), FALSE, generateMskBounds(), getEndptrs(), SCIP_LPi::grbmodel, SCIP_LPi::indarray, invalidateSolution(), SCIP_LPi::irbeg, SCIP_LPi::ircnt, SCIP_LPi::irhs, SCIP_LPi::irng, SCIP_LPi::isen, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::nrows, NULL, SCIP_LPi::prob, QS_ERROR, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_LPi::rngfound, SCIP_LPi::rngindarray, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_LPPAR_SCALING, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiSetIntpar(), SCIPmessagePrintWarning(), SCIP_LPi::senarray, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, TRUE, 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 844 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, debugCheckRowrang(), ensureRowMem(), ensureValMem(), getIndicesRange(), SCIP_LPi::grbmodel, SCIP_LPi::indarray, invalidateSolution(), SCIP_LPi::ircnt, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::nrows, NULL, SCIP_LPi::prob, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::solstat, SOPLEX_TRY, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by lpFlushDelRows(), and SCIPlpiClear().
deletes rows from SCIP_LPI; the new position of a row must not be greater that its old position deletes rows from SCIP_LP; the new position of a row must not be greater that its old position
Definition at line 876 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureValMem(), getIndicesFromDense(), SCIP_LPi::grbmodel, SCIP_LPi::indarray, invalidateSolution(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::nrows, NULL, SCIP_LPi::prob, QS_CONDRET, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::solstat, SOPLEX_TRY, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by lpDelRowset().
clears the whole LP
Definition at line 922 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureColMem(), ensureRowMem(), SCIP_LPi::grbenv, SCIP_LPi::grbmodel, SCIP_LPi::iccnt, invalidateSolution(), SCIP_LPi::ircnt, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::name, SCIP_LPi::ncols, SCIP_LPi::nrows, NULL, SCIP_LPi::prob, QS_CONDRET, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIPlpiDelCols(), SCIPlpiDelRows(), SCIP_LPi::solstat, SOPLEX_TRY, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by SCIPlpiLoadColLP().
changes lower and upper bounds of columns
Definition at line 941 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, CPX_MAGICZEROCONSTANT, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureBoundchgMem(), ensureColMem(), EPSZ, generateMskBounds(), SCIP_LPi::grbmodel, SCIP_LPi::iccha, invalidateSolution(), SCIP_LPi::larray, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_CONDRET, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPdebugPrintf, SCIPmessagePrintWarning(), SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 1007 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, convertSides(), SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureRowMem(), ensureSidechgMem(), generateMskBounds(), SCIP_LPi::grbmodel, invalidateSolution(), SCIP_LPi::irhs, SCIP_LPi::irng, SCIP_LPi::isen, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_CONDRET, SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_LPi::rngindarray, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, SCIPmessagePrintWarning(), SCIP_LPi::senarray, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by conflictAnalyzeLP(), lpFlushChgRows(), lpLexDualSimplex(), scaleFirstRow(), and SCIPlpiScaleRow().
changes a single coefficient
Definition at line 1035 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::grbmodel, invalidateSolution(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::solstat, SOPLEX_TRY, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by SCIPlpiScaleCol(), SCIPlpiScaleRow(), updateFirstRow(), and updateFirstRowGlobal().
changes the objective sense
Definition at line 1058 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, cpxObjsen(), SCIP_LPi::grbmodel, invalidateSolution(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_CONDRET, SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIP_OKAY, SCIPdebugMessage, SENSE2MOSEK, SCIP_LPi::solstat, SOPLEX_TRY, SCIP_LPi::spx, spxObjsen(), SCIP_LPi::task, SCIP_LPi::xprslp, and xprsObjsen(). Referenced by SCIPlpiCreate(), and SCIPlpiLoadColLP().
changes objective values of columns in the LP
Definition at line 1078 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::grbmodel, invalidateSolution(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_CONDRET, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, SCIPmessagePrintWarning(), SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 1105 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureValMem(), SCIP_LPi::grbmodel, SCIP_LPi::indarray, invalidateSolution(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, QS_TESTG, scale_bound(), scale_vec(), SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiChgCoef(), SCIPlpiChgSides(), SCIPlpiGetRows(), SCIPmessagePrintWarning(), SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 1178 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureValMem(), SCIP_LPi::grbmodel, SCIP_LPi::indarray, invalidateSolution(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, QS_TESTG, scale_bound(), scale_vec(), SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiChgBounds(), SCIPlpiChgCoef(), SCIPlpiChgObj(), SCIPlpiGetCols(), SCIPlpiGetObj(), SCIPmessagePrintWarning(), SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, SCIP_LPi::valarray, and SCIP_LPi::xprslp.
gets the number of rows in the LP
Definition at line 1255 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::nrows, NULL, SCIP_LPi::prob, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by addAltLPConstraint(), addAltLPRow(), and SCIPlpFlush().
gets the number of columns in the LP
Definition at line 1273 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::ncols, NULL, SCIP_LPi::prob, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by addAltLPConstraint(), addAltLPRow(), checkIISlocal(), checkLPBoundsClean(), extendToCover(), scaleFirstRow(), SCIPlpComputeRelIntPoint(), and SCIPlpFlush().
gets the objective sense of the LP gets objective sense of the LP
Definition at line 1493 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, NULL, SCIP_LPERROR, SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPerrorMessage, SCIP_LPi::spx, and SCIP_LPi::xprslp. Referenced by debugCheckObjsen(), lpiStrongbranch(), and lpiStrongbranches().
gets the number of nonzero elements in the LP constraint matrix
Definition at line 1291 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIP_LPi::spx, SCIP_LPi::task, 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. 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 0, or both have to be non-0, either nnonz, beg, ind, and val have to be 0, or all of them have to be non-0. 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 1312 of file lpi_clp.cpp. References BMScopyMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, debugCheckColrang(), ensureColMem(), ensureValMem(), errorMessage(), getASlice(), SCIP_LPi::grbmodel, SCIP_LPi::iccnt, SCIP_LPi::indarray, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, QS_TESTG, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPlpiGetBounds(), SCIPlpiGetNNonz(), SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. 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. 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 0, or both have to be non-0, either nnonz, beg, ind, and val have to be 0, or all of them have to be non-0.
Definition at line 1379 of file lpi_clp.cpp. References BMSclearMemoryArray, BMScopyMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, debugCheckRowrang(), ensureRowMem(), ensureSidechgMem(), ensureValMem(), errorMessage(), getASlice(), SCIP_LPi::grbmodel, SCIP_LPi::indarray, SCIP_LPi::ircnt, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, QS_TESTG, reconvertSides(), SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiGetNNonz(), SCIPlpiGetSides(), SCIP_LPi::senarray, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by scaleFirstRow(), and SCIPlpiScaleRow().
gets column names
Definition at line 1443 of file lpi_clp.cpp. References BMSallocMemoryArray, CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::messagehdlr, NULL, SCIP_LPi::prob, QS_ERROR, SCIP_ALLOC, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPerrorMessage, and SCIP_LPi::spx.
gets row names
Definition at line 1459 of file lpi_clp.cpp. References BMSallocMemoryArray, CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::messagehdlr, NULL, SCIP_LPi::prob, QS_ERROR, SCIP_ALLOC, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPerrorMessage, and SCIP_LPi::spx.
gets objective coefficients from LP problem object
Definition at line 1513 of file lpi_clp.cpp. References BMScopyMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureColMem(), errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::iccnt, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by lpFlushChgCols(), lpLexDualSimplex(), SCIPlpiScaleCol(), and SCIPlpMarkFlushed().
gets current bounds from LP problem object
Definition at line 1536 of file lpi_clp.cpp. References BMScopyMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureColMem(), errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::iccnt, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by checkLPBoundsClean(), lpFlushChgCols(), lpLexDualSimplex(), SCIPlpiGetCols(), and SCIPlpMarkFlushed().
gets current row sides from LP problem object
Definition at line 1567 of file lpi_clp.cpp. References BMSclearMemoryArray, BMScopyMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureRowMem(), ensureSidechgMem(), errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::ircnt, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, QS_TESTG, reconvertSides(), SCIP_LPi::rhsarray, SCIP_LPi::rngarray, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, SCIP_LPi::senarray, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by lpFlushChgRows(), lpLexDualSimplex(), SCIPlpiGetRows(), SCIPlpMarkFlushed(), and undoBdchgsDualfarkas().
gets a single coefficient
Definition at line 1598 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp.
calls primal simplex to solve the LP 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 1632 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, errorMessage(), FALSE, SCIP_LPi::fromscratch, getIntParam(), GRB_INT_PAR_METHOD, GRB_METHOD_PRIMAL, SCIP_LPi::grbenv, SCIP_LPi::grbmodel, SCIP_LPi::grbparam, SCIP_LPi::instabilityignored, invalidateSolution(), SCIP_LPi::iterations, SCIP_LPi::lpid, lpiSolve(), SCIP_LPi::messagehdlr, MOSEK_CALL, NULL, numprimalmaxiter, numprimalobj, optimizecount, presolve(), SCIP_LPi::prob, QS_RETURN, SCIP_LPi::rowrepswitch, SCIP_Bool, SCIP_CALL, SCIP_LPERROR, SCIP_NOMEMORY, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiWriteLP(), SCIPlpiWriteState(), setFactorizationFrequency(), setIntParam(), setParameterValues(), SCIP_LPi::solisbasic, SCIP_LPi::solmethod, SCIP_LPi::solstat, SCIP_LPi::solved, SolveWSimplex(), SCIP_LPi::spx, spxSolve(), SCIP_LPi::startscratch, SCIP_LPi::task, SCIP_LPi::termcode, TRUE, SCIP_LPi::validFactorization, and WRITE_ABOVE. Referenced by checkAltLPInfeasible(), handle_singular(), lpLexDualSimplex(), and lpPrimalSimplex().
calls dual simplex to solve the LP 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 1705 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, errorMessage(), FALSE, SCIP_LPi::fromscratch, getDblParam(), getIntParam(), GRB_INT_PAR_METHOD, GRB_METHOD_DUAL, SCIP_LPi::grbenv, SCIP_LPi::grbmodel, SCIP_LPi::grbparam, SCIP_LPi::instabilityignored, invalidateSolution(), SCIP_LPi::iterations, SCIP_LPi::lpid, lpiSolve(), SCIP_LPi::messagehdlr, MOSEK_CALL, NULL, numdualmaxiter, numdualobj, optimizecount, presolve(), SCIP_LPi::prob, QS_RETURN, SCIP_LPi::rowrepswitch, SCIP_Bool, SCIP_CALL, SCIP_LPERROR, SCIP_NOMEMORY, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiGetObjval(), SCIPlpiIsObjlimExc(), SCIPlpiWriteLP(), SCIPlpiWriteState(), setDblParam(), setFactorizationFrequency(), setIntParam(), setParameterValues(), SCIP_LPi::solisbasic, SCIP_LPi::solmethod, SCIP_LPi::solstat, SCIP_LPi::solved, SolveWSimplex(), SCIP_LPi::spx, spxSolve(), SCIP_LPi::startscratch, SCIP_LPi::task, SCIP_LPi::termcode, TRUE, SCIP_LPi::validFactorization, and WRITE_ABOVE. Referenced by addConcaveEstimatorMultivariate(), checkAltLPInfeasible(), conflictAnalyzeLP(), lpDualSimplex(), lpiStrongbranch(), lpiStrongbranchIntegral(), lpLexDualSimplex(), SCIPconflictAnalyzeStrongbranch(), SCIPlpComputeRelIntPoint(), SCIPlpiSolveBarrier(), and SCIPlpiStrongbranch().
calls barrier or interior point algorithm to solve the LP with crossover to simplex basis
Definition at line 1780 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, errorMessage(), FALSE, filterTRMrescode(), SCIP_LPi::fromscratch, getIntParam(), GRB_INT_PAR_METHOD, SCIP_LPi::grbenv, SCIP_LPi::grbmodel, SCIP_LPi::grbparam, SCIP_LPi::instabilityignored, invalidateSolution(), SCIP_LPi::iterations, SCIP_LPi::itercount, SCIP_LPi::lpid, lpiSolve(), SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, numdualmaxiter, optimizecount, presolve(), SCIP_CALL, SCIP_INVALIDCALL, SCIP_LPERROR, SCIP_NOMEMORY, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiSolveDual(), setIntParam(), setParameterValues(), SCIP_LPi::solisbasic, SCIP_LPi::solmethod, SCIP_LPi::solstat, SCIP_LPi::solved, SCIP_LPi::task, SCIP_LPi::termcode, TRUE, WRITE_ABOVE, and SCIP_LPi::xprslp. Referenced by lpBarrier(), and SolveWSimplex().
start strong branching - call before any strong branching start strong branching - call before any strongbranching start strong branching
Definition at line 1821 of file lpi_clp.cpp. References NULL, SCIP_OKAY, and SCIP_LPi::spx. Referenced by SCIPconflictAnalyzeStrongbranch(), and SCIPlpStartStrongbranch().
end strong branching - call after any strong branching end strong branching - call after any strongbranching end strong branching
Definition at line 1830 of file lpi_clp.cpp. References NULL, SCIP_OKAY, and SCIP_LPi::spx. Referenced by SCIPconflictAnalyzeStrongbranch(), and SCIPlpEndStrongbranch().
performs strong branching iterations on one fractional candidate
Definition at line 2169 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, EPSISINT, errorMessage(), FALSE, SCIP_LPi::feastol, SCIP_LPi::fromscratch, lpiStrongbranch(), SCIP_LPi::messagehdlr, NULL, SCIP_LPi::previt, SCIP_LPi::prob, QS_CONDRET, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPlpiStrongbranch(), setIntParam(), setParameterValues(), and TRUE. Referenced by SCIPcolGetStrongbranch().
performs strong branching iterations on given fractional candidates
Definition at line 2190 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, EPSISINT, errorMessage(), FALSE, SCIP_LPi::feastol, SCIP_LPi::fromscratch, lpiStrongbranch(), lpiStrongbranches(), SCIP_LPi::messagehdlr, NULL, SCIP_LPi::previt, SCIP_LPi::prob, QS_CONDRET, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPlpiStrongbranch(), setIntParam(), setParameterValues(), and TRUE. Referenced by SCIPcolGetStrongbranches().
performs strong branching iterations on one candidate with integral value
Definition at line 2215 of file lpi_clp.cpp. References SCIP_LPi::cpxlp, EPSISINT, errorMessage(), SCIP_LPi::feastol, lpiStrongbranch(), lpiStrongbranchIntegral(), NULL, SCIP_LPi::prob, QS_CONDRET, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, SCIPlpiStrongbranch(), and TRUE. Referenced by SCIPcolGetStrongbranch().
performs strong branching iterations on given candidates with integral values
Definition at line 2236 of file lpi_clp.cpp. References SCIP_LPi::cpxlp, EPSISINT, errorMessage(), SCIP_LPi::feastol, lpiStrongbranch(), lpiStrongbranches(), lpiStrongbranchIntegral(), NULL, SCIP_LPi::prob, QS_CONDRET, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, SCIPlpiStrongbranch(), and TRUE. Referenced by SCIPcolGetStrongbranches(). returns whether a solve method was called after the last modification of the LP
Definition at line 2271 of file lpi_clp.cpp. References errorMessageAbort(), FALSE, getSolutionStatus(), SCIP_LPi::lpid, MosekEnv, NULL, SCIP_LPi::prob, SCIP_CALL_ABORT, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::solved, and SCIP_LPi::task. Referenced by performStrongbranchWithPropagation(), and SCIPconflictAnalyzeLP().
gets information about primal and dual feasibility of the current LP solution gets information about primal and dual feasibility of the current LP solution here "true" should mean feasible, "false" should mean unknown
Definition at line 2281 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), FALSE, GRB_INT_PAR_METHOD, GRB_METHOD_DUAL, GRB_METHOD_PRIMAL, SCIP_LPi::grbenv, SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, SCIP_Bool, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, SCIPlpiIsDualFeasible(), SCIPlpiIsPrimalFeasible(), SCIP_LPi::solmethod, SCIP_LPi::solstat, SUMINFEASBOUND, SCIP_LPi::task, TRUE, 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 2326 of file lpi_clp.cpp. References SCIP_LPi::clp, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, getSolutionStatus(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, MosekEnv, NULL, SCIP_LPi::prob, SCIP_CALL_ABORT, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 2344 of file lpi_clp.cpp. References ABORT_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, getSolutionStatus(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MosekEnv, NULL, SCIP_LPi::prob, SCIP_CALL_ABORT, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by lpSolve(), SCIPlpGetPrimalRay(), and SCIPlpGetUnboundedSol(). returns TRUE iff LP is proven to be primal unbounded returns TRUE iff LP is proven to be primal feasible and unbounded
Definition at line 2360 of file lpi_clp.cpp. References ABORT_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, SCIP_LPi::grbmodel, NULL, SCIP_LPi::prob, SCIP_Bool, SCIP_OKAY, SCIPdebugMessage, SCIPlpiGetSolFeasibility(), SCIP_LPi::solmethod, SCIP_LPi::solstat, SCIP_LPi::spx, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), and checkAltLPInfeasible(). returns TRUE iff LP is proven to be primal infeasible
Definition at line 2374 of file lpi_clp.cpp. References ABORT_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, SCIP_LPi::grbmodel, NULL, SCIP_LPi::prob, SCIPdebugMessage, SCIPlpiExistsDualRay(), SCIP_LPi::solstat, SCIP_LPi::spx, and SCIP_LPi::xprslp. Referenced by checkAltLPInfeasible(), conflictAnalyzeLP(), lpiStrongbranch(), lpiStrongbranchIntegral(), lpSolve(), and SCIPconflictAnalyzeLP(). returns TRUE iff LP is proven to be primal feasible
Definition at line 2393 of file lpi_clp.cpp. References ABORT_ZERO, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, getSolutionStatus(), GRB_INT_PAR_METHOD, GRB_METHOD_PRIMAL, SCIP_LPi::grbenv, SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MosekEnv, NULL, SCIP_LPi::prob, SCIP_Bool, SCIP_CALL_ABORT, SCIPdebugMessage, SCIP_LPi::solmethod, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 2409 of file lpi_clp.cpp. References SCIP_LPi::clp, errorMessageAbort(), FALSE, getSolutionStatus(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, MosekEnv, NULL, SCIP_LPi::prob, SCIP_CALL_ABORT, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 2427 of file lpi_clp.cpp. References ABORT_ZERO, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, getSolutionStatus(), GRB_INT_PAR_METHOD, GRB_METHOD_DUAL, SCIP_LPi::grbenv, SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MosekEnv, NULL, SCIP_LPi::prob, SCIP_CALL_ABORT, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, TRUE, and SCIP_LPi::xprslp. Referenced by lpSolve(), SCIPlpSolveAndEval(), and undoBdchgsDualfarkas(). returns TRUE iff LP is proven to be dual unbounded returns TRUE iff LP is dual unbounded
Definition at line 2455 of file lpi_clp.cpp. References ABORT_ZERO, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, GRB_INT_PAR_METHOD, GRB_METHOD_DUAL, SCIP_LPi::grbenv, SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, NULL, SCIP_LPi::prob, SCIPdebugMessage, SCIP_LPi::solmethod, SCIP_LPi::solstat, SCIP_LPi::spx, and SCIP_LPi::xprslp. returns TRUE iff LP is proven to be dual infeasible returns TRUE iff LP is dual infeasible
Definition at line 2472 of file lpi_clp.cpp. References ABORT_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, SCIP_LPi::grbmodel, NULL, SCIP_LPi::prob, SCIPdebugMessage, SCIPlpiExistsPrimalRay(), SCIP_LPi::solstat, SCIP_LPi::spx, and SCIP_LPi::xprslp. returns TRUE iff LP is proven to be dual feasible
Definition at line 2486 of file lpi_clp.cpp. References ABORT_ZERO, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, getSolutionStatus(), GRB_INT_PAR_METHOD, GRB_METHOD_DUAL, SCIP_LPi::grbenv, SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MosekEnv, NULL, SCIP_LPi::prob, SCIP_Bool, SCIP_CALL_ABORT, SCIPdebugMessage, SCIP_LPi::solmethod, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 2500 of file lpi_clp.cpp. References SCIP_LPi::clp, errorMessageAbort(), FALSE, getSolutionStatus(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, MosekEnv, NULL, SCIP_LPi::prob, SCIP_CALL_ABORT, SCIPdebugMessage, SCIPlpiIsDualFeasible(), SCIPlpiIsObjlimExc(), SCIPlpiIsPrimalFeasible(), SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, XPRS_LP_OPTIMAL_SCALEDINFEAS, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), checkAltLPInfeasible(), conflictAnalyzeLP(), lpiStrongbranch(), lpiStrongbranchIntegral(), lpLexDualSimplex(), lpSolve(), SCIPlpComputeRelIntPoint(), and SCIPlpiIsStable(). returns TRUE iff current LP basis is stable
Definition at line 2518 of file lpi_clp.cpp. References ABORT_ZERO, SCIP_LPi::checkcondition, SCIP_LPi::clp, SCIP_LPi::conditionlimit, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, SCIP_LPi::grbmodel, MosekEnv, NULL, SCIP_LPi::prob, SCIP_CALL_ABORT, SCIP_INVALID, SCIP_LPSOLQUALITY_ESTIMCONDITION, SCIP_OKAY, SCIP_Real, SCIPABORT, SCIPdebugMessage, SCIPlpiGetRealSolQuality(), SCIPlpiIsObjlimExc(), SCIPlpiIsOptimal(), SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, SCIP_LPi::termcode, 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 2556 of file lpi_clp.cpp. References SCIP_LPi::clp, errorMessageAbort(), FALSE, SCIP_LPi::grbmodel, MosekEnv, NULL, SCIP_LPi::prob, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, SCIP_LPi::termcode, TRUE, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), conflictAnalyzeLP(), lpiStrongbranch(), lpiStrongbranchIntegral(), lpSolve(), SCIPlpiIsOptimal(), SCIPlpiIsStable(), SCIPlpiSolveDual(), and SCIPlpSolveAndEval(). returns TRUE iff the iteration limit was reached
Definition at line 2588 of file lpi_clp.cpp. References ABORT_ZERO, SCIP_LPi::clp, errorMessageAbort(), FALSE, SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, MosekEnv, NULL, SCIP_LPi::prob, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, SCIP_LPi::termcode, TRUE, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), lpiStrongbranch(), lpiStrongbranchIntegral(), lpSolve(), lpSolveStable(), and SCIPlpComputeRelIntPoint(). returns TRUE iff the time limit was reached
Definition at line 2604 of file lpi_clp.cpp. References ABORT_ZERO, SCIP_LPi::clp, errorMessageAbort(), FALSE, SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, MosekEnv, NULL, SCIP_LPi::prob, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, SCIP_LPi::termcode, TRUE, and SCIP_LPi::xprslp. Referenced by lpSolve(), and SCIPlpComputeRelIntPoint().
returns the internal solution status of the solver
Definition at line 2620 of file lpi_clp.cpp. References SCIP_LPi::clp, SCIP_LPi::cpxlp, errorMessageAbort(), FALSE, getSolutionStatus(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, MosekEnv, NULL, SCIP_LPi::prob, SCIP_OKAY, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 1475 of file lpi_clp.cpp. References SCIP_LPi::clp, SCIP_LPi::cpxlp, errorMessage(), FALSE, SCIP_LPi::grbmodel, SCIP_LPi::instabilityignored, SCIP_LPi::lpid, MosekEnv, NULL, SCIP_LPi::prob, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, TRUE, and SCIP_LPi::xprslp. Referenced by lpSolveStable().
gets objective value of solution gets objective value of solution
Definition at line 2634 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPlpiInfinity(), SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by conflictAnalyzeLP(), lpiStrongbranch(), lpiStrongbranchIntegral(), lpSolve(), performStrongbranchWithPropagation(), SCIPlpiSolveDual(), SCIPlpSolveAndEval(), and undoBdchgsDualsol().
gets primal and dual solution vectors for feasible LPs gets primal and dual solution vectors
Definition at line 2652 of file lpi_clp.cpp. References BMSallocMemoryArray, BMScopyMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureRowMem(), ensureSidechgMem(), ensureTabMem(), errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::ibas, SCIP_LPi::instabilityignored, SCIP_LPi::irhs, SCIP_LPi::irng, SCIP_LPi::isen, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_CONDRET, SCIP_LPi::rhsarray, SCIP_ALLOC, SCIP_CALL, SCIP_INVALIDDATA, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, SCIPmessagePrintWarning(), SCIP_LPi::senarray, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 2696 of file lpi_clp.cpp. References BMScopyMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPerrorMessage, SCIPmessagePrintWarning(), SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by SCIPlpGetPrimalRay(), and SCIPlpGetUnboundedSol().
gets dual Farkas proof for infeasibility 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 2721 of file lpi_clp.cpp. References BMScopyMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPmessagePrintWarning(), SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by SCIPlpGetDualfarkas(), and undoBdchgsDualfarkas().
gets the number of LP iterations of the last solve call
Definition at line 2753 of file lpi_clp.cpp. References SCIP_LPi::clp, errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::iterations, SCIP_LPi::itercount, SCIP_LPi::lpid, MosekEnv, NULL, SCIP_LPi::previt, SCIP_LPi::prob, QS_CONDRET, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by conflictAnalyzeLP(), lpiStrongbranch(), lpiStrongbranchIntegral(), SCIPconflictAnalyzeStrongbranch(), and SCIPlpGetIterations().
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 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 2771 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, NULL, SCIP_INVALID, SCIP_INVALIDDATA, SCIP_LPSOLQUALITY_ESTIMCONDITION, SCIP_LPSOLQUALITY_EXACTCONDITION, SCIP_OKAY, SCIPdebugMessage, SCIPerrorMessage, and SCIP_LPi::spx. 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 2798 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, convertstat_mosek2scip(), convertstat_mosek2scip_slack(), SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureTabMem(), errorMessage(), getbase(), getRedCostEst(), SCIP_LPi::grbmodel, SCIP_LPi::ibas, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_CONDRET, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_CALL, SCIP_INVALIDDATA, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, SCIP_LPi::skc, SCIP_LPi::skx, SCIP_LPi::spx, SCIP_LPi::task, 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 2886 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArrayNull, CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::clp, convertstat_scip2mosek(), convertstat_scip2mosek_slack(), SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, ensureStateMem(), ensureTabMem(), EPSEQ, errorMessage(), FALSE, SCIP_LPi::grbmodel, SCIP_LPi::ibas, invalidateSolution(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, SCIP_ALLOC, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_CALL, SCIP_INVALIDDATA, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, setbase(), SCIP_LPi::skc, SCIP_LPi::skx, SOPLEX_TRY, SCIP_LPi::spx, SCIP_LPi::task, 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 3002 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, errorMessage(), SCIP_LPi::grbmodel, handle_singular(), SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_CONDRET, restoreLPData(), SCIP_ALLOC, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, setIntParam(), setParameterValues(), SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by lpiGetBInvVec(), SCIPlpGetBasisInd(), and SCIPlpiGetBInvRow().
get dense row of inverse basis matrix B^-1
get dense row of inverse basis matrix B^-1
get dense row of inverse basis matrix B^-1
get dense row of inverse basis matrix B^-1
get dense row of inverse basis matrix B^-1
get dense row of inverse basis matrix B^-1
Definition at line 3054 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSclearMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, ensureValMem(), errorMessage(), SCIP_LPi::factorization, SCIP_LPi::grbmodel, SCIP_LPi::indarray, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_RETURN, restoreLPData(), SCIP_ALLOC, SCIP_CALL, SCIP_CALL_QUIET, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPlpiGetBasisInd(), SCIPmessagePrintWarning(), setIntParam(), setParameterValues(), SCIP_LPi::spx, SVECTOR, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by SCIPlpGetBInvRow(), and SCIPlpiGetBInvARow().
get dense column of inverse basis matrix B^-1
get dense column of inverse basis matrix B^-1
get dense column of inverse basis matrix B^-1
get dense column of inverse basis matrix B^-1
get dense column of inverse basis matrix B^-1
get dense column of inverse basis matrix B^-1
Definition at line 3082 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSclearMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, ensureSidechgMem(), ensureValMem(), errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::indarray, SCIP_LPi::lpid, lpiGetBInvVec(), SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, restoreLPData(), SCIP_ALLOC, SCIP_CALL, SCIP_CALL_QUIET, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPerrorMessage, SCIP_LPi::senarray, setIntParam(), setParameterValues(), SCIP_LPi::spx, SVECTOR, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by SCIPlpGetBInvCol().
get dense row of inverse basis matrix times constraint matrix B^-1 * A
get dense row of inverse basis matrix times constraint matrix B^-1 * A
get dense row of inverse basis matrix times constraint matrix B^-1 * A
get dense row of inverse basis matrix times constraint matrix B^-1 * A
get dense row of inverse basis matrix times constraint matrix B^-1 * A
get dense row of inverse basis matrix times constraint matrix B^-1 * A
Definition at line 3114 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSfreeMemoryArray, BMSfreeMemoryArrayNull, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, ensureTabMem(), ensureValMem(), errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::indarray, SCIP_LPi::itab, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_CONDRET, restoreLPData(), SCIP_ALLOC, SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, SCIPlpiGetBInvRow(), setIntParam(), setParameterValues(), SCIP_LPi::spx, SVECTOR, SCIP_LPi::task, SCIP_LPi::valarray, and SCIP_LPi::xprslp. Referenced by SCIPlpGetBInvARow().
get dense column of inverse basis matrix times constraint matrix B^-1 * A
get dense column of inverse basis matrix times constraint matrix B^-1 * A
get dense column of inverse basis matrix times constraint matrix B^-1 * A
get dense column of inverse basis matrix times constraint matrix B^-1 * A
get dense column of inverse basis matrix times constraint matrix B^-1 * A
get dense column of inverse basis matrix times constraint matrix B^-1 * A
Definition at line 3143 of file lpi_clp.cpp. References BMSallocMemoryArray, BMSclearMemoryArray, BMSfreeMemoryArray, CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cpxparam, ensureSidechgMem(), ensureValMem(), errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::indarray, SCIP_LPi::lpid, lpiGetBInvVec(), SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, restoreLPData(), SCIP_ALLOC, SCIP_CALL, SCIP_CALL_QUIET, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, SCIPerrorMessage, SCIP_LPi::senarray, setIntParam(), setParameterValues(), SCIP_LPi::spx, SVECTOR, SCIP_LPi::task, SCIP_LPi::valarray, and SCIP_LPi::xprslp. Referenced by SCIPlpGetBInvACol().
stores LPi state (like basis information) into lpistate object stores LP state (like basis information) into lpistate object
Definition at line 3176 of file lpi_clp.cpp. References BMSallocBlockMemory, CHECK_ZERO, checkState(), SCIP_LPi::clearstate, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cstat, ensureColMem(), ensureCstatMem(), ensureRowMem(), ensureRstatMem(), errorMessage(), getBase(), getbase(), SCIP_LPi::grbmodel, SCIP_LPi::iccnt, SCIP_LPi::ircnt, SCIP_LPi::lpid, lpistateCreate(), lpistatePack(), SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPiState::num, optimizecount, SCIP_LPi::prob, SCIP_LPi::rstat, SCIP_ALLOC, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPlpiExistsDualRay(), SCIPlpiGetBase(), SCIP_LPi::solisbasic, SCIP_LPiState::solsta, SCIP_LPi::spx, SCIP_LPi::task, 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 3216 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, SCIP_LPi::cstat, ensureColMem(), ensureCstatMem(), ensureRowMem(), ensureRstatMem(), ensureStateMem(), ensureTabMem(), errorMessage(), FALSE, getbase(), SCIP_LPi::grbmodel, SCIP_LPi::ibas, SCIP_LPi::iccnt, SCIP_LPi::ircnt, lpistateUnpack(), SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPiState::ncols, SCIP_LPiState::nrows, NULL, SCIP_LPiState::num, SCIP_LPiState::packcstat, SCIP_LPiState::packrstat, SCIP_LPi::prob, QS_RETURN, REALABS, SCIP_LPi::rstat, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiIsInfinity(), SCIPlpiSetBase(), setBase(), setbase(), SCIP_LPi::skc, SCIP_LPi::skx, SCIP_LPiState::solsta, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by SCIPlpSetState().
clears current LPi state (like basis information) of the solver
Definition at line 3270 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::clp, SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, SCIPerrorMessage, SCIPmessagePrintWarning(), SCIP_LPi::spx, TRUE, and SCIP_LPi::validFactorization. Referenced by SCIPtreeEndProbing().
frees LPi state information frees LP state information
Definition at line 3286 of file lpi_clp.cpp. References SCIP_LPi::lpid, lpistateFree(), MosekEnv, NULL, SCIP_OKAY, SCIPdebugMessage, and SCIP_LPi::task. Referenced by SCIPlpFreeState().
checks, whether the given LPi state contains simplex basis information checks, whether the given LP state contains simplex basis information
Definition at line 3304 of file lpi_clp.cpp. References errorMessageAbort(), FALSE, SCIP_LPi::lpid, MosekEnv, NULL, SCIP_LPiState::num, SCIPdebugMessage, SCIP_LPi::task, and TRUE. Referenced by SCIPlpSetState().
reads LPi state (like basis information from a file reads LP state (like basis information) from a file 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 3313 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_READERROR, SCIPdebugMessage, SCIPerrorMessage, SOPLEX_TRY, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp.
writes LPi state (like basis information) to a file 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 3330 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, QS_ERROR, SCIP_LPERROR, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_WRITEERROR, SCIPdebugMessage, SCIPerrorMessage, SOPLEX_TRY, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by SCIPlpiSolveDual(), and SCIPlpiSolvePrimal().
stores LPi pricing norms into lpinorms object stores LPi pricing norms information stores LPi pricing norms information stores LPi pricing norms information stores LPi pricing norms information stores LPi pricing norms information stores LPi pricing norms information stores LPi pricing norms information stores LPi pricing norms information stores LPi pricing norms information
Definition at line 3367 of file lpi_clp.cpp. References BMSallocBlockMemory, BMSallocBlockMemoryArray, BMSfreeBlockMemory, BMSfreeBlockMemoryArray, CHECK_ZERO, SCIP_LPi::clearstate, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::messagehdlr, NULL, SCIP_ALLOC, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, and SCIP_LPi::solisbasic. Referenced by SCIPlpGetNorms().
loads LPi pricing norms into solver; note that the LP might have been extended with additional columns and rows since the norms were stored with SCIPlpiGetNorms() 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 3383 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPiNorms::head, SCIP_LPi::messagehdlr, SCIP_LPiNorms::norm, SCIP_LPiNorms::normlen, NULL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, and SCIPdebugMessage. Referenced by SCIPlpSetNorms().
frees LPi pricing norms information frees pricing norms information
Definition at line 3396 of file lpi_clp.cpp. References BMSfreeBlockMemory, BMSfreeBlockMemoryArray, errorMessage(), NULL, SCIP_OKAY, and SCIP_PLUGINNOTFOUND. Referenced by SCIPlpFreeNorms().
gets integer parameter of LP
Definition at line 3421 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, CPX_INT_MAX, SCIP_LPi::cpxlp, FALSE, SCIP_LPi::fastmip, SCIP_LPi::fromscratch, getDblParam(), getIntParam(), SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, SCIP_LPi::notfromscratch, NULL, SCIP_LPi::par_presolve, paramty2str(), SCIP_LPi::pricing, SCIP_LPi::prob, QS_RETURN, SCIP_LPi::rngfound, SCIP_CALL, 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_LPPAR_TIMING, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PRICING_AUTO, SCIP_PRICING_DEVEX, SCIP_PRICING_FULL, SCIP_PRICING_PARTIAL, SCIP_PRICING_STEEP, SCIP_PRICING_STEEPQSTART, SCIP_Real, SCIPdebugMessage, SCIP_LPi::spx, SCIP_LPi::startscratch, SCIP_LPi::task, TRUE, 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 3465 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, CPX_INT_MAX, SCIP_LPi::cpxlp, FALSE, SCIP_LPi::fromscratch, SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MIN, MOSEK_CALL, MosekEnv, SCIP_LPi::notfromscratch, NULL, SCIP_LPi::par_presolve, paramty2str(), SCIP_LPi::pricing, SCIP_LPi::prob, QS_RETURN, SCIP_LPi::rngfound, SCIP_Bool, SCIP_CALL, SCIP_INVALIDDATA, 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_LPPAR_TIMING, 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, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, setDblParam(), setFastmipClpParameters(), setIntParam(), SCIP_LPi::spx, SCIP_LPi::startscratch, SCIP_LPi::task, TRUE, unsetFastmipClpParameters(), 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 3567 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::conditionlimit, SCIP_LPi::cpxlp, debugCheckObjsen(), getDblParam(), SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, paramty2str(), SCIP_LPi::prob, QS_RETURN, SCIP_LPi::rowrepswitch, SCIP_CALL, SCIP_LPPAR_BARRIERCONVTOL, SCIP_LPPAR_CONDITIONLIMIT, SCIP_LPPAR_DUALFEASTOL, SCIP_LPPAR_FEASTOL, SCIP_LPPAR_LOBJLIM, SCIP_LPPAR_LPTILIM, SCIP_LPPAR_MARKOWITZ, SCIP_LPPAR_ROWREPSWITCH, SCIP_LPPAR_UOBJLIM, SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIPdebugMessage, SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by conflictAnalyzeLP(), and lpCheckRealpar().
sets floating point parameter of LP
Definition at line 3613 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::checkcondition, SCIP_LPi::clp, SCIP_LPi::conditionlimit, SCIP_LPi::cpxlp, debugCheckObjsen(), SCIP_LPi::feastol, SCIP_LPi::grbmodel, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, paramty2str(), SCIP_LPi::prob, QS_RETURN, SCIP_LPi::rowrepswitch, SCIP_CALL, SCIP_LPPAR_BARRIERCONVTOL, SCIP_LPPAR_CONDITIONLIMIT, SCIP_LPPAR_DUALFEASTOL, SCIP_LPPAR_FEASTOL, SCIP_LPPAR_LOBJLIM, SCIP_LPPAR_LPTILIM, SCIP_LPPAR_MARKOWITZ, SCIP_LPPAR_ROWREPSWITCH, SCIP_LPPAR_UOBJLIM, SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIPdebugMessage, setDblParam(), SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by addConcaveEstimatorMultivariate(), conflictAnalyzeLP(), lpSetRealpar(), and SCIPlpComputeRelIntPoint(). returns value treated as infinity in the LP solver
Definition at line 3670 of file lpi_clp.cpp. References LPIINFINITY, MosekEnv, NULL, SCIPdebugMessage, SCIP_LPi::spx, and SCIP_LPi::task. 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 3681 of file lpi_clp.cpp. References FALSE, IS_POSINF, LPIINFINITY, MosekEnv, NULL, SCIPdebugMessage, SCIP_LPi::spx, SCIP_LPi::task, and TRUE. 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 3721 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), fileExists(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::previt, SCIP_LPi::prob, SCIP_NOFILE, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_READERROR, SCIPdebugMessage, SCIPerrorMessage, SCIPmessagePrintWarning(), SCIP_LPi::solstat, SCIP_LPi::spx, SCIP_LPi::task, 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 3749 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPi::clp, SCIP_LPi::cpxenv, SCIP_LPi::cpxlp, errorMessage(), SCIP_LPi::grbmodel, SCIP_LPi::lpid, SCIP_LPi::messagehdlr, MOSEK_CALL, MosekEnv, NULL, SCIP_LPi::prob, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_READERROR, SCIP_WRITEERROR, SCIPdebugMessage, SCIPerrorMessage, SCIPmessagePrintWarning(), SCIP_LPi::spx, SCIP_LPi::task, and SCIP_LPi::xprslp. Referenced by addAltLPConstraint(), addAltLPRow(), SCIPlpComputeRelIntPoint(), SCIPlpiSolveDual(), SCIPlpiSolvePrimal(), and SCIPlpWrite(). |