randichilyon / or-tools

Automatically exported from code.google.com/p/or-tools
0 stars 0 forks source link

Many routing options are unavailable via swig wrapper #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After SetCommandLineOption has been removed, only routing search parameters are 
accessible from Python. This leaves inaccessible filtering control, first 
solution heuristics, propagation control (routing_use_light_propagation) and 
misc options.

Original issue reported on code.google.com by ntos...@gmail.com on 25 Feb 2014 at 2:46

GoogleCodeExporter commented 9 years ago
First solution heuristics are available in the parameters. Please use 
SolveWithParameters().

Field is first_solution, possible values are:
    case ROUTING_DEFAULT_STRATEGY:
      return "DefaultStrategy";
    case ROUTING_GLOBAL_CHEAPEST_ARC:
      return "GlobalCheapestArc";
    case ROUTING_LOCAL_CHEAPEST_ARC:
      return "LocalCheapestArc";
    case ROUTING_PATH_CHEAPEST_ARC:
      return "PathCheapestArc";
    case ROUTING_PATH_MOST_CONSTRAINED_ARC:
      return "PathMostConstrainedArc";
    case ROUTING_EVALUATOR_STRATEGY:
      return "EvaluatorStrategy";
    case ROUTING_ALL_UNPERFORMED:
      return "AllUnperformed";
    case ROUTING_BEST_INSERTION:
      return "BestInsertion";
    case ROUTING_GLOBAL_CHEAPEST_INSERTION:
      return "GlobalCheapestInsertion";
    case ROUTING_LOCAL_CHEAPEST_INSERTION:
      return "LocalCheapestInsertion";
    case ROUTING_SAVINGS:
      return "Savings";
    case ROUTING_SWEEP:
      return "Sweep";

I would like to know which examples need the other options (filtering control 
and propagation control).

Original comment by laurent....@gmail.com on 25 Feb 2014 at 3:11

GoogleCodeExporter commented 9 years ago
Closing it.

Original comment by laurent....@gmail.com on 4 Apr 2014 at 9:51