Expand description

Useful constants to work with SolvingMode

Constants§

DEFAULT_SOLVE
Solve the model.
DETECT_SOME_INFEASIBLE_SHIPMENTS
Only populates OptimizeToursResponse.validation_errors or OptimizeToursResponse.skipped_shipments, and doesn’t actually solve the rest of the request (status and routes are unset in the response). If infeasibilities in injected_solution_constraint routes are detected they are populated in the OptimizeToursResponse.validation_errors field and OptimizeToursResponse.skipped_shipments is left empty.
VALIDATE_ONLY
Only validates the model without solving it: populates as many OptimizeToursResponse.validation_errors as possible.