Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.37 KB

File metadata and controls

32 lines (23 loc) · 1.37 KB

AbsoluteNodeColorCapacity

The per-color capacity limits (absolute count-based) enforced by this multi-route constraint.

Properties

Name Type Description Notes
node_color NodeColor
min_usage int The minimum number of nodes of this color that must appear on a route for the constraint to be satisfied.
max_usage int The maximum number of nodes of this color permitted on a single route.

Example

from touroptimizer_py_client.models.absolute_node_color_capacity import AbsoluteNodeColorCapacity

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

# convert the object into a dict
absolute_node_color_capacity_dict = absolute_node_color_capacity_instance.to_dict()
# create an instance of AbsoluteNodeColorCapacity from a dict
absolute_node_color_capacity_from_dict = AbsoluteNodeColorCapacity.from_dict(absolute_node_color_capacity_dict)

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