Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.63 KB

File metadata and controls

31 lines (22 loc) · 1.63 KB

OptimizationOptions

Runtime configuration for the optimization engine. Contains a key-value property map that controls solver behavior — including iteration counts, algorithm weights, CPU core allocation, cost function tuning, and convergence criteria. Additionally, an optional optimizationSchemeOptions object can specify the exact construction and heuristic algorithm pipeline to execute. If omitted, the optimizer uses its built-in defaults.

Properties

Name Type Description Notes
properties Dict[str, str] The properties of the Optimization run. For example, the number of iterations for the Optimization run or the weight for certain Optimization goals can be defined.
optimization_scheme_options OptimizationSchemeOptions [optional]

Example

from touroptimizer_py_client.models.optimization_options import OptimizationOptions

# TODO update the JSON string below
json = "{}"
# create an instance of OptimizationOptions from a JSON string
optimization_options_instance = OptimizationOptions.from_json(json)
# print the JSON string representation of the object
print(OptimizationOptions.to_json())

# convert the object into a dict
optimization_options_dict = optimization_options_instance.to_dict()
# create an instance of OptimizationOptions from a dict
optimization_options_from_dict = OptimizationOptions.from_dict(optimization_options_dict)

[Back to Model list] [Back to API list] [Back to README]