|
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
125 SCIP_Real obj; /**< current objective value of column in LP (might be changed in diving or probing) */
128 SCIP_Real unchangedobj; /**< unchanged objective value of column (ignoring diving or probing changes) */
129 SCIP_Real lazylb; /**< lazy lower bound of the column; if the current lower bound is not greater than
131 SCIP_Real lazyub; /**< lazy upper bound of the column; if the current upper bound is not smaller than
138 SCIP_Real farkascoef; /**< coefficient in dual Farkas infeasibility proof (== dualfarkas^T A_c) */
148 SCIP_VAR* var; /**< variable, this column represents; there cannot be a column without variable */
163 int sbitlim; /**< strong branching iteration limit used to get strong branching values, or -1 */
167 unsigned int basisstatus:2; /**< basis status of column in last LP solution, invalid for non-LP columns */
168 unsigned int lprowssorted:1; /**< are the linked LP rows in the rows array sorted by non-decreasing index? */
169 unsigned int nonlprowssorted:1; /**< are the non-LP/not linked rows sorted by non-decreasing index? */
170 unsigned int objchanged:1; /**< has objective value changed, and has data of LP solver to be updated? */
171 unsigned int lbchanged:1; /**< has lower bound changed, and has data of LP solver to be updated? */
172 unsigned int ubchanged:1; /**< has upper bound changed, and has data of LP solver to be updated? */
173 unsigned int coefchanged:1; /**< has the coefficient vector changed, and has LP solver to be updated? */
176 unsigned int sbdownvalid:1; /**< stores whether the stored strong branching down value is a valid dual bound;
178 unsigned int sbupvalid:1; /**< stores whether the stored strong branching up value is a valid dual bound;
183 * The column vector of the LP row is partitioned into two parts: The first row->nlpcols columns in the cols array
184 * are the ones that belong to the current LP (row->cols[j]->lppos >= 0) and that are linked to the row
185 * (row->linkpos[j] >= 0). The remaining row->len - row->nlpcols columns in the cols array are the ones that
194 SCIP_Real flushedlhs; /**< left hand side minus constant of row already flushed to the LP solver */
195 SCIP_Real flushedrhs; /**< right hand side minus constant of row already flushed to the LP solver */
200 SCIP_Real minval; /**< minimal absolute non-zero value of row vector, only valid if numminval > 0 */
204 SCIP_Real pseudoactivity; /**< row activity value in pseudo solution, or SCIP_INVALID if not yet calculated */
205 SCIP_Real minactivity; /**< minimal activity value w.r.t. the column's bounds, or SCIP_INVALID */
206 SCIP_Real maxactivity; /**< maximal activity value w.r.t. the column's bounds, or SCIP_INVALID */
207 SCIP_Longint validpsactivitydomchg; /**< domain change number for which pseudo activity value is valid */
208 SCIP_Longint validactivitybdsdomchg;/**< domain change number for which activity bound values are valid */
210 SCIP_Longint activeinlpcounter; /**< counter for the number of times this row was active in an optimal LP solution */
211 SCIP_Longint nlpsaftercreation; /**< counter for the number of LPs after the row has been created */
213 void* origin; /**< pointer to constraint handler or separator who created the row (NULL if unkown) */
232 int nummaxval; /**< number of coefs with absolute value equal to maxval, zero if maxval invalid */
233 int numminval; /**< number of coefs with absolute value equal to minval, zero if minval invalid */
236 unsigned int basisstatus:2; /**< basis status of row in last LP solution, invalid for non-LP rows */
237 unsigned int lpcolssorted:1; /**< are the linked LP columns in the cols array sorted by non-decreasing index? */
238 unsigned int nonlpcolssorted:1; /**< are the non-LP/not linked columns sorted by non-decreasing index? */
241 unsigned int lhschanged:1; /**< was left hand side or constant changed, and has LP solver to be updated? */
242 unsigned int rhschanged:1; /**< was right hand side or constant changed, and has LP solver to be updated? */
243 unsigned int coefchanged:1; /**< was the coefficient vector changed, and has LP solver to be updated? */
244 unsigned int integral:1; /**< is activity (without constant) of row always integral in feasible solution? */
246 unsigned int modifiable:1; /**< is row modifiable during node processing (subject to column generation)? */
251 unsigned int origintype:2; /**< origin of row (0: unkown, 1: constraint handler, 2: separator) */
258 SCIP_Real looseobjval; /**< current solution value of all loose variables set to their best bounds,
260 SCIP_Real rellooseobjval; /**< last reliable solution value of all loose variables set to their best bounds,
262 SCIP_Real glbpseudoobjval; /**< global pseudo solution value with all variables set to their best global bounds,
265 SCIP_Real pseudoobjval; /**< current pseudo solution value with all variables set to their best bounds,
268 SCIP_Real rootlpobjval; /**< objective value of root LP without loose variables, or SCIP_INVALID */
269 SCIP_Real rootlooseobjval; /**< objective value of loose variables in root node, or SCIP_INVALID */
274 SCIP_Real lpibarrierconvtol; /**< current convergence tolerance used in barrier algorithm in LPI */
276 SCIP_Real objsqrnorm; /**< squared Euclidean norm of objective function vector of problem variables */
288 SCIP_SIDETYPE* divechgsidetypes; /**< stores the side type of the changes done in the current diving */
290 SCIP_LPSOLVALS* storedsolvals; /**< collected values of the LP data which depend on the LP solution */
291 SCIP_Longint validsollp; /**< LP number for which the currently stored solution values are valid */
292 SCIP_Longint validfarkaslp; /**< LP number for which the currently stored Farkas row multipliers are valid */
295 int lpifirstchgcol; /**< first column of the LP which differs from the column in the LP solver */
306 int nlazycols; /**< current number of LP lazy columns (number of used slots in lazycols vector) */
313 int looseobjvalinf; /**< number of loose variables with infinite best bound in current solution */
315 int glbpseudoobjvalinf; /**< number of variables with infinite best bound in global pseudo solution */
316 int pseudoobjvalinf; /**< number of variables with infinite best bound in current pseudo solution */
328 SCIP_Bool objsqrnormunreliable;/**< is squared Euclidean norm of objective function vector of problem
330 SCIP_Bool looseobjvalid; /**< is the loose objective value valid or should it be recomputed from scratch? */
331 SCIP_Bool glbpseudoobjvalid; /**< is the global pseudo solution value valid or should it be recomputed from scratch? */
332 SCIP_Bool pseudoobjvalid; /**< is the pseudo solution value valid or should it be recomputed from scratch? */
342 SCIP_Bool rootlpisrelax; /**< is root LP a relaxation of the problem and its solution value a valid global lower bound? */
343 SCIP_Bool isrelax; /**< is the current LP a relaxation of the problem for which it has been solved and its
349 SCIP_Bool diving; /**< LP is used for diving: col bounds and obj don't correspond to variables */
350 SCIP_Bool divingobjchg; /**< objective values were changed in diving or probing: LP objective is invalid */
352 SCIP_Bool resolvelperror; /**< an error occured during resolving the LP after diving or probing */
Definition: struct_var.h:196 Definition: struct_event.h:169 Definition: struct_lp.h:106 Definition: struct_lp.h:123 type definitions for LP management Definition: struct_lp.h:95 type definitions for specific LP solvers interface type definitions for problem variables type definitions for managing events Definition: struct_lp.h:189 Definition: lpi_clp.cpp:121 Definition: struct_lp.h:255 Definition: lpi_clp.cpp:93 common defines and data types used in all packages of SCIP Definition: struct_lp.h:83 |