Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class ModelSharedTimeLimit
Note: This documentation is automatically generated.
The model "singleton" shared time limit.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eModelSharedTimeLimit\u003c/code\u003e class in C++ is a singleton that manages the overall time limit for a model.\u003c/p\u003e\n"],["\u003cp\u003eIt can be accessed and potentially controlled through the provided method, accepting a \u003ccode\u003eModel\u003c/code\u003e pointer as an argument.\u003c/p\u003e\n"]]],["The `ModelSharedTimeLimit` class in C++ represents a shared time limit for a model. It acts as a singleton, ensuring a single shared time limit instance. The class constructor, `ModelSharedTimeLimit`, takes a `Model*` (pointer to a Model object) as an argument. The documentation is automatically generated.\n"],null,["# ModelSharedTimeLimit\n\nC++ Reference: class ModelSharedTimeLimit\n=========================================\n\n\nNote: This documentation is automatically generated.\nThe model \"singleton\" shared time limit.\n\n| Method ||\n|------------------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [`ModelSharedTimeLimit`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/util.h#L156) | Return type: `explicit ` Arguments: `Model* model` \u003cbr /\u003e |"]]