|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
prob.h File Reference Detailed Descriptioninternal methods for storing and manipulating the main problem Definition in file prob.h. #include "scip/def.h"#include "blockmemshell/memory.h"#include "scip/type_retcode.h"#include "scip/type_set.h"#include "scip/type_stat.h"#include "scip/type_event.h"#include "scip/type_lp.h"#include "scip/type_var.h"#include "scip/type_implics.h"#include "scip/type_prob.h"#include "scip/type_primal.h"#include "scip/type_tree.h"#include "scip/type_reopt.h"#include "scip/type_branch.h"#include "scip/type_cons.h"#include "scip/struct_prob.h"Go to the source code of this file. Function Documentation
creates problem data structure by copying the source problem; If the problem type requires the use of variable pricers, these pricers should be activated with calls to SCIPactivatePricer(). These pricers are automatically deactivated, when the problem is freed.
Definition at line 184 of file prob.c. References FALSE, NULL, SCIP_Prob::probdata, SCIP_Set::scip, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_SUCCESS, SCIPerrorMessage, and SCIPprobCreate(). Referenced by copyProb().
creates problem data structure If the problem type requires the use of variable pricers, these pricers should be activated with calls to SCIPactivatePricer(). These pricers are automatically deactivated, when the problem is freed.
Definition at line 250 of file prob.c. References BMSallocMemory, BMSduplicateMemoryArray, FALSE, SCIP_Set::misc_useconstable, SCIP_Set::misc_usesmalltables, SCIP_Set::misc_usevartable, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_HASHSIZE_NAMES, SCIP_HASHSIZE_NAMES_SMALL, SCIP_INVALID, SCIP_OBJSENSE_MINIMIZE, SCIP_OKAY, and SCIPhashtableCreate(). Referenced by SCIPcreateProb(), SCIPprobCopy(), and SCIPprobTransform().
sets callback to free user data of original problem
Definition at line 327 of file prob.c. References NULL. Referenced by SCIPsetProbDelorig().
sets callback to create user data of transformed problem by transforming original user data
Definition at line 338 of file prob.c. References NULL. Referenced by SCIPsetProbTrans().
sets callback to free user data of transformed problem
Definition at line 349 of file prob.c. References NULL. Referenced by SCIPsetProbDeltrans().
sets solving process initialization callback of transformed data
Definition at line 360 of file prob.c. References NULL. Referenced by SCIPsetProbInitsol().
sets solving process deinitialization callback of transformed data
Definition at line 371 of file prob.c. References NULL. Referenced by SCIPsetProbExitsol().
sets callback to copy user data to copy it to a subscip, or NULL
Definition at line 382 of file prob.c. References NULL. Referenced by SCIPsetProbCopy().
frees problem data structure
Definition at line 393 of file prob.c. References BMSfreeMemory, BMSfreeMemoryArray, BMSfreeMemoryArrayNull, SCIP_Set::conshdlrs, SCIP_Set::nconshdlrs, NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPconshdlrNeedsCons(), SCIPconshdlrUnlockVars(), SCIPhashtableFree(), SCIPprobDelCons(), SCIPvarGetProbindex(), SCIPvarRelease(), SCIPvarRemove(), and TRUE. Referenced by freeTransform(), and SCIPfreeProb().
transform problem data into normalized form
Definition at line 485 of file prob.c. References SCIP_Set::conshdlrs, SCIP_Prob::conss, SCIP_Prob::dualbound, SCIP_Prob::name, SCIP_Set::nconshdlrs, SCIP_Prob::nlpenabled, NULL, SCIP_Prob::nvars, SCIP_Prob::objisintegral, SCIP_Prob::objlim, SCIP_Prob::objsense, SCIP_Prob::probdata, probEnsureVarsMem(), SCIP_Set::scip, SCIP_CALL, SCIP_INVALID, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPconshdlrLockVars(), SCIPconshdlrNeedsCons(), SCIPconsRelease(), SCIPconsTransform(), SCIPdebugMessage, SCIPprobAddCons(), SCIPprobAddVar(), SCIPprobCheckObjIntegral(), SCIPprobCreate(), SCIPprobGetNObjVars(), SCIPprobSetDualbound(), SCIPprobSetObjlim(), SCIPprobSetObjsense(), SCIPsetIsIntegral(), SCIPsnprintf(), SCIPvarRelease(), SCIPvarTransform(), TRUE, and SCIP_Prob::vars. Referenced by SCIPtransformProb().
resets the global and local bounds of original variables in original problem to their original values
Definition at line 579 of file prob.c. References SCIP_Prob::nfixedvars, NULL, SCIP_Prob::nvars, SCIP_CALL, SCIP_OKAY, SCIPvarResetBounds(), SCIP_Prob::transformed, and SCIP_Prob::vars. Referenced by freeTransform().
(Re)Sort the variables, which appear in the four categories (binary, integer, implicit, continuous) after presolve with respect to their original index (within their categories). Adjust the problem index afterwards which is supposed to reflect the position in the variable array. This additional (re)sorting is supposed to get more robust against the order presolving fixed variables. (We also reobtain a possible block structure induced by the user model)
Definition at line 606 of file prob.c. References SCIP_Prob::nbinvars, SCIP_Prob::ncontvars, SCIP_Prob::nimplvars, SCIP_Prob::nintvars, NULL, SCIP_Prob::nvars, SCIP_Var::probindex, SCIPdebugMessage, SCIPsortPtr(), and SCIP_Prob::vars. Referenced by presolve().
sets user problem data
Definition at line 664 of file prob.c. References NULL, and SCIP_Prob::probdata. Referenced by SCIPsetProbData().
adds variable's name to the namespace
Definition at line 858 of file prob.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPhashtableInsert(), SCIPvarGetProbindex(), varHasName(), and SCIP_Prob::varnames. Referenced by SCIPchgVarName(), and SCIPprobAddVar().
removes variable's name from the namespace
Definition at line 874 of file prob.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPhashtableExists(), SCIPhashtableRemove(), varHasName(), and SCIP_Prob::varnames. Referenced by SCIPchgVarName(), and SCIPprobPerformVarDeletions().
adds variable to the problem and captures it
Definition at line 889 of file prob.c. References SCIP_Prob::nbinvars, SCIP_Prob::ncontvars, SCIP_Prob::nimplvars, SCIP_Prob::nintvars, NULL, SCIP_Prob::nvars, probEnsureVarsMem(), probInsertVar(), SCIP_Set::scip, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_ORIGINAL, SCIPbranchcandUpdateVar(), SCIPdebugMessage, SCIPerrorMessage, SCIPeventCreateVarAdded(), SCIPeventqueueAdd(), SCIPlpUpdateAddVar(), SCIPprobAddVarName(), SCIPprobUpdateNObjVars(), SCIPvarCapture(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetProbindex(), SCIPvarGetStatus(), and SCIP_Prob::transformed. Referenced by SCIPaddPricedVar(), SCIPaddVar(), SCIPprobTransform(), and tryAggregateIntVars().
marks variable to be removed from the problem; however, the variable is NOT removed from the constraints
Definition at line 957 of file prob.c. References SCIP_Prob::deletedvars, FALSE, SCIP_Prob::nbinvars, SCIP_Prob::ncontvars, SCIP_Prob::ndeletedvars, SCIP_Prob::nimplvars, SCIP_Prob::nintvars, NULL, SCIP_Prob::nvars, probEnsureDeletedvarsMem(), SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_ORIGINAL, SCIPdebugMessage, SCIPeventCreateVarDeleted(), SCIPeventqueueAdd(), SCIPvarGetName(), SCIPvarGetNegatedVar(), SCIPvarGetProbindex(), SCIPvarGetStatus(), SCIPvarIsTransformedOrigvar(), SCIPvarMarkDeleted(), SCIP_Prob::transformed, and TRUE. Referenced by focusnodeCleanupVars(), and SCIPdelVar().
actually removes the deleted variables from the problem and releases them
Definition at line 1018 of file prob.c. References SCIP_Set::conshdlrs, SCIP_Prob::deletedvars, SCIP_Set::nconshdlrs, SCIP_Prob::ndeletedvars, NULL, probRemoveVar(), SCIP_CALL, SCIP_OKAY, SCIP_STAGE_SOLVING, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_ORIGINAL, SCIPbranchcandRemoveVar(), SCIPconshdlrDelVars(), SCIPdebugMessage, SCIPlpUpdateDelVar(), SCIPprobRemoveVarName(), SCIPprobUpdateNObjVars(), SCIPsetGetStage(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetProbindex(), SCIPvarGetStatus(), SCIPvarLoose(), SCIPvarRelease(), and SCIP_Prob::transformed. Referenced by exitPresolve(), focusnodeCleanupVars(), initPresolve(), presolveRound(), and SCIPdelVar().
changes the type of a variable in the problem
Definition at line 1089 of file prob.c. References NULL, probInsertVar(), probRemoveVar(), SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_ORIGINAL, SCIPbranchcandRemoveVar(), SCIPbranchcandUpdateVar(), SCIPvarChgType(), SCIPvarGetProbindex(), SCIPvarGetStatus(), and SCIPvarGetType(). Referenced by SCIPchgVarType().
informs problem, that the given loose problem variable changed its status
Definition at line 1135 of file prob.c. References SCIP_Prob::fixedvars, SCIP_Prob::ncolvars, SCIP_Prob::nfixedvars, NULL, SCIP_Prob::nvars, probEnsureFixedvarsMem(), probRemoveVar(), SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPbranchcandUpdateVar(), SCIPerrorMessage, SCIPvarGetProbindex(), and SCIPvarGetStatus(). Referenced by SCIPvarAggregate(), SCIPvarColumn(), SCIPvarFix(), SCIPvarLoose(), and SCIPvarMultiaggregate().
adds constraint's name to the namespace
Definition at line 1193 of file prob.c. References consHasName(), SCIP_Prob::consnames, NULL, SCIP_CALL, SCIP_OKAY, and SCIPhashtableInsert(). Referenced by SCIPchgConsName(), and SCIPprobAddCons().
remove constraint's name from the namespace
Definition at line 1208 of file prob.c. References consHasName(), SCIP_Prob::consnames, NULL, SCIP_CALL, SCIP_OKAY, SCIPhashtableExists(), and SCIPhashtableRemove(). Referenced by SCIPchgConsName(), and SCIPprobDelCons().
adds constraint to the problem and captures it; a local constraint is automatically upgraded into a global constraint
Definition at line 1226 of file prob.c. References SCIP_Cons::addarraypos, SCIP_Cons::addconssetchg, SCIP_Prob::conss, SCIP_Cons::deleted, FALSE, MAX, SCIP_Prob::maxnconss, SCIP_Prob::nconss, SCIP_Stat::nnodes, NULL, probEnsureConssMem(), SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPconsActivate(), SCIPconsAddLocks(), SCIPconsCapture(), SCIPconsGetName(), SCIPconsIsActive(), SCIPconsIsChecked(), SCIPconsSetLocal(), SCIPdebugMessage, SCIPerrorMessage, SCIPprobAddConsName(), and SCIP_Prob::transformed. Referenced by SCIPaddCons(), SCIPaddConsNode(), SCIPconssetchgMakeGlobal(), and SCIPprobTransform().
releases and removes constraint from the problem; if the user has not captured the constraint for his own use, the constraint may be invalid after the call
Definition at line 1293 of file prob.c. References SCIP_Cons::active, SCIP_Cons::addarraypos, SCIP_Cons::addconssetchg, SCIP_Prob::conss, SCIP_Cons::enabled, SCIP_Prob::nconss, NULL, SCIP_CALL, SCIP_OKAY, SCIPconsAddLocks(), SCIPconsDeactivate(), SCIPconsIsChecked(), SCIPconsRelease(), SCIPprobRemoveConsName(), SCIP_Prob::transformed, and SCIP_Cons::updatedeactivate. Referenced by SCIPconsDelete(), and SCIPprobFree().
remembers the current number of constraints in the problem's internal data structure
Definition at line 1353 of file prob.c. References SCIP_Prob::maxnconss, SCIP_Prob::nconss, NULL, SCIP_Prob::nvars, SCIP_Prob::startnconss, and SCIP_Prob::startnvars. Referenced by initSolve(), presolve(), and SCIPtransformProb().
sets objective sense: minimization or maximization
Definition at line 1366 of file prob.c. References NULL, SCIP_Prob::objsense, SCIP_OBJSENSE_MAXIMIZE, and SCIP_OBJSENSE_MINIMIZE. Referenced by SCIPprobTransform(), and SCIPsetObjsense(). adds value to objective offset
Definition at line 1379 of file prob.c. References NULL, SCIP_Prob::objoffset, SCIPdebugMessage, and SCIP_Prob::transformed. Referenced by SCIPaddObjoffset(), and SCIPvarAddObj(). sets the dual bound on objective function
Definition at line 1392 of file prob.c. References SCIP_Prob::dualbound, and NULL. Referenced by SCIPprobTransform(), and SCIPprobUpdateDualbound(). sets limit on objective function, such that only solutions better than this limit are accepted
Definition at line 1403 of file prob.c. References NULL, and SCIP_Prob::objlim. Referenced by SCIPprimalSetCutoffbound(), SCIPprobTransform(), and SCIPsetObjlimit().
informs the problem, that its objective value is always integral in every feasible solution
Definition at line 1414 of file prob.c. References NULL, SCIP_Prob::objisintegral, and TRUE. Referenced by SCIPsetObjIntegral().
sets integral objective value flag, if all variables with non-zero objective values are integral and have integral objective value and also updates the cutoff bound if primal solution is already known
Definition at line 1426 of file prob.c. References SCIP_Set::nactivepricers, NULL, SCIP_Prob::nvars, SCIP_Prob::objisintegral, SCIP_Prob::objoffset, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIP_VARTYPE_CONTINUOUS, SCIPprimalUpdateObjoffset(), SCIPsetIsIntegral(), SCIPsetIsZero(), SCIPvarGetObj(), SCIPvarGetType(), TRUE, and SCIP_Prob::vars. Referenced by exitPresolve(), SCIPprobTransform(), and SCIPtransformProb().
if possible, scales objective function such that it is integral with gcd = 1
Definition at line 1533 of file prob.c. References SCIP_Set::nactivepricers, SCIP_Prob::ncontvars, NULL, SCIP_Prob::nvars, SCIP_Prob::objisintegral, SCIP_Prob::objoffset, SCIP_Prob::objscale, OBJSCALE_MAXDNOM, OBJSCALE_MAXFINALSCALE, OBJSCALE_MAXSCALE, REALABS, SCIP_Bool, SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIP_Real, SCIPcalcGreComDiv(), SCIPcalcIntegralScalar(), SCIPdebugMessage, SCIPprimalUpdateObjoffset(), SCIPsetAllocBufferArray, SCIPsetEpsilon(), SCIPsetFeasFloor(), SCIPsetFreeBufferArray, SCIPsetIsEQ(), SCIPsetIsFeasIntegral(), SCIPsetIsZero(), SCIPvarChgObj(), SCIPvarGetName(), SCIPvarGetObj(), TRUE, and SCIP_Prob::vars. Referenced by exitPresolve(), and SCIPtransformProb(). remembers the current solution as root solution in the problem variables
Definition at line 1657 of file prob.c. References NULL, SCIP_Prob::nvars, SCIPlpIsRelax(), SCIPlpSetRootLPIsRelax(), SCIPlpStoreRootObjval(), SCIPvarStoreRootSol(), SCIP_Prob::transformed, and SCIP_Prob::vars. Referenced by solveNode(). remembers the best solution w.r.t. root reduced cost propagation as root solution in the problem variables
Definition at line 1680 of file prob.c. References FALSE, SCIP_Lp::lpsolstat, NULL, SCIP_Prob::nvars, SCIP_BASESTAT_LOWER, SCIP_BASESTAT_UPPER, SCIP_Bool, SCIP_INVALID, SCIP_LPSOLSTAT_OPTIMAL, SCIP_Real, SCIP_VARSTATUS_COLUMN, SCIPcolGetBasisStatus(), SCIPcolGetPrimsol(), SCIPcolGetRedcost(), SCIPdebugMessage, SCIPlpGetObjval(), SCIPlpGetSolstat(), SCIPlpIsSolBasic(), SCIPprobGetNObjVars(), SCIPsetIsDualfeasNegative(), SCIPsetIsDualfeasPositive(), SCIPsetIsFeasEQ(), SCIPvarGetCol(), SCIPvarGetImplRedcost(), SCIPvarGetLbLocal(), SCIPvarGetSol(), SCIPvarGetStatus(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarUpdateBestRootSol(), SCIP_Prob::transformed, TRUE, and SCIP_Prob::vars. Referenced by priceAndCutLoop(), and propAndSolve().
informs problem, that the presolving process was finished, and updates all internal data structures
Definition at line 1775 of file prob.c. References SCIP_OKAY. Referenced by exitPresolve().
initializes problem for branch and bound process initializes problem for branch and bound process and resets all constraint's ages and histories of current run
Definition at line 1784 of file prob.c. References SCIP_Prob::conss, SCIP_Prob::nconss, SCIP_Prob::nobjvars, NULL, SCIP_Prob::nvars, SCIP_Prob::probdata, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPconsResetAge(), SCIPprobGetNObjVars(), SCIPvarInitSolve(), SCIP_Prob::transformed, and SCIP_Prob::vars. Referenced by initSolve().
deinitializes problem after branch and bound process, and converts all COLUMN variables back into LOOSE variables
Definition at line 1819 of file prob.c. References SCIP_Prob::ncolvars, NULL, SCIP_Prob::nvars, SCIP_Prob::probdata, SCIP_Set::scip, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIPvarGetStatus(), SCIPvarLoose(), SCIPvarSetBestRootSol(), SCIP_Prob::transformed, and SCIP_Prob::vars. Referenced by freeSolve().
sets problem name
Definition at line 1869 of file prob.c. References BMSduplicateMemoryArray, BMSfreeMemoryArray, SCIP_Prob::name, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by SCIPsetProbName().
returns the number of implicit binary variables, meaning variable of vartype != SCIP_VARTYPE_BINARY and != SCIP_VARTYPE_CONTINUOUS but with global bounds [0,1]
returns the number of implicit binary variables, meaning variable of vartype != SCIP_VARTYPE_BINARY and != SCIP_VARTYPE_CONTINUOUS but with global bounds [0,1]
Definition at line 1890 of file prob.c. References SCIP_Prob::nbinvars, SCIP_Prob::nimplvars, SCIP_Prob::nintvars, SCIPvarIsBinary(), and SCIP_Prob::vars. Referenced by SCIPshrinkDisjunctiveVarSet(). returns the number of variables with non-zero objective coefficient
Definition at line 1907 of file prob.c. References SCIP_Prob::nobjvars, SCIP_Prob::nvars, SCIPsetIsZero(), SCIPvarGetObj(), SCIP_Prob::transformed, and SCIP_Prob::vars. Referenced by SCIPgetNObjVars(), SCIPprobInitSolve(), SCIPprobTransform(), and SCIPprobUpdateBestRootSol().
update the number of variables with non-zero objective coefficient
Definition at line 1489 of file prob.c. References SCIP_Prob::nobjvars, SCIPsetIsZero(), and SCIP_Prob::transformed. Referenced by SCIPprobAddVar(), SCIPprobPerformVarDeletions(), SCIPvarAddObj(), and SCIPvarChgObj(). update the dual bound if its better as the current one
Definition at line 1506 of file prob.c. References SCIP_Prob::dualbound, MAX, MIN, SCIP_Prob::objsense, SCIP_INVALID, SCIP_OBJSENSE_MAXIMIZE, SCIP_OBJSENSE_MINIMIZE, SCIPABORT, SCIPerrorMessage, and SCIPprobSetDualbound(). Referenced by freeSolve(), SCIPupdateLocalDualbound(), and SCIPupdateLocalLowerbound().
returns the external value of the given internal objective value
Definition at line 1949 of file prob.c. References NULL, SCIP_Prob::objoffset, SCIP_Prob::objscale, SCIP_Prob::objsense, SCIP_Real, SCIPsetInfinity(), SCIPsetIsInfinity(), and SCIP_Prob::transformed. Referenced by applyBounding(), getDualbound(), getPrimalbound(), primalAddSol(), SCIPgetAvgDualbound(), SCIPgetDualboundRoot(), SCIPgetLocalDualbound(), SCIPgetLocalOrigEstimate(), SCIPgetNodeDualbound(), SCIPgetSolOrigObj(), SCIPprimalSetCutoffbound(), SCIPprintSol(), SCIPretransformObj(), SCIPstatUpdatePrimalDualIntegral(), SCIPupdateLocalDualbound(), SCIPupdateLocalLowerbound(), and solveNodeInitialLP().
returns the internal value of the given external objective value
Definition at line 1971 of file prob.c. References NULL, SCIP_Prob::objoffset, SCIP_Prob::objscale, SCIP_Prob::objsense, SCIP_Real, SCIPsetInfinity(), SCIPsetIsInfinity(), and SCIP_Prob::transformed. Referenced by exitPresolve(), getDualbound(), initSolve(), presolve(), primalAddSol(), SCIPgetFirstLPLowerboundRoot(), SCIPprimalUpdateObjlimit(), SCIPprimalUpdateObjoffset(), SCIPsetObjlimit(), SCIPsolGetObj(), SCIPsolveCIP(), SCIPtransformObj(), SCIPupdateLocalDualbound(), and SCIPupdateNodeDualbound(). returns variable of the problem with given name
Definition at line 1993 of file prob.c. References NULL, SCIPABORT, SCIPerrorMessage, SCIPhashtableRetrieve(), and SCIP_Prob::varnames. Referenced by SCIPfindVar(). returns constraint of the problem with given name
Definition at line 2012 of file prob.c. References SCIP_Prob::consnames, NULL, SCIPABORT, SCIPerrorMessage, and SCIPhashtableRetrieve(). Referenced by SCIPfindCons(), and SCIPfindOrigCons().
displays current pseudo solution
Definition at line 2031 of file prob.c. References NULL, SCIP_Prob::nvars, SCIP_Real, SCIPmessagePrintInfo(), SCIPsetIsZero(), SCIPvarGetName(), SCIPvarGetPseudoSol(), and SCIP_Prob::vars.
outputs problem statistics
Definition at line 2053 of file prob.c. References SCIP_Prob::maxnconss, SCIP_Prob::name, SCIP_Prob::nbinvars, SCIP_Prob::ncontvars, SCIP_Prob::nimplvars, SCIP_Prob::nintvars, NULL, SCIP_Prob::nvars, SCIP_Prob::objsense, SCIP_OBJSENSE_MINIMIZE, SCIPmessageFPrintInfo(), SCIP_Prob::startnconss, and SCIP_Prob::transformed. Referenced by SCIPprintStatistics(). is the problem data transformed
Definition at line 2092 of file prob.c. References NULL, and SCIP_Prob::transformed. Referenced by applyImplic(), detectImpliedBounds(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarFixBinary(), SCIPvarGetImplRedcost(), and varAddImplic(). returns whether the objective value is known to be integral in every feasible solution
Definition at line 2102 of file prob.c. References NULL, and SCIP_Prob::objisintegral. Referenced by primalSetUpperbound(), SCIPisObjIntegral(), and SCIPpresolve(). returns TRUE iff all columns, i.e. every variable with non-empty column w.r.t. all ever created rows, are present in the LP, and FALSE, if there are additional already existing columns, that may be added to the LP in pricing
Definition at line 2114 of file prob.c. References SCIP_Set::nactivepricers, SCIP_Prob::ncolvars, SCIP_Prob::nvars, and SCIPlpGetNCols(). Referenced by conflictAnalyzeBoundexceedingLP(), conflictAnalyzeInfeasibleLP(), conflictAnalyzeLP(), priceAndCutLoop(), propAndSolve(), SCIPaddCut(), SCIPallColsInLP(), SCIPconflictAnalyzeLP(), SCIPconflictAnalyzeStrongbranch(), SCIPgetVarsStrongbranchesFrac(), SCIPgetVarsStrongbranchesInt(), SCIPgetVarStrongbranchFrac(), SCIPgetVarStrongbranchInt(), SCIPlpSolveAndEval(), SCIPpriceLoop(), SCIPsolveDiveLP(), SCIPtreeEndProbing(), solveNodeInitialLP(), and solveProbingLP(). gets limit on objective function in external space
Definition at line 2126 of file prob.c. References NULL, SCIP_Prob::objlim, SCIP_Prob::objsense, SCIP_INVALID, SCIP_Real, and SCIPsetInfinity(). Referenced by presolve(), primalAddOrigSol(), primalAddSol(), SCIPgetObjlimit(), SCIPprimalSetCutoffbound(), SCIPprimalUpdateObjlimit(), SCIPprimalUpdateObjoffset(), SCIPsetObjlimit(), and SCIPsolveCIP().
gets user problem data
Definition at line 2138 of file prob.c. References NULL, and SCIP_Prob::probdata. Referenced by SCIPgetProbData().
gets problem name
Definition at line 2148 of file prob.c. References SCIP_Prob::name, and NULL. Referenced by detectImpliedBounds(), initSolve(), SCIPgetProbName(), SCIPshrinkDisjunctiveVarSet(), and SCIPtransformProb().
gets number of problem variables
Definition at line 2157 of file prob.c. References NULL, and SCIP_Prob::nvars. Referenced by SCIPshrinkDisjunctiveVarSet(), and SCIPvarGetImplRedcost().
gets number of binary problem variables
Definition at line 2166 of file prob.c. References SCIP_Prob::nbinvars, and NULL. Referenced by SCIPsolAdjustImplicitSolVals().
gets number of integer problem variables
Definition at line 2175 of file prob.c. References SCIP_Prob::nintvars, and NULL. Referenced by SCIPsolAdjustImplicitSolVals().
gets number of implicit integer problem variables
Definition at line 2184 of file prob.c. References SCIP_Prob::nimplvars, and NULL. Referenced by SCIPsolAdjustImplicitSolVals().
gets number of continuous problem variables
Definition at line 2193 of file prob.c. References SCIP_Prob::ncontvars, and NULL. Referenced by SCIPvarGetImplRedcost(). gets problem variables
Definition at line 2202 of file prob.c. References NULL, and SCIP_Prob::vars. Referenced by SCIPshrinkDisjunctiveVarSet(), SCIPsolAdjustImplicitSolVals(), and SCIPvarGetImplRedcost(). gets the objective offset
Definition at line 2211 of file prob.c. References NULL, and SCIP_Prob::objoffset. Referenced by SCIPsolRecomputeObj(). |