All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
struct_lp.h
Go to the documentation of this file.
62 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
79 * We store these values in each column to recover the LP solution at start of diving or probing mode, say, without
80 * having to resolve the LP. Note that we do not store the farkascoef value since we do expect a node with infeasible
87 unsigned int basisstatus:2; /**< basis status of column in last LP solution, invalid for non-LP columns */
91 * We store these values in each row to recover the LP solution at start of diving or probing mode, say, without having
92 * to resolve the LP. We do not store the dualfarkas value since we expect a node with infeasible LP to be pruned
99 unsigned int basisstatus:2; /**< basis status of row in last LP solution, invalid for non-LP rows */
103 * We store these values to recover the LP solution at start of diving or probing mode, say, without having to resolve
117 * The row vector of the LP column is partitioned into two parts: The first col->nlprows rows in the rows array
118 * are the ones that belong to the current LP (col->rows[j]->lppos >= 0) and that are linked to the column
119 * (col->linkpos[j] >= 0). The remaining col->len - col->nlprows rows in the rows array are the ones that
120 * don't belong to the current LP (col->rows[j]->lppos == -1) or that are not linked to the column
128 SCIP_Real lazylb; /**< lazy lower bound of the column; if the current lower bound is not greater than
130 SCIP_Real lazyub; /**< lazy upper bound of the column; if the current upper bound is not smaller than
137 SCIP_Real farkascoef; /**< coefficient in dual Farkas infeasibility proof (== dualfarkas^T A_c) */
147 SCIP_VAR* var; /**< variable, this column represents; there cannot be a column without variable */
162 int sbitlim; /**< strong branching iteration limit used to get strong branching values, or -1 */
166 unsigned int basisstatus:2; /**< basis status of column in last LP solution, invalid for non-LP columns */
167 unsigned int lprowssorted:1; /**< are the linked LP rows in the rows array sorted by non-decreasing index? */
168 unsigned int nonlprowssorted:1; /**< are the non-LP/not linked rows sorted by non-decreasing index? */
169 unsigned int objchanged:1; /**< has objective value changed, and has data of LP solver to be updated? */
170 unsigned int lbchanged:1; /**< has lower bound changed, and has data of LP solver to be updated? */
171 unsigned int ubchanged:1; /**< has upper bound changed, and has data of LP solver to be updated? */
172 unsigned int coefchanged:1; /**< has the coefficient vector changed, and has LP solver to be updated? */
175 unsigned int sbdownvalid:1; /**< stores whether the stored strong branching down value is a valid dual bound;
177 unsigned int sbupvalid:1; /**< stores whether the stored strong branching up value is a valid dual bound;
182 * The column vector of the LP row is partitioned into two parts: The first row->nlpcols columns in the cols array
183 * are the ones that belong to the current LP (row->cols[j]->lppos >= 0) and that are linked to the row
184 * (row->linkpos[j] >= 0). The remaining row->len - row->nlpcols columns in the cols array are the ones that
193 SCIP_Real flushedlhs; /**< left hand side minus constant of row already flushed to the LP solver */
194 SCIP_Real flushedrhs; /**< right hand side minus constant of row already flushed to the LP solver */
199 SCIP_Real minval; /**< minimal absolute non-zero value of row vector, only valid if numminval > 0 */
203 SCIP_Real pseudoactivity; /**< row activity value in pseudo solution, or SCIP_INVALID if not yet calculated */
204 SCIP_Real minactivity; /**< minimal activity value w.r.t. the column's bounds, or SCIP_INVALID */
205 SCIP_Real maxactivity; /**< maximal activity value w.r.t. the column's bounds, or SCIP_INVALID */
206 SCIP_Longint validpsactivitydomchg; /**< domain change number for which pseudo activity value is valid */
207 SCIP_Longint validactivitybdsdomchg;/**< domain change number for which activity bound values are valid */
210 void* origin; /**< pointer to constraint handler or separator who created the row (NULL if unkown) */
229 int nummaxval; /**< number of coefs with absolute value equal to maxval, zero if maxval invalid */
230 int numminval; /**< number of coefs with absolute value equal to minval, zero if minval invalid */
233 unsigned int basisstatus:2; /**< basis status of row in last LP solution, invalid for non-LP rows */
234 unsigned int lpcolssorted:1; /**< are the linked LP columns in the cols array sorted by non-decreasing index? */
235 unsigned int nonlpcolssorted:1; /**< are the non-LP/not linked columns sorted by non-decreasing index? */
238 unsigned int lhschanged:1; /**< was left hand side or constant changed, and has LP solver to be updated? */
239 unsigned int rhschanged:1; /**< was right hand side or constant changed, and has LP solver to be updated? */
240 unsigned int coefchanged:1; /**< was the coefficient vector changed, and has LP solver to be updated? */
241 unsigned int integral:1; /**< is activity (without constant) of row always integral in feasible solution? */
243 unsigned int modifiable:1; /**< is row modifiable during node processing (subject to column generation)? */
247 unsigned int origintype:2; /**< origin of row (0: unkown, 1: constraint handler, 2: separator) */
254 SCIP_Real looseobjval; /**< current solution value of all loose variables set to their best bounds,
256 SCIP_Real rellooseobjval; /**< last reliable solution value of all loose variables set to their best bounds,
258 SCIP_Real glbpseudoobjval; /**< global pseudo solution value with all variables set to their best global bounds,
261 SCIP_Real pseudoobjval; /**< current pseudo solution value with all variables set to their best bounds,
264 SCIP_Real rootlpobjval; /**< objective value of root LP without loose variables, or SCIP_INVALID */
265 SCIP_Real rootlooseobjval; /**< objective value of loose variables in root node, or SCIP_INVALID */
270 SCIP_Real lpibarrierconvtol; /**< current convergence tolerance used in barrier algorithm in LPI */
272 SCIP_Real objsqrnorm; /**< squared Euclidean norm of objective function vector of problem variables */
284 SCIP_SIDETYPE* divechgsidetypes; /**< stores the side type of the changes done in the current diving */
286 SCIP_LPSOLVALS* storedsolvals; /**< collected values of the LP data which depend on the LP solution */
287 SCIP_Longint validsollp; /**< LP number for which the currently stored solution values are valid */
288 SCIP_Longint validfarkaslp; /**< LP number for which the currently stored Farkas row multipliers are valid */
291 int lpifirstchgcol; /**< first column of the LP which differs from the column in the LP solver */
302 int nlazycols; /**< current number of LP lazy columns (number of used slots in lazycols vector) */
309 int looseobjvalinf; /**< number of loose variables with infinite best bound in current solution */
311 int glbpseudoobjvalinf; /**< number of variables with infinite best bound in global pseudo solution */
312 int pseudoobjvalinf; /**< number of variables with infinite best bound in current pseudo solution */
323 SCIP_Bool objsqrnormunreliable;/**< is squared Euclidean norm of objective function vector of problem
325 SCIP_Bool looseobjvalid; /**< is the loose objective value valid or should it be recomputed from scratch? */
326 SCIP_Bool glbpseudoobjvalid; /**< is the global pseudo solution value valid or should it be recomputed from scratch? */
327 SCIP_Bool pseudoobjvalid; /**< is the pseudo solution value valid or should it be recomputed from scratch? */
337 SCIP_Bool rootlpisrelax; /**< is root LP a relaxation of the problem and its solution value a valid global lower bound? */
338 SCIP_Bool isrelax; /**< is the current LP a relaxation of the problem for which it has been solved and its
344 SCIP_Bool diving; /**< LP is used for diving: col bounds and obj don't correspond to variables */
345 SCIP_Bool divingobjchg; /**< objective values were changed in diving: LP objective is invalid */
347 SCIP_Bool resolvelperror; /**< an error occured during resolving the LP after diving or probing */
|