class RoutingSolver {
RoutingModel& _routing;
IloModel _mdl;
IloSolver _solver;
IloDispatcher _dispatcher;
IloRoutingSolution _solution;
IloGoal _instantiateCost;
IloGoal _restoreSolution;
IloGoal _fsGoal;
IloNHood _nhood;
IloMetaHeuristic _greedy;
IloGoal _move;
public:
RoutingSolver(RoutingModel& routingModel);
~RoutingSolver() {}
IloEnv getEnv() const { return _mdl.getEnv();}
void syncSolution(IloModel mdl, IloSolution s, IloGoal g);
void syncSolution();
IloBool findFirstSolution();
IloBool improveDepots();
IloBool improvePlan();
void printInformation() const;
};
|