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 (
statusandroutesare unset in the response). If infeasibilities ininjected_solution_constraintroutes 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.