methods to create, read and modify a global problem together with its callbacks
SCIP_RETCODE SCIPcreateProb | ( | SCIP * | scip, |
const char * | name, | ||
SCIP_DECL_PROBDELORIG((*probdelorig)) | , | ||
SCIP_DECL_PROBTRANS((*probtrans)) | , | ||
SCIP_DECL_PROBDELTRANS((*probdeltrans)) | , | ||
SCIP_DECL_PROBINITSOL((*probinitsol)) | , | ||
SCIP_DECL_PROBEXITSOL((*probexitsol)) | , | ||
SCIP_DECL_PROBCOPY((*probcopy)) | , | ||
SCIP_PROBDATA * | probdata | ||
) |
creates empty problem and initializes all solving data structures (the objective sense is set to MINIMIZE) If the problem type requires the use of variable pricers, these pricers should be added to the problem with calls to SCIPactivatePricer(). These pricers are automatically deactivated, when the problem is freed.
scip
is in one of the following stages:
scip | SCIP data structure |
name | problem name |
probdata | user problem data set by the reader |
Definition at line 9813 of file scip.c.
References checkStage(), Scip::conflictstore, FALSE, Scip::mem, Scip::messagehdlr, NULL, Scip::origprimal, Scip::origprob, SCIP_Mem::probmem, SCIP_Set::reopt_enable, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_INIT, SCIP_STAGE_PROBLEM, SCIPconflictstoreCreate(), SCIPenableReoptimization(), SCIPfreeProb(), SCIPprimalCreate(), SCIPprobCreate(), SCIPstatCreate(), Scip::set, SCIP_Set::stage, Scip::stat, and TRUE.
Referenced by applyRepair(), createCoveringProblem(), createSubSCIP(), createSubscip(), readFZNFile(), readLPFile(), readMps(), readOPBFile(), readPIPFile(), SCIP_DECL_READERREAD(), SCIPcopyLargeNeighborhoodSearch(), SCIPcreateObjProb(), and SCIPcreateProbBasic().
SCIP_RETCODE SCIPcreateProbBasic | ( | SCIP * | scip, |
const char * | name | ||
) |
creates empty problem and initializes all solving data structures (the objective sense is set to MINIMIZE) all callback methods will be set to NULL and can be set afterwards, if needed, via SCIPsetProbDelorig(), SCIPsetProbTrans(), SCIPsetProbDeltrans(), SCIPsetProbInitsol(), SCIPsetProbExitsol(), and SCIPsetProbCopy() If the problem type requires the use of variable pricers, these pricers should be added to the problem with calls to SCIPactivatePricer(). These pricers are automatically deactivated, when the problem is freed.
scip
is in one of the following stages:
scip | SCIP data structure |
name | problem name |
Definition at line 9874 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreateProb(), and TRUE.
Referenced by createMIP(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_READERREAD(), SCIP_DECL_SOLVECUMULATIVE(), SCIPprobdataCreate(), and setupProblem().
SCIP_RETCODE SCIPsetProbDelorig | ( | SCIP * | scip, |
SCIP_DECL_PROBDELORIG((*probdelorig)) | |||
) |
sets callback to free user data of original problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 9894 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL, SCIP_OKAY, SCIPprobSetDelorig(), and TRUE.
Referenced by SCIPprobdataCreate().
SCIP_RETCODE SCIPsetProbTrans | ( | SCIP * | scip, |
SCIP_DECL_PROBTRANS((*probtrans)) | |||
) |
sets callback to create user data of transformed problem by transforming original user data
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 9915 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL, SCIP_OKAY, SCIPprobSetTrans(), and TRUE.
Referenced by SCIPprobdataCreate().
SCIP_RETCODE SCIPsetProbDeltrans | ( | SCIP * | scip, |
SCIP_DECL_PROBDELTRANS((*probdeltrans)) | |||
) |
sets callback to free user data of transformed problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 9936 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL, SCIP_OKAY, SCIPprobSetDeltrans(), and TRUE.
Referenced by SCIPprobdataCreate().
SCIP_RETCODE SCIPsetProbInitsol | ( | SCIP * | scip, |
SCIP_DECL_PROBINITSOL((*probinitsol)) | |||
) |
sets solving process initialization callback of transformed data
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 9957 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL, SCIP_OKAY, SCIPprobSetInitsol(), and TRUE.
Referenced by SCIPprobdataCreate().
SCIP_RETCODE SCIPsetProbExitsol | ( | SCIP * | scip, |
SCIP_DECL_PROBEXITSOL((*probexitsol)) | |||
) |
sets solving process deinitialization callback of transformed data
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 9979 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL, SCIP_OKAY, SCIPprobSetExitsol(), and TRUE.
Referenced by SCIPprobdataCreate().
SCIP_RETCODE SCIPsetProbCopy | ( | SCIP * | scip, |
SCIP_DECL_PROBCOPY((*probcopy)) | |||
) |
sets callback to copy user data to a subscip
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 10000 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL, SCIP_OKAY, SCIPprobSetCopy(), and TRUE.
SCIP_RETCODE SCIPreadProb | ( | SCIP * | scip, |
const char * | filename, | ||
const char * | extension | ||
) |
reads problem from file and initializes all solving data structures
scip
is in one of the following stages:
scip | SCIP data structure |
filename | problem file name |
extension | extension of the desired file reader, or NULL if file extension should be used |
Definition at line 10033 of file scip.c.
References checkStage(), SCIP_Cons::conshdlr, SCIP_Set::conshdlrs, SCIP_Prob::conss, SCIP_Set::disp_verblevel, FALSE, Scip::messagehdlr, SCIP_Prob::nbinvars, SCIP_Set::nconshdlrs, SCIP_Prob::nconss, SCIP_Prob::ncontvars, SCIP_Prob::nimplvars, SCIP_Prob::nintvars, SCIP_Set::nreaders, NULL, SCIP_Prob::nvars, Scip::origprob, SCIP_Set::random_permutationseed, SCIP_Set::random_permuteconss, SCIP_Set::random_permutevars, SCIP_Set::readers, SCIP_Bool, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_NOFILE, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_READERROR, SCIP_Real, SCIP_SUCCESS, SCIP_VERBLEVEL_FULL, SCIP_VERBLEVEL_NORMAL, SCIPallocClearBufferArray, SCIPclockSetTime(), SCIPconshdlrGetName(), SCIPduplicateBufferArray, SCIPerrorMessage, SCIPfreeBufferArray, SCIPgetBoolParam(), SCIPgetReadingTime(), SCIPmessagePrintVerbInfo(), SCIPpermuteProb(), SCIPreaderGetName(), SCIPreaderRead(), SCIPsplitFilename(), Scip::set, SCIP_Stat::solvingtime, Scip::stat, SCIP_Set::time_reading, and TRUE.
Referenced by fromCommandLine(), getActivities(), SCIP_DECL_DIALOGEXEC(), and SCIPreadSol().
SCIP_RETCODE SCIPwriteOrigProblem | ( | SCIP * | scip, |
const char * | filename, | ||
const char * | extension, | ||
SCIP_Bool | genericnames | ||
) |
writes original problem to file
scip
is in one of the following stages:
scip | SCIP data structure |
filename | output file (or NULL for standard output) |
extension | extension of the desired file reader, or NULL if file extension should be used |
genericnames | using generic variable and constraint names? |
Definition at line 10303 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL, SCIP_FILECREATEERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_WRITEERROR, TRUE, and writeProblem().
Referenced by createSubscip(), SCIP_DECL_HEUREXEC(), and writeProblem().
SCIP_RETCODE SCIPwriteTransProblem | ( | SCIP * | scip, |
const char * | filename, | ||
const char * | extension, | ||
SCIP_Bool | genericnames | ||
) |
writes transformed problem which are valid in the current node to file
scip
is in one of the following stages:
scip | SCIP data structure |
filename | output file (or NULL for standard output) |
extension | extension of the desired file reader, or NULL if file extension should be used |
genericnames | using generic variable and constraint names? |
Definition at line 10350 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_FILECREATEERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_WRITEERROR, Scip::transprob, TRUE, and writeProblem().
Referenced by enforceIndicators(), and writeProblem().
SCIP_RETCODE SCIPfreeProb | ( | SCIP * | scip | ) |
frees problem and solution process data
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 10396 of file scip.c.
References checkStage(), Scip::conflictstore, Scip::eventqueue, FALSE, Scip::lp, Scip::mem, Scip::messagehdlr, SCIP_Set::misc_transsolsorig, SCIP_Set::nactivepricers, SCIP_Set::nconcsolvers, SCIP_Set::nreaders, NULL, Scip::origprimal, Scip::origprob, SCIP_Set::pricers, SCIP_Mem::probmem, SCIP_Set::readers, Scip::reopt, SCIP_Set::reopt_enable, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_INIT, SCIP_STAGE_PROBLEM, SCIPconflictstoreFree(), SCIPfreeConcurrent(), SCIPfreeTransform(), SCIPpricerDeactivate(), SCIPprimalFree(), SCIPprobFree(), SCIPreaderResetReadingTime(), SCIPreoptFree(), SCIPsetFreeConcsolvers(), SCIPstatFree(), SCIPsyncstoreExit(), SCIPsyncstoreIsInitialized(), Scip::set, SCIP_Set::stage, Scip::stat, Scip::syncstore, and TRUE.
Referenced by copyProb(), readFZNFile(), SCIP_DECL_DIALOGEXEC(), SCIPcreateProb(), and SCIPfree().
SCIP_RETCODE SCIPpermuteProb | ( | SCIP * | scip, |
unsigned int | randseed, | ||
SCIP_Bool | permuteconss, | ||
SCIP_Bool | permutebinvars, | ||
SCIP_Bool | permuteintvars, | ||
SCIP_Bool | permuteimplvars, | ||
SCIP_Bool | permutecontvars | ||
) |
permutes parts of the problem data structure
scip
is in one of the following stages:
permutes parts of the problem data structure
scip
is in one of the following stages:
scip | SCIP data structure |
randseed | seed value for random generator |
permuteconss | should the list of constraints in each constraint handler be permuted? |
permutebinvars | should the list of binary variables be permuted? |
permuteintvars | should the list of integer variables be permuted? |
permuteimplvars | should the list of implicit integer variables be permuted? |
permutecontvars | should the list of continuous integer variables be permuted? |
Definition at line 10473 of file scip.c.
References checkStage(), SCIP_Prob::conss, SCIP_Set::disp_verblevel, FALSE, Scip::mem, Scip::messagehdlr, SCIP_Prob::nconss, NULL, Scip::origprob, SCIP_Mem::probmem, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_VERBLEVEL_HIGH, SCIPconshdlrGetConss(), SCIPconshdlrGetNActiveConss(), SCIPgetConshdlrs(), SCIPgetNConshdlrs(), SCIPgetNContVars(), SCIPgetVarsData(), SCIPisTransformed(), SCIPmessagePrintVerbInfo(), SCIPprobIsPermuted(), SCIPprobMarkPermuted(), SCIPrandomCreate(), SCIPrandomFree(), SCIPrandomPermuteArray(), Scip::set, Scip::transprob, and TRUE.
Referenced by SCIP_DECL_HEUREXEC(), SCIPreadProb(), and SCIPtransformProb().
SCIP_PROBDATA* SCIPgetProbData | ( | SCIP * | scip | ) |
gets user problem data
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 10656 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIPABORT, SCIPerrorMessage, SCIPprobGetData(), Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by addBranchingDecisionConss(), consdataPrint(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSDEACTIVE(), SCIP_DECL_CONSPROP(), SCIP_DECL_EVENTEXEC(), SCIPgetObjProbData(), and SCIPvardataPrint().
SCIP_RETCODE SCIPsetProbData | ( | SCIP * | scip, |
SCIP_PROBDATA * | probdata | ||
) |
sets user problem data
scip
is in one of the following stages:
scip | SCIP data structure |
probdata | user problem data to use |
Definition at line 10706 of file scip.c.
References checkStage(), FALSE, Scip::origprob, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INIT, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIPerrorMessage, SCIPprobSetData(), Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by SCIPprobdataCreate().
const char* SCIPgetProbName | ( | SCIP * | scip | ) |
returns name of the current problem instance
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 10759 of file scip.c.
References checkStage(), FALSE, Scip::origprob, SCIP_CALL_ABORT, SCIPprobGetName(), and TRUE.
Referenced by addLocalBranchingConstraint(), applyRepair(), computeInteriorPoint(), createCoveringProblem(), createSubSCIP(), createSubscip(), doCopy(), initData(), initializeCandsLists(), initProblem(), propdataInit(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_PROPEXEC(), SCIPcopyLargeNeighborhoodSearch(), SCIPvarUpdatePseudocost(), separateGLS(), solveComponent(), and solveSubNLP().
SCIP_RETCODE SCIPsetProbName | ( | SCIP * | scip, |
const char * | name | ||
) |
sets name of the current problem instance
scip
is in one of the following stages:
scip | SCIP data structure |
name | name to be set |
Definition at line 10787 of file scip.c.
References checkStage(), FALSE, Scip::origprob, SCIP_CALL, SCIPprobSetName(), and TRUE.
Referenced by getStatistics().
SCIP_RETCODE SCIPchgReoptObjective | ( | SCIP * | scip, |
SCIP_OBJSENSE | objsense, | ||
SCIP_VAR ** | vars, | ||
SCIP_Real * | coefs, | ||
int | nvars | ||
) |
changes the objective function
scip
is in one of the following stages:
vars
array are assumed to have an objective coefficient of zero.changes the objective function of the original problem.
scip
is in one of the following stages:
vars
array are assumed to have an objective coefficient of zero. scip | SCIP data structure |
objsense | new objective function |
vars | original problem variables |
coefs | objective coefficients |
nvars | variables in vars array |
Definition at line 10811 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_Prob::nvars, SCIP_Prob::objisintegral, SCIP_Prob::objoffset, SCIP_Prob::objscale, SCIP_Prob::objsense, Scip::origprob, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIP_STAGE_TRANSFORMED, SCIPaddVarObj(), SCIPchgVarObj(), SCIPdebugMsg, SCIPerrorMessage, SCIPisPositive(), SCIPisZero(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIPvarIsOriginal(), Scip::set, SCIP_Set::stage, Scip::transprob, TRUE, and SCIP_Prob::vars.
Referenced by readObjective().
SCIP_OBJSENSE SCIPgetObjsense | ( | SCIP * | scip | ) |
returns objective sense of original problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 10917 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::objsense, Scip::origprob, SCIP_CALL_ABORT, and TRUE.
Referenced by createObjRow(), createSubproblem(), readNonlinearExprs(), readQuadraticCoefs(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTINIT(), SCIPcopyOrigProb(), SCIPgetDualSolVal(), SCIPheurPassSolAddSol(), SCIPheurPassSolTrySol(), SCIPmakeSOS1sFeasible(), SCIPprintStage(), SCIPresolveSolHeurSubNlp(), SCIPvalidateSolve(), SCIPvisualLowerbound(), SCIPvisualUpperbound(), and separateCuts().
SCIP_RETCODE SCIPsetObjsense | ( | SCIP * | scip, |
SCIP_OBJSENSE | objsense | ||
) |
sets objective sense of problem
scip
is in one of the following stages:
scip | SCIP data structure |
objsense | new objective sense |
Definition at line 10934 of file scip.c.
References checkStage(), FALSE, Scip::origprob, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OBJSENSE_MAXIMIZE, SCIP_OBJSENSE_MINIMIZE, SCIP_OKAY, SCIPerrorMessage, SCIPprobSetObjsense(), and TRUE.
Referenced by createMIP(), createSubscip(), getObjective(), readCnf(), readFZNFile(), readMps(), readObjective(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_READERREAD(), SCIPcopyOrigProb(), SCIPprobdataCreate(), SCIPreadLp(), SCIPreadOpb(), SCIPreadPip(), and SCIPtransformMinUC().
SCIP_RETCODE SCIPaddObjoffset | ( | SCIP * | scip, |
SCIP_Real | addval | ||
) |
adds offset of objective function
scip
is in one of the following stages:
scip | SCIP data structure |
addval | value to add to objective offset |
Definition at line 10960 of file scip.c.
References checkStage(), Scip::eventqueue, FALSE, Scip::lp, Scip::origprob, Scip::primal, Scip::reopt, SCIP_CALL, SCIP_OKAY, SCIPblkmem(), SCIPprimalUpdateObjoffset(), SCIPprobAddObjoffset(), Scip::set, Scip::stat, Scip::transprob, Scip::tree, and TRUE.
SCIP_RETCODE SCIPaddOrigObjoffset | ( | SCIP * | scip, |
SCIP_Real | addval | ||
) |
adds offset of objective function to original problem and to all existing solution in original space
scip
is in one of the following stages:
scip | SCIP data structure |
addval | value to add to objective offset |
Definition at line 10982 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::objoffset, Scip::origprimal, Scip::origprob, SCIP_CALL, SCIP_OKAY, SCIPprimalAddOrigObjoffset(), Scip::set, and TRUE.
Referenced by getObjectiveFactor(), readRhs(), and setObjective().
returns the objective offset of the original problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11011 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::objoffset, Scip::origprob, SCIP_CALL_ABORT, and TRUE.
Referenced by applyBounding(), and SCIPmergeVariableStatistics().
returns the objective scale of the original problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11036 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::objscale, Scip::origprob, SCIP_CALL_ABORT, and TRUE.
Referenced by SCIPmergeVariableStatistics().
returns the objective offset of the transformed problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11059 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::objoffset, SCIP_CALL_ABORT, Scip::transprob, and TRUE.
Referenced by applyDomainChanges(), getGenVBoundsBound(), SCIPgenVBoundAdd(), and writeBounds().
returns the objective scale of the transformed problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11082 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::objscale, SCIP_CALL_ABORT, Scip::transprob, and TRUE.
Referenced by applyDomainChanges(), getGenVBoundsBound(), SCIPgenVBoundAdd(), and writeBounds().
SCIP_RETCODE SCIPsetObjlimit | ( | SCIP * | scip, |
SCIP_Real | objlimit | ||
) |
sets limit on objective function, such that only solutions better than this limit are accepted
scip
is in one of the following stages:
scip | SCIP data structure |
objlimit | new primal objective limit |
Definition at line 11114 of file scip.c.
References checkStage(), Scip::eventqueue, FALSE, Scip::lp, Scip::mem, Scip::origprob, Scip::primal, SCIP_Mem::probmem, Scip::reopt, SCIP_Set::reopt_enable, SCIP_CALL, SCIP_INVALIDCALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPerrorMessage, SCIPprimalUpdateObjlimit(), SCIPprobGetObjlim(), SCIPprobInternObjval(), SCIPprobSetObjlim(), SCIPtransformObj(), Scip::set, SCIP_Set::stage, Scip::stat, Scip::transprob, Scip::tree, and TRUE.
Referenced by applyDomainChanges(), applyOfins(), applyRepair(), applyVbounds(), freeReoptSolve(), freeTransform(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), SCIPapplyHeurSubNlp(), SCIPapplyRens(), SCIPresolveSolHeurSubNlp(), setupSubScip(), solveCoveringProblem(), solveSubMIP(), solveSubproblem(), subscipSetParams(), and writeBounds().
returns current limit on objective function
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11184 of file scip.c.
References checkStage(), FALSE, Scip::origprob, SCIP_CALL_ABORT, SCIPprobGetObjlim(), Scip::set, and TRUE.
Referenced by SCIP_DECL_DIALOGEXEC(), and solveSubNLP().
SCIP_RETCODE SCIPsetObjIntegral | ( | SCIP * | scip | ) |
informs SCIP, that the objective value is always integral in every feasible solution
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11211 of file scip.c.
References checkStage(), FALSE, Scip::origprob, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMING, SCIPerrorMessage, SCIPprobSetObjIntegral(), Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by SCIPprobdataCreate().
returns whether the objective value is known to be integral in every feasible solution
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11254 of file scip.c.
References checkStage(), FALSE, SCIP_Set::nactivepricers, SCIP_Prob::nvars, SCIP_Prob::objoffset, Scip::origprob, SCIP_CALL_ABORT, SCIP_Real, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMING, SCIP_VARTYPE_CONTINUOUS, SCIPABORT, SCIPerrorMessage, SCIPisIntegral(), SCIPisZero(), SCIPprobIsObjIntegral(), SCIPvarGetObj(), SCIPvarGetType(), Scip::set, SCIP_Set::stage, Scip::transprob, TRUE, and SCIP_Prob::vars.
Referenced by computeCut(), createSubscip(), SCIPapplyProximity(), SCIPperformGenericDivingAlgorithm(), separateCuts(), and updateObjUpperbound().
returns the Euclidean norm of the objective function vector (available only for transformed problem)
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11333 of file scip.c.
References checkStage(), FALSE, Scip::lp, SCIP_Lp::objsqrnormunreliable, SCIP_CALL_ABORT, SCIPlpGetObjNorm(), SCIPlpRecalculateObjSqrNorm(), Scip::set, and TRUE.
Referenced by createNewSol(), SCIP_DECL_DIVESETGETSCORE(), and separateCuts().
SCIP_RETCODE SCIPaddVar | ( | SCIP * | scip, |
SCIP_VAR * | var | ||
) |
adds variable to the problem
scip
is in one of the following stages:
scip | SCIP data structure |
var | variable to add |
Definition at line 11360 of file scip.c.
References Scip::branchcand, checkStage(), Scip::eventfilter, Scip::eventqueue, FALSE, Scip::lp, Scip::mem, NULL, Scip::origprob, SCIP_Mem::probmem, SCIP_CALL, SCIP_INVALIDCALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMING, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPaddVar(), SCIPerrorMessage, SCIPprobAddVar(), SCIPvarGetNegationVar(), SCIPvarGetProbindex(), SCIPvarGetStatus(), Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by addExtendedAsymmetricFormulation(), addExtendedFlowFormulation(), addVarCardinality(), appendVarCardinality(), applyFixings(), applyRepair(), consdataCreateBinvars(), createAndAddAndCons(), createConstraints(), createCoveringProblem(), createInitialColumns(), createKKTComplementarityBinary(), createKKTComplementarityBounds(), createKKTComplementarityLinear(), createKKTDualCons(), createMIP(), createObjRow(), createRelaxation(), createSubproblem(), createSubSCIP(), createSubscip(), createVariable(), disaggregate(), getFixedVariable(), getVariable(), initPricing(), presolveAddKKTLinearCons(), presolveCreateBenTalNemirovskiApproxDim3(), presolveCreateGlineurApproxDim3(), presolveCreateOuterApprox(), presolveDisaggregate(), presolveFindDuplicates(), presolveTryAddAND(), presolveTryAddLinearReform(), readBounds(), readCnf(), readCols(), readIndicators(), readNonlinearExprs(), readObjective(), readQMatrix(), readQuadraticCoefs(), readVariables(), reformMonomial(), reformNode2Var(), reformulate(), SCIP_DECL_EXPRGRAPHNODEREFORM(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NONLINCONSUPGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_QUADCONSUPGD(), SCIP_DECL_READERREAD(), SCIP_DECL_SOLVECUMULATIVE(), SCIPaddVar(), SCIPcreateConsCardinality(), SCIPcreateConsIndicator(), SCIPcreateFiniteSolCopy(), SCIPgetVarCopy(), SCIPtransformMinUC(), setObjective(), setupProblem(), and tightenCoefs().
SCIP_RETCODE SCIPaddPricedVar | ( | SCIP * | scip, |
SCIP_VAR * | var, | ||
SCIP_Real | score | ||
) |
adds variable to the problem and uses it as pricing candidate to enter the LP
scip
is in stage SCIP_STAGE_SOLVING scip | SCIP data structure |
var | variable to add |
score | pricing score of variable (the larger, the better the variable) |
Definition at line 11425 of file scip.c.
References Scip::branchcand, checkStage(), Scip::eventfilter, Scip::eventqueue, FALSE, Scip::lp, Scip::mem, NULL, Scip::pricestore, SCIP_Mem::probmem, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPaddPricedVar(), SCIPerrorMessage, SCIPpricestoreAddVar(), SCIPprobAddVar(), SCIPtreeGetCurrentDepth(), SCIPvarGetNegationVar(), SCIPvarGetProbindex(), SCIPvarGetStatus(), Scip::set, Scip::transprob, Scip::tree, and TRUE.
Referenced by SCIP_DECL_PRICERREDCOST(), and SCIPaddPricedVar().
SCIP_RETCODE SCIPdelVar | ( | SCIP * | scip, |
SCIP_VAR * | var, | ||
SCIP_Bool * | deleted | ||
) |
removes variable from the problem
scip
is in one of the following stages:
scip | SCIP data structure |
var | variable to delete |
deleted | pointer to store whether marking variable to be deleted was successful |
Definition at line 11478 of file scip.c.
References Scip::branchcand, checkStage(), Scip::cliquetable, Scip::eventqueue, FALSE, Scip::lp, Scip::mem, NULL, Scip::origprob, SCIP_Mem::probmem, SCIP_CALL, SCIP_INVALIDCALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_STAGE_FREETRANS, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_ORIGINAL, SCIPerrorMessage, SCIPprobDelVar(), SCIPprobPerformVarDeletions(), SCIPvarGetStatus(), Scip::set, SCIP_Set::stage, Scip::stat, Scip::transprob, and TRUE.
SCIP_RETCODE SCIPgetVarsData | ( | SCIP * | scip, |
SCIP_VAR *** | vars, | ||
int * | nvars, | ||
int * | nbinvars, | ||
int * | nintvars, | ||
int * | nimplvars, | ||
int * | ncontvars | ||
) |
gets variables of the problem along with the numbers of different variable types; data may become invalid after calls to SCIPchgVarType(), SCIPfixVar(), SCIPaggregateVars(), and SCIPmultiaggregateVar()
scip
is in one of the following stages:
scip | SCIP data structure |
vars | pointer to store variables array or NULL if not needed |
nvars | pointer to store number of variables or NULL if not needed |
nbinvars | pointer to store number of binary variables or NULL if not needed |
nintvars | pointer to store number of integer variables or NULL if not needed |
nimplvars | pointer to store number of implicit integral vars or NULL if not needed |
ncontvars | pointer to store number of continuous variables or NULL if not needed |
Definition at line 11554 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nbinvars, SCIP_Prob::ncontvars, SCIP_Prob::nimplvars, SCIP_Prob::nintvars, NULL, SCIP_Prob::nvars, Scip::origprob, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, TRUE, and SCIP_Prob::vars.
Referenced by addCut(), addLocalBranchingConstraint(), addObjcut(), aggregation(), applyBoundHeur(), applyRepair(), applyVbounds(), checkCands(), computeCut(), computeFixingrate(), copySol(), copyVars(), countNonlinearities(), createCGCutCMIR(), createCGCutDirect(), createCGCuts(), createCGCutStrongCG(), createCoveringProblem(), createNewSol(), createNewSols(), createSubSCIP(), determineFixings(), determineMaxDistance(), determineVariableFixings(), fixNonNeighborhoodVariables(), fixVariables(), getObjectiveFactor(), performRelaxSimpleRounding(), presolveTwoOpt(), restrictToBinaryBounds(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SEPAEXECSOL(), SCIPapplyProximity(), SCIPapplyRens(), SCIPapplyUndercover(), SCIPapplyZeroobj(), SCIPcalcCliquePartition(), SCIPclearRelaxSolVals(), SCIPcomputeCoverUndercover(), SCIPcopyImplicationsCliques(), SCIPpermuteProb(), SCIPsetRelaxSolValsSol(), SCIPtransformMinUC(), SCIPwriteCliqueGraph(), selectInitialVariable(), selectNextVariable(), separateGLS(), separateHeur(), solCutIsViolated(), solveLp(), solveNLP(), solveSubproblem(), and writeBounds().
gets array with active problem variables
scip
is in one of the following stages:
gets array with active problem variables
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11635 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, TRUE, and SCIP_Prob::vars.
Referenced by addFixedVarsConss(), applyCompletesol(), applyHeur(), applyNlobbt(), applyOfins(), applyProbing(), branchruledataEnsureArraySize(), buildConvexCombination(), checkIISlocal(), checkSolution(), checkSystemGF2(), componentSetupWorkingSol(), computeCut(), computeInteriorPoint(), createSubproblem(), createTcliqueGraph(), dfs(), execRelpscost(), filterCands(), filterExistingLP(), findComponents(), fixAndPropagate(), generateCloseCutPoint(), getActivities(), getMaxactImplicObjchg(), getRelDistance(), heurdataEnsureArraySize(), heurdataFreeArrays(), improvePoint(), initConcsolver(), initData(), initializeCandsLists(), initImplGraphSOS1(), initProblem(), performDualfix(), preprocessCliques(), presolRoundVarsSOS1(), projectVbd(), propagateAllConss(), propdataInit(), readOPBFile(), removeDoubleAndSingletonsAndPerformDualpresolve(), sampleRandomPoints(), SCIP_DECL_BRANCHEXITSOL(), SCIP_DECL_CONCSOLVERCOPYSOLVINGDATA(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EVENTEXITSOL(), SCIP_DECL_EVENTINIT(), SCIP_DECL_EVENTINITSOL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPcreateNlpiProb(), SCIPcutGenerationHeuristicCmir(), SCIPgetVarStrongbranchWithPropagation(), SCIPmatrixCreate(), SCIPpropagateProbing(), SCIPselectVarStrongBranching(), SCIPseparateRelaxedKnapsack(), separateCuts(), setupSubproblem(), tcliquegraphAddCliqueVars(), updateFirstRow(), updateFirstRowGlobal(), and variablegraphBreadthFirst().
int SCIPgetNVars | ( | SCIP * | scip | ) |
gets number of active problem variables
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11680 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nvars, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by addFixedVarsConss(), applyCompletesol(), applyHeur(), applyNlobbt(), applyOfins(), applyProbing(), applyVbounds(), branch(), branchruledataEnsureArraySize(), branchruledataEnsureNlcount(), buildConvexCombination(), calcNlscore(), checkIISlocal(), checkSolution(), checkSystemGF2(), collectBranchingCands(), componentSetupWorkingSol(), computeCut(), computeGradient(), computeInteriorPoint(), copyProb(), copyVars(), correctConshdlrdata(), countSparseSol(), createAndSplitProblem(), createSubproblem(), createTcliqueGraph(), dfs(), doCopy(), execRelpscost(), fillDigraph(), fillVariableGraph(), filterExistingLP(), findComponents(), generateCloseCutPoint(), generateClusterCuts(), getActivities(), getMaxactImplicObjchg(), getMinsize(), getRelDistance(), heurdataEnsureArraySize(), heurdataFreeArrays(), improvePoint(), initAlternativeLP(), initConcsolver(), initData(), initializeCandsLists(), initImplGraphSOS1(), initProblem(), initPropdata(), insertZerolist(), performDualfix(), performFixing(), preprocessCliques(), presolRoundVarsSOS1(), presolve(), projectVbd(), propagateAllConss(), propdataInit(), readCoefficients(), readOPBFile(), removeConstraintsDueToNegCliques(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantConssAndNonzeros(), sampleRandomPoints(), SCIP_DECL_BRANCHEXITSOL(), SCIP_DECL_CONCSOLVERCOPYSOLVINGDATA(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EVENTEXITSOL(), SCIP_DECL_EVENTINIT(), SCIP_DECL_EVENTINITSOL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddNlpiProbRows(), SCIPapplyRens(), SCIPconcsolverCreateInstance(), SCIPcopyConflicts(), SCIPcopyConss(), SCIPcopyOrigConss(), SCIPcreateNlpiProb(), SCIPcutGenerationHeuristicCmir(), SCIPgetConsCopy(), SCIPgetVarCopy(), SCIPgetVarStrongbranchWithPropagation(), SCIPmatrixCreate(), SCIPperformGenericDivingAlgorithm(), SCIPpropagateProbing(), SCIPselectVarStrongBranching(), SCIPseparateRelaxedKnapsack(), SCIPsyncstoreInit(), SCIPtransformProb(), separateCuts(), separatePerspective(), setUpEvents(), setupProbingSCIP(), setupSubproblem(), shortenConss(), solveIndependentCons(), solveSubMIP(), solveSubNLP(), subscipdataCopySubscip(), topologicalSort(), updateFirstRow(), updateFirstRowGlobal(), variablegraphBreadthFirst(), and variableGraphCreate().
int SCIPgetNBinVars | ( | SCIP * | scip | ) |
gets number of binary active problem variables
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11725 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nbinvars, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by applyOfins(), applyProbing(), checkConsQuadraticProblem(), constructCompression(), copyVars(), countSparseSol(), createSubscip(), dualPresolve(), extendToCover(), loadTcliquegraph(), mergeMultiples(), preprocessCliques(), propdataInit(), removeDoubleAndSingletonsAndPerformDualpresolve(), rollingHorizonRunAgain(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPapplyHeurSubNlp(), SCIPapplyProximity(), SCIPapplyRens(), SCIPperformGenericDivingAlgorithm(), SCIPresolveSolHeurSubNlp(), SCIPsolve(), tcliquegraphAddCliqueVars(), tcliquegraphAddNode(), tcliquegraphCreate(), and upgradeConss().
int SCIPgetNIntVars | ( | SCIP * | scip | ) |
gets number of integer active problem variables
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11770 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nintvars, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by applyOfins(), applyProbing(), checkConsQuadraticProblem(), constructCompression(), copyVars(), createSubscip(), extendToCover(), mergeMultiples(), prettifyConss(), removeDoubleAndSingletonsAndPerformDualpresolve(), rollingHorizonRunAgain(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIPapplyHeurSubNlp(), SCIPapplyRens(), SCIPperformGenericDivingAlgorithm(), SCIPresolveSolHeurSubNlp(), and SCIPsolve().
int SCIPgetNImplVars | ( | SCIP * | scip | ) |
gets number of implicit integer active problem variables
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11815 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nimplvars, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by aggregation(), applyOfins(), applyProbing(), copyVars(), createSubscip(), dualPresolve(), mergeMultiples(), prettifyConss(), removeDoubleAndSingletonsAndPerformDualpresolve(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), separateCuts(), and upgradeConss().
int SCIPgetNContVars | ( | SCIP * | scip | ) |
gets number of continuous active problem variables
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11860 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::ncontvars, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by copyVars(), createSubscip(), fillVariableGraph(), getMaxactImplicObjchg(), insertZerolist(), removeConstraintsDueToNegCliques(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantConssAndNonzeros(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPcutGenerationHeuristicCmir(), SCIPpermuteProb(), SCIPseparateRelaxedKnapsack(), separateCuts(), shortenConss(), and tightenVariables().
int SCIPgetNObjVars | ( | SCIP * | scip | ) |
gets number of active problem variables with a non-zero objective coefficient
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11908 of file scip.c.
References checkStage(), FALSE, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, SCIPprobGetNObjVars(), Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by checkConsQuadraticProblem(), createSubscip(), SCIP_DECL_HEUREXEC(), SCIPapplyZeroobj(), and setupSubproblem().
gets array with fixed and aggregated problem variables; data may become invalid after calls to SCIPfixVar(), SCIPaggregateVars(), and SCIPmultiaggregateVar()
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11954 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::fixedvars, NULL, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by copyVars(), correctConshdlrdata(), exitPresolve(), SCIP_DECL_DIALOGEXEC(), SCIPcreateFiniteSolCopy(), selectVarMultAggrBranching(), and updateConsanddataUses().
int SCIPgetNFixedVars | ( | SCIP * | scip | ) |
gets number of fixed or aggregated problem variables
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 11997 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nfixedvars, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by copyVars(), correctConshdlrdata(), exitPresolve(), SCIP_DECL_DIALOGEXEC(), SCIPapplyProximity(), SCIPcreateFiniteSolCopy(), selectVarMultAggrBranching(), setUpEvents(), and updateConsanddataUses().
SCIP_RETCODE SCIPgetOrigVarsData | ( | SCIP * | scip, |
SCIP_VAR *** | vars, | ||
int * | nvars, | ||
int * | nbinvars, | ||
int * | nintvars, | ||
int * | nimplvars, | ||
int * | ncontvars | ||
) |
gets variables of the original problem along with the numbers of different variable types; data may become invalid after a call to SCIPchgVarType()
scip
is in one of the following stages:
scip | SCIP data structure |
vars | pointer to store variables array or NULL if not needed |
nvars | pointer to store number of variables or NULL if not needed |
nbinvars | pointer to store number of binary variables or NULL if not needed |
nintvars | pointer to store number of integer variables or NULL if not needed |
nimplvars | pointer to store number of implicit integral vars or NULL if not needed |
ncontvars | pointer to store number of continuous variables or NULL if not needed |
Definition at line 12045 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nbinvars, SCIP_Prob::ncontvars, SCIP_Prob::nimplvars, SCIP_Prob::nintvars, NULL, SCIP_Prob::nvars, Scip::origprob, SCIP_CALL, SCIP_OKAY, TRUE, and SCIP_Prob::vars.
Referenced by copyVars(), createSolFromNLP(), createSolFromSubScipSol(), forbidFixation(), freeMemory(), freeSubSCIP(), SCIPapplyHeurDualval(), SCIPapplyHeurSubNlp(), SCIPcreateFiniteSolCopy(), and SCIPresolveSolHeurSubNlp().
gets array with original problem variables; data may become invalid after a call to SCIPchgVarType()
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12093 of file scip.c.
References checkStage(), FALSE, Scip::origprob, SCIP_CALL_ABORT, TRUE, and SCIP_Prob::vars.
Referenced by createObjRow(), createSolFromNLP(), createSolFromSubScipSol(), createSubSCIP(), maximalslack(), SCIP_DECL_CONSINIT(), SCIP_DECL_DIALOGEXEC(), and SCIPapplyHeurDualval().
int SCIPgetNOrigVars | ( | SCIP * | scip | ) |
gets number of original problem variables
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12120 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nvars, Scip::origprob, SCIP_CALL_ABORT, and TRUE.
Referenced by applyOfins(), checkSolution(), componentSetupWorkingSol(), constructCompression(), copySol(), copyToSubscip(), createNewSol(), createNewSols(), createObjRow(), createSolFromNLP(), createSolFromSubScipSol(), createSubSCIP(), maximalslack(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSTRANS(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EVENTINIT(), SCIPapplyRens(), SCIPcreateConcurrent(), SCIPcreateConsIndicator(), SCIPfreeConcurrent(), SCIPgetConcurrentVaridx(), and solveCoveringProblem().
int SCIPgetNOrigBinVars | ( | SCIP * | scip | ) |
gets number of binary variables in the original problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12147 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nbinvars, Scip::origprob, SCIP_CALL_ABORT, and TRUE.
int SCIPgetNOrigIntVars | ( | SCIP * | scip | ) |
gets the number of integer variables in the original problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12174 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nintvars, Scip::origprob, SCIP_CALL_ABORT, and TRUE.
int SCIPgetNOrigImplVars | ( | SCIP * | scip | ) |
gets number of implicit integer variables in the original problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12201 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nimplvars, Scip::origprob, SCIP_CALL_ABORT, and TRUE.
int SCIPgetNOrigContVars | ( | SCIP * | scip | ) |
gets number of continuous variables in the original problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12228 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::ncontvars, Scip::origprob, SCIP_CALL_ABORT, and TRUE.
int SCIPgetNTotalVars | ( | SCIP * | scip | ) |
gets number of all problem variables created during creation and solving of problem; this includes also variables that were deleted in the meantime
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12257 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_Stat::nvaridx, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::stat, and TRUE.
Referenced by addVarCardinality(), appendVarCardinality(), initConflictgraph(), and SCIPcreateConsCardinality().
SCIP_RETCODE SCIPgetSolVarsData | ( | SCIP * | scip, |
SCIP_SOL * | sol, | ||
SCIP_VAR *** | vars, | ||
int * | nvars, | ||
int * | nbinvars, | ||
int * | nintvars, | ||
int * | nimplvars, | ||
int * | ncontvars | ||
) |
gets variables of the original or transformed problem along with the numbers of different variable types; the returned problem space (original or transformed) corresponds to the given solution; data may become invalid after calls to SCIPchgVarType(), SCIPfixVar(), SCIPaggregateVars(), and SCIPmultiaggregateVar()
scip
is in one of the following stages:
scip | SCIP data structure |
sol | primal solution that selects the problem space, NULL for current solution |
vars | pointer to store variables array or NULL if not needed |
nvars | pointer to store number of variables or NULL if not needed |
nbinvars | pointer to store number of binary variables or NULL if not needed |
nintvars | pointer to store number of integer variables or NULL if not needed |
nimplvars | pointer to store number of implicit integral vars or NULL if not needed |
ncontvars | pointer to store number of continuous variables or NULL if not needed |
Definition at line 12309 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nbinvars, SCIP_Prob::ncontvars, SCIP_Prob::nimplvars, SCIP_Prob::nintvars, NULL, SCIP_Prob::nvars, Scip::origprob, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, SCIPsolIsOriginal(), Scip::set, SCIP_Set::stage, Scip::transprob, TRUE, and SCIP_Prob::vars.
Referenced by SCIP_DECL_CONSCHECK(), and SCIP_DECL_CONSGETDIVEBDCHGS().
returns variable of given name in the problem, or NULL if not existing
scip
is in one of the following stages:
scip | SCIP data structure |
name | name of variable to find |
Definition at line 12374 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIPABORT, SCIPerrorMessage, SCIPprobFindVar(), Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by constructCompression(), getVariable(), getVariableOrTerm(), readBounds(), readIndicators(), readQCMatrix(), readQMatrix(), readSol(), readSolFile(), readSOS(), readSos(), readXmlSolFile(), SCIP_DECL_CONSPARSE(), SCIP_DECL_DIALOGEXEC(), and SCIPparseVarName().
returns TRUE iff all potential variables exist in the problem, and FALSE, if there may be additional variables, that will be added in pricing and improve the objective value
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12432 of file scip.c.
References checkStage(), FALSE, SCIP_Set::nactivepricers, SCIP_CALL_ABORT, Scip::set, and TRUE.
Referenced by createObjRow().
SCIP_RETCODE SCIPaddCons | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
adds constraint to the problem; if constraint is only valid locally, it is added to the local subproblem of the current node (and all of its subnodes); otherwise it is added to the global problem; if a local constraint is added at the root node, it is automatically upgraded into a global constraint
scip
is in one of the following stages:
adds constraint to the problem; if constraint is only valid locally, it is added to the local subproblem of the current node (and all of its subnodes); otherwise it is added to the global problem; if a local constraint is added at the root node, it is automatically upgraded into a global constraint
scip
is in one of the following stages:
scip | SCIP data structure |
cons | constraint to add |
Definition at line 12459 of file scip.c.
References checkStage(), FALSE, Scip::mem, NULL, Scip::origprob, SCIP_Mem::probmem, Scip::reopt, SCIP_Set::reopt_enable, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPconsIsGlobal(), SCIPconsSetLocal(), SCIPerrorMessage, SCIPnodeAddCons(), SCIPprobAddCons(), SCIPreoptAddCons(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPtreeGetEffectiveRootDepth(), Scip::set, SCIP_Set::stage, Scip::stat, Scip::transprob, Scip::tree, and TRUE.
Referenced by addBranchingDecisionConss(), addCliques(), addExtendedAsymmetricFormulation(), addExtendedFlowFormulation(), addExtraCliques(), addFixedVarsConss(), addLocalBranchingConstraint(), addVarbound(), adjustOversizedJobBounds(), applyFixings(), applyRepair(), cliquePresolve(), consdataCollectLinkingCons(), consdataLinearize(), copyCuts(), copyToSubscip(), CREATE_CONSTRAINT(), createAndAddAndCons(), createAndAddDualray(), createAndAddLinearCons(), createCapacityRestriction(), createConflict(), createConsCumulative(), createConstraints(), createCoveringProblem(), createCumulativeCons(), createIndicatorConstraint(), createKKTComplementarityBinary(), createKKTComplementarityBounds(), createKKTComplementarityLinear(), createLinearCons(), createMIP(), createPrecedenceCons(), createQuadraticCons(), createRows(), createSubproblem(), createSubSCIP(), createSubscip(), createVarUbs(), CUTOFF_CONSTRAINT(), deleteRedundantVars(), detectRedundantVars(), disaggregate(), dualPresolve(), dualWeightsTightening(), extendToCover(), extensionOperatorSOS1(), extractGates(), findAggregation(), fixDeleteOrUpgradeCons(), forbidCover(), forbidFixation(), getConstraint(), getFixedVariable(), initPricing(), performImplicationGraphAnalysis(), preprocessConstraintPairs(), presolRoundCardinality(), presolRoundConsSOS1(), presolveCreateBenTalNemirovskiApproxDim3(), presolveCreateGlineurApproxDim3(), presolveDisaggregate(), presolveFindDuplicates(), presolveFindDuplicatesUpgradeCons(), presolveRemoveFixedVariables(), presolveTryAddAND(), presolveTryAddLinearReform(), presolveUpgrade(), processIntegerBoundChg(), processNlRow(), propIndicator(), readBounds(), readCnf(), readConstraints(), readIndicators(), readObjective(), readOPBFile(), readQCMatrix(), readQMatrix(), readRows(), readSemicontinuous(), readSOS(), readSos(), readSOScons(), readVariables(), reformMonomial(), reformNode2Var(), reformulate(), removeConstraintsDueToNegCliques(), removeFixedVariables(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EXPRGRAPHNODEREFORM(), SCIP_DECL_QUADCONSUPGD(), SCIP_DECL_READERREAD(), SCIP_DECL_SOLVECUMULATIVE(), SCIPaddConflict(), SCIPapplyProximity(), SCIPapplyZeroobj(), SCIPcopyConflicts(), SCIPcopyConss(), SCIPcopyOrigConss(), SCIPcreateConsIndicator(), SCIPcreateFiniteSolCopy(), SCIPgetVarCopy(), SCIPprobdataCreate(), SCIPreoptApplyGlbConss(), SCIPtransformMinUC(), setObjective(), setupProblem(), setupSubproblem(), tightenBounds(), tightenWeights(), tryUpgradingLogicor(), tryUpgradingSetppc(), tryUpgradingXor(), upgradeCons(), upgradeConss(), upgradeIndicatorSuperindicator(), and upgradeLinearSuperindicator().
SCIP_RETCODE SCIPdelCons | ( | SCIP * | scip, |
SCIP_CONS * | cons | ||
) |
globally removes constraint from all subproblems; removes constraint from the constraint set change data of the node, where it was added, or from the problem, if it was a problem constraint
scip
is in one of the following stages:
scip | SCIP data structure |
cons | constraint to delete |
Definition at line 12530 of file scip.c.
References SCIP_Cons::addconssetchg, checkStage(), FALSE, Scip::mem, NULL, Scip::origprob, SCIP_Mem::probmem, Scip::reopt, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIPconsDelete(), SCIPconsIsAdded(), SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::stat, Scip::transprob, and TRUE.
Referenced by applyFixings(), checkFixedVariables(), checkForOverlapping(), cliquePresolve(), computeEffectiveHorizon(), consdataLinearize(), correctConshdlrdata(), createSubSCIP(), createVarUbs(), deleteTrivilCons(), detectRedundantConstraints(), disableCons(), disaggregate(), dualPresolve(), dualPresolving(), dualWeightsTightening(), extractGates(), findAggregation(), fixDeleteOrUpgradeCons(), liftCliqueVariables(), mergeMultiples(), prepareCons(), preprocessConstraintPairs(), presolRoundCardinality(), presolRoundConsSOS1(), presolRoundConssSOS1(), presolRoundIndicator(), presolRoundSOS2(), presolveAddKKTKnapsackConss(), presolveAddKKTLinearConss(), presolveAddKKTLogicorConss(), presolveAddKKTSetppcConss(), presolveAddKKTVarboundConss(), presolveDual(), presolveFindDuplicates(), presolveFindDuplicatesUpgradeCons(), presolvePropagateCons(), presolveRemoveFixedVariables(), presolveUpgrade(), propagateCons(), readQCMatrix(), removeConstraintsDueToNegCliques(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantCons(), removeRedundantConss(), removeRedundantNonZeros(), SCIP_DECL_CONSENABLE(), SCIP_DECL_CONSEXITPRE(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_PRESOLEXEC(), SCIPsetLinearConsIndicator(), SCIPtransformMinUC(), shortenConss(), solveAndEvalSubscip(), tightenCoefs(), tightenWeights(), tryUpgrading(), tryUpgradingLogicor(), tryUpgradingSetppc(), tryUpgradingXor(), updateConsanddataUses(), upgradeCons(), upgradeConss(), upgradeIndicatorSuperindicator(), and upgradeLinearSuperindicator().
returns original constraint of given name in the problem, or NULL if not existing
scip
is in one of the following stages:
returns original constraint of given name in the problem, or NULL if not existing
scip
is in one of the following stages:
scip | SCIP data structure |
name | name of constraint to find |
Definition at line 12585 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMING, SCIPABORT, SCIPerrorMessage, SCIPprobFindCons(), Scip::set, SCIP_Set::stage, and TRUE.
returns constraint of given name in the problem, or NULL if not existing
scip
is in one of the following stages:
scip | SCIP data structure |
name | name of constraint to find |
Definition at line 12633 of file scip.c.
References checkStage(), FALSE, NULL, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIPABORT, SCIPerrorMessage, SCIPprobFindCons(), Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by readCols(), readIndicators(), readQCMatrix(), readRanges(), readRhs(), readRows(), SCIP_DECL_CONSPARSE(), and writeOpbObjective().
int SCIPgetNUpgrConss | ( | SCIP * | scip | ) |
gets number of upgraded constraints
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12686 of file scip.c.
References checkStage(), FALSE, SCIP_Stat::npresolupgdconss, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::stat, and TRUE.
int SCIPgetNConss | ( | SCIP * | scip | ) |
gets total number of globally valid constraints currently in the problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12728 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nconss, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by applyCompletesol(), applyOfins(), applyVbounds(), checkConsQuadraticProblem(), copyProb(), copyVars(), createSubSCIP(), doCopy(), fillVariableGraph(), findComponents(), presolve(), readCoefficients(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPROP(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PARAMCHGD(), SCIPapplyRens(), SCIPapplyUndercover(), SCIPcopyConflicts(), SCIPcopyConss(), SCIPcopyOrigConss(), SCIPgetConsCopy(), SCIPgetVarCopy(), SCIPmatrixCreate(), SCIPtransformMinUC(), SCIPtransformProb(), solveIndependentCons(), and variableGraphCreate().
gets array of globally valid constraints currently in the problem
scip
is in one of the following stages:
gets array of globally valid constraints currently in the problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12774 of file scip.c.
References checkStage(), SCIP_Prob::conss, FALSE, NULL, Scip::origprob, SCIP_CALL_ABORT, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIPABORT, SCIPerrorMessage, Scip::set, SCIP_Set::stage, Scip::transprob, and TRUE.
Referenced by fillVariableGraph(), findComponents(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_PARAMCHGD(), and SCIPtransformMinUC().
int SCIPgetNOrigConss | ( | SCIP * | scip | ) |
gets total number of constraints in the original problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12820 of file scip.c.
References checkStage(), FALSE, SCIP_Prob::nconss, Scip::origprob, SCIP_CALL_ABORT, and TRUE.
Referenced by computeAndConstraintInfos(), createSubSCIP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXIT(), SCIPapplyHeurDualval(), and SCIPcopyOrigConss().
gets array of constraints in the original problem
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12847 of file scip.c.
References checkStage(), SCIP_Prob::conss, FALSE, Scip::origprob, SCIP_CALL_ABORT, and TRUE.
Referenced by computeAndConstraintInfos(), createSubSCIP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXIT(), SCIPapplyHeurDualval(), and SCIPcopyOrigConss().
int SCIPgetNCheckConss | ( | SCIP * | scip | ) |
computes the number of check constraint in the current node (loop over all constraint handler and cumulates the number of check constraints)
scip
is in one of the following stages:
scip | SCIP data structure |
Definition at line 12870 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_CALL_ABORT, SCIPconshdlrGetNCheckConss(), SCIPgetConshdlrs(), SCIPgetNConshdlrs(), and TRUE.
Referenced by solveIndependentCons().