| 
    Osi
    0.108.6
    
   | 
 
The user hooks should be overridden by the user to provide the problem specific routines for the volume algorithm. More...
#include <OsiTestSolver.hpp>
 Inheritance diagram for VOL_user_hooks:Public Member Functions | |
| 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... | |
The user hooks should be overridden by the user to provide the problem specific routines for the volume algorithm.
The user should derive a class ...
for all hooks: return value of -1 means that volume should quit
Definition at line 565 of file OsiTestSolver.hpp.
      
  | 
  inlinevirtual | 
Definition at line 567 of file OsiTestSolver.hpp.
      
  | 
  pure virtual | 
compute reduced costs
| u | (IN) the dual variables | 
| rc | (OUT) the reduced cost with respect to the dual values | 
Implemented in OsiTestSolverInterface.
      
  | 
  pure virtual | 
Solve the subproblem for the subgradient step.
| 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  | 
Implemented in OsiTestSolverInterface.
      
  | 
  pure virtual | 
Starting from the primal vector x, run a heuristic to produce an integer solution.
| x | (IN) the primal vector | 
| heur_val | (OUT) the value of the integer solution (return COIN_DBL_MAX here if no feas sol was found  | 
Implemented in OsiTestSolverInterface.
 1.8.5