Class AsyncModelConfig (1.4.0)

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

Information for solving one optimization model asynchronously.


display_name str
User defined model name, can be used as alias by users to keep track of models.
Required. Information about the input model.
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.