Detailed Description
public methods for matrix
Definition in file pub_matrix.h.
#include "scip/def.h"
#include "scip/type_var.h"
#include "scip/type_cons.h"
#include "scip/type_matrix.h"
Go to the source code of this file.
Function Documentation
◆ SCIPmatrixGetColValPtr()
SCIP_EXPORT SCIP_Real* SCIPmatrixGetColValPtr | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get column based start pointer of values
- Parameters
-
matrix matrix instance col column index
Definition at line 1315 of file matrix.c.
References SCIP_Matrix::colmatbeg, SCIP_Matrix::colmatval, and NULL.
Referenced by calcColActivity(), dualBoundStrengthening(), findDominancePairs(), getDownlockRowIdx(), getMinColActWithoutRow(), getUplockRowIdx(), isUpperBoundImplied(), and SCIP_DECL_PRESOLEXEC().
◆ SCIPmatrixGetColIdxPtr()
SCIP_EXPORT int* SCIPmatrixGetColIdxPtr | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get column based start pointer of row indices
- Parameters
-
matrix matrix instance col column index
Definition at line 1327 of file matrix.c.
References SCIP_Matrix::colmatbeg, SCIP_Matrix::colmatind, and NULL.
Referenced by calcColActivity(), calcTwoRowBnds(), dualBoundStrengthening(), findDominancePairs(), findFixings(), findVarAggrRedVbcons(), getDownlockRowIdx(), getMinColActWithoutRow(), getUplockRowIdx(), isUpperBoundImplied(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetColNNonzs()
SCIP_EXPORT int SCIPmatrixGetColNNonzs | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get the number of non-zero entries of this column
- Parameters
-
matrix matrix instance col column index
Definition at line 1339 of file matrix.c.
References SCIP_Matrix::colmatcnt, and NULL.
Referenced by calcColActivity(), calcTwoRowBnds(), compensateVarLock(), dualBoundStrengthening(), findDominancePairs(), findFixings(), findVarAggrRedVbcons(), getDownlockRowIdx(), getMinColActWithoutRow(), getUplockRowIdx(), isUpperBoundImplied(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetNColumns()
SCIP_EXPORT int SCIPmatrixGetNColumns | ( | SCIP_MATRIX * | matrix | ) |
get number of columns of the matrix
- Parameters
-
matrix matrix instance
Definition at line 1351 of file matrix.c.
References SCIP_Matrix::ncols, and NULL.
Referenced by calcTwoRowBnds(), calcVarBoundsDominated(), calcVarBoundsDominating(), compensateVarLock(), detectParallelCols(), dualBoundStrengthening(), findDownlockAggregations(), findUplockAggregations(), findVarAggrRedVbcons(), getBounds(), getCoefficients(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetColUb()
SCIP_EXPORT SCIP_Real SCIPmatrixGetColUb | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get upper bound of column
- Parameters
-
matrix matrix instance col column index
Definition at line 1361 of file matrix.c.
References NULL, and SCIP_Matrix::ub.
Referenced by findDownlockAggregations(), findUplockAggregations(), getBinVarIdxInDownlockRow(), getBinVarIdxInUplockRow(), getMaxActivitySingleRowWithoutCol(), getMinActivitySingleRowWithoutCol(), getMinMaxActivityResiduals(), isUpperBoundImplied(), and SCIP_DECL_PRESOLEXEC().
◆ SCIPmatrixGetColLb()
SCIP_EXPORT SCIP_Real SCIPmatrixGetColLb | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get lower bound of column
- Parameters
-
matrix matrix instance col column index
Definition at line 1372 of file matrix.c.
References SCIP_Matrix::lb, and NULL.
Referenced by findDownlockAggregations(), findUplockAggregations(), getBinVarIdxInDownlockRow(), getBinVarIdxInUplockRow(), getMaxActivitySingleRowWithoutCol(), getMinActivitySingleRowWithoutCol(), getMinMaxActivityResiduals(), and SCIP_DECL_PRESOLEXEC().
◆ SCIPmatrixGetColNUplocks()
SCIP_EXPORT int SCIPmatrixGetColNUplocks | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get number of uplocks of column
- Parameters
-
matrix matrix instance col column index
Definition at line 1383 of file matrix.c.
References NULL, and SCIP_Matrix::nuplocks.
Referenced by cancelRow(), compensateVarLock(), detectDominatingVlbs(), detectDominatingVubs(), findUplockAggregations(), getUplockRowIdx(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetColNDownlocks()
SCIP_EXPORT int SCIPmatrixGetColNDownlocks | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get number of downlocks of column
- Parameters
-
matrix matrix instance col column index
Definition at line 1395 of file matrix.c.
References SCIP_Matrix::ndownlocks, and NULL.
Referenced by cancelRow(), compensateVarLock(), detectDominatingVlbs(), detectDominatingVubs(), findDownlockAggregations(), getDownlockRowIdx(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetVar()
SCIP_EXPORT SCIP_VAR* SCIPmatrixGetVar | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get variable pointer of column
- Parameters
-
matrix matrix instance col column index
Definition at line 1407 of file matrix.c.
References NULL, and SCIP_Matrix::vars.
Referenced by calcColActivity(), calcVarBoundsDominated(), calcVarBoundsDominating(), cancelRow(), compensateVarLock(), detectDominatingVlbs(), detectDominatingVubs(), dualBoundStrengthening(), findDominancePairs(), findDownlockAggregations(), findUplockAggregations(), findVarAggrRedVbcons(), getActivityResidualsLowerBound(), getActivityResidualsUpperBound(), getBinVarIdxInDownlockRow(), getBinVarIdxInUplockRow(), getBounds(), infCntUpdate(), isVlb(), isVub(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetColName()
SCIP_EXPORT const char* SCIPmatrixGetColName | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get name of column/variable
- Parameters
-
matrix matrix instance col column index
Definition at line 1419 of file matrix.c.
References NULL, SCIPvarGetName(), and SCIP_Matrix::vars.
◆ SCIPmatrixGetRowValPtr()
SCIP_EXPORT SCIP_Real* SCIPmatrixGetRowValPtr | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get row based start pointer of values
- Parameters
-
matrix matrix instance row row index
Definition at line 1431 of file matrix.c.
References NULL, SCIP_Matrix::rowmatbeg, and SCIP_Matrix::rowmatval.
Referenced by cancelRow(), compensateVarLock(), detectParallelCols(), getBinVarIdxInDownlockRow(), getBinVarIdxInUplockRow(), getCoefficients(), getMaxActivitySingleRowWithoutCol(), getMinActivitySingleRowWithoutCol(), infCntUpdate(), isVlb(), isVub(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetRowIdxPtr()
SCIP_EXPORT int* SCIPmatrixGetRowIdxPtr | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get row based start pointer of column indices
- Parameters
-
matrix matrix instance row row index
Definition at line 1443 of file matrix.c.
References NULL, SCIP_Matrix::rowmatbeg, and SCIP_Matrix::rowmatind.
Referenced by calcTwoRowBnds(), cancelRow(), compensateVarLock(), detectParallelCols(), getBinVarIdxInDownlockRow(), getBinVarIdxInUplockRow(), getCoefficients(), getMaxActivitySingleRowWithoutCol(), getMinActivitySingleRowWithoutCol(), getNumOverlap(), getOverlapBaseOrdered(), infCntUpdate(), isVlb(), isVub(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetRowNNonzs()
SCIP_EXPORT int SCIPmatrixGetRowNNonzs | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get number of non-zeros of this row
- Parameters
-
matrix matrix instance row row index
Definition at line 1455 of file matrix.c.
References NULL, and SCIP_Matrix::rowmatcnt.
Referenced by applyTightening(), calcTwoRowBnds(), cancelRow(), compensateVarLock(), detectParallelCols(), getActivities(), getBinVarIdxInDownlockRow(), getBinVarIdxInUplockRow(), getCoefficients(), getMaxActivitySingleRowWithoutCol(), getMinActivitySingleRowWithoutCol(), getNumOverlap(), getOverlapBaseOrdered(), infCntUpdate(), isVlb(), isVub(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetRowName()
SCIP_EXPORT const char* SCIPmatrixGetRowName | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get name of row
- Parameters
-
matrix matrix instance row row index
Definition at line 1467 of file matrix.c.
References SCIP_Matrix::cons, NULL, and SCIPconsGetName().
Referenced by cancelRow().
◆ SCIPmatrixGetNRows()
SCIP_EXPORT int SCIPmatrixGetNRows | ( | SCIP_MATRIX * | matrix | ) |
get number of rows of the matrix
- Parameters
-
matrix matrix instance
Definition at line 1479 of file matrix.c.
References SCIP_Matrix::nrows, and NULL.
Referenced by calcTwoRowBnds(), calcVarBoundsDominated(), calcVarBoundsDominating(), compensateVarLock(), detectParallelCols(), dualBoundStrengthening(), findVarAggrRedVbcons(), getActivityResidualsLowerBound(), getActivityResidualsUpperBound(), getBaseRows(), isVlb(), isVub(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetRowLhs()
SCIP_EXPORT SCIP_Real SCIPmatrixGetRowLhs | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get left-hand-side of row
- Parameters
-
matrix matrix instance row row index
Definition at line 1489 of file matrix.c.
References SCIP_Matrix::lhs, and NULL.
Referenced by applyTightening(), calcVarBoundsDominated(), calcVarBoundsDominating(), cancelRow(), compensateVarLock(), dualBoundStrengthening(), findDominancePairs(), findFixings(), getActivities(), getBinVarIdxInDownlockRow(), getBinVarIdxInUplockRow(), getVarUpperBoundOfRow(), isVlb(), isVub(), SCIP_DECL_PRESOLEXEC(), and singletonColumnStuffing().
◆ SCIPmatrixGetRowRhs()
SCIP_EXPORT SCIP_Real SCIPmatrixGetRowRhs | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get right-hand-side of row
- Parameters
-
matrix matrix instance row row index
Definition at line 1501 of file matrix.c.
References NULL, and SCIP_Matrix::rhs.
Referenced by calcVarBoundsDominated(), calcVarBoundsDominating(), cancelRow(), compensateVarLock(), dualBoundStrengthening(), findDominancePairs(), findFixings(), getVarUpperBoundOfRow(), and SCIP_DECL_PRESOLEXEC().
◆ SCIPmatrixIsRowRhsInfinity()
SCIP_EXPORT SCIP_Bool SCIPmatrixIsRowRhsInfinity | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
flag indicating if right-hand-side of row is infinity
- Parameters
-
matrix matrix instance row row index
Definition at line 1513 of file matrix.c.
References SCIP_Matrix::isrhsinfinite, and NULL.
Referenced by calcColActivity(), calcColActResidual(), calcTwoRowBnds(), calcVarBoundsDominated(), calcVarBoundsDominating(), detectParallelCols(), dualBoundStrengthening(), findDominancePairs(), getBaseRows(), getDownlockRowIdx(), getMinColActWithoutRow(), getUplockRowIdx(), infCntUpdate(), isVlb(), isVub(), SCIP_DECL_PRESOLEXEC(), singletonColumnStuffing(), and updateDualBounds().
◆ SCIPmatrixGetNNonzs()
SCIP_EXPORT int SCIPmatrixGetNNonzs | ( | SCIP_MATRIX * | matrix | ) |
get number of non-zeros of matrix
- Parameters
-
matrix matrix instance
Definition at line 1525 of file matrix.c.
References SCIP_Matrix::nnonzs, and NULL.
Referenced by SCIP_DECL_PRESOLEXEC().
◆ SCIPmatrixGetRowMinActivity()
SCIP_EXPORT SCIP_Real SCIPmatrixGetRowMinActivity | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get minimal activity of row
- Parameters
-
matrix matrix instance row row index
Definition at line 1535 of file matrix.c.
References SCIP_Matrix::minactivity, and NULL.
Referenced by findDominancePairs(), getActivityResidualsLowerBound(), getActivityResidualsUpperBound(), getBinVarIdxInDownlockRow(), getBinVarIdxInUplockRow(), and getMinMaxActivityResiduals().
◆ SCIPmatrixGetRowMaxActivity()
SCIP_EXPORT SCIP_Real SCIPmatrixGetRowMaxActivity | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get maximal activity of row
- Parameters
-
matrix matrix instance row row index
Definition at line 1547 of file matrix.c.
References SCIP_Matrix::maxactivity, and NULL.
Referenced by findDominancePairs(), getActivityResidualsLowerBound(), getActivityResidualsUpperBound(), getBinVarIdxInDownlockRow(), getBinVarIdxInUplockRow(), and getMinMaxActivityResiduals().
◆ SCIPmatrixGetRowNMinActNegInf()
SCIP_EXPORT int SCIPmatrixGetRowNMinActNegInf | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get number of negative infinities present within minimal activity
- Parameters
-
matrix matrix instance row row index
Definition at line 1559 of file matrix.c.
References SCIP_Matrix::minactivityneginf, and NULL.
Referenced by findDominancePairs(), getActivityResidualsLowerBound(), getActivityResidualsUpperBound(), and getMinMaxActivityResiduals().
◆ SCIPmatrixGetRowNMinActPosInf()
SCIP_EXPORT int SCIPmatrixGetRowNMinActPosInf | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get number of positive infinities present within minimal activity
- Parameters
-
matrix matrix instance row row index
Definition at line 1571 of file matrix.c.
References SCIP_Matrix::minactivityposinf, and NULL.
Referenced by findDominancePairs(), getActivityResidualsLowerBound(), getActivityResidualsUpperBound(), and getMinMaxActivityResiduals().
◆ SCIPmatrixGetRowNMaxActNegInf()
SCIP_EXPORT int SCIPmatrixGetRowNMaxActNegInf | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get number of negative infinities present within maximal activity
- Parameters
-
matrix matrix instance row row index
Definition at line 1583 of file matrix.c.
References SCIP_Matrix::maxactivityneginf, and NULL.
Referenced by findDominancePairs(), getActivityResidualsLowerBound(), getActivityResidualsUpperBound(), and getMinMaxActivityResiduals().
◆ SCIPmatrixGetRowNMaxActPosInf()
SCIP_EXPORT int SCIPmatrixGetRowNMaxActPosInf | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get number of positive infinities present within maximal activity
- Parameters
-
matrix matrix instance row row index
Definition at line 1595 of file matrix.c.
References SCIP_Matrix::maxactivityposinf, and NULL.
Referenced by findDominancePairs(), getActivityResidualsLowerBound(), getActivityResidualsUpperBound(), and getMinMaxActivityResiduals().
◆ SCIPmatrixGetCons()
SCIP_EXPORT SCIP_CONS* SCIPmatrixGetCons | ( | SCIP_MATRIX * | matrix, |
int | row | ||
) |
get constraint pointer for constraint representing row
- Parameters
-
matrix matrix instance row row index
Definition at line 1607 of file matrix.c.
References SCIP_Matrix::cons, and NULL.
Referenced by cancelRow(), detectDominatingVlbs(), detectDominatingVubs(), and SCIP_DECL_PRESOLEXEC().
◆ SCIPmatrixUplockConflict()
SCIP_EXPORT SCIP_Bool SCIPmatrixUplockConflict | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get if conflicting uplocks of variable present
get if conflicting uplocks of a specific variable present
- Parameters
-
matrix matrix instance col column index
Definition at line 1619 of file matrix.c.
References NULL, SCIP_Matrix::nuplocks, SCIP_LOCKTYPE_MODEL, SCIPvarGetNLocksUpType(), and SCIP_Matrix::vars.
◆ SCIPmatrixDownlockConflict()
SCIP_EXPORT SCIP_Bool SCIPmatrixDownlockConflict | ( | SCIP_MATRIX * | matrix, |
int | col | ||
) |
get if conflicting downlocks of variable present
get if conflicting downlocks of a specific variable present
- Parameters
-
matrix matrix instance col column index
Definition at line 1631 of file matrix.c.
References SCIP_Matrix::ndownlocks, NULL, SCIP_LOCKTYPE_MODEL, SCIPvarGetNLocksDownType(), and SCIP_Matrix::vars.
◆ SCIPmatrixCreate()
SCIP_EXPORT SCIP_RETCODE SCIPmatrixCreate | ( | SCIP * | scip, |
SCIP_MATRIX ** | matrixptr, | ||
SCIP_Bool * | initialized, | ||
SCIP_Bool * | complete | ||
) |
initialize matrix
- Parameters
-
scip current scip instance matrixptr pointer to constraint matrix object to be initialized initialized was the initialization successful? complete are all constraint represented within the matrix?
Definition at line 437 of file matrix.c.
References addConstraint(), BMSclearMemoryArray, calcActivityBounds(), SCIP_Matrix::colmatbeg, SCIP_Matrix::colmatcnt, SCIP_Matrix::colmatind, SCIP_Matrix::colmatval, SCIP_Matrix::cons, FALSE, SCIP_Matrix::isrhsinfinite, SCIP_Matrix::lb, SCIP_Matrix::lhs, SCIP_Matrix::maxactivity, SCIP_Matrix::maxactivityneginf, SCIP_Matrix::maxactivityposinf, SCIP_Matrix::minactivity, SCIP_Matrix::minactivityneginf, SCIP_Matrix::minactivityposinf, SCIP_Matrix::ncols, SCIP_Matrix::ndownlocks, SCIP_Matrix::nnonzs, SCIP_Matrix::nrows, NULL, SCIP_Matrix::nuplocks, SCIP_Matrix::rhs, SCIP_Matrix::rowmatbeg, SCIP_Matrix::rowmatcnt, SCIP_Matrix::rowmatind, SCIP_Matrix::rowmatval, SCIP_Bool, SCIP_CALL, SCIP_ERROR, SCIP_LOCKTYPE_MODEL, SCIP_Longint, SCIP_OKAY, SCIP_Real, SCIP_SETPPCTYPE_COVERING, SCIP_SETPPCTYPE_PACKING, SCIP_SETPPCTYPE_PARTITIONING, SCIPallocBuffer, SCIPallocBufferArray, SCIPallocClearMemoryArray, SCIPconshdlrGetCheckConss(), SCIPconshdlrGetName(), SCIPconshdlrGetNCheckConss(), SCIPconsIsTransformed(), SCIPdebugMsg, SCIPduplicateBufferArray, SCIPfreeBufferArray, SCIPgetBinvarsLinking(), SCIPgetCapacityKnapsack(), SCIPgetConshdlrs(), SCIPgetIntvarLinking(), SCIPgetLhsLinear(), SCIPgetLhsVarbound(), SCIPgetNConshdlrs(), SCIPgetNConss(), SCIPgetNVars(), SCIPgetNVarsKnapsack(), SCIPgetNVarsLinear(), SCIPgetNVarsLogicor(), SCIPgetNVarsSetppc(), SCIPgetRhsLinear(), SCIPgetRhsVarbound(), SCIPgetTypeSetppc(), SCIPgetValsLinear(), SCIPgetValsLinking(), SCIPgetVars(), SCIPgetVarsKnapsack(), SCIPgetVarsLinear(), SCIPgetVarsLogicor(), SCIPgetVarsSetppc(), SCIPgetVarVarbound(), SCIPgetVbdcoefVarbound(), SCIPgetVbdvarVarbound(), SCIPgetWeightsKnapsack(), SCIPinfinity(), SCIPisStopped(), SCIPreallocBufferArray, SCIPvarGetLbGlobal(), SCIPvarGetNLocksDownType(), SCIPvarGetNLocksUpType(), SCIPvarGetUbGlobal(), setColumnMajorFormat(), TRUE, SCIP_Matrix::ub, and SCIP_Matrix::vars.
Referenced by SCIP_DECL_PRESOLEXEC().
◆ SCIPmatrixFree()
SCIP_EXPORT void SCIPmatrixFree | ( | SCIP * | scip, |
SCIP_MATRIX ** | matrix | ||
) |
frees the constraint matrix
- Parameters
-
scip current SCIP instance matrix constraint matrix object
Definition at line 864 of file matrix.c.
References NULL, SCIPfreeBuffer, SCIPfreeBufferArray, SCIPfreeBufferArrayNull, and SCIPfreeMemoryArray.
Referenced by SCIP_DECL_PRESOLEXEC().
◆ SCIPmatrixPrintRow()
SCIP_EXPORT void SCIPmatrixPrintRow | ( | SCIP * | scip, |
SCIP_MATRIX * | matrix, | ||
int | row | ||
) |
print one row of the MIP matrix
print one row of the matrix
- Parameters
-
scip current SCIP instance matrix constraint matrix object row row index
Definition at line 927 of file matrix.c.
References SCIP_Matrix::cons, SCIP_Matrix::lhs, SCIP_Matrix::rhs, SCIP_Matrix::rowmatbeg, SCIP_Matrix::rowmatcnt, SCIP_Matrix::rowmatind, SCIP_Matrix::rowmatval, SCIP_Real, SCIPconsGetName(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetUbGlobal(), and SCIP_Matrix::vars.
Referenced by cancelRow(), compensateVarLock(), and getActivities().
◆ SCIPmatrixGetParallelRows()
SCIP_EXPORT SCIP_RETCODE SCIPmatrixGetParallelRows | ( | SCIP * | scip, |
SCIP_MATRIX * | matrix, | ||
SCIP_Real * | scale, | ||
int * | pclass | ||
) |
detect parallel rows, rhs/lhs are ignored
detect parallel rows of matrix. rhs/lhs are ignored.
- Parameters
-
scip SCIP instance matrix matrix containing the constraints scale scale factors of rows pclass parallel row classes
Definition at line 959 of file matrix.c.
References BMSclearMemoryArray, SCIP_Matrix::colmatbeg, SCIP_Matrix::colmatcnt, SCIP_Matrix::colmatind, SCIP_Matrix::colmatval, SCIP_Matrix::ncols, SCIP_Matrix::nrows, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPfreeBufferArray, SCIPisEQ(), SCIPsortIntIntReal(), SCIPsortRealInt(), and TRUE.
◆ SCIPmatrixGetParallelCols()
SCIP_EXPORT SCIP_RETCODE SCIPmatrixGetParallelCols | ( | SCIP * | scip, |
SCIP_MATRIX * | matrix, | ||
SCIP_Real * | scale, | ||
int * | pclass, | ||
SCIP_Bool * | varineq | ||
) |
detect parallel rows, obj ignored
detect parallel rows of matrix. obj coefficients are ignored.
- Parameters
-
scip SCIP instance matrix matrix containing the constraints scale scale factors of cols pclass parallel column classes varineq indicating if variable is within an equation
Definition at line 1115 of file matrix.c.
References BMSclearMemoryArray, SCIP_Matrix::isrhsinfinite, SCIP_Matrix::ncols, SCIP_Matrix::nrows, NULL, r, SCIP_Matrix::rowmatbeg, SCIP_Matrix::rowmatcnt, SCIP_Matrix::rowmatind, SCIP_Matrix::rowmatval, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPfreeBufferArray, SCIPisEQ(), SCIPsortIntIntReal(), SCIPsortRealInt(), and TRUE.