Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.24 KB

File metadata and controls

30 lines (21 loc) · 1.24 KB

OfferedNode

Marks a node as 'offered' — a high-priority node that the optimizer should try harder to schedule without violations. The individualMultiplier increases the cost penalty for violations on this node, making the optimizer prioritize it over regular nodes.

Properties

Name Type Description Notes
individual_multiplier float The cost multiplier for an offered node. If the multiplier is bigger than 1.0 the chances that the node shows violations is getting less. [optional]

Example

from touroptimizer_py_client.models.offered_node import OfferedNode

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

# convert the object into a dict
offered_node_dict = offered_node_instance.to_dict()
# create an instance of OfferedNode from a dict
offered_node_from_dict = OfferedNode.from_dict(offered_node_dict)

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