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

Method __init__

optas/optimization.py:60–210  ·  view source on GitHub ↗

! Initializer for the Optimization class. @param decision_variables SXContainer containing decision variables. @param parameters SXContainer containing parameters. @param cost_terms SXContainer containing cost terms. @return Instance of the Optimization class.

(
        self,
        decision_variables: SXContainer,
        parameters: SXContainer,
        cost_terms: SXContainer,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 3

vecMethod · 0.80
numelMethod · 0.80

Tested by

no test coverage detected