#include <lp.h>
Definition at line 40 of file lp.h.
◆ LP_data_and_hook()
LP_data_and_hook::LP_data_and_hook |
( |
| ) |
|
|
inline |
Definition at line 47 of file lp.h.
◆ ~LP_data_and_hook()
virtual LP_data_and_hook::~LP_data_and_hook |
( |
| ) |
|
|
inlinevirtual |
Definition at line 48 of file lp.h.
◆ compute_rc()
compute reduced costs
- Parameters
-
u | (IN) the dual variables |
rc | (OUT) the reduced cost with respect to the dual values |
Implements VOL_user_hooks.
◆ solve_subproblem()
Solve the subproblem for the subgradient step.
- Parameters
-
dual | (IN) the dual variables |
rc | (IN) the reduced cost with respect to the dual values |
lcost | (OUT) the lagrangean cost with respect to the dual values |
x | (OUT) the primal result of solving the subproblem |
v | (OUT) b-Ax for the relaxed constraints |
pcost | (OUT) the primal objective value of x |
Implements VOL_user_hooks.
◆ heuristics()
Starting from the primal vector x, run a heuristic to produce an integer solution
- Parameters
-
x | (IN) the primal vector |
heur_val | (OUT) the value of the integer solution (return DBL_MAX here if no feas sol was found |
Implements VOL_user_hooks.
◆ lp_pb
VOL_lp LP_data_and_hook::lp_pb |
Definition at line 42 of file lp.h.
◆ rhs
Definition at line 43 of file lp.h.
◆ ix
Definition at line 44 of file lp.h.
◆ icost
double LP_data_and_hook::icost |
Definition at line 45 of file lp.h.
The documentation for this class was generated from the following file:
- Vol/examples/Volume-LP/lp.h