Send feedback
SolvingMode
Stay organized with collections
Save and categorize content based on your preferences.
Defines how the solver should handle the request. In all modes but VALIDATE_ONLY
, if the request is invalid, you will receive an INVALID_REQUEST
error with the first error encountered.
Enums
DEFAULT_SOLVE
Solve the model.
VALIDATE_ONLY
Only validates the model without solving it: populates as many OptimizeToursResponse.validation_errors
as possible.
DETECT_SOME_INFEASIBLE_SHIPMENTS
Only populates OptimizeToursResponse.skipped_shipments
, and doesn't actually solve the rest of the request (status
and routes
are unset in the response).
IMPORTANT : not all infeasible shipments are returned here, but only the ones that we detect as infeasible as a preprocessing.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-04-14 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2022-04-14 UTC.",
"confidential": False
}