We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We currently have a Graph::feasible() method at the C++ level.
Graph::feasible()
We could expose something similar at the Python level
Something like
class Model: ... def feasible(state_index: int) -> bool: with self.lock(): return all(constraint.state(state_index) for constraint in self.iter_constraints())
or could wrap the C++ method directly, but that would be a bit more involved.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We currently have a
Graph::feasible()
method at the C++ level.We could expose something similar at the Python level
Something like
or could wrap the C++ method directly, but that would be a bit more involved.
The text was updated successfully, but these errors were encountered: