Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Matrix Struct Reference

Detailed Description

constraint matrix data structure in column and row major format

Definition at line 38 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
 
SCIP_Boolisrhsinfinite
 
int nnonzs
 
SCIP_Realminactivity
 
SCIP_Realmaxactivity
 
int * minactivityneginf
 
int * minactivityposinf
 
int * maxactivityneginf
 
int * maxactivityposinf
 

Field Documentation

◆ colmatval

SCIP_Real* SCIP_Matrix::colmatval

coefficients in column major format

Definition at line 40 of file struct_matrix.h.

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

◆ colmatind

int* SCIP_Matrix::colmatind

row indexes in column major format

Definition at line 41 of file struct_matrix.h.

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

◆ colmatbeg

int* SCIP_Matrix::colmatbeg

◆ colmatcnt

int* SCIP_Matrix::colmatcnt

number of row entries per column

Definition at line 43 of file struct_matrix.h.

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

◆ ncols

int SCIP_Matrix::ncols

◆ lb

SCIP_Real* SCIP_Matrix::lb

lower bound per variable

Definition at line 45 of file struct_matrix.h.

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

◆ ub

SCIP_Real* SCIP_Matrix::ub

upper bound per variable

Definition at line 46 of file struct_matrix.h.

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

◆ nuplocks

int* SCIP_Matrix::nuplocks

number of up locks per variable

Definition at line 47 of file struct_matrix.h.

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

◆ ndownlocks

int* SCIP_Matrix::ndownlocks

number of down locks per variable

Definition at line 48 of file struct_matrix.h.

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

◆ vars

◆ rowmatval

SCIP_Real* SCIP_Matrix::rowmatval

◆ rowmatind

int* SCIP_Matrix::rowmatind

◆ rowmatbeg

◆ rowmatcnt

int* SCIP_Matrix::rowmatcnt

◆ nrows

int SCIP_Matrix::nrows

◆ lhs

SCIP_Real* SCIP_Matrix::lhs

left hand side per row

Definition at line 58 of file struct_matrix.h.

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

◆ rhs

SCIP_Real* SCIP_Matrix::rhs

right hand side per row

Definition at line 59 of file struct_matrix.h.

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

◆ cons

SCIP_CONS** SCIP_Matrix::cons

constraints pointer

Definition at line 61 of file struct_matrix.h.

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

◆ isrhsinfinite

SCIP_Bool* SCIP_Matrix::isrhsinfinite

is right hand side infinity

Definition at line 63 of file struct_matrix.h.

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

◆ nnonzs

int SCIP_Matrix::nnonzs

sparsity counter

Definition at line 64 of file struct_matrix.h.

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

◆ minactivity

SCIP_Real* SCIP_Matrix::minactivity

min activity per row

Definition at line 65 of file struct_matrix.h.

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

◆ maxactivity

SCIP_Real* SCIP_Matrix::maxactivity

max activity per row

Definition at line 66 of file struct_matrix.h.

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

◆ minactivityneginf

int* SCIP_Matrix::minactivityneginf

min activity negative infinity counter

Definition at line 67 of file struct_matrix.h.

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

◆ minactivityposinf

int* SCIP_Matrix::minactivityposinf

min activity positive infinity counter

Definition at line 68 of file struct_matrix.h.

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

◆ maxactivityneginf

int* SCIP_Matrix::maxactivityneginf

max activity negative infinity counter

Definition at line 69 of file struct_matrix.h.

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

◆ maxactivityposinf

int* SCIP_Matrix::maxactivityposinf

max activity positive infinity counter

Definition at line 70 of file struct_matrix.h.

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