15#ifndef MINOTAURLINCONSTRMOD_H
16#define MINOTAURLINCONSTRMOD_H
25 typedef SecantMod* SecantModPtr;
26 typedef const SecantMod* ConstSecantModPtr;
64 void write(std::ostream &)
const {};
Declare the class LinConMod. It is used to save modifications in the linear functions of constraints.
Declare the class LinearFunction for storing and modifying a linear function.
Declare the class VarBoundMod. It is used to save modifications in a bound of a variable....
The Constraint class is used to manage a constraint.
Definition: Constraint.h:61
Definition: LinConMod.h:37
The base class linear function is of the form c'x.
Definition: LinearFunction.h:31
Definition: Modification.h:29
Definition: Relaxation.h:53
Definition: SecantMod.h:37
ModificationPtr toRel(ProblemPtr, RelaxationPtr) const
Covert a modification for a problem to one for its relaxation.
Definition: SecantMod.h:50
void undoToProblem(ProblemPtr problem)
Restore the modification for a problem.
Definition: SecantMod.cpp:68
ModificationPtr fromRel(RelaxationPtr, ProblemPtr) const
Covert a modification for a relaxation to one for its original problem.
Definition: SecantMod.h:54
SecantMod(ConstraintPtr con, LinearFunctionPtr new_lf, double new_rhs, VariablePtr x, BoundType lu, double new_b, VariablePtr y)
Construct.
Definition: SecantMod.cpp:25
void write(std::ostream &) const
Write it to 'out'.
Definition: SecantMod.h:64
VariablePtr getY()
Get the auxiliary variable or variable y where .
Definition: SecantMod.cpp:54
~SecantMod()
Destroy.
Definition: SecantMod.cpp:43
void applyToProblem(ProblemPtr problem)
Apply it to the problem.
Definition: SecantMod.cpp:60
Modification of a both bounds on a variable.
Definition: VarBoundMod.h:84
Modification of a single bound on a variable.
Definition: VarBoundMod.h:30
Definition: Variable.h:31
Definition: ActiveNodeStore.h:20
BoundType
Different types of variable-bounds.
Definition: Types.h:131