Class AsyncModelConfig (0.1.1)

AsyncModelConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information for solving one optimization model asynchronously.

Attributes

NameDescription
display_name str
User defined model name, can be used as alias by users to keep track of models.
input_config google.cloud.optimization_v1.types.InputConfig
Required. Information about the input model.
output_config google.cloud.optimization_v1.types.OutputConfig
Required. The desired output location information.
enable_checkpoints bool
If this is set, the model will be solved in the checkpoint mode. In this mode, the input model can have a deadline longer than 30 mins without the risk of interruption. The model will be solved in multiple short-running stages. Each stage generates an intermediate checkpoint and stores it in the user's Cloud Storage buckets. The checkpoint mode should be preferred over allow_large_deadline_despite_interruption_risk since it prevents the risk of interruption.