MCPcopy Create free account
hub / github.com/cvxpy/cvxpy / parameters

Method parameters

cvxpy/transforms/partial_optimize.py:215–218  ·  view source on GitHub ↗

Returns the parameters in the problem.

(self)

Source from the content-addressed store, hash-verified

213 return self.args[0].variables()
214
215 def parameters(self):
216 """Returns the parameters in the problem.
217 """
218 return self.args[0].parameters()
219
220 def constants(self) -> list[Constant]:
221 """Returns the constants in the problem.

Callers 8

__init__Method · 0.45
perturbcheckFunction · 0.45
gradcheckFunction · 0.45
test_parameterMethod · 0.45
test_parameter_nameMethod · 0.45

Calls

no outgoing calls

Tested by 7

perturbcheckFunction · 0.36
gradcheckFunction · 0.36
test_parameterMethod · 0.36
test_parameter_nameMethod · 0.36