class forms the virtual base class for all possible variables given in pool format
#include <variable.h>
Inheritance diagram for ABA_VARIABLE::
|
The destructor.
This version of the function uBound() sets the upper bound of the variable.
This version of the function lBound() sets the lower bound of the variable.
Computes the column col of the variable associated with the active constraints *actCon.
Checks, if a variable does not price out correctly, i.e., if the reduced cost rc is positive for a maximization problem and negative for a minimization problem, respectively.
This version of the function violated() checks if the variable does not price out correctly, i.e., if the reduced cost of the variable associated with the constraint set constraints and the dual variables y are positive for a maximization problem and negative for a minimization problem, respectively.
Computes the reduced cost of the variable corresponding the constraint set actCon and the dual variables y.
An (inactive) discrete variable is considered as useful() if its activation might not produce only solutions worse than the best known feasible solution.
Writes the column of the variable corresponding to the constraints on the stream out.
class forms the virtual base class for all possible variables given in pool format
Definition at line 55 of file variable.h.
The constructor.
The destructor.
The type of the variable.
Definition at line 302 of file variable.h.
true If the type of the variable is Integer or Binary,
false otherwise.
Definition at line 307 of file variable.h.
true If the type of the variable is Binary,
false otherwise.
Definition at line 312 of file variable.h.
true If the type of the variable is Integer,
false otherwise.
Definition at line 317 of file variable.h.
The objective function coefficient.
The upper bound of the variable.
Definition at line 332 of file variable.h.
This version of the function uBound() sets the upper bound of the variable.
Definition at line 337 of file variable.h.
The lower bound of the variable.
Definition at line 322 of file variable.h.
This version of the function lBound() sets the lower bound of the variable.
Definition at line 327 of file variable.h.
A pointer to the global status of fixing and setting of the variable.
This is the global status of fixing/setting that might differ from the local status of fixing/setting a variable returned by the function ABA_SUB::fsVarStat().
Definition at line 342 of file variable.h.
true If the variable is globally valid, or the subproblem sub is an ancestor in the enumeration tree of the subproblem associated with the variable,
false otherwise.
Computes the column col of the variable associated with the active constraints *actCon.
The upper and lower bound of the column are initialized with the global upper and lower bound of the variable. Therefore, an adaption with the local bounds might be required.
The number of nonzero entries in col.
Computes the coefficient of the variable in the constraint con.
Per default the coefficient of a variable is computed indirectly via the coefficient of a constraint. Problem specific redefinitions might be required.
The coefficient of the variable in the constraint con.
Reimplemented in ABA_COLVAR.
Checks, if a variable does not price out correctly, i.e., if the reduced cost rc is positive for a maximization problem and negative for a minimization problem, respectively.
true If the variable does not price out correctly.
false otherwise.
This version of the function violated() checks if the variable does not price out correctly, i.e., if the reduced cost of the variable associated with the constraint set constraints and the dual variables y are positive for a maximization problem and negative for a minimization problem, respectively.
true If the variable does not price out correctly.
false otherwise.
Computes the reduced cost of the variable corresponding the constraint set actCon and the dual variables y.
Given the dual variables y, then the reduced cost of a variable with objective function coefficient ce, column a.e are defined as ce - yTa.e.
The reduced cost of the variable.
An (inactive) discrete variable is considered as useful() if its activation might not produce only solutions worse than the best known feasible solution.
This is the same criterion for fixing inactive variables by reduced cost criteria.
true If the variable is considered as useful,
false otherwise.
Writes the column of the variable corresponding to the constraints on the stream out.
The global status of fixing and setting of the variable.
Definition at line 282 of file variable.h.
The objective function coefficient of the variable.
Definition at line 286 of file variable.h.
The lower bound of the variable.
Definition at line 290 of file variable.h.
The upper bound of the variable.
Definition at line 294 of file variable.h.
The type of the variable.
Definition at line 298 of file variable.h.
The documentation for this class was generated from the following file: