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

Method evaluate_cost_terms

optas/solver.py:282–314  ·  view source on GitHub ↗

! Evaluates each cost term for given decision variables and parameters. @param x The values for the decision variables. @param p The values for the parameters. @return List corresponding to each cost term evalauted at x, p.

(
        self, x: Dict[str, ArrayType], p: Dict[str, ArrayType]
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

dict2vecMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected