This class solves an iterative rounding problem. More...
#include <iterative_rounding.hpp>
Public Member Functions | |
| iterative_rounding (Problem &problem, IRcomponents e, Visitor vis=Visitor()) | |
| Constructor. | |
| lp::problem_type | solve_lp () |
| Finds solution to the LP. More... | |
| lp::problem_type | resolve_lp () |
| Finds solution to the LP. More... | |
| double | get_solution_cost () |
| Returns the solution cost based on the LP values. | |
| bool | round () |
| Rounds the LP columns (independently) using the RoundCondition component. More... | |
| bool | relax () |
| Relaxes the LP rows using the RelaxCondition component. More... | |
| LP & | get_lp () |
| Returns the LP object used to solve the IR. | |
| IRcomponents & | get_ir_components () |
| Returns the IR components. | |
| void | set_solution () |
| Sets the solution to the problem using SetSolution component. | |
| void | dependent_round () |
| Rounds the LP using the RoundCondition component. | |
| bool | stop_condition () |
| Checks if the IR problem has been solved, using the StopCondition component. More... | |
This class solves an iterative rounding problem.
| Problem | |
| IRcomponents | |
| Visitor | |
| LP |
Definition at line 101 of file iterative_rounding.hpp.
|
inline |
Relaxes the LP rows using the RelaxCondition component.
Definition at line 200 of file iterative_rounding.hpp.
|
inline |
Finds solution to the LP.
Definition at line 144 of file iterative_rounding.hpp.
|
inline |
Rounds the LP columns (independently) using the RoundCondition component.
Definition at line 171 of file iterative_rounding.hpp.
|
inline |
Finds solution to the LP.
Definition at line 132 of file iterative_rounding.hpp.
|
inline |
Checks if the IR problem has been solved, using the StopCondition component.
Definition at line 252 of file iterative_rounding.hpp.
1.8.5