#include <ufl.hpp>
|
int | compute_rc (const VOL_dvector &u, VOL_dvector &rc) |
| compute reduced costs
More...
|
|
int | solve_subproblem (const VOL_dvector &u, const VOL_dvector &rc, double &lcost, VOL_dvector &x, VOL_dvector &v, double &pcost) |
| Solve the subproblem for the subgradient step. More...
|
|
int | heuristics (const VOL_problem &p, const VOL_dvector &x, double &heur_val) |
| Starting from the primal vector x, run a heuristic to produce an integer solution
More...
|
|
| UFL () |
|
virtual | ~UFL () |
|
virtual | ~VOL_user_hooks () |
|
virtual int | compute_rc (const VOL_dvector &u, VOL_dvector &rc)=0 |
| compute reduced costs
More...
|
|
virtual int | solve_subproblem (const VOL_dvector &dual, const VOL_dvector &rc, double &lcost, VOL_dvector &x, VOL_dvector &v, double &pcost)=0 |
| Solve the subproblem for the subgradient step. More...
|
|
virtual int | heuristics (const VOL_problem &p, const VOL_dvector &x, double &heur_val)=0 |
| Starting from the primal vector x, run a heuristic to produce an integer solution
More...
|
|
Definition at line 31 of file ufl.hpp.
◆ UFL()
◆ ~UFL()
◆ 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.
◆ fcost
◆ dist
◆ fix
◆ ncust
◆ nloc
◆ ix
◆ icost
The documentation for this class was generated from the following file: