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 47 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 49 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 50 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 52 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 54 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 55 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 56 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 57 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 67 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 68 of file struct_matrix.h.

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

◆ cons

SCIP_CONS** SCIP_Matrix::cons

constraints pointer

Definition at line 70 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 72 of file struct_matrix.h.

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

◆ nnonzs

int SCIP_Matrix::nnonzs

sparsity counter

Definition at line 73 of file struct_matrix.h.

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

◆ minactivity

SCIP_Real* SCIP_Matrix::minactivity

min activity per row

Definition at line 74 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 75 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 76 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 77 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 78 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 79 of file struct_matrix.h.

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