Scippy

SCIP

Solving Constraint Integer Programs

SCIP_ColExact Struct Reference

Detailed Description

LP column; The row vector of the LP column is partitioned into two parts: The first col->nlprows rows in the rows array are the ones that belong to the current LP (col->rows[j]->lppos >= 0) and that are linked to the column (col->linkpos[j] >= 0). The remaining col->len - col->nlprows rows in the rows array are the ones that don't belong to the current LP (col->rows[j]->lppos == -1) or that are not linked to the column (col->linkpos[j] == -1).

Definition at line 144 of file struct_lpexact.h.

#include <struct_lpexact.h>

Data Fields

SCIP_COLfpcol
 
SCIP_ROWEXACT ** rows
 
SCIP_RATIONALobj
 
SCIP_RATIONALlb
 
SCIP_RATIONALub
 
SCIP_RATIONALflushedobj
 
SCIP_RATIONALflushedlb
 
SCIP_RATIONALflushedub
 
SCIP_RATIONALprimsol
 
SCIP_RATIONALredcost
 
SCIP_RATIONALfarkascoef
 
SCIP_VARvar
 
SCIP_RATIONAL ** vals
 
SCIP_Longint validredcostlp
 
SCIP_Longint validfarkaslp
 
SCIP_COLEXACTSOLVALSstoredsolvals
 
int * linkpos
 
int index
 
int size
 
int len
 
int nlprows
 
int nunlinked
 
int lppos
 
int lpipos
 
unsigned int basisstatus:2
 
unsigned int lprowssorted:1
 
unsigned int nonlprowssorted:1
 
unsigned int objchanged:1
 
unsigned int lbchanged:1
 
unsigned int ubchanged:1
 
unsigned int coefchanged:1
 

Field Documentation

◆ fpcol

◆ rows

◆ obj

◆ lb

◆ ub

◆ flushedobj

SCIP_RATIONAL* SCIP_ColExact::flushedobj

objective value of column already flushed to the LP solver

Definition at line 151 of file struct_lpexact.h.

Referenced by colExactInSync(), lpExactFlushAddCols(), and lpExactFlushChgCols().

◆ flushedlb

SCIP_RATIONAL* SCIP_ColExact::flushedlb

lower bound of column already flushed to the LP solver

Definition at line 152 of file struct_lpexact.h.

Referenced by lpExactFlushAddCols(), and lpExactFlushChgCols().

◆ flushedub

SCIP_RATIONAL* SCIP_ColExact::flushedub

upper bound of column already flushed to the LP solver

Definition at line 153 of file struct_lpexact.h.

Referenced by lpExactFlushAddCols(), and lpExactFlushChgCols().

◆ primsol

SCIP_RATIONAL* SCIP_ColExact::primsol

primal solution value in LP, is 0 if col is not in LP

Definition at line 154 of file struct_lpexact.h.

Referenced by colExactRestoreSolVals(), colExactStoreSolVals(), SCIPcolExactGetPrimsol(), and SCIProwExactRecalcLPActivity().

◆ redcost

SCIP_RATIONAL* SCIP_ColExact::redcost

reduced cost value in LP, or SCIP_INVALID if not yet calculated

Definition at line 155 of file struct_lpexact.h.

Referenced by colExactRestoreSolVals(), colExactStoreSolVals(), SCIPcertificatePrintDualboundExactLP(), and SCIPlpExactOverwriteFpDualSol().

◆ farkascoef

SCIP_RATIONAL* SCIP_ColExact::farkascoef

coefficient in dual Farkas infeasibility proof (== dualfarkas^T A_c)

Definition at line 156 of file struct_lpexact.h.

Referenced by SCIPcertificatePrintDualboundExactLP(), and SCIPlpExactOverwriteFpDualSol().

◆ var

◆ vals

◆ validredcostlp

SCIP_Longint SCIP_ColExact::validredcostlp

LP number for which reduced cost value is valid

Definition at line 159 of file struct_lpexact.h.

Referenced by colExactRestoreSolVals(), lpExactFlushAddCols(), markColexDeleted(), SCIPlpExactGetDualfarkas(), and SCIPlpExactGetSol().

◆ validfarkaslp

SCIP_Longint SCIP_ColExact::validfarkaslp

LP number for which Farkas coefficient is valid

Definition at line 160 of file struct_lpexact.h.

Referenced by colExactRestoreSolVals(), lpExactFlushAddCols(), markColexDeleted(), and SCIPlpExactGetDualfarkas().

◆ storedsolvals

SCIP_COLEXACTSOLVALS* SCIP_ColExact::storedsolvals

values stored before entering diving or probing mode

Definition at line 161 of file struct_lpexact.h.

Referenced by colExactRestoreSolVals(), and colExactStoreSolVals().

◆ linkpos

◆ index

◆ size

int SCIP_ColExact::size

size of the row- and val-arrays

Definition at line 164 of file struct_lpexact.h.

Referenced by colExactEnsureSize().

◆ len

◆ nlprows

int SCIP_ColExact::nlprows

◆ nunlinked

int SCIP_ColExact::nunlinked

number of column entries, where the rows don't know about the column

Definition at line 167 of file struct_lpexact.h.

Referenced by colExactAddCoef(), colExactDelCoefPos(), colExactLink(), colExactSearchCoef(), rowExactAddCoef(), and SCIPcolExactCalcFarkasRedcostCoef().

◆ lppos

◆ lpipos

int SCIP_ColExact::lpipos

◆ basisstatus

unsigned int SCIP_ColExact::basisstatus

basis status of column in last LP solution, invalid for non-LP columns

Definition at line 170 of file struct_lpexact.h.

Referenced by colExactRestoreSolVals(), colExactStoreSolVals(), markColexDeleted(), and SCIPlpExactGetSol().

◆ lprowssorted

unsigned int SCIP_ColExact::lprowssorted

are the linked LP rows in the rows array sorted by non-decreasing index?

Definition at line 171 of file struct_lpexact.h.

Referenced by colExactAddCoef(), colExactMoveCoef(), colExactSearchCoef(), colExactSortLP(), colExactSwapCoefs(), rowExactAddCoef(), and rowExactUpdateAddLP().

◆ nonlprowssorted

unsigned int SCIP_ColExact::nonlprowssorted

are the non-LP/not linked rows sorted by non-decreasing index?

Definition at line 172 of file struct_lpexact.h.

Referenced by colExactAddCoef(), colExactMoveCoef(), colExactSearchCoef(), colExactSortNonLP(), colExactSwapCoefs(), and rowExactUpdateDelLP().

◆ objchanged

unsigned int SCIP_ColExact::objchanged

has objective value changed, and has data of LP solver to be updated?

Definition at line 173 of file struct_lpexact.h.

Referenced by insertColChgcols(), lpExactFlushAddCols(), lpExactFlushChgCols(), and SCIPcolExactChgObj().

◆ lbchanged

unsigned int SCIP_ColExact::lbchanged

has lower bound changed, and has data of LP solver to be updated?

Definition at line 174 of file struct_lpexact.h.

Referenced by insertColChgcols(), lpExactFlushAddCols(), lpExactFlushChgCols(), and SCIPcolExactChgLb().

◆ ubchanged

unsigned int SCIP_ColExact::ubchanged

has upper bound changed, and has data of LP solver to be updated?

Definition at line 175 of file struct_lpexact.h.

Referenced by insertColChgcols(), lpExactFlushAddCols(), lpExactFlushChgCols(), and SCIPcolExactChgUb().

◆ coefchanged

unsigned int SCIP_ColExact::coefchanged

has the coefficient vector changed, and has LP solver to be updated?

Definition at line 176 of file struct_lpexact.h.

Referenced by coefChangedExact(), lpExactFlushAddCols(), and lpExactFlushDelCols().