methods for LP rows
SCIP_DECL_SORTPTRCOMP | ( | SCIProwComp | ) |
comparison method for sorting rows by non-decreasing index
Definition at line 907 of file lp.c.
References SCIProwGetIndex().
void SCIProwLock | ( | SCIP_ROW * | row | ) |
locks an unmodifiable row, which forbids further changes; has no effect on modifiable rows
row | LP row |
Definition at line 5253 of file lp.c.
References SCIP_Row::modifiable, SCIP_Row::name, SCIP_Row::nlocks, SCIP_Row::nuses, and SCIPdebugMessage.
Referenced by SCIPcutpoolAddNewRow(), and SCIPlpAddRow().
void SCIProwUnlock | ( | SCIP_ROW * | row | ) |
unlocks a lock of an unmodifiable row; a row with no sealed lock may be modified; has no effect on modifiable rows
row | LP row |
Definition at line 5268 of file lp.c.
References SCIP_Row::modifiable, SCIP_Row::name, SCIP_Row::nlocks, SCIP_Row::nuses, and SCIPdebugMessage.
Referenced by cutpoolDelCut(), lpDelRowset(), SCIPcutpoolClear(), and SCIPlpShrinkRows().
returns the scalar product of the coefficient vectors of the two given rows
returns the scalar product of the coefficient vectors of the two given rows
row1 | first LP row |
row2 | second LP row |
Definition at line 6814 of file lp.c.
References SCIP_Row::cols, SCIP_Row::cols_index, FALSE, SCIP_Col::index, SCIP_Row::len, SCIP_Row::lpcolssorted, SCIP_Col::lppos, MAX, SCIP_Row::nlpcols, SCIP_Row::nonlpcolssorted, SCIP_Row::nunlinked, SCIP_Bool, SCIP_Real, SCIProwSort(), SCIPswapPointers(), TRUE, and SCIP_Row::vals.
Referenced by SCIProwGetParallelism().
returns the degree of parallelism between the hyperplanes defined by the two row vectors v, w: p = |v*w|/(|v|*|w|); the hyperplanes are parallel, iff p = 1, they are orthogonal, iff p = 0
row1 | first LP row |
row2 | second LP row |
orthofunc | function used for calc. scalar prod. ('e'uclidean, 'd'iscrete) |
Definition at line 7530 of file lp.c.
References SCIP_Row::cols, SCIP_Row::len, SCIP_Col::lppos, REALABS, SCIP_Real, SCIPABORT, SCIPerrorMessage, SCIProwGetDiscreteScalarProduct(), SCIProwGetNNonz(), SCIProwGetNorm(), SCIProwGetScalarProduct(), SCIP_Row::sqrnorm, sqrt(), and SCIP_Row::vals.
Referenced by aggregation(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), and SCIProwGetOrthogonality().
returns the degree of orthogonality between the hyperplanes defined by the two row vectors v, w: o = 1 - |v*w|/(|v|*|w|); the hyperplanes are orthogonal, iff p = 1, they are parallel, iff p = 0
row1 | first LP row |
row2 | second LP row |
orthofunc | function used for calc. scalar prod. ('e'uclidean, 'd'iscrete) |
Definition at line 7594 of file lp.c.
References SCIProwGetParallelism().
Referenced by SCIP_DECL_SEPAEXECLP(), and sepastoreUpdateOrthogonalities().
void SCIProwSort | ( | SCIP_ROW * | row | ) |
sorts row entries such that LP columns precede non-LP columns and inside both parts lower column indices precede higher ones
row | row to be sorted |
Definition at line 5891 of file lp.c.
References SCIP_Row::cols, SCIP_Row::delaysort, SCIP_Col::index, SCIP_Row::nlpcols, rowSortLP(), and rowSortNonLP().
Referenced by rowMerge(), SCIP_DECL_HASHKEYEQ(), SCIProwGetDiscreteScalarProduct(), and SCIProwGetScalarProduct().
int SCIProwGetNNonz | ( | SCIP_ROW * | row | ) |
get number of nonzero entries in row vector
row | LP row |
Definition at line 16405 of file lp.c.
References SCIP_Row::len.
Referenced by addAltLPRow(), addCut(), applyRepair(), buildMod2Matrix(), computeScore(), copyCuts(), createRows(), evaluateCutNumerics(), generateAverageNBRay(), generateCut(), generateCutUnboundedLP(), generateDisjCutSOS1(), isConvexLocal(), mod2MatrixAddOrigRow(), mod2MatrixTransformContRows(), rowCalculateGauss(), rowFindSlackVar(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddNlpiProbRows(), SCIPaddRow(), SCIPaddVarsToRow(), SCIPaddVarsToRowSameCoef(), SCIPapplyLockFixings(), SCIPcutpoolSeparate(), SCIPnlrowCreateFromRow(), SCIProwGetParallelism(), SCIPsepastoreAddCut(), SCIPsepastoreApplyCuts(), SCIPsepastoreIsCutApplicable(), sepastoreApplyBdchg(), sepastoreIsBdchgApplicable(), and sepastoreUpdateOrthogonalities().
int SCIProwGetNLPNonz | ( | SCIP_ROW * | row | ) |
get number of nonzero entries in row vector, that correspond to columns currently in the SCIP_LP;
row | LP row |
Definition at line 16419 of file lp.c.
References SCIP_Row::nlpcols, and SCIP_Row::nunlinked.
Referenced by addFlowrowToCommodity(), cleanupNetwork(), collectIncidentFlowCols(), computeCut(), createSubscip(), deleteCommodity(), extractCapacities(), extractCapacityRows(), extractFlowRows(), extractNodes(), findUncapacitatedArcs(), generateClusterCuts(), getFlowrowFit(), getGMIFromRow(), getNodeSimilarityScore(), identifySourcesTargets(), initMatrix(), mcfnetworkExtract(), mcfnetworkFill(), mod2MatrixTransformContRows(), nodepairqueueCreate(), nodepartitionIsConnected(), selectRounding(), selectShifting(), separateCuts(), and storeCuts().
gets array with columns of nonzero entries
row | LP row |
Definition at line 16430 of file lp.c.
References SCIP_Row::cols.
Referenced by addAltLPRow(), addFlowrowToCommodity(), applyRepair(), cleanupNetwork(), collectIncidentFlowCols(), computeCut(), copyCuts(), createRows(), deleteCommodity(), extractCapacities(), extractCapacityRows(), extractFlowRows(), extractNodes(), findUncapacitatedArcs(), generateAverageNBRay(), generateClusterCuts(), generateCut(), generateCutUnboundedLP(), generateDisjCutSOS1(), getFlowrowFit(), getGMIFromRow(), getNodeSimilarityScore(), identifySourcesTargets(), initMatrix(), isConvexLocal(), mcfnetworkExtract(), mcfnetworkFill(), mod2MatrixAddOrigRow(), mod2MatrixTransformContRows(), nodepairqueueCreate(), nodepartitionIsConnected(), rowCalculateGauss(), rowFindSlackVar(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddNlpiProbRows(), SCIPapplyLockFixings(), SCIPnlrowCreateFromRow(), selectRounding(), selectShifting(), sepastoreApplyBdchg(), sepastoreIsBdchgApplicable(), and storeCuts().
gets array with coefficients of nonzero entries
row | LP row |
Definition at line 16440 of file lp.c.
References SCIP_Row::vals.
Referenced by addAltLPRow(), addFlowrowToCommodity(), applyRepair(), computeCut(), copyCuts(), createRows(), extractCapacityRows(), extractFlowRows(), extractNodes(), generateAverageNBRay(), generateClusterCuts(), generateCut(), generateCutUnboundedLP(), generateDisjCutSOS1(), getFlowrowFit(), getGMIFromRow(), getNodeSimilarityScore(), initMatrix(), isConvexLocal(), mcfnetworkFill(), mod2MatrixAddOrigRow(), mod2MatrixTransformContRows(), rowCalculateGauss(), rowFindSlackVar(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddNlpiProbRows(), SCIPapplyLockFixings(), SCIPnlrowCreateFromRow(), selectRounding(), selectShifting(), sepastoreApplyBdchg(), sepastoreIsBdchgApplicable(), and storeCuts().
gets constant shift of row
row | LP row |
Definition at line 16450 of file lp.c.
References SCIP_Row::constant.
Referenced by addAltLPRow(), addFlowrowToCommodity(), addSideRemoval(), applyRepair(), buildMod2Matrix(), computeCut(), copyCuts(), createRows(), createSubscip(), extractCapacityRows(), extractFlowRows(), generateClusterCuts(), generateDisjCutSOS1(), getGMIFromRow(), initMatrix(), mod2MatrixTransformContRows(), nodepairqueueCreate(), rowCalculateGauss(), SCIP_DECL_HEUREXEC(), SCIPaddNlpiProbRows(), SCIPnlrowCreateFromRow(), sepastoreApplyBdchg(), sepastoreIsBdchgApplicable(), and storeCuts().
gets Euclidean norm of row vector
row | LP row |
Definition at line 16460 of file lp.c.
References checkRowSqrnorm, SCIP_Row::sqrnorm, and sqrt().
Referenced by createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), getNActiveConsScore(), SCIP_DECL_SEPAEXECLP(), SCIProwGetLPEfficacy(), SCIProwGetNLPEfficacy(), SCIProwGetParallelism(), SCIProwGetRelaxEfficacy(), SCIProwGetSolEfficacy(), and separateCuts().
gets sum norm of row vector (sum of absolute values of coefficients)
row | LP row |
Definition at line 16472 of file lp.c.
References checkRowSumnorm, and SCIP_Row::sumnorm.
Referenced by SCIProwGetLPEfficacy(), SCIProwGetNLPEfficacy(), SCIProwGetRelaxEfficacy(), and SCIProwGetSolEfficacy().
returns the left hand side of the row
row | LP row |
Definition at line 16484 of file lp.c.
References SCIP_Row::lhs.
Referenced by addAltLPRow(), addFlowrowToCommodity(), addOneRow(), addSideRemoval(), aggregateNextRow(), aggregation(), applyRepair(), buildMod2Matrix(), calcShiftVal(), computeCut(), copyCuts(), createRows(), createSubscip(), determineBound(), extractCapacityRows(), extractFlowRows(), generateClusterCuts(), generateCut(), generateDisjCutSOS1(), getGMIFromRow(), getNActiveConsScore(), getSimplexCoefficients(), handleNewVariableSOS2(), initMatrix(), initsepaBoundInequalityFromCardinality(), invertCommodity(), isConvexLocal(), mod2MatrixTransformContRows(), nodepairqueueCreate(), runBoundHeuristic(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSINITLP(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddNlpiProbRows(), SCIPapplyLockFixings(), SCIPlpRemoveRedundantRows(), SCIPnlrowCreateFromRow(), SCIProwCalcProbability(), SCIPsepastoreAddCut(), SCIPsolAdjustImplicitSolVals(), selectShifting(), separateCuts(), separatePoint(), sepastoreApplyBdchg(), sepastoreIsBdchgApplicable(), sepastoreIsCutRedundant(), sepastoreIsCutRedundantOrInfeasible(), setupAggregationData(), shiftValues(), storeCuts(), updateSlacks(), and updateViolations().
returns the right hand side of the row
row | LP row |
Definition at line 16494 of file lp.c.
References SCIP_Row::rhs.
Referenced by addAltLPRow(), addCut(), addFlowrowToCommodity(), addOneRow(), addSideRemoval(), aggregateNextRow(), aggregation(), applyRepair(), buildMod2Matrix(), calcShiftVal(), computeCut(), copyCuts(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), createRows(), createSubscip(), determineBound(), evaluateCutNumerics(), extractCapacityRows(), extractFlowRows(), generateClusterCuts(), generateCut(), generateDisjCutSOS1(), generateOddCycleCut(), getGMIFromRow(), getNActiveConsScore(), getSimplexCoefficients(), handleNewVariableSOS2(), initMatrix(), initsepaBoundInequalityFromCardinality(), invertCommodity(), isConvexLocal(), mod2MatrixTransformContRows(), nodepairqueueCreate(), runBoundHeuristic(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSINITLP(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddNlpiProbRows(), SCIPapplyLockFixings(), SCIPlpRemoveRedundantRows(), SCIPnlrowCreateFromRow(), SCIProwCalcProbability(), SCIPsepastoreAddCut(), SCIPsolAdjustImplicitSolVals(), selectShifting(), separateCuts(), separatePoint(), sepastoreApplyBdchg(), sepastoreIsBdchgApplicable(), sepastoreIsCutRedundant(), sepastoreIsCutRedundantOrInfeasible(), setupAggregationData(), shiftValues(), storeCuts(), updateSlacks(), and updateViolations().
gets the dual LP solution of a row
row | LP row |
Definition at line 16504 of file lp.c.
References SCIP_Row::dualsol, and SCIP_Row::lppos.
Referenced by addFlowrowToCommodity(), createRows(), extractCapacityRows(), extractFlowRows(), generateAverageNBRay(), generateAverageRay(), generateClusterCuts(), getNActiveConsScore(), nodepairqueueCreate(), SCIP_DECL_BRANCHEXECLP(), SCIPgetDualsolKnapsack(), SCIPgetDualsolLogicor(), SCIPgetDualsolSetppc(), SCIPgetDualsolVarbound(), separateCuts(), and solveBilinearLP().
gets the dual Farkas coefficient of a row in an infeasible LP
row | LP row |
Definition at line 16517 of file lp.c.
References SCIP_Row::dualfarkas, and SCIP_Row::lppos.
Referenced by SCIPgetDualfarkasKnapsack(), SCIPgetDualfarkasLogicor(), SCIPgetDualfarkasSetppc(), and SCIPgetDualfarkasVarbound().
SCIP_BASESTAT SCIProwGetBasisStatus | ( | SCIP_ROW * | row | ) |
gets the basis status of a row in the LP solution; only valid for LPs with status SCIP_LPSOLSTAT_OPTIMAL and with SCIPisLPSolBasic(scip) == TRUE; returns SCIP_BASESTAT_BASIC for rows not in the current SCIP_LP
row | LP row |
Definition at line 16532 of file lp.c.
References SCIP_Row::basisstatus, SCIP_Row::lppos, and SCIP_BASESTAT_BASIC.
Referenced by addOneRow(), generateDisjCutSOS1(), getGMIFromRow(), getSimplexCoefficients(), and SCIP_DECL_SEPAEXECLP().
const char* SCIProwGetName | ( | SCIP_ROW * | row | ) |
returns the name of the row
row | LP row |
Definition at line 16543 of file lp.c.
References SCIP_Row::name.
Referenced by addFlowrowToCommodity(), addLinearizationCuts(), aggregation(), applyRepair(), calcBranchScore(), calcShiftVal(), computeCut(), copyCuts(), createRows(), createSubscip(), deleteCommodity(), determineBound(), extractCapacities(), extractCapacityRows(), extractFlow(), extractFlowRows(), extractNodes(), findUncapacitatedArcs(), generateClusterCuts(), generateCut(), getDualProof(), getFarkasProof(), getFlowrowFit(), getNodeSimilarityScore(), initMatrix(), mcfnetworkFill(), nodepairqueueCreate(), nodepartitionIsConnected(), relaxVar(), rowCalculateGauss(), rowFindSlackVar(), runBoundHeuristic(), SCIP_DECL_CONSINITLP(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddNlpiProbRows(), SCIPaddRowIndicator(), SCIPapplyLockFixings(), SCIPcutpoolAddNewRow(), SCIPcutpoolDelRow(), SCIPcutpoolSeparate(), SCIPlpRemoveRedundantRows(), SCIPnlrowCreateFromRow(), SCIProwCalcIntegralScalar(), SCIProwCalcProbability(), SCIPsepastoreAddCut(), SCIPsepastoreApplyCuts(), separateCuts(), sepastoreIsCutRedundant(), sepastoreIsCutRedundantOrInfeasible(), and sepastoreUpdateOrthogonalities().
int SCIProwGetIndex | ( | SCIP_ROW * | row | ) |
gets unique index of row
row | LP row |
Definition at line 16553 of file lp.c.
References SCIP_Row::index.
Referenced by calcBranchScore(), checkConstraintMatching(), determineBound(), SCIP_DECL_SORTPTRCOMP(), varColCompare(), and varProcessBoundChanges().
int SCIProwGetAge | ( | SCIP_ROW * | row | ) |
gets age of row
row | LP row |
Definition at line 16563 of file lp.c.
References SCIP_Row::age.
Referenced by createSubscip(), and storeCuts().
int SCIProwGetRank | ( | SCIP_ROW * | row | ) |
gets rank of row
row | LP row |
Definition at line 16573 of file lp.c.
References SCIP_Row::rank.
Referenced by addCut(), computeCut(), createCGCutCMIR(), createCGCutStrongCG(), evaluateCutNumerics(), getVarRank(), mod2MatrixTransformContRows(), and SCIPapplyLockFixings().
returns TRUE iff the activity of the row (without the row's constant) is always integral in a feasible solution
row | LP row |
Definition at line 16583 of file lp.c.
References SCIP_Row::integral.
Referenced by buildMod2Matrix(), computeCut(), createSubscip(), getGMIFromRow(), mod2MatrixTransformContRows(), and SCIP_DECL_SEPAEXECLP().
returns TRUE iff row is only valid locally
row | LP row |
Definition at line 16593 of file lp.c.
References SCIP_Row::local.
Referenced by addAltLPRow(), addFracCounter(), addLinearizationCuts(), addOneRow(), buildMod2Matrix(), calcShiftVal(), computeCut(), copyCuts(), createCGCutCMIR(), createCGCutStrongCG(), createRows(), createSubscip(), determineBound(), generateCut(), generateZerohalfCut(), mod2MatrixTransformContRows(), runBoundHeuristic(), SCIP_DECL_CONSINITLP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddRowIndicator(), SCIPcutpoolAddNewRow(), SCIPsepastoreAddCut(), SCIPsolAdjustImplicitSolVals(), separateCuts(), separatePoint(), sepastoreApplyBdchg(), sepastoreIsBdchgApplicable(), shiftValues(), transformColumn(), updateActivities(), and updateRowActivities().
returns TRUE iff row is modifiable during node processing (subject to column generation)
row | LP row |
Definition at line 16603 of file lp.c.
References SCIP_Row::modifiable.
Referenced by addOneRow(), buildMod2Matrix(), computeCut(), computeRelIntPoint(), copyCuts(), createCGCutCMIR(), createCGCutStrongCG(), createSubscip(), extractCapacityRows(), extractFlowRows(), getGMIFromRow(), mod2MatrixTransformContRows(), SCIP_DECL_SEPAEXECLP(), SCIPcutpoolAddNewRow(), SCIPcutpoolSeparate(), SCIPsepastoreAddCut(), SCIPsepastoreApplyCuts(), SCIPsepastoreIsCutApplicable(), sepastoreApplyBdchg(), sepastoreIsBdchgApplicable(), sepastoreIsCutRedundant(), sepastoreIsCutRedundantOrInfeasible(), setupAggregationData(), and transformColumn().
returns TRUE iff row is removable from the LP (due to aging or cleanup)
row | LP row |
Definition at line 16613 of file lp.c.
References SCIP_Row::removable.
Referenced by cutpoolDelCut(), SCIPcutpoolAddNewRow(), and SCIPlpWriteMip().
SCIP_ROWORIGINTYPE SCIProwGetOrigintype | ( | SCIP_ROW * | row | ) |
returns type of origin that created the row
row | LP row |
Definition at line 16623 of file lp.c.
References SCIP_Row::origintype.
Referenced by storeCuts().
SCIP_CONSHDLR* SCIProwGetOriginCons | ( | SCIP_ROW * | row | ) |
returns origin constraint handler that created the row (NULL if not available)
row | LP row |
Definition at line 16633 of file lp.c.
References SCIP_Row::origin, SCIP_Row::origintype, and SCIP_ROWORIGINTYPE_CONS.
Referenced by SCIPcutpoolSeparate().
returns origin separator that created the row (NULL if not available)
row | LP row |
Definition at line 16648 of file lp.c.
References SCIP_Row::origin, SCIP_Row::origintype, and SCIP_ROWORIGINTYPE_SEPA.
Referenced by computeCut(), createSubscip(), and SCIPcutpoolSeparate().
returns TRUE iff row is member of the global cut pool
row | LP row |
Definition at line 16663 of file lp.c.
References SCIP_Row::inglobalcutpool.
Referenced by computeScore().
int SCIProwGetLPPos | ( | SCIP_ROW * | row | ) |
gets position of row in current LP, or -1 if it is not in LP
row | LP row |
Definition at line 16673 of file lp.c.
References SCIP_Row::lpdepth, and SCIP_Row::lppos.
Referenced by addFlowrowToCommodity(), addFracCounter(), addSideRemoval(), aggregateNextRow(), calcShiftVal(), calculateBounds(), cleanupNetwork(), createSubscip(), deleteCommodity(), determineBound(), extractCapacityRows(), extractFlowRows(), extractNodes(), generateClusterCuts(), getFlowrowFit(), getGMIFromRow(), getIncidentNodes(), getNextFlowrow(), getNodeSimilarityScore(), identifySourcesTargets(), initMatrix(), invertCommodity(), mcfnetworkFill(), mod2MatrixAddOrigRow(), relaxVar(), runBoundHeuristic(), SCIP_DECL_HEUREXEC(), SCIPaggrRowAddRow(), SCIPaggrRowHasRowBeenAdded(), SCIPapplyLockFixings(), separateCuts(), setupAggregationData(), shiftValues(), storeCuts(), transformColumn(), tryFixVar(), updateActivities(), updateRowActivities(), updateSlacks(), and updateViolations().
int SCIProwGetLPDepth | ( | SCIP_ROW * | row | ) |
gets depth in the tree where the row entered the LP, or -1 if it is not in LP
row | LP row |
Definition at line 16684 of file lp.c.
References SCIP_Row::lpdepth, and SCIP_Row::lppos.
returns TRUE iff row is member of current LP
row | LP row |
Definition at line 16695 of file lp.c.
References SCIP_Row::lpdepth, and SCIP_Row::lppos.
Referenced by addBoundCutSepa(), addCut(), addCuts(), addRelaxation(), allRowsInLP(), calcShiftVal(), checkCons(), generateDisjCutSOS1(), initsepaBoundInequalityFromCardinality(), initsepaBoundInequalityFromSOS1Cons(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_CONSSEPASOL(), SCIP_DECL_SEPAEXECLP(), SCIPcutpoolSeparate(), SCIPsolAdjustImplicitSolVals(), sepaImplBoundCutsSOS1(), separateCons(), separateConsBinaryRepresentation(), separateCoverCutsCons(), separateCuts(), sepastoreApplyCut(), takeCut(), and updateActivities().
SCIP_Longint SCIProwGetActiveLPCount | ( | SCIP_ROW * | row | ) |
returns the number of times that this row has been sharp in an optimal LP solution
row | row |
Definition at line 16717 of file lp.c.
References SCIP_Row::activeinlpcounter.
Referenced by SCIPcutGetLPActivityQuot().
SCIP_Longint SCIProwGetNLPsAfterCreation | ( | SCIP_ROW * | row | ) |
returns the number of LPs since this row has been created
row | row |
Definition at line 16727 of file lp.c.
References SCIP_Row::nlpsaftercreation.
Referenced by SCIPcutGetLPActivityQuot().
void SCIProwChgRank | ( | SCIP_ROW * | row, |
int | rank | ||
) |
changes the rank of LP row
row | LP row |
rank | new value for rank |
Definition at line 16706 of file lp.c.
References SCIP_Row::rank.
Referenced by addCut(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), generateOddCycleCut(), generateZerohalfCut(), newsolCliqueAddRow(), and SCIP_DECL_SEPAEXECLP().
SCIP_RETCODE SCIPcreateRowCons | ( | SCIP * | scip, |
SCIP_ROW ** | row, | ||
SCIP_CONSHDLR * | conshdlr, | ||
const char * | name, | ||
int | len, | ||
SCIP_COL ** | cols, | ||
SCIP_Real * | vals, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs, | ||
SCIP_Bool | local, | ||
SCIP_Bool | modifiable, | ||
SCIP_Bool | removable | ||
) |
creates and captures an LP row from a constraint handler
scip | SCIP data structure |
row | pointer to row |
conshdlr | constraint handler that creates the row |
name | name of row |
len | number of nonzeros in the row |
cols | array with columns of row entries |
vals | array with coefficients of row entries |
lhs | left hand side of row |
rhs | right hand side of row |
local | is row only valid locally? |
modifiable | is row modifiable during node processing (subject to column generation)? |
removable | should the row be removed from the LP due to aging or cleanup? |
Definition at line 30270 of file scip.c.
References checkStage(), FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIP_ROWORIGINTYPE_CONS, SCIProwCreate(), Scip::set, Scip::stat, and TRUE.
Referenced by generateConvexConcaveEstimator(), and generateOverestimatingHyperplaneCut().
SCIP_RETCODE SCIPcreateRowSepa | ( | SCIP * | scip, |
SCIP_ROW ** | row, | ||
SCIP_SEPA * | sepa, | ||
const char * | name, | ||
int | len, | ||
SCIP_COL ** | cols, | ||
SCIP_Real * | vals, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs, | ||
SCIP_Bool | local, | ||
SCIP_Bool | modifiable, | ||
SCIP_Bool | removable | ||
) |
creates and captures an LP row from a separator
scip | SCIP data structure |
row | pointer to row |
sepa | separator that creates the row |
name | name of row |
len | number of nonzeros in the row |
cols | array with columns of row entries |
vals | array with coefficients of row entries |
lhs | left hand side of row |
rhs | right hand side of row |
local | is row only valid locally? |
modifiable | is row modifiable during node processing (subject to column generation)? |
removable | should the row be removed from the LP due to aging or cleanup? |
Definition at line 30304 of file scip.c.
References checkStage(), FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIP_ROWORIGINTYPE_SEPA, SCIProwCreate(), Scip::set, Scip::stat, and TRUE.
SCIP_RETCODE SCIPcreateRowUnspec | ( | SCIP * | scip, |
SCIP_ROW ** | row, | ||
const char * | name, | ||
int | len, | ||
SCIP_COL ** | cols, | ||
SCIP_Real * | vals, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs, | ||
SCIP_Bool | local, | ||
SCIP_Bool | modifiable, | ||
SCIP_Bool | removable | ||
) |
creates and captures an LP row from an unspecified source
scip | SCIP data structure |
row | pointer to row |
name | name of row |
len | number of nonzeros in the row |
cols | array with columns of row entries |
vals | array with coefficients of row entries |
lhs | left hand side of row |
rhs | right hand side of row |
local | is row only valid locally? |
modifiable | is row modifiable during node processing (subject to column generation)? |
removable | should the row be removed from the LP due to aging or cleanup? |
Definition at line 30338 of file scip.c.
References checkStage(), FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIP_ROWORIGINTYPE_UNSPEC, SCIProwCreate(), Scip::set, Scip::stat, and TRUE.
Referenced by SCIPcreateRow().
SCIP_RETCODE SCIPcreateRow | ( | SCIP * | scip, |
SCIP_ROW ** | row, | ||
const char * | name, | ||
int | len, | ||
SCIP_COL ** | cols, | ||
SCIP_Real * | vals, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs, | ||
SCIP_Bool | local, | ||
SCIP_Bool | modifiable, | ||
SCIP_Bool | removable | ||
) |
creates and captures an LP row
creates and captures an LP row
scip | SCIP data structure |
row | pointer to row |
name | name of row |
len | number of nonzeros in the row |
cols | array with columns of row entries |
vals | array with coefficients of row entries |
lhs | left hand side of row |
rhs | right hand side of row |
local | is row only valid locally? |
modifiable | is row modifiable during node processing (subject to column generation)? |
removable | should the row be removed from the LP due to aging or cleanup? |
Definition at line 30372 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPcreateRowUnspec(), and TRUE.
SCIP_RETCODE SCIPcreateEmptyRowCons | ( | SCIP * | scip, |
SCIP_ROW ** | row, | ||
SCIP_CONSHDLR * | conshdlr, | ||
const char * | name, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs, | ||
SCIP_Bool | local, | ||
SCIP_Bool | modifiable, | ||
SCIP_Bool | removable | ||
) |
creates and captures an LP row without any coefficients from a constraint handler
scip | SCIP data structure |
row | pointer to row |
conshdlr | constraint handler that creates the row |
name | name of row |
lhs | left hand side of row |
rhs | right hand side of row |
local | is row only valid locally? |
modifiable | is row modifiable during node processing (subject to column generation)? |
removable | should the row be removed from the LP due to aging or cleanup? |
Definition at line 30402 of file scip.c.
References checkStage(), FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIP_ROWORIGINTYPE_CONS, SCIProwCreate(), Scip::set, Scip::stat, and TRUE.
Referenced by addOrbisackCover(), addOrbisackInequality(), addRelaxation(), addSymresackInequality(), createCapacityRestriction(), createCapacityRestrictionIntvars(), createCoverCutsTimepoint(), createRelaxation(), createRow(), createRows(), extendToCover(), generate1ConvexIndefiniteUnderestimator(), generateBoundInequalityFromSOS1Nodes(), generateConvexConcaveEstimator(), generateCut(), generateLinearizationCut(), generateRowCardinality(), generateRowSOS2(), initLP(), LOPseparate(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSINITLP(), SCIPgetRowprepRowCons(), SCIPseparateCoversOrbisack(), sepaImplBoundCutsSOS1(), separateCons(), separateIndicators(), separatePerspective(), separateSCIs(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), separateSupLiftedMinimalCoverInequality(), and sepaSubtour().
SCIP_RETCODE SCIPcreateEmptyRowSepa | ( | SCIP * | scip, |
SCIP_ROW ** | row, | ||
SCIP_SEPA * | sepa, | ||
const char * | name, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs, | ||
SCIP_Bool | local, | ||
SCIP_Bool | modifiable, | ||
SCIP_Bool | removable | ||
) |
creates and captures an LP row without any coefficients from a separator
scip | SCIP data structure |
row | pointer to row |
sepa | separator that creates the row |
name | name of row |
lhs | left hand side of row |
rhs | right hand side of row |
local | is row only valid locally? |
modifiable | is row modifiable during node processing (subject to column generation)? |
removable | should the row be removed from the LP due to aging or cleanup? |
Definition at line 30431 of file scip.c.
References checkStage(), FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIP_ROWORIGINTYPE_SEPA, SCIProwCreate(), Scip::set, Scip::stat, and TRUE.
Referenced by addCut(), computeCut(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), createObjRow(), generateCut(), generateDisjCutSOS1(), generateOddCycleCut(), generateZerohalfCut(), newsolCliqueAddRow(), SCIP_DECL_SEPAEXECLP(), SCIPgetRowprepRowSepa(), separateCuts(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), and separateSupLiftedMinimalCoverInequality().
SCIP_RETCODE SCIPcreateEmptyRowUnspec | ( | SCIP * | scip, |
SCIP_ROW ** | row, | ||
const char * | name, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs, | ||
SCIP_Bool | local, | ||
SCIP_Bool | modifiable, | ||
SCIP_Bool | removable | ||
) |
creates and captures an LP row without any coefficients from an unspecified source
scip | SCIP data structure |
row | pointer to row |
name | name of row |
lhs | left hand side of row |
rhs | right hand side of row |
local | is row only valid locally? |
modifiable | is row modifiable during node processing (subject to column generation)? |
removable | should the row be removed from the LP due to aging or cleanup? |
Definition at line 30460 of file scip.c.
References checkStage(), FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIP_ROWORIGINTYPE_UNSPEC, SCIProwCreate(), Scip::set, Scip::stat, and TRUE.
Referenced by SCIPcreateEmptyRow(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), separateSupLiftedMinimalCoverInequality(), and solveBilinearLP().
SCIP_RETCODE SCIPcreateEmptyRow | ( | SCIP * | scip, |
SCIP_ROW ** | row, | ||
const char * | name, | ||
SCIP_Real | lhs, | ||
SCIP_Real | rhs, | ||
SCIP_Bool | local, | ||
SCIP_Bool | modifiable, | ||
SCIP_Bool | removable | ||
) |
creates and captures an LP row without any coefficients
creates and captures an LP row without any coefficients
scip | SCIP data structure |
row | pointer to row |
name | name of row |
lhs | left hand side of row |
rhs | right hand side of row |
local | is row only valid locally? |
modifiable | is row modifiable during node processing (subject to column generation)? |
removable | should the row be removed from the LP due to aging or cleanup? |
Definition at line 30491 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPcreateEmptyRowUnspec(), and TRUE.
SCIP_RETCODE SCIPcaptureRow | ( | SCIP * | scip, |
SCIP_ROW * | row | ||
) |
increases usage counter of LP row
scip | SCIP data structure |
row | row to capture |
Definition at line 30518 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIProwCapture(), and TRUE.
Referenced by mcfnetworkFill().
SCIP_RETCODE SCIPreleaseRow | ( | SCIP * | scip, |
SCIP_ROW ** | row | ||
) |
decreases usage counter of LP row, and frees memory if necessary
scip | SCIP data structure |
row | pointer to LP row |
Definition at line 30540 of file scip.c.
References checkStage(), FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIProwRelease(), Scip::set, and TRUE.
Referenced by addCut(), addLinearizationCuts(), addOrbisackCover(), addOrbisackInequality(), addSymresackInequality(), aggregation(), computeCut(), consdataFree(), consdataFreeRows(), createCapacityRestrictionIntvars(), createCGCutCMIR(), createCGCutDirect(), createCGCuts(), createCGCutStrongCG(), extendToCover(), generateCut(), generateOddCycleCut(), generateZerohalfCut(), initLP(), initsepaBoundInequalityFromCardinality(), initsepaBoundInequalityFromSOS1Cons(), LOPseparate(), mcfnetworkFree(), newsolCliqueAddRow(), processCut(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSINITLP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SEPAEXITSOL(), SCIPseparateCoversOrbisack(), sepaImplBoundCutsSOS1(), separateCons(), separateCuts(), separateIndicators(), separatePerspective(), separatePoint(), separateSCIs(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), separateSupLiftedMinimalCoverInequality(), sepaSubtour(), and solveBilinearLP().
SCIP_RETCODE SCIPchgRowLhs | ( | SCIP * | scip, |
SCIP_ROW * | row, | ||
SCIP_Real | lhs | ||
) |
changes left hand side of LP row
scip | SCIP data structure |
row | LP row |
lhs | new left hand side |
Definition at line 30561 of file scip.c.
References checkStage(), Scip::eventqueue, FALSE, Scip::lp, SCIP_Row::lppos, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIPlpDiving(), SCIProwChgLhs(), Scip::set, and TRUE.
Referenced by generateCut(), and handleNewVariableSOS2().
SCIP_RETCODE SCIPchgRowRhs | ( | SCIP * | scip, |
SCIP_ROW * | row, | ||
SCIP_Real | rhs | ||
) |
changes right hand side of LP row
scip | SCIP data structure |
row | LP row |
rhs | new right hand side |
Definition at line 30585 of file scip.c.
References checkStage(), Scip::eventqueue, FALSE, Scip::lp, SCIP_Row::lppos, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIPlpDiving(), SCIProwChgRhs(), Scip::set, and TRUE.
Referenced by computeCut(), generateCut(), generateOddCycleCut(), and handleNewVariableSOS2().
SCIP_RETCODE SCIPcacheRowExtensions | ( | SCIP * | scip, |
SCIP_ROW * | row | ||
) |
informs row, that all subsequent additions of variables to the row should be cached and not directly applied; after all additions were applied, SCIPflushRowExtensions() must be called; while the caching of row extensions is activated, information methods of the row give invalid results; caching should be used, if a row is build with SCIPaddVarToRow() calls variable by variable to increase the performance
scip | SCIP data structure |
row | LP row |
Definition at line 30613 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIProwDelaySort(), and TRUE.
Referenced by addCut(), addOrbisackCover(), addOrbisackInequality(), addSymresackInequality(), computeCut(), createCapacityRestriction(), createCapacityRestrictionIntvars(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), createCoverCutsTimepoint(), createObjRow(), extendToCover(), generateCut(), generateDisjCutSOS1(), generateOddCycleCut(), generateZerohalfCut(), LOPseparate(), newsolCliqueAddRow(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSINITLP(), SCIP_DECL_SEPAEXECLP(), SCIPseparateCoversOrbisack(), sepaImplBoundCutsSOS1(), separateCons(), separateIndicators(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), separateSupLiftedMinimalCoverInequality(), and sepaSubtour().
SCIP_RETCODE SCIPflushRowExtensions | ( | SCIP * | scip, |
SCIP_ROW * | row | ||
) |
flushes all cached row extensions after a call of SCIPcacheRowExtensions() and merges coefficients with equal columns into a single coefficient
scip | SCIP data structure |
row | LP row |
Definition at line 30636 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIProwForceSort(), Scip::set, and TRUE.
Referenced by addCut(), addOrbisackCover(), addOrbisackInequality(), addSymresackInequality(), computeCut(), createCapacityRestriction(), createCapacityRestrictionIntvars(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), createCoverCutsTimepoint(), createObjRow(), extendToCover(), generateCut(), generateDisjCutSOS1(), generateOddCycleCut(), generateZerohalfCut(), LOPseparate(), newsolCliqueAddRow(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSINITLP(), SCIP_DECL_SEPAEXECLP(), SCIPseparateCoversOrbisack(), sepaImplBoundCutsSOS1(), separateCons(), separateIndicators(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), separateSupLiftedMinimalCoverInequality(), and sepaSubtour().
SCIP_RETCODE SCIPaddVarToRow | ( | SCIP * | scip, |
SCIP_ROW * | row, | ||
SCIP_VAR * | var, | ||
SCIP_Real | val | ||
) |
resolves variable to columns and adds them with the coefficient to the row
scip | SCIP data structure |
row | LP row |
var | problem variable |
val | value of coefficient |
Definition at line 30668 of file scip.c.
References checkStage(), Scip::eventqueue, FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIPvarAddToRow(), Scip::set, Scip::stat, Scip::transprob, and TRUE.
Referenced by addBilinearTermToCut(), addCoef(), addCut(), addFacetToCut(), addLinearTermToCut(), addOrbisackCover(), addOrbisackInequality(), addRelaxation(), addSymresackInequality(), createCapacityRestriction(), createCapacityRestrictionIntvars(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), createCoverCutsTimepoint(), createObjRow(), createRelaxation(), createRows(), extendToCover(), generate1ConvexIndefiniteUnderestimator(), generateConvexConcaveEstimator(), generateCut(), generateDisjCutSOS1(), generateLinearizationCut(), generateOddCycleCut(), generateOverestimatingHyperplaneCut(), generateZerohalfCut(), handleNewVariableCardinality(), handleNewVariableSOS1(), handleNewVariableSOS2(), initLP(), LOPseparate(), newsolCliqueAddRow(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSINITLP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPseparateCoversOrbisack(), sepaImplBoundCutsSOS1(), separateCons(), separateIndicators(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), separateSupLiftedMinimalCoverInequality(), sepaSubtour(), and solveBilinearLP().
SCIP_RETCODE SCIPaddVarsToRow | ( | SCIP * | scip, |
SCIP_ROW * | row, | ||
int | nvars, | ||
SCIP_VAR ** | vars, | ||
SCIP_Real * | vals | ||
) |
resolves variables to columns and adds them with the coefficients to the row; this method caches the row extensions and flushes them afterwards to gain better performance
scip | SCIP data structure |
row | LP row |
nvars | number of variables to add to the row |
vars | problem variables to add |
vals | values of coefficients |
Definition at line 30694 of file scip.c.
References checkStage(), Scip::eventqueue, FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIProwDelaySort(), SCIProwEnsureSize(), SCIProwForceSort(), SCIProwGetNNonz(), SCIPvarAddToRow(), Scip::set, Scip::stat, Scip::transprob, and TRUE.
Referenced by addCut(), generateBoundInequalityFromSOS1Nodes(), generateConvexConcaveEstimator(), generateCut(), generateLinearizationCut(), generateOverestimatingHyperplaneCut(), generateRowCardinality(), initLP(), SCIP_DECL_CONSINITLP(), SCIPgetRowprepRowCons(), SCIPgetRowprepRowSepa(), separatePerspective(), and separateSCIs().
SCIP_RETCODE SCIPaddVarsToRowSameCoef | ( | SCIP * | scip, |
SCIP_ROW * | row, | ||
int | nvars, | ||
SCIP_VAR ** | vars, | ||
SCIP_Real | val | ||
) |
resolves variables to columns and adds them with the same single coefficient to the row; this method caches the row extensions and flushes them afterwards to gain better performance
scip | SCIP data structure |
row | LP row |
nvars | number of variables to add to the row |
vars | problem variables to add |
val | unique value of all coefficients |
Definition at line 30740 of file scip.c.
References checkStage(), Scip::eventqueue, FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIProwDelaySort(), SCIProwEnsureSize(), SCIProwForceSort(), SCIProwGetNNonz(), SCIPvarAddToRow(), Scip::set, Scip::stat, Scip::transprob, and TRUE.
Referenced by addRelaxation(), createRelaxation(), createRow(), createRows(), and generateRowSOS2().
SCIP_RETCODE SCIPcalcRowIntegralScalar | ( | SCIP * | scip, |
SCIP_ROW * | row, | ||
SCIP_Real | mindelta, | ||
SCIP_Real | maxdelta, | ||
SCIP_Longint | maxdnom, | ||
SCIP_Real | maxscale, | ||
SCIP_Bool | usecontvars, | ||
SCIP_Real * | intscalar, | ||
SCIP_Bool * | success | ||
) |
tries to find a value, such that all row coefficients, if scaled with this value become integral
scip | SCIP data structure |
row | LP row |
mindelta | minimal relative allowed difference of scaled coefficient s*c and integral i |
maxdelta | maximal relative allowed difference of scaled coefficient s*c and integral i |
maxdnom | maximal denominator allowed in rational numbers |
maxscale | maximal allowed scalar |
usecontvars | should the coefficients of the continuous variables also be made integral? |
intscalar | pointer to store scalar that would make the coefficients integral, or NULL |
success | stores whether returned value is valid |
Definition at line 30782 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIProwCalcIntegralScalar(), Scip::set, and TRUE.
SCIP_RETCODE SCIPmakeRowIntegral | ( | SCIP * | scip, |
SCIP_ROW * | row, | ||
SCIP_Real | mindelta, | ||
SCIP_Real | maxdelta, | ||
SCIP_Longint | maxdnom, | ||
SCIP_Real | maxscale, | ||
SCIP_Bool | usecontvars, | ||
SCIP_Bool * | success | ||
) |
tries to scale row, s.t. all coefficients (of integer variables) become integral
scip | SCIP data structure |
row | LP row |
mindelta | minimal relative allowed difference of scaled coefficient s*c and integral i |
maxdelta | maximal relative allowed difference of scaled coefficient s*c and integral i |
maxdnom | maximal denominator allowed in rational numbers |
maxscale | maximal value to scale row with |
usecontvars | should the coefficients of the continuous variables also be made integral? |
success | stores whether row could be made rational |
Definition at line 30811 of file scip.c.
References checkStage(), Scip::eventqueue, FALSE, Scip::lp, Scip::mem, SCIP_Mem::probmem, SCIP_CALL, SCIP_OKAY, SCIProwMakeIntegral(), Scip::set, Scip::stat, and TRUE.
Referenced by addCut(), createCGCutCMIR(), createCGCutStrongCG(), evaluateCutNumerics(), and generateDisjCutSOS1().
marks a row to be not removable from the LP in the current node
scip | SCIP data structure |
row | LP row |
Definition at line 30835 of file scip.c.
References checkStage(), FALSE, SCIP_CALL_ABORT, SCIProwMarkNotRemovableLocal(), Scip::stat, and TRUE.
Referenced by processCut(), and separatePoint().
returns number of integral columns in the row
scip | SCIP data structure |
row | LP row |
Definition at line 30853 of file scip.c.
References checkStage(), FALSE, SCIP_CALL_ABORT, SCIProwGetNumIntCols(), Scip::set, and TRUE.
Referenced by addCut(), and evaluateCutNumerics().
returns minimal absolute value of row vector's non-zero coefficients
scip | SCIP data structure |
row | LP row |
Definition at line 30871 of file scip.c.
References checkStage(), FALSE, SCIP_CALL_ABORT, SCIProwGetMinval(), Scip::set, and TRUE.
Referenced by addCut(), computeCut(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), generateCut(), SCIP_DECL_CONSINITLP(), and SCIP_DECL_SEPAEXECLP().
returns maximal absolute value of row vector's non-zero coefficients
scip | SCIP data structure |
row | LP row |
Definition at line 30889 of file scip.c.
References checkStage(), FALSE, SCIP_CALL_ABORT, SCIProwGetMaxval(), Scip::set, and TRUE.
Referenced by addCut(), computeCut(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), generateClusterCuts(), generateCut(), initMatrix(), nodepairqueueCreate(), relaxVar(), SCIP_DECL_CONSINITLP(), and SCIP_DECL_SEPAEXECLP().
returns the minimal activity of a row w.r.t. the column's bounds
scip | SCIP data structure |
row | LP row |
Definition at line 30906 of file scip.c.
References checkStage(), FALSE, SCIP_CALL_ABORT, SCIProwGetMinActivity(), Scip::set, Scip::stat, and TRUE.
Referenced by generateLiftedFlowCoverCut(), and SCIPapplyLockFixings().
returns the maximal activity of a row w.r.t. the column's bounds
scip | SCIP data structure |
row | LP row |
Definition at line 30923 of file scip.c.
References checkStage(), FALSE, SCIP_CALL_ABORT, SCIProwGetMaxActivity(), Scip::set, Scip::stat, and TRUE.
Referenced by generateLiftedFlowCoverCut(), and SCIPapplyLockFixings().
SCIP_RETCODE SCIPrecalcRowLPActivity | ( | SCIP * | scip, |
SCIP_ROW * | row | ||
) |
recalculates the activity of a row in the last LP solution
scip | SCIP data structure |
row | LP row |
Definition at line 30941 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIProwRecalcLPActivity(), Scip::stat, and TRUE.
returns the activity of a row in the last LP solution
scip | SCIP data structure |
row | LP row |
Definition at line 30960 of file scip.c.
References checkStage(), FALSE, Scip::lp, SCIP_CALL_ABORT, SCIProwGetLPActivity(), Scip::set, Scip::stat, and TRUE.
Referenced by buildMod2Matrix(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), createSubscip(), generateDisjCutSOS1(), getGMIFromRow(), getSimplexCoefficients(), mod2MatrixTransformContRows(), SCIP_DECL_SEPAEXECLP(), and separateCons().
returns the feasibility of a row in the last LP solution
scip | SCIP data structure |
row | LP row |
Definition at line 30977 of file scip.c.
References checkStage(), FALSE, Scip::lp, SCIP_CALL_ABORT, SCIProwGetLPFeasibility(), Scip::set, Scip::stat, and TRUE.
Referenced by addLinearizationCuts(), calcBranchScore(), nodepartitionIsConnected(), separateCons(), separateConsBinaryRepresentation(), separateCoverCutsCons(), and separatePoint().
SCIP_RETCODE SCIPrecalcRowPseudoActivity | ( | SCIP * | scip, |
SCIP_ROW * | row | ||
) |
recalculates the activity of a row for the current pseudo solution
scip | SCIP data structure |
row | LP row |
Definition at line 30995 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIProwRecalcPseudoActivity(), Scip::stat, and TRUE.
returns the activity of a row for the current pseudo solution
scip | SCIP data structure |
row | LP row |
Definition at line 31014 of file scip.c.
References checkStage(), FALSE, SCIP_CALL_ABORT, SCIProwGetPseudoActivity(), Scip::set, Scip::stat, and TRUE.
returns the feasibility of a row for the current pseudo solution: negative value means infeasibility
scip | SCIP data structure |
row | LP row |
Definition at line 31031 of file scip.c.
References checkStage(), FALSE, SCIP_CALL_ABORT, SCIProwGetPseudoFeasibility(), Scip::set, Scip::stat, and TRUE.
SCIP_RETCODE SCIPrecalcRowActivity | ( | SCIP * | scip, |
SCIP_ROW * | row | ||
) |
recalculates the activity of a row in the last LP or pseudo solution
scip | SCIP data structure |
row | LP row |
Definition at line 31049 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIProwRecalcLPActivity(), SCIProwRecalcPseudoActivity(), SCIPtreeHasCurrentNodeLP(), Scip::stat, Scip::tree, and TRUE.
returns the activity of a row in the last LP or pseudo solution
scip | SCIP data structure |
row | LP row |
Definition at line 31071 of file scip.c.
References checkStage(), FALSE, Scip::lp, SCIP_CALL_ABORT, SCIProwGetLPActivity(), SCIProwGetPseudoActivity(), SCIPtreeHasCurrentNodeLP(), Scip::set, Scip::stat, Scip::tree, and TRUE.
Referenced by createRows(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_HEUREXEC(), and SCIP_DECL_SEPAEXECLP().
returns the feasibility of a row in the last LP or pseudo solution
scip | SCIP data structure |
row | LP row |
Definition at line 31091 of file scip.c.
References checkStage(), FALSE, Scip::lp, SCIP_CALL_ABORT, SCIProwGetLPFeasibility(), SCIProwGetPseudoFeasibility(), SCIPtreeHasCurrentNodeLP(), Scip::set, Scip::stat, Scip::tree, and TRUE.
Referenced by generateClusterCuts(), and nodepairqueueCreate().
returns the activity of a row for the given primal solution
scip | SCIP data structure |
row | LP row |
sol | primal CIP solution |
Definition at line 31111 of file scip.c.
References checkStage(), FALSE, Scip::lp, SCIP_CALL_ABORT, SCIProwGetLPActivity(), SCIProwGetPseudoActivity(), SCIProwGetSolActivity(), SCIPtreeHasCurrentNodeLP(), Scip::set, Scip::stat, Scip::tree, and TRUE.
Referenced by addCut(), aggregation(), applyRepair(), computeCut(), getNActiveConsScore(), SCIP_DECL_HEUREXEC(), SCIPcutGenerationHeuristicCMIR(), and separateCuts().
returns the feasibility of a row for the given primal solution
scip | SCIP data structure |
row | LP row |
sol | primal CIP solution |
Definition at line 31134 of file scip.c.
References checkStage(), FALSE, Scip::lp, SCIP_CALL_ABORT, SCIProwGetLPFeasibility(), SCIProwGetPseudoFeasibility(), SCIProwGetSolFeasibility(), SCIPtreeHasCurrentNodeLP(), Scip::set, Scip::stat, Scip::tree, and TRUE.
Referenced by extendToCover(), generateClusterCuts(), separateCons(), separateConsBinaryRepresentation(), separateCoverCutsCons(), and separatePoint().
SCIP_RETCODE SCIPprintRow | ( | SCIP * | scip, |
SCIP_ROW * | row, | ||
FILE * | file | ||
) |
output row to file stream via the message handler system
output row to file stream via the message handler system
scip | SCIP data structure |
row | LP row |
file | output file (or NULL for standard output) |
Definition at line 31160 of file scip.c.
References checkStage(), FALSE, Scip::messagehdlr, SCIP_CALL, SCIP_OKAY, SCIProwPrint(), and TRUE.
Referenced by addBoundCutSepa(), addCut(), addOrbisackCover(), addOrbisackInequality(), addRelaxation(), computeCut(), createCapacityRestriction(), createCapacityRestrictionIntvars(), createCGCutCMIR(), createCGCutDirect(), createCGCutStrongCG(), createObjRow(), extendToCover(), generateBoundInequalityFromSOS1Nodes(), generateCut(), generateOddCycleCut(), generateRowCardinality(), generateRowSOS2(), initLP(), initMatrix(), initsepaBoundInequalityFromCardinality(), initsepaBoundInequalityFromSOS1Cons(), LOPseparate(), rowCalculateGauss(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_CONSSEPASOL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIPapplyLockFixings(), SCIProwCalcProbability(), SCIPseparateCoversOrbisack(), sepaImplBoundCutsSOS1(), separateCons(), separateCuts(), separateIndicators(), separatePerspective(), and separatePoint().