|
Minotaur 0.4.1
Docs for developers
|
#include <SecantMod.h>


Public Member Functions | |
| SecantMod (ConstraintPtr con, LinearFunctionPtr new_lf, double new_rhs, VariablePtr x, BoundType lu, double new_b, VariablePtr y) | |
| Construct. | |
| ~SecantMod () | |
| Destroy. | |
| void | applyToProblem (ProblemPtr problem) |
| Apply it to the problem. More... | |
| ModificationPtr | toRel (ProblemPtr, RelaxationPtr) const |
| Covert a modification for a problem to one for its relaxation. More... | |
| ModificationPtr | fromRel (RelaxationPtr, ProblemPtr) const |
| Covert a modification for a relaxation to one for its original problem. More... | |
| void | undoToProblem (ProblemPtr problem) |
| Restore the modification for a problem. More... | |
| VariablePtr | getY () |
Get the auxiliary variable or variable y where . | |
| void | write (std::ostream &) const |
| Write it to 'out'. More... | |
Public Member Functions inherited from Minotaur::Modification | |
| virtual | ~Modification () |
| Default destroy. | |
| virtual ModificationPtr | fromRel (RelaxationPtr rel, ProblemPtr p) const =0 |
| Covert a modification for a relaxation to one for its original problem. More... | |
| virtual ModificationPtr | toRel (ProblemPtr p, RelaxationPtr rel) const =0 |
| Covert a modification for a problem to one for its relaxation. More... | |
| virtual void | applyToProblem (ProblemPtr problem)=0 |
| Apply it to the problem. More... | |
| virtual void | undoToProblem (ProblemPtr problem)=0 |
| Restore the modification for a problem. More... | |
| virtual void | write (std::ostream &out) const =0 |
| Write it to 'out'. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Minotaur::Modification | |
| Modification () | |
| Default constructor. | |
Modification of a single linear constraint and its upper bound. An old constraint: nlf + qf + lf <= ub
is changed to:
nlf + qf + new_lf <= new_ub
|
virtual |
Apply it to the problem.
Implements Minotaur::Modification.
|
inlinevirtual |
Covert a modification for a relaxation to one for its original problem.
| [in] | rel | Relaxation for which this mod is applicable. |
| [in] | p | Problem for which the new mod will be applicable. |
Implements Minotaur::Modification.
|
inlinevirtual |
Covert a modification for a problem to one for its relaxation.
| [in] | p | Problem for which this mod is applicable. |
| [in] | rel | Relaxation for which the new mod will be applicable. |
Implements Minotaur::Modification.
|
virtual |
Restore the modification for a problem.
Implements Minotaur::Modification.
|
inlinevirtual |
Write it to 'out'.
Implements Minotaur::Modification.