Scippy

SCIP

Solving Constraint Integer Programs

SCIPmilpMatrix Struct Reference

Detailed Description

constraint matrix data structure in column and row major format

Definition at line 48 of file struct_matrix.h.

#include <struct_matrix.h>

Data Fields

SCIP_Realcolmatval
 
int * colmatind
 
int * colmatbeg
 
int * colmatcnt
 
int ncols
 
SCIP_Reallb
 
SCIP_Realub
 
int * nuplocks
 
int * ndownlocks
 
SCIP_VAR ** vars
 
SCIP_Realrowmatval
 
int * rowmatind
 
int * rowmatbeg
 
int * rowmatcnt
 
int nrows
 
SCIP_Reallhs
 
SCIP_Realrhs
 
SCIP_CONS ** cons
 
MILPMATRIXCONSTYPEconstype
 
SCIP_Boolisrhsinfinite
 
int nnonzs
 
SCIP_Realminactivity
 
SCIP_Realmaxactivity
 
int * minactivityneginf
 
int * minactivityposinf
 
int * maxactivityneginf
 
int * maxactivityposinf
 

Field Documentation

SCIP_Real* SCIPmilpMatrix::colmatval

coefficients in column major format

Definition at line 50 of file struct_matrix.h.

Referenced by SCIPmatrixCreate(), SCIPmatrixGetColValPtr(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().

int* SCIPmilpMatrix::colmatind

row indexes in column major format

Definition at line 51 of file struct_matrix.h.

Referenced by SCIPmatrixCreate(), SCIPmatrixGetColIdxPtr(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().

int* SCIPmilpMatrix::colmatbeg
int* SCIPmilpMatrix::colmatcnt

number of row entries per column

Definition at line 53 of file struct_matrix.h.

Referenced by SCIPmatrixCreate(), SCIPmatrixGetColNNonzs(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().

int SCIPmilpMatrix::ncols
SCIP_Real* SCIPmilpMatrix::lb

lower bound per variable

Definition at line 55 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetColLb().

SCIP_Real* SCIPmilpMatrix::ub

upper bound per variable

Definition at line 56 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetColUb().

int* SCIPmilpMatrix::nuplocks

number of up locks per variable

Definition at line 57 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetColNUplocks(), and SCIPmatrixUplockConflict().

int* SCIPmilpMatrix::ndownlocks

number of down locks per variable

Definition at line 58 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixDownlockConflict(), and SCIPmatrixGetColNDownlocks().

SCIP_Real* SCIPmilpMatrix::rowmatval
int* SCIPmilpMatrix::rowmatind
int* SCIPmilpMatrix::rowmatcnt
int SCIPmilpMatrix::nrows
SCIP_Real* SCIPmilpMatrix::lhs

left hand side per row

Definition at line 68 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetRowLhs(), and SCIPmatrixPrintRow().

SCIP_Real* SCIPmilpMatrix::rhs

right hand side per row

Definition at line 69 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetRowRhs(), and SCIPmatrixPrintRow().

SCIP_CONS** SCIPmilpMatrix::cons

constraints pointer

Definition at line 71 of file struct_matrix.h.

Referenced by SCIPmatrixCreate(), SCIPmatrixGetCons(), SCIPmatrixGetRowName(), and SCIPmatrixPrintRow().

MILPMATRIXCONSTYPE* SCIPmilpMatrix::constype

constraint enumeration type

Definition at line 72 of file struct_matrix.h.

Referenced by SCIPmatrixCreate().

SCIP_Bool* SCIPmilpMatrix::isrhsinfinite

is right hand side infinity

Definition at line 74 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), and SCIPmatrixIsRowRhsInfinity().

int SCIPmilpMatrix::nnonzs

sparsity counter

Definition at line 75 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), and SCIPmatrixGetNNonzs().

SCIP_Real* SCIPmilpMatrix::minactivity

min activity per row

Definition at line 76 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowMinActivity().

SCIP_Real* SCIPmilpMatrix::maxactivity

max activity per row

Definition at line 77 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowMaxActivity().

int* SCIPmilpMatrix::minactivityneginf

min activity negative infinity counter

Definition at line 78 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMinActNegInf().

int* SCIPmilpMatrix::minactivityposinf

min activity positive infinity counter

Definition at line 79 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMinActPosInf().

int* SCIPmilpMatrix::maxactivityneginf

max activity negative infinity counter

Definition at line 80 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMaxActNegInf().

int* SCIPmilpMatrix::maxactivityposinf

max activity positive infinity counter

Definition at line 81 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMaxActPosInf().