cons_linear.c File Reference Detailed DescriptionConstraint handler for linear constraints in their most general form, . Linear constraints are separated with a high priority, because they are easy to separate. Instead of using the global cut pool, the same effect can be implemented by adding linear constraints to the root node, such that they are separated each time, the linear constraints are separated. A constraint handler, which generates linear constraints in this way should have a lower separation priority than the linear constraint handler, and it should have a separation frequency that is a multiple of the frequency of the linear constraint handler. In this way, it can be avoided to separate the same cut twice, because if a separation run of the handler is always preceded by a separation of the linear constraints, the priorily added constraints are always satisfied. Linear constraints are enforced and checked with a very low priority. Checking of (many) linear constraints is much more involved than checking the solution values for integrality. Because we are separating the linear constraints quite often, it is only necessary to enforce them for integral solutions. A constraint handler which generates pool cuts in its enforcing method should have an enforcing priority smaller than that of the linear constraint handler to avoid regenerating constraints which already exist. Definition in file cons_linear.c. #include <assert.h> #include <string.h> #include <limits.h> #include <ctype.h> #include "scip/cons_linear.h" #include "scip/cons_knapsack.h" #include "scip/cons_quadratic.h" #include "scip/cons_nonlinear.h" #include "scip/pub_misc.h" #include "scip/debug.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 61 of file cons_linear.c. Referenced by SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSHDLRCOPY(), SCIPchgLhsLinear(), SCIPchgRhsLinear(), SCIPcopyConsLinear(), SCIPcreateConsLinear(), and SCIPdelCoefLinear().
Definition at line 62 of file cons_linear.c.
priority of the constraint handler for separation Definition at line 63 of file cons_linear.c.
priority of the constraint handler for constraint enforcing Definition at line 64 of file cons_linear.c.
priority of the constraint handler for checking feasibility Definition at line 65 of file cons_linear.c.
frequency for separating cuts; zero means to separate only in the root node Definition at line 66 of file cons_linear.c.
frequency for propagating domains; zero means only preprocessing propagation Definition at line 67 of file cons_linear.c.
frequency for using all instead of only the useful constraints in separation, propagation and enforcement, -1 for no eager evaluations, 0 for first only Definition at line 68 of file cons_linear.c.
maximal number of presolving rounds the constraint handler participates in (-1: no limit) Definition at line 71 of file cons_linear.c.
should separation method be delayed, if other separators found cuts? Definition at line 72 of file cons_linear.c.
should propagation method be delayed, if other propagators found reductions? Definition at line 73 of file cons_linear.c.
should the constraint handler be skipped, if no constraints are available? Definition at line 74 of file cons_linear.c.
presolving timing of the constraint handler (fast, medium, or exhaustive) Definition at line 76 of file cons_linear.c.
Definition at line 77 of file cons_linear.c.
Definition at line 79 of file cons_linear.c. Referenced by SCIP_DECL_CONSGETNVARS(), and SCIP_DECL_NONLINCONSUPGD().
Definition at line 80 of file cons_linear.c. Referenced by SCIP_DECL_NONLINCONSUPGD().
Definition at line 82 of file cons_linear.c.
Definition at line 83 of file cons_linear.c.
Definition at line 84 of file cons_linear.c.
multiplier on propagation frequency, how often the bounds are tightened Definition at line 86 of file cons_linear.c.
maximal number of separation rounds per node (-1: unlimited) Definition at line 87 of file cons_linear.c.
maximal number of separation rounds in the root node (-1: unlimited) Definition at line 88 of file cons_linear.c.
maximal number of cuts separated per separation round Definition at line 89 of file cons_linear.c.
maximal number of cuts separated per separation round in root node Definition at line 90 of file cons_linear.c.
should pairwise constraint comparison be performed in presolving? Definition at line 91 of file cons_linear.c.
should hash table be used for detecting redundant constraints in advance Definition at line 92 of file cons_linear.c.
number for minimal pairwise presolving comparisons Definition at line 93 of file cons_linear.c.
minimal gain per minimal pairwise presolving comparisons to repeat pairwise comparison round Definition at line 94 of file cons_linear.c.
should variables be sorted after presolve w.r.t their coefficient absolute for faster propagation? Definition at line 97 of file cons_linear.c.
should the violation for a constraint with side 0.0 be checked relative to 1.0 (FALSE) or to the maximum absolute value in the activity (TRUE)? Definition at line 100 of file cons_linear.c.
maximal allowed relative gain in maximum norm for constraint aggregation (0.0: disable constraint aggregation) Definition at line 103 of file cons_linear.c.
maximum activity delta to run easy propagation on linear constraint (faster, but numerically less stable) Definition at line 106 of file cons_linear.c.
maximal relative distance from current node's dual bound to primal bound compared to best node's dual bound for separating knapsack cardinality cuts Definition at line 109 of file cons_linear.c.
should all constraints be subject to cardinality cut generation instead of only the ones with non-zero dual value? Definition at line 112 of file cons_linear.c.
should presolving search for redundant variables in equations Definition at line 115 of file cons_linear.c.
should presolving try to simplify inequalities Definition at line 116 of file cons_linear.c.
should dual presolving steps be performed? Definition at line 117 of file cons_linear.c.
should presolving try to detect constraints parallel to the objective function defining an upper bound and prevent these constraints from entering the LP Definition at line 118 of file cons_linear.c.
should presolving try to detect constraints parallel to the objective function defining a lower bound and prevent these constraints from entering the LP Definition at line 123 of file cons_linear.c.
should presolving try to detect subsets of constraints parallel to the objective function Definition at line 128 of file cons_linear.c.
should we perform ranged row propagation Definition at line 131 of file cons_linear.c.
should presolving and propagation extract sub-constraints from ranged rows and equations? Definition at line 132 of file cons_linear.c.
maximum depth to apply ranged row propagation Definition at line 133 of file cons_linear.c.
frequency for applying ranged row propagation Definition at line 134 of file cons_linear.c.
should multi-aggregations only be performed if the constraint can be removed afterwards? Definition at line 136 of file cons_linear.c.
maximal denominator for simple rational fixed values Definition at line 140 of file cons_linear.c. Referenced by SCIP_DECL_PRESOLEXEC().
maximal coefficient value after scaling Definition at line 141 of file cons_linear.c.
maximal coefficient value after scaling if all variables are of integral type Definition at line 142 of file cons_linear.c.
minimal size of hash table in linear constraint tables Definition at line 148 of file cons_linear.c.
priority of the constraint handler for upgrading of quadratic constraints Definition at line 150 of file cons_linear.c.
priority of the constraint handler for upgrading of nonlinear constraints Definition at line 151 of file cons_linear.c.
Definition at line 1373 of file cons_linear.c. Referenced by consdataCheckNonbinvar().
Definition at line 6665 of file cons_linear.c.
Definition at line 7390 of file cons_linear.c.
Definition at line 8472 of file cons_linear.c.
Definition at line 9094 of file cons_linear.c.
Definition at line 10501 of file cons_linear.c.
Definition at line 10502 of file cons_linear.c.
Definition at line 10503 of file cons_linear.c.
Definition at line 12430 of file cons_linear.c.
Definition at line 14765 of file cons_linear.c. Typedef DocumentationDefinition at line 340 of file cons_linear.c.
Definition at line 355 of file cons_linear.c. Enumeration Type Documentation
Definition at line 330 of file cons_linear.c. Function Documentation
converts an integer into an inference information
Definition at line 359 of file cons_linear.c. References inferInfoGetProprule().
converts an inference information into an int
Definition at line 372 of file cons_linear.c. Referenced by getInferInfo().
returns the propagation rule stored in the inference information
Definition at line 381 of file cons_linear.c. Referenced by intToInferInfo().
returns the position stored in the inference information
Definition at line 390 of file cons_linear.c. constructs an inference information out of a propagation rule and a position number
Definition at line 399 of file cons_linear.c. References conshdlrdataEnsureLinconsupgradesSize(), and inferInfoToInt().
constructs an inference information out of a propagation rule and a position number, returns info as int
Definition at line 418 of file cons_linear.c. References NULL, SCIP_CALL, SCIPcalcMemGrowSize(), and SCIPreallocMemoryArray.
ensures, that linconsupgrades array can store at least num entries
Definition at line 433 of file cons_linear.c. Referenced by conshdlrdataHasUpgrade(), and getInferInfo().
ensures, that vars and vals arrays can store at least num entries
Definition at line 458 of file cons_linear.c.
creates a linear constraint upgrade data object
Definition at line 493 of file cons_linear.c. References conshdlrdataCreate(), NULL, and SCIPfreeMemory.
frees a linear constraint upgrade data object
Definition at line 514 of file cons_linear.c. References NULL, SCIP_CALL, and SCIPallocMemory. Referenced by conshdlrdataCreate().
creates constraint handler data for linear constraint handler
Definition at line 528 of file cons_linear.c. References linconsupgradeFree(), NULL, and SCIPfreeMemoryArrayNull. Referenced by linconsupgradeCreate().
frees constraint handler data for linear constraint handler
Definition at line 552 of file cons_linear.c. Referenced by SCIP_DECL_CONSHDLRCOPY().
creates a linear constraint upgrade data object
Definition at line 574 of file cons_linear.c. References conshdlrdataEnsureLinconsupgradesSize(), conshdlrdataIncludeUpgrade(), FALSE, NULL, SCIP_LinConsUpgrade::priority, SCIP_CALL, SCIPwarningMessage(), and TRUE.
adds a linear constraint update method to the constraint handler's data
Definition at line 604 of file cons_linear.c. References lockRounding(), NULL, SCIP_OKAY, SCIP_Real, SCIPconsGetData(), and SCIPisZero(). Referenced by conshdlrdataHasUpgrade().
installs rounding locks for the given variable associated to the given coefficient in the linear constraint
Definition at line 636 of file cons_linear.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPconsGetData(), SCIPisInfinity(), SCIPisZero(), SCIPlockVarCons(), and unlockRounding(). Referenced by conshdlrdataIncludeUpgrade().
removes rounding locks for the given variable associated to the given coefficient in the linear constraint
Definition at line 669 of file cons_linear.c. References consCatchEvent(), NULL, SCIP_CALL, SCIP_OKAY, SCIPconsGetData(), SCIPisInfinity(), and SCIPunlockVarCons(). Referenced by lockRounding().
creates event data for variable at given position, and catches events
Definition at line 702 of file cons_linear.c. Referenced by unlockRounding().
deletes event data for variable at given position, and drops events
Definition at line 738 of file cons_linear.c. Referenced by consDropAllEvents().
catches bound change events for all variables in transformed linear constraint
Definition at line 772 of file cons_linear.c. Referenced by SCIPcreateConsLinear().
drops bound change events for all variables in transformed linear constraint
Definition at line 804 of file cons_linear.c. References consdataCreate(), consDropEvent(), needEvents(), NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_FREETRANS, SCIP_STAGE_TRANSFORMED, SCIPfreeBlockMemoryArray, and SCIPgetStage(). returns whether we are in a stage, where the variable events should be caught
Definition at line 835 of file cons_linear.c. References NULL. Referenced by consDropAllEvents(), and SCIPcreateConsLinear().
creates a linear constraint data
Definition at line 846 of file cons_linear.c. Referenced by consDropAllEvents(), and SCIPcreateConsLinear().
frees a linear constraint data
Definition at line 1001 of file cons_linear.c. References consdataPrint(), NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeBlockMemory, SCIPfreeBlockMemoryArrayNull, SCIPinfoMessage(), SCIPisEQ(), SCIPisInfinity(), SCIPisZero(), and SCIPreleaseVar().
prints linear constraint in CIP format to file stream
Definition at line 1036 of file cons_linear.c. Referenced by consdataFree(), and SCIP_DECL_CONSDELVARS().
invalidates activity bounds, such that they are recalculated in next get
Definition at line 1075 of file cons_linear.c. References SCIP_Real.
compute the pseudo activity of a constraint
Definition at line 1119 of file cons_linear.c. References consdataRecomputeMinactivity(), SCIP_BOUNDTYPE_LOWER, SCIP_INVALID, SCIP_Real, SCIPinfinity(), SCIPisHugeValue(), SCIPisInfinity(), SCIPvarGetBestBoundType(), SCIPvarGetLbLocal(), and SCIPvarGetUbLocal(). Referenced by consdataGetGlbActivityResiduals().
recompute the minactivity of a constraint
Definition at line 1172 of file cons_linear.c. References SCIP_Real, SCIPisHugeValue(), SCIPisInfinity(), SCIPvarGetLbLocal(), and SCIPvarGetUbLocal(). Referenced by consdataComputePseudoActivity(), and getMinActivity().
recompute the maxactivity of a constraint
Definition at line 1199 of file cons_linear.c. References SCIP_Real, SCIPisInfinity(), SCIPvarGetLbGlobal(), and SCIPvarGetUbGlobal(). Referenced by getMaxActivity().
recompute the global minactivity of a constraint
Definition at line 1226 of file cons_linear.c. References SCIP_Real, SCIPisInfinity(), SCIPvarGetLbGlobal(), and SCIPvarGetUbGlobal(). Referenced by getMinActivity().
recompute the global maxactivity of a constraint
Definition at line 1252 of file cons_linear.c. References NULL, SCIP_INVALID, SCIP_Real, and TRUE. Referenced by getMaxActivity().
calculates maximum absolute value of coefficients
Definition at line 1278 of file cons_linear.c.
checks the type of all variables of the constraint and sets hasnonbinvar and hascontvar flags accordingly
Definition at line 1302 of file cons_linear.c. References checkMaxActivityDelta, consdataRecomputeMaxActivityDelta(), REALABS, SCIP_INVALID, SCIP_Real, SCIPinfinity(), SCIPisFeasEQ(), SCIPisInfinity(), SCIPvarGetLbLocal(), SCIPvarGetUbLocal(), and TRUE.
recompute maximal activity contribution for a single variable
Definition at line 1378 of file cons_linear.c. References consdataUpdateActivities(), REALABS, SCIP_Bool, SCIP_Real, SCIPinfinity(), SCIPisInfinity(), SCIPvarGetLbLocal(), and SCIPvarGetUbLocal(). Referenced by consdataCheckNonbinvar().
updates activities for a change in a bound
Definition at line 1440 of file cons_linear.c. Referenced by consdataRecomputeMaxActivityDelta().
updates minimum and maximum activity for a change in lower bound
Definition at line 1798 of file cons_linear.c.
updates minimum and maximum activity for a change in upper bound
Definition at line 1823 of file cons_linear.c.
updates minimum and maximum global activity for a change in the global lower bound
Definition at line 1848 of file cons_linear.c.
updates minimum and maximum global activity for a change in global upper bound
Definition at line 1871 of file cons_linear.c.
updates minimum and maximum activity and maximum absolute value for coefficient addition
Definition at line 1894 of file cons_linear.c.
updates minimum and maximum activity for coefficient deletion, invalidates maximum absolute value if necessary
Definition at line 1934 of file cons_linear.c.
updates minimum and maximum activity for coefficient change, invalidates maximum absolute value if necessary
Definition at line 1977 of file cons_linear.c.
returns the maximum absolute value of all coefficients in the constraint
Definition at line 2052 of file cons_linear.c. References NULL, SCIP_INVALID, and TRUE. Referenced by aggregateConstraints().
calculates minimum and maximum local and global activity for constraint from scratch; additionally recalculates maximum absolute value of coefficients
Definition at line 2070 of file cons_linear.c. Referenced by consdataGetActivityResiduals(), consdataGetGlbActivityBounds(), and consdataGetGlbActivityResiduals().
gets minimal activity for constraint and given values of counters for infinite and huge contributions and (if needed) delta to subtract from stored finite part of activity in case of a residual activity
Definition at line 2130 of file cons_linear.c. References consdataRecomputeGlbMinactivity(), consdataRecomputeMinactivity(), FALSE, getMaxActivity(), NULL, SCIP_Bool, SCIP_Real, SCIPgetHugeValue(), SCIPinfinity(), and TRUE. Referenced by consdataGetActivityResiduals(), consdataGetGlbActivityBounds(), and consdataGetGlbActivityResiduals().
gets maximal activity for constraint and given values of counters for infinite and huge contributions and (if needed) delta to subtract from stored finite part of activity in case of a residual activity
Definition at line 2231 of file cons_linear.c. References consdataGetActivityBounds(), consdataRecomputeGlbMaxactivity(), consdataRecomputeMaxactivity(), FALSE, NULL, SCIP_Bool, SCIP_Real, SCIPgetHugeValue(), SCIPinfinity(), and TRUE. Referenced by consdataGetActivityResiduals(), consdataGetGlbActivityBounds(), consdataGetGlbActivityResiduals(), and getMinActivity().
gets activity bounds for constraint
Definition at line 2330 of file cons_linear.c. Referenced by getMaxActivity().
calculates activity bounds for constraint after setting variable to zero
Definition at line 2376 of file cons_linear.c.
gets activity bounds for constraint after setting variable to zero
Definition at line 2457 of file cons_linear.c. References consdataCalcActivities(), consdataGetGlbActivityBounds(), FALSE, getMaxActivity(), getMinActivity(), NULL, SCIP_Bool, SCIP_INVALID, SCIP_Real, SCIPisHugeValue(), SCIPisInfinity(), SCIPvarGetLbLocal(), and SCIPvarGetUbLocal().
gets global activity bounds for constraint
Definition at line 2608 of file cons_linear.c. References consdataCalcActivities(), consdataGetGlbActivityResiduals(), getMaxActivity(), getMinActivity(), NULL, SCIP_Bool, SCIP_INVALID, SCIP_Real, and TRUE. Referenced by consdataGetActivityResiduals().
gets global activity bounds for constraint after setting variable to zero
Definition at line 2670 of file cons_linear.c. References consdataCalcActivities(), consdataComputePseudoActivity(), consdataGetActivity(), getMaxActivity(), getMinActivity(), NULL, SCIP_INVALID, SCIP_Real, SCIPhasCurrentNodeLP(), SCIPisHugeValue(), SCIPisInfinity(), SCIPvarGetLbGlobal(), SCIPvarGetUbGlobal(), and TRUE. Referenced by consdataGetGlbActivityBounds().
calculates the activity of the linear constraint for given solution
Definition at line 2822 of file cons_linear.c. References consdataGetFeasibility(), FALSE, MAX, MIN, NULL, SCIP_INVALID, SCIP_Real, SCIPdebugMessage, SCIPgetSolVal(), SCIPinfinity(), SCIPisInfinity(), and TRUE. Referenced by consdataGetGlbActivityResiduals(), and SCIP_DECL_CONSCHECK().
calculates the feasibility of the linear constraint for given solution
Definition at line 2891 of file cons_linear.c. Referenced by consdataGetActivity().
returns the signature bitmask for the given variable
Definition at line 2912 of file cons_linear.c. References NULL, SCIP_Longint, SCIP_Real, SCIPvarGetLbGlobal(), and SCIPvarGetUbGlobal().
updates bit signatures after adding a single coefficient
Definition at line 2926 of file cons_linear.c.
calculates the bit signatures of the given constraint data
Definition at line 2951 of file cons_linear.c. References NULL, permSortConsdata(), and SCIPvarCompare().
index comparison method of linear constraints: compares two indices of the variable set in the linear constraint Definition at line 2971 of file cons_linear.c.
permutes the constraint's variables according to a given permutation.
Definition at line 2984 of file cons_linear.c. References consdataSort(), NULL, SCIP_STAGE_INITSOLVE, SCIPgetStage(), and TRUE. Referenced by consdataCalcSignatures().
sorts linear constraint's variables depending on the stage of the solving process:
Definition at line 3057 of file cons_linear.c. Referenced by permSortConsdata().
sets left hand side of linear constraint
Definition at line 3205 of file cons_linear.c. Referenced by SCIPaddCoefLinear(), and tightenSides().
sets right hand side of linear constraint
Definition at line 3320 of file cons_linear.c. Referenced by SCIPaddCoefLinear(), SCIPchgLhsLinear(), and tightenSides().
adds coefficient in linear constraint
Definition at line 3437 of file cons_linear.c. Referenced by SCIPaddCoefLinear().
deletes coefficient at given position from linear constraint data
Definition at line 3585 of file cons_linear.c. Referenced by performVarDeletions(), and SCIPchgCoefLinear().
changes coefficient value at given position of linear constraint data
Definition at line 3701 of file cons_linear.c. Referenced by SCIPchgCoefLinear().
scales a linear constraint with a constant scalar
Definition at line 3763 of file cons_linear.c.
Definition at line 3847 of file cons_linear.c. References delCoefPos(), FALSE, normalizeCons(), SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIP_Real, SCIPconsGetData(), and SCIPvarIsDeleted(). Referenced by SCIP_DECL_CONSLOCK().
normalizes a linear constraint with the following rules:
Definition at line 3906 of file cons_linear.c. Referenced by aggregateConstraints(), and performVarDeletions().
replaces multiple occurrences of a variable by a single coefficient
Definition at line 4229 of file cons_linear.c.
replaces all fixed and aggregated variables by their non-fixed counterparts
Definition at line 4300 of file cons_linear.c.
for each variable in the linear constraint, except the inferred variable, adds one bound to the conflict analysis' candidate store (bound depends on sign of coefficient and whether the left or right hand side was the reason for the inference variable's bound change); the conflict analysis can be initialized with the linear constraint being the conflict detecting constraint by using NULL as inferred variable
Definition at line 4541 of file cons_linear.c.
for each variable in the linear ranged row constraint, except the inferred variable, adds the bounds of all fixed variables to the conflict analysis' candidate store; the conflict analysis can be initialized with the linear constraint being the conflict detecting constraint by using NULL as inferred variable
Definition at line 4720 of file cons_linear.c.
add reasoning variables to conflict candidate queue which led to the conflict
Definition at line 4784 of file cons_linear.c. References NULL, resolvePropagation(), SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPaddConflictLb(), SCIPaddConflictUb(), SCIPisEQ(), SCIPvarGetLbLocal(), SCIPvarGetUbGlobal(), and SCIPvarGetUbLocal().
resolves a propagation on the given variable by supplying the variables needed for applying the corresponding propagation rule (see propagateCons()): (1) activity residuals of all other variables tighten bounds of single variable
Definition at line 4835 of file cons_linear.c. Referenced by addConflictReasonVars().
analyzes conflicting bounds on given constraint, and adds conflict constraint to problem
Definition at line 4928 of file cons_linear.c. check if there is any hope of tightening some bounds
Definition at line 4952 of file cons_linear.c.
tighten upper bound
Definition at line 4981 of file cons_linear.c.
tighten lower bound
Definition at line 5050 of file cons_linear.c.
tightens bounds of a single variable due to activity bounds (easy case)
Definition at line 5119 of file cons_linear.c.
analyzes conflicting bounds on given ranged row constraint, and adds conflict constraint to problem
Definition at line 5379 of file cons_linear.c.
propagate ranged rows Check ranged rows for possible solutions, possibly detect infeasibility, fix variables due to having only one possible solution, tighten bounds if having only two possible solutions or add constraints which propagate a subset of variables better. Example: c1: 12 x1 + 9 x2 - x3 = 0 with x1, x2 free and 1 <= x3 <= 2 x3 needs to be a multiple of 3, so the instance is infeasibile. Example: c1: 12 x1 + 9 x2 - x3 = 1 with x1, x2 free and 1 <= x3 <= 2 The only posible value for x3 is 2, so the variable will be fixed.
Definition at line 5437 of file cons_linear.c.
tightens bounds of a single variable due to activity bounds
Definition at line 6397 of file cons_linear.c.
tightens bounds of variables in constraint due to activity bounds
Definition at line 6669 of file cons_linear.c.
checks linear constraint for feasibility of given solution or current solution
Definition at line 6810 of file cons_linear.c. Referenced by SCIP_DECL_CONSCHECK(), and SCIP_DECL_CONSENFOLP().
creates an LP row in a linear constraint data
Definition at line 7027 of file cons_linear.c. Referenced by addRelaxation().
adds linear constraint as cut to the LP
Definition at line 7051 of file cons_linear.c. References createRow(), FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPaddCut(), SCIPconsGetName(), SCIPdebug, SCIPdebugMessage, SCIPgetIntParam(), SCIPisInfinity(), SCIPprintRow(), SCIProwIsInLP(), and separateCons(). Referenced by SCIP_DECL_CONSENFOLP().
separates linear constraint: adds linear constraint as cut, if violated by given solution
Definition at line 7100 of file cons_linear.c. Referenced by addRelaxation().
propagation method for linear constraints
Definition at line 7190 of file cons_linear.c.
converts all variables with fixed domain into FIXED variables
Definition at line 7322 of file cons_linear.c.
extracts cliques of the constraint and adds them to SCIP The following clique extraction mechanism are implemeneted
Definition at line 7457 of file cons_linear.c.
tightens left and right hand side of constraint due to integrality
Definition at line 8423 of file cons_linear.c. References chgLhs(), chgRhs(), SCIP_CALL, SCIP_OKAY, SCIP_VARTYPE_CONTINUOUS, SCIPconsGetName(), SCIPdebugMessage, SCIPfeasCeil(), SCIPfeasFloor(), SCIPisInfinity(), SCIPisIntegral(), SCIPvarGetType(), and TRUE.
tightens coefficients of binary, integer, and implicit integer variables due to activity bounds in presolving: given an inequality lhs <= a*x + ai*xi <= rhs, with a non-continuous variable li <= xi <= ui let minact := min{a*x + ai*xi}, maxact := max{a*x + ai*xi} (i) ai >= 0: if minact + ai >= lhs and maxact - ai <= rhs: (**)
We further try to remove redundant variable from the constraint; Variables which fulfill conditions (**) or (***) are called surely non-redundant variables. A deviation of only one from their bound makes the lhs/rhs feasible (i.e., redundant), even if all other variables are set to their "worst" bound. If all variables which are not surely non-redundant cannot make the lhs/rhs redundant, even if they are set to their "best" bound, they can be removed from the constraint. E.g., for binary variables and an inequality x_1 +x_2 +10y_1 +10y_2 >= 5, setting either of the y_i to one suffices to fulfill the inequality, whereas the x_i do not contribute to feasibility and can be removed.
Definition at line 8508 of file cons_linear.c.
Definition at line 8934 of file cons_linear.c.
Definition at line 8990 of file cons_linear.c.
calculates the new lhs and rhs of the constraint after the given variable is aggregated out
Definition at line 9048 of file cons_linear.c.
Definition at line 9104 of file cons_linear.c.
checks if the given variables and their coefficient are equal (w.r.t. scaling factor) to the objective function
Definition at line 9643 of file cons_linear.c.
check if the linear equality constraint is equal to a subset of the objective function; if so we can remove the objective coefficients and add an objective offset
Definition at line 9720 of file cons_linear.c.
updates the cutoff if the given primal bound (which is implied by the given constraint) is better
Definition at line 9787 of file cons_linear.c.
check if the linear constraint is parallel to objective function; if so update the cutoff bound and avoid that the constraint enters the LP by setting the initial and separated flag to FALSE
Definition at line 9833 of file cons_linear.c.
converts special equalities
Definition at line 9958 of file cons_linear.c.
returns whether the linear sum of all variables/coefficients except the given one divided by the given value is always integral
Definition at line 10013 of file cons_linear.c. References NULL.
Definition at line 10039 of file cons_linear.c. References dualPresolve(), SCIP_Bool, and SCIPisInfinity().
Definition at line 10084 of file cons_linear.c. Referenced by calculateMinvalAndMaxval().
gets weight for variable in a "weighted number of variables" sum
Definition at line 10507 of file cons_linear.c. References NULL, SCIP_Bool, and SCIPconsGetData(). Referenced by aggregateConstraints().
tries to aggregate variables in equations a^Tx = lhs in case there are at most two binary variables with an odd coefficient and all other variables are not continuous and have an even coefficient then:
Definition at line 10540 of file cons_linear.c. Referenced by checkCons(), and SCIP_DECL_CONSPRESOL().
sorting method for constraint data, compares two variables on given indices, continuous variables will be sorted to the end and for all other variables the sortation will be in non-increasing order of their absolute value of the coefficients Definition at line 10706 of file cons_linear.c.
tries to simplify coefficients and delete variables in ranged row of the form lhs <= a^Tx <= rhs, e.g. using the greatest common divisor
Definition at line 10746 of file cons_linear.c.
tries to simplify coefficients and delete variables in constraints of the form lhs <= a^Tx <= rhs for equations
there are several different coefficient reduction steps which will be applied
Definition at line 10858 of file cons_linear.c.
Definition at line 12055 of file cons_linear.c. References consdataGetMaxAbsval(), FALSE, getVarWeight(), normalizeCons(), NULL, REALABS, SCIP_Bool, SCIP_CALL, SCIP_DECL_HASHGETKEY(), SCIP_DECL_HASHKEYEQ(), SCIP_OKAY, SCIP_Real, SCIPaddCons(), SCIPallocBufferArray, SCIPconsGetData(), SCIPconsGetName(), SCIPconsGetNUpgradeLocks(), SCIPconsIsActive(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateConsLinear(), SCIPdebugMessage, SCIPdebugPrintCons, SCIPdelCons(), SCIPfreeBufferArray, SCIPinfinity(), SCIPisEQ(), SCIPisInfinity(), SCIPisIntegral(), SCIPisLE(), SCIPisPositive(), SCIPisZero(), SCIPreleaseCons(), and TRUE.
gets the key of the given element Definition at line 12368 of file cons_linear.c. Referenced by aggregateConstraints().
returns TRUE iff both keys are equal; two constraints are equal if they have the same variables and the coefficients are either equal or negated Definition at line 12378 of file cons_linear.c. Referenced by aggregateConstraints().
returns the hash value of the key Definition at line 12433 of file cons_linear.c.
compares each constraint with all other constraints for possible redundancy and removes or changes constraint accordingly; in contrast to preprocessConstraintPairs(), it uses a hash table
Definition at line 12484 of file cons_linear.c.
compares constraint with all prior constraints for possible redundancy or aggregation, and removes or changes constraint accordingly
Definition at line 12665 of file cons_linear.c.
applies full dual presolving on variables that only appear in linear constraints
Definition at line 13263 of file cons_linear.c.
copy method for constraint handler plugins (called when SCIP copies plugins) Definition at line 13732 of file cons_linear.c. References CONSHDLR_NAME, conshdlrdataFree(), NULL, SCIPconshdlrGetData(), SCIPconshdlrGetName(), and SCIPconshdlrSetData().
destructor of constraint handler to free constraint handler data (called when SCIP is exiting) Definition at line 13748 of file cons_linear.c. References NULL, and SCIPconshdlrGetData().
initialization method of constraint handler (called after problem was transformed) Definition at line 13770 of file cons_linear.c.
deinitialization method of constraint handler (called before transformed problem is freed) Definition at line 13796 of file cons_linear.c.
presolving deinitialization method of constraint handler (called after presolving has been finished) Definition at line 14174 of file cons_linear.c.
solving process deinitialization method of constraint handler (called before branch and bound process data is freed) Definition at line 14252 of file cons_linear.c.
frees specific constraint data Definition at line 14299 of file cons_linear.c.
transforms constraint data into data belonging to the transformed problem Definition at line 14329 of file cons_linear.c.
LP initialization method of constraint handler (called before the initial LP relaxation at a node is solved) Definition at line 14376 of file cons_linear.c.
separation method of constraint handler for LP solutions Definition at line 14397 of file cons_linear.c.
separation method of constraint handler for arbitrary primal solutions Definition at line 14468 of file cons_linear.c.
constraint enforcing method of constraint handler for LP solutions Definition at line 14526 of file cons_linear.c. References addRelaxation(), checkCons(), CONSHDLR_NAME, FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_CUTOFF, SCIP_DECL_CONSENFOPS(), SCIP_FEASIBLE, SCIP_OKAY, SCIP_SEPARATED, SCIPconshdlrGetData(), and SCIPconshdlrGetName().
constraint enforcing method of constraint handler for pseudo solutions Definition at line 14589 of file cons_linear.c. Referenced by SCIP_DECL_CONSENFOLP().
feasibility check method of constraint handler for integral solutions Definition at line 14637 of file cons_linear.c. References checkCons(), consdataGetActivity(), CONSHDLR_NAME, FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_DECL_CONSPROP(), SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALID, SCIP_OKAY, SCIP_Real, SCIPconsGetData(), SCIPconshdlrGetData(), SCIPconshdlrGetName(), SCIPinfoMessage(), SCIPisFeasGT(), SCIPisFeasLT(), and SCIPprintCons().
domain propagation method of constraint handler Definition at line 14697 of file cons_linear.c. Referenced by SCIP_DECL_CONSCHECK().
presolving method of constraint handler Definition at line 14768 of file cons_linear.c.
propagation conflict resolving method of constraint handler Definition at line 15212 of file cons_linear.c. References NULL, SCIP_Bool, SCIPconsGetData(), and SCIPisInfinity().
variable rounding lock method of constraint handler Definition at line 15227 of file cons_linear.c. References NULL, performVarDeletions(), SCIP_CALL, SCIP_DECL_CONSDELVARS(), SCIP_OKAY, SCIPaddVarLocks(), and SCIPisPositive().
variable deletion method of constraint handler Definition at line 15275 of file cons_linear.c. References consdataPrint(), NULL, SCIP_CALL, SCIP_DECL_CONSCOPY(), SCIP_OKAY, and SCIPconsGetData(). Referenced by SCIP_DECL_CONSLOCK().
constraint display method of constraint handler Definition at line 15291 of file cons_linear.c.
constraint copying method of constraint handler Definition at line 15304 of file cons_linear.c. Referenced by SCIP_DECL_CONSDELVARS().
constraint parsing method of constraint handler Definition at line 15335 of file cons_linear.c.
constraint method of constraint handler which returns the variables (if possible) Definition at line 15493 of file cons_linear.c. References NULL, SCIP_OKAY, SCIPconsGetData(), and TRUE.
constraint method of constraint handler which returns the number of variables (if possible) Definition at line 15515 of file cons_linear.c. References EVENTHDLR_NAME, NULL, SCIPconsGetData(), and SCIPeventhdlrGetName().
Definition at line 15533 of file cons_linear.c.
Definition at line 15701 of file cons_linear.c.
upgrades quadratic constraints with only and at least one linear variables into a linear constraint Definition at line 15790 of file cons_linear.c. References NULL, SCIP_CALL, SCIP_DECL_NONLINCONSUPGD(), SCIP_OKAY, SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateConsLinear(), SCIPdebugMessage, SCIPdebugPrintCons, SCIPgetCoefsLinearVarsQuadratic(), SCIPgetExprgraphNodeNonlinear(), SCIPgetLhsQuadratic(), SCIPgetLinearVarsQuadratic(), SCIPgetNLinearVarsNonlinear(), SCIPgetNLinearVarsQuadratic(), and SCIPgetRhsQuadratic().
tries to upgrade a nonlinear constraint into a linear constraint Definition at line 15832 of file cons_linear.c. References EVENTHDLR_DESC, EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateConsLinear(), SCIPgetLhsNonlinear(), SCIPgetLinearCoefsNonlinear(), SCIPgetLinearVarsNonlinear(), SCIPgetNLinearVarsNonlinear(), SCIPgetRhsNonlinear(), SCIPincludeConshdlrLinear(), and SCIPincludeEventhdlrBasic(). Referenced by SCIP_DECL_QUADCONSUPGD().
creates the handler for linear constraints and includes it in SCIP
Definition at line 15871 of file cons_linear.c. Referenced by SCIP_DECL_NONLINCONSUPGD(), and SCIPincludeDefaultPlugins().
includes a linear constraint update method into the linear constraint handler
Definition at line 16047 of file cons_linear.c. Referenced by SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
creates and captures a linear constraint
Definition at line 16099 of file cons_linear.c. References consCatchAllEvents(), consdataCreate(), CONSHDLR_NAME, FALSE, needEvents(), NULL, REALABS, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_Real, SCIP_STAGE_EXITPRESOLVE, SCIPABORT, SCIPconshdlrGetData(), SCIPcreateCons(), SCIPcreateConsBasicLinear(), SCIPcreateConsLinear(), SCIPduplicateBufferArray, SCIPerrorMessage, SCIPfindConshdlr(), SCIPfreeBufferArray, SCIPgetProbvarLinearSum(), SCIPgetStage(), SCIPinfinity(), SCIPisInfinity(), SCIPisTransformed(), SCIPreallocBufferArray, and TRUE. Referenced by addBranchingComplementaritiesSOS1(), addExtendedAsymmetricFormulation(), addExtendedFlowFormulation(), addLocalBranchingConstraint(), aggregateConstraints(), applyFixings(), consdataLinearize(), copyCuts(), CREATE_CONSTRAINT(), createAndAddLinearCons(), createConstraints(), createCoveringProblem(), createLinearCons(), createNAryBranch(), createRows(), createSubproblem(), createSubSCIP(), createSubscip(), dualPresolve(), fixDeleteOrUpgradeCons(), fixVariableZeroNode(), forbidCover(), getFixedVariable(), preprocessConstraintPairs(), presolveCreateBenTalNemirovskiApproxDim3(), presolveCreateGlineurApproxDim3(), presolveFindDuplicates(), presolveFindDuplicatesUpgradeCons(), presolveRemoveFixedVariables(), presolveTryAddLinearReform(), propIndicator(), readCnf(), readConstraints(), readOPBFile(), readRows(), replaceByLinearConstraints(), replaceViolatedByLinearConstraints(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_NONLINCONSUPGD(), SCIP_DECL_QUADCONSUPGD(), SCIPapplyZeroobj(), SCIPcopyConsLinear(), SCIPcreateConsIndicator(), SCIPcreateConsLinear(), SCIPgetVarCopy(), selectVarMultAggrBranching(), tightenBounds(), tryUpgradingLogicor(), tryUpgradingSetppc(), and upgradeLinearSuperindicator().
creates and captures a linear constraint in its most basic version, i. e., all constraint flags are set to their basic value as explained for the method SCIPcreateConsLinear(); all flags can be set via SCIPsetConsFLAGNAME-methods in scip.h
Definition at line 16291 of file cons_linear.c. Referenced by createMIP(), SCIPapplyProximity(), SCIPcreateConsLinear(), and SCIPcreateFiniteSolCopy().
creates by copying and captures a linear constraint
Definition at line 16311 of file cons_linear.c. References CONSHDLR_NAME, FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIPaddCoefLinear(), SCIPallocBufferArray, SCIPconsGetHdlr(), SCIPconshdlrGetName(), SCIPcreateConsLinear(), SCIPduplicateBufferArray, SCIPerrorMessage, SCIPfreeBufferArray, SCIPgetProbvarLinearSum(), SCIPgetVarCopy(), SCIPisGT(), SCIPisInfinity(), SCIPreallocBufferArray, SCIPvarGetOrigvarSum(), SCIPvarIsOriginal(), and TRUE. Referenced by SCIP_DECL_CONSCOPY().
adds coefficient to linear constraint (if it is not zero)
Definition at line 16436 of file cons_linear.c. References addCoef(), chgLhs(), chgRhs(), NULL, REALABS, SCIP_Bool, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIPABORT, SCIPallocBufferArray, SCIPchgCoefLinear(), SCIPconsGetData(), SCIPconsGetName(), SCIPerrorMessage, SCIPfreeBufferArray, SCIPgetProbvarLinearSum(), SCIPinfinity(), SCIPisInfinity(), SCIPreallocBufferArray, SCIPvarGetName(), and TRUE. Referenced by addCoefTerm(), applyFixings(), consdataLinearize(), createAndAddLinearCons(), createMIP(), createSubSCIP(), getBoundConsFromVertices(), readCols(), readIndicators(), readLinearCoefs(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_NONLINCONSUPGD(), SCIP_DECL_QUADCONSUPGD(), SCIPaddCoefPseudoboolean(), SCIPaddVarIndicator(), SCIPapplyProximity(), SCIPapplyZeroobj(), SCIPchgCoefLinear(), SCIPcopyConsLinear(), SCIPcreateConsIndicator(), SCIPcreateFiniteSolCopy(), SCIPgetVarCopy(), tryUpgradingLogicor(), and tryUpgradingSetppc().
changes coefficient of variable in linear constraint; deletes the variable if coefficient is zero; adds variable if not yet contained in the constraint
Definition at line 16597 of file cons_linear.c. References chgCoefPos(), delCoefPos(), FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_STAGE_PROBLEM, SCIPaddCoefLinear(), SCIPchgCoefLinear(), SCIPconsGetData(), SCIPconsIsOriginal(), SCIPdelCoefLinear(), SCIPerrorMessage, SCIPgetStage(), SCIPisZero(), SCIPvarIsOriginal(), and TRUE. Referenced by SCIPaddCoefLinear(), and SCIPchgCoefLinear().
deletes variable from linear constraint
Definition at line 16665 of file cons_linear.c. References CONSHDLR_NAME, NULL, SCIP_INVALID, SCIPABORT, SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by SCIPchgCoefLinear(). gets left hand side of linear constraint
Definition at line 16681 of file cons_linear.c. Referenced by addAltLPConstraint(), addLinearConstraints(), checkConsnames(), checkLinearConssVarboundSOS1(), getLinearConsSides(), printRangeSection(), readIndicators(), readNonlinearExprs(), readQCMatrix(), readQuadraticCoefs(), readRanges(), readRhs(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPARSE(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_READERWRITE(), SCIPmakeIndicatorFeasible(), SCIPmatrixCreate(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePip(), tightenVarsBoundsSOS1(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), writeFzn(), and writeOpbConstraints(). gets right hand side of linear constraint
Definition at line 16705 of file cons_linear.c. Referenced by addAltLPConstraint(), addLinearConstraints(), checkLinearConssVarboundSOS1(), getLinearConsSides(), printRangeSection(), propIndicator(), readIndicators(), readNonlinearExprs(), readQCMatrix(), readQuadraticCoefs(), readRanges(), readRhs(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPARSE(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_READERWRITE(), SCIPapplyProximity(), SCIPmakeIndicatorFeasible(), SCIPmatrixCreate(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePip(), tightenVarsBoundsSOS1(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), writeFzn(), writeOpbConstraints(), and writeOpbObjective().
changes left hand side of linear constraint
Definition at line 16729 of file cons_linear.c. References chgRhs(), CONSHDLR_NAME, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by applyFixings(), chgLhsLinearCons(), fixDiscreteVars(), readIndicators(), readRanges(), readRhs(), SCIP_DECL_PRESOLEXEC(), and tryUpgradingLogicor().
changes right hand side of linear constraint
Definition at line 16750 of file cons_linear.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by applyFixings(), chgRhsLinearCons(), fixDiscreteVars(), readRanges(), readRhs(), SCIP_DECL_PRESOLEXEC(), SCIPapplyHeurDualval(), SCIPapplyProximity(), and tryUpgradingSetppc(). gets the number of variables in the linear constraint
Definition at line 16768 of file cons_linear.c. Referenced by addAltLPConstraint(), addLinearConstraints(), checkLinearConssVarboundSOS1(), extractLinearValues(), getLinearConsNVars(), getLinearConsVarsData(), propIndicator(), readIndicators(), readNonlinearExprs(), readQCMatrix(), readQuadraticCoefs(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_READERWRITE(), SCIPcreateConsIndicatorLinCons(), SCIPmakeIndicatorFeasible(), SCIPmatrixCreate(), SCIPsetLinearConsIndicator(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), tightenVarsBoundsSOS1(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), writeFzn(), writeOpbConstraints(), and writeOpbObjective(). gets the array of variables in the linear constraint; the user must not modify this array!
Definition at line 16792 of file cons_linear.c. Referenced by addAltLPConstraint(), addLinearConstraints(), checkLinearConssVarboundSOS1(), extractLinearValues(), getLinearConsVarsData(), propIndicator(), readIndicators(), readNonlinearExprs(), readQCMatrix(), readQuadraticCoefs(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_READERWRITE(), SCIPcreateConsIndicatorLinCons(), SCIPmakeIndicatorFeasible(), SCIPmatrixCreate(), SCIPsetLinearConsIndicator(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), tightenVarsBoundsSOS1(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), writeFzn(), writeOpbConstraints(), and writeOpbObjective(). gets the array of coefficient values in the linear constraint; the user must not modify this array!
Definition at line 16816 of file cons_linear.c. Referenced by addAltLPConstraint(), addLinearConstraints(), checkLinearConssVarboundSOS1(), extractLinearValues(), getLinearConsVarsData(), propIndicator(), readIndicators(), readNonlinearExprs(), readQCMatrix(), readQuadraticCoefs(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_READERWRITE(), SCIPmakeIndicatorFeasible(), SCIPmatrixCreate(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), tightenVarsBoundsSOS1(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), writeFzn(), and writeOpbConstraints(). gets the activity of the linear constraint in the given solution
Definition at line 16844 of file cons_linear.c. gets the feasibility of the linear constraint in the given solution
Definition at line 16872 of file cons_linear.c. gets the dual solution of the linear constraint in the current LP
Definition at line 16900 of file cons_linear.c. Referenced by printDualSol(), and SCIP_DECL_EVENTEXEC(). gets the dual Farkas value of the linear constraint in the current infeasible LP
Definition at line 16927 of file cons_linear.c. returns the linear relaxation of the given linear constraint; may return NULL if no LP row was yet created; the user must not modify the row!
Definition at line 16956 of file cons_linear.c.
tries to automatically convert a linear constraint into a more specific and more specialized constraint
Definition at line 16980 of file cons_linear.c. |