Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.42 KB

File metadata and controls

31 lines (22 loc) · 1.42 KB

ExcludingResourceConstraint

A node constraint that excludes specific resources from visiting this node. The listed resources will not be assigned to this node (hard) or will incur penalty cost if assigned (soft).

Properties

Name Type Description Notes
resources List[ResourceWithPriority] The list of resources that should NOT visit a certain node.
type_name str The typeName of the object [default to 'ExcludingResource']

Example

from touroptimizer_py_client.models.excluding_resource_constraint import ExcludingResourceConstraint

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

# convert the object into a dict
excluding_resource_constraint_dict = excluding_resource_constraint_instance.to_dict()
# create an instance of ExcludingResourceConstraint from a dict
excluding_resource_constraint_from_dict = ExcludingResourceConstraint.from_dict(excluding_resource_constraint_dict)

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