MCPcopy Create free account
hub / github.com/cmower/optas / __init__

Method __init__

optas/solver.py:64–88  ·  view source on GitHub ↗

! Constructor for the base Solver class. @param optimization The optimization problem created by calling the build method of the OptimizationBuilder class. @param error_on_fail When True, after solve() is called, if the solver did not converge then a RuntimeError is thrown. Default

(self, optimization: Optimization, error_on_fail: bool = False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected