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. 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, LPINAME, SCIP_Real, SCIPdebugMessage, and SOPLEX_SUBVERSION.
gets description of LP solver (developer, webpage, ...) Definition at line 442 of file lpi_clp.cpp.
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 NULL.
creates an LP problem object creates an LP problem object
Definition at line 469 of file lpi_clp.cpp. References CHECK_ZERO, CHECK_ZEROE, CHECK_ZEROPLPIE, DEGEN_LEVEL, FALSE, MOSEK_CALL, NULL, 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, and TRUE.
deletes an LP problem object
Definition at line 538 of file lpi_clp.cpp. References CHECK_ZERO, CHECK_ZEROPLPIE, MOSEK_CALL, NULL, SCIP_OKAY, and SCIPdebugMessage.
copies LP data with column matrix into LP solver
Definition at line 572 of file lpi_clp.cpp. References CHECK_ZERO, CHECK_ZEROLPIW, MOSEK_CALL, NULL, QS_CONDRET, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiAddCols(), SCIPlpiClear(), SCIPmessagePrintWarning(), and SENSE2MOSEK.
adds columns to the LP
adds columns to the LP
Definition at line 638 of file lpi_clp.cpp. References CHECK_ZERO, CHECK_ZEROLPIW, MOSEK_CALL, NULL, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, and SCIPmessagePrintWarning(). Referenced by SCIPlpiLoadColLP().
deletes all columns in the given range from LP
Definition at line 705 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY. Referenced by 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 CHECK_ZERO, MOSEK_CALL, NULL, QS_CONDRET, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
adds rows to the LP
adds rows to the LP
Definition at line 782 of file lpi_clp.cpp. References CHECK_ZERO, CHECK_ZEROLPIW, FALSE, MOSEK_CALL, NULL, QS_ERROR, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_LPPAR_SCALING, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiSetIntpar(), SCIPmessagePrintWarning(), and TRUE.
deletes all rows in the given range from LP
Definition at line 844 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY. Referenced by 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 CHECK_ZERO, MOSEK_CALL, NULL, QS_CONDRET, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY.
clears the whole LP
Definition at line 922 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_CONDRET, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIPlpiDelCols(), SCIPlpiDelRows(), and SOPLEX_TRY. Referenced by SCIPlpiLoadColLP().
changes lower and upper bounds of columns
Definition at line 941 of file lpi_clp.cpp. References CHECK_ZERO, CPX_MAGICZEROCONSTANT, EPSZ, MOSEK_CALL, NULL, QS_CONDRET, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPdebugPrintf, and SCIPmessagePrintWarning(). Referenced by SCIPlpiScaleCol().
changes left and right hand sides of rows
Definition at line 1007 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_CONDRET, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SCIPmessagePrintWarning(). Referenced by SCIPlpiScaleRow().
changes a single coefficient
Definition at line 1035 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SOPLEX_TRY. Referenced by SCIPlpiScaleCol(), and SCIPlpiScaleRow().
changes the objective sense
Definition at line 1058 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_CONDRET, SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIP_OKAY, SCIPdebugMessage, SENSE2MOSEK, and SOPLEX_TRY. Referenced by SCIPlpiCreate().
changes objective values of columns in the LP
Definition at line 1078 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_CONDRET, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, and SCIPmessagePrintWarning(). Referenced by SCIPlpiScaleCol().
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 CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, QS_TESTG, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiChgCoef(), SCIPlpiChgSides(), SCIPlpiGetRows(), and SCIPmessagePrintWarning().
multiplies a column with a non-zero scalar; the objective value is multiplied with the scalar, and the bounds are divided by the scalar; for negative scalars, the column's bounds are switched
Definition at line 1178 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, QS_TESTG, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPlpiChgBounds(), SCIPlpiChgCoef(), SCIPlpiChgObj(), SCIPlpiGetCols(), SCIPlpiGetObj(), and SCIPmessagePrintWarning().
gets the number of rows in the LP
Definition at line 1255 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, SCIP_OKAY, and SCIPdebugMessage.
gets the number of columns in the LP
Definition at line 1273 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, SCIP_OKAY, and SCIPdebugMessage.
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, NULL, SCIP_LPERROR, SCIP_OBJSEN_MAXIMIZE, SCIP_OBJSEN_MINIMIZE, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, and SCIPerrorMessage.
gets the number of nonzero elements in the LP constraint matrix
Definition at line 1291 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, and SCIPdebugMessage. 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 CHECK_ZERO, NULL, QS_RETURN, QS_TESTG, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPlpiGetBounds(), and SCIPlpiGetNNonz(). 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. 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 CHECK_ZERO, NULL, QS_RETURN, QS_TESTG, SCIP_ALLOC, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiGetNNonz(), and SCIPlpiGetSides(). Referenced by SCIPlpiScaleRow().
gets column names
Definition at line 1443 of file lpi_clp.cpp. References CHECK_ZERO, NULL, QS_ERROR, SCIP_ALLOC, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, and SCIPerrorMessage.
gets row names
Definition at line 1459 of file lpi_clp.cpp. References CHECK_ZERO, NULL, QS_ERROR, SCIP_ALLOC, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, and SCIPerrorMessage.
gets objective coefficients from LP problem object
Definition at line 1513 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, and SCIPdebugMessage. Referenced by SCIPlpiScaleCol().
gets current bounds from LP problem object
Definition at line 1536 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, and SCIPdebugMessage. Referenced by SCIPlpiGetCols().
gets current row sides from LP problem object
Definition at line 1567 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, QS_TESTG, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPABORT, SCIPdebugMessage, and SCIPerrorMessage. Referenced by SCIPlpiGetRows().
gets a single coefficient
Definition at line 1598 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, and SCIPdebugMessage.
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, FALSE, GRB_INT_PAR_METHOD, GRB_METHOD_PRIMAL, MOSEK_CALL, NULL, QS_RETURN, SCIP_Bool, SCIP_CALL, SCIP_LPERROR, SCIP_NOMEMORY, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiWriteLP(), SCIPlpiWriteState(), TRUE, and WRITE_ABOVE. Referenced by SCIPlpiHasDualRay().
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, FALSE, GRB_INT_PAR_METHOD, GRB_METHOD_DUAL, MOSEK_CALL, NULL, QS_RETURN, SCIP_Bool, SCIP_CALL, SCIP_LPERROR, SCIP_NOMEMORY, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiGetObjval(), SCIPlpiIsObjlimExc(), SCIPlpiWriteLP(), SCIPlpiWriteState(), TRUE, and WRITE_ABOVE. Referenced by SCIPlpiSolveBarrier(), and SCIPlpiStrongbranchFrac().
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, FALSE, GRB_INT_PAR_METHOD, MOSEK_CALL, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_LPERROR, SCIP_NOMEMORY, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiSolveDual(), TRUE, and WRITE_ABOVE.
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.
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.
performs strong branching iterations on one fractional candidate
Definition at line 2169 of file lpi_clp.cpp. References CHECK_ZERO, CPX_INT_MAX, EPSCEIL, EPSFLOOR, EPSISINT, FALSE, NULL, QS_CONDRET, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, SCIPlpiGetIterations(), SCIPlpiGetObjval(), SCIPlpiIsIterlimExc(), SCIPlpiIsObjlimExc(), SCIPlpiIsOptimal(), SCIPlpiIsPrimalInfeasible(), SCIPlpiSolveDual(), and TRUE.
performs strong branching iterations on given fractional candidates
Definition at line 2190 of file lpi_clp.cpp. References CHECK_ZERO, EPSISINT, FALSE, NULL, QS_CONDRET, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, and TRUE.
performs strong branching iterations on one candidate with integral value
Definition at line 2215 of file lpi_clp.cpp. References EPSISINT, NULL, QS_CONDRET, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, and TRUE.
performs strong branching iterations on given candidates with integral values
Definition at line 2236 of file lpi_clp.cpp. References EPSISINT, NULL, QS_CONDRET, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, and TRUE. returns whether a solve method was called after the last modification of the LP
Definition at line 2271 of file lpi_clp.cpp. References FALSE, NULL, SCIP_CALL_ABORT, and SCIPdebugMessage.
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, FALSE, GRB_INT_PAR_METHOD, GRB_METHOD_DUAL, GRB_METHOD_PRIMAL, MOSEK_CALL, NULL, SCIP_Bool, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, SCIPlpiIsDualFeasible(), SCIPlpiIsPrimalFeasible(), SUMINFEASBOUND, TRUE, and XPRS_LP_OPTIMAL_SCALEDINFEAS. Referenced by SCIPlpiIsPrimalUnbounded(). 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 FALSE, NULL, SCIP_CALL_ABORT, and SCIPdebugMessage. Referenced by SCIPlpiIsDualInfeasible(). 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 CHECK_ZERO, FALSE, NULL, SCIP_CALL_ABORT, SCIPdebugMessage, and TRUE. 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, FALSE, NULL, SCIP_Bool, SCIP_OKAY, SCIPdebugMessage, and SCIPlpiGetSolFeasibility(). returns TRUE iff LP is proven to be primal infeasible
Definition at line 2374 of file lpi_clp.cpp. References ABORT_ZERO, FALSE, NULL, SCIPdebugMessage, and SCIPlpiExistsDualRay(). Referenced by SCIPlpiStrongbranchFrac(). returns TRUE iff LP is proven to be primal feasible
Definition at line 2393 of file lpi_clp.cpp. References ABORT_ZERO, CHECK_ZERO, FALSE, GRB_INT_PAR_METHOD, GRB_METHOD_PRIMAL, NULL, SCIP_Bool, SCIP_CALL_ABORT, SCIPdebugMessage, and XPRS_LP_OPTIMAL_SCALEDINFEAS. Referenced by 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 FALSE, NULL, SCIP_CALL_ABORT, and SCIPdebugMessage. Referenced by SCIPlpiGetState(), and SCIPlpiIsPrimalInfeasible(). 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 CHECK_ZERO, FALSE, GRB_INT_PAR_METHOD, GRB_METHOD_DUAL, NULL, SCIP_CALL, SCIP_CALL_ABORT, SCIPdebugMessage, SCIPlpiSolvePrimal(), and TRUE. 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, FALSE, GRB_INT_PAR_METHOD, GRB_METHOD_DUAL, NULL, and SCIPdebugMessage. 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, FALSE, NULL, SCIPdebugMessage, and SCIPlpiExistsPrimalRay(). returns TRUE iff LP is proven to be dual feasible
Definition at line 2486 of file lpi_clp.cpp. References ABORT_ZERO, CHECK_ZERO, FALSE, GRB_INT_PAR_METHOD, GRB_METHOD_DUAL, NULL, SCIP_Bool, SCIP_CALL_ABORT, SCIPdebugMessage, and XPRS_LP_OPTIMAL_SCALEDINFEAS. Referenced by SCIPlpiGetSolFeasibility(), and SCIPlpiIsOptimal(). returns TRUE iff LP was solved to optimality
Definition at line 2500 of file lpi_clp.cpp. References FALSE, NULL, SCIP_CALL_ABORT, SCIPdebugMessage, SCIPlpiIsDualFeasible(), SCIPlpiIsObjlimExc(), SCIPlpiIsPrimalFeasible(), and XPRS_LP_OPTIMAL_SCALEDINFEAS. Referenced by SCIPlpiIsStable(), and SCIPlpiStrongbranchFrac(). returns TRUE iff current LP basis is stable
Definition at line 2518 of file lpi_clp.cpp. References ABORT_ZERO, CHECK_ZERO, FALSE, NULL, SCIP_CALL_ABORT, SCIP_INVALID, SCIP_LPSOLQUALITY_ESTIMCONDITION, SCIP_OKAY, SCIP_Real, SCIPABORT, SCIPdebugMessage, SCIPlpiGetRealSolQuality(), SCIPlpiIsObjlimExc(), SCIPlpiIsOptimal(), TRUE, and XPRS_LP_OPTIMAL_SCALEDINFEAS. returns TRUE iff the objective limit was reached
Definition at line 2556 of file lpi_clp.cpp. References FALSE, NULL, SCIPdebugMessage, and TRUE. Referenced by SCIPlpiIsOptimal(), SCIPlpiIsStable(), SCIPlpiSolveDual(), and SCIPlpiStrongbranchFrac(). returns TRUE iff the iteration limit was reached
Definition at line 2588 of file lpi_clp.cpp. References CHECK_ZERO, FALSE, NULL, SCIPdebugMessage, and TRUE. Referenced by SCIPlpiStrongbranchFrac(). returns TRUE iff the time limit was reached
Definition at line 2604 of file lpi_clp.cpp. References CHECK_ZERO, FALSE, NULL, SCIPdebugMessage, and TRUE.
returns the internal solution status of the solver
Definition at line 2620 of file lpi_clp.cpp. References FALSE, NULL, SCIP_OKAY, and SCIPdebugMessage.
tries to reset the internal status of the LP solver in order to ignore an instability of the last solving call
Definition at line 1475 of file lpi_clp.cpp. References FALSE, NULL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, and TRUE.
gets objective value of solution gets objective value of solution
Definition at line 2634 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, and SCIPlpiInfinity(). Referenced by SCIPlpiSolveDual(), and SCIPlpiStrongbranchFrac().
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 CHECK_ZERO, MOSEK_CALL, NULL, QS_CONDRET, SCIP_ALLOC, SCIP_CALL, SCIP_INVALIDDATA, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, and SCIPmessagePrintWarning().
gets primal ray for unbounded LPs Unbounded ray (NULL returned if none/wrong). Up to user to use delete [] on these arrays.
Definition at line 2696 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPerrorMessage, SCIPlpiGetCols(), and SCIPmessagePrintWarning().
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 CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, and SCIPmessagePrintWarning().
gets the number of LP iterations of the last solve call
Definition at line 2753 of file lpi_clp.cpp. References NULL, QS_CONDRET, SCIP_OKAY, SCIP_PLUGINNOTFOUND, and SCIPdebugMessage. Referenced by 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 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, NULL, SCIP_INVALID, SCIP_INVALIDDATA, SCIP_LPSOLQUALITY_ESTIMCONDITION, SCIP_LPSOLQUALITY_EXACTCONDITION, SCIP_OKAY, SCIPdebugMessage, and SCIPerrorMessage. Referenced by SCIPlpiIsStable().
gets current basis status for columns and rows; arrays must be large enough to store the basis status
Definition at line 2798 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, 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, and SCIPerrorMessage. Referenced by 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 CHECK_ZERO, EPSEQ, MOSEK_CALL, NULL, 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, and SOPLEX_TRY. Referenced by 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 CHECK_ZERO, MOSEK_CALL, NULL, QS_CONDRET, SCIP_ALLOC, SCIP_BASESTAT_BASIC, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_BASESTAT_ZERO, SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIP_PLUGINNOTFOUND, and SCIPdebugMessage. Referenced by SCIPlpiGetBInvRow().
get dense row of inverse basis matrix B^-1
Definition at line 3047 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, SCIP_ALLOC, SCIP_CALL, SCIP_CALL_QUIET, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPlpiGetBasisInd(), and SCIPmessagePrintWarning(). Referenced by SCIPlpiGetBInvARow().
get dense column of inverse basis matrix B^-1
Definition at line 3068 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_CALL_QUIET, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, and SCIPerrorMessage.
get dense row of inverse basis matrix times constraint matrix B^-1 * A
Definition at line 3093 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_CONDRET, SCIP_ALLOC, SCIP_CALL, SCIP_CALL_QUIET, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, and SCIPlpiGetBInvRow().
get dense column of inverse basis matrix times constraint matrix B^-1 * A
Definition at line 3115 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_CALL_QUIET, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIPdebugMessage, and SCIPerrorMessage.
stores LPi state (like basis information) into lpistate object stores LP state (like basis information) into lpistate object
Definition at line 3148 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, SCIP_ALLOC, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPdebugMessage, SCIPlpiExistsDualRay(), and SCIPlpiGetBase().
loads LPi state (like basis information) into solver; note that the LP might have been extended with additional columns and rows since the state was stored with SCIPlpiGetState()
Definition at line 3188 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, REALABS, 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(), and SCIPlpiSetBase().
clears current LPi state (like basis information) of the solver
Definition at line 3242 of file lpi_clp.cpp. References CHECK_ZERO, NULL, SCIP_LPERROR, SCIP_OKAY, SCIPdebugMessage, SCIPerrorMessage, SCIPmessagePrintWarning(), and TRUE.
frees LPi state information frees LP state information
Definition at line 3258 of file lpi_clp.cpp. References NULL, SCIP_OKAY, and SCIPdebugMessage.
checks, whether the given LPi state contains simplex basis information checks, whether the given LP state contains simplex basis information
Definition at line 3276 of file lpi_clp.cpp. References FALSE, NULL, SCIPdebugMessage, and TRUE.
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 3285 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, SCIP_LPERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_READERROR, SCIPdebugMessage, SCIPerrorMessage, and SOPLEX_TRY.
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 3302 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_ERROR, SCIP_LPERROR, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_WRITEERROR, SCIPdebugMessage, SCIPerrorMessage, and SOPLEX_TRY. 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 3339 of file lpi_clp.cpp. References CHECK_ZERO, NULL, SCIP_ALLOC, SCIP_OKAY, SCIP_PLUGINNOTFOUND, and SCIPdebugMessage.
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 3355 of file lpi_clp.cpp. References CHECK_ZERO, SCIP_LPiNorms::head, SCIP_LPiNorms::norm, SCIP_LPiNorms::normlen, NULL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, and SCIPdebugMessage.
frees LPi pricing norms information frees pricing norms information
Definition at line 3368 of file lpi_clp.cpp. References NULL, SCIP_OKAY, and SCIP_PLUGINNOTFOUND.
gets integer parameter of LP
Definition at line 3393 of file lpi_clp.cpp. References CHECK_ZERO, CPX_INT_MAX, FALSE, MOSEK_CALL, NULL, QS_RETURN, 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_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PRICING_AUTO, SCIP_PRICING_DEVEX, SCIP_PRICING_FULL, SCIP_PRICING_PARTIAL, SCIP_PRICING_STEEP, SCIP_PRICING_STEEPQSTART, SCIP_Real, SCIPdebugMessage, and TRUE.
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 3437 of file lpi_clp.cpp. References CHECK_ZERO, CPX_INT_MAX, FALSE, MOSEK_CALL, NULL, QS_RETURN, 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_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, and TRUE. Referenced by SCIPlpiAddRows(), and SCIPlpiCreate().
gets floating point parameter of LP
Definition at line 3539 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, 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_OKAY, SCIP_PARAMETERUNKNOWN, and SCIPdebugMessage.
sets floating point parameter of LP
Definition at line 3585 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, QS_RETURN, 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_OKAY, SCIP_PARAMETERUNKNOWN, and SCIPdebugMessage. returns value treated as infinity in the LP solver
Definition at line 3642 of file lpi_clp.cpp. References LPIINFINITY, NULL, and SCIPdebugMessage. Referenced by SCIPlpiCreate(), and SCIPlpiGetObjval(). checks if given value is treated as infinity in the LP solver
Definition at line 3653 of file lpi_clp.cpp. References FALSE, IS_POSINF, LPIINFINITY, NULL, SCIPdebugMessage, and TRUE. Referenced by SCIPlpiSetState().
reads LP from a file read file in MPS format parameters: filename bool keepNames bool ignoreErrors
Definition at line 3693 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, SCIP_NOFILE, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_READERROR, SCIPdebugMessage, SCIPerrorMessage, and SCIPmessagePrintWarning().
writes LP to a file write file in MPS format parameters: filename int formatType (0 - normal, 1 - extra accuracy, 2 - IEEE hex) int numberAcross (1 or 2 values should be specified on every data line in the MPS file) double objSense
Definition at line 3721 of file lpi_clp.cpp. References CHECK_ZERO, MOSEK_CALL, NULL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_READERROR, SCIP_WRITEERROR, SCIPdebugMessage, SCIPerrorMessage, and SCIPmessagePrintWarning(). Referenced by SCIPlpiSolveDual(), and SCIPlpiSolvePrimal(). |