ParametricMCPs.ParametricMCP
— TypeParametricMCP represents a mixed complementarity problem (MCP) parameterized by some vector θ
.
Solutions of this problem solve f(z, θ) ⟂ lb ≤ z ≤ ub.
ParametricMCPs.ParametricMCP
— MethodThe main constructor for compiling a ParametricMCP
from
f
: callabale asf(z, θ)
that maps a lenghtn
vector of decision variablesz
and a parameter vectorθ
of sizeparameter_dimension
to an lenghtn
vector output.lower_bounds
: A lenghtn
vector of element-wise lower bounds on the decision variablesz
.upper_bounds
: A lengthn
vector of element-wise upper bounds on the decision variablesz
.parameter_dimension
: the size of the parameter vectorθ
inf
.
Note, this constructor uses Symbolics.jl
to compile the relevant low-level functions. Therefore, f
must be implemented in a sufficiently generic way that supports symbolic evaluation. In cases where that is strictly infeasible, you can still use the low-level constructor to generate a ParametricMCP
. In general, however, the use of this convenience construtor is advised.
ParametricMCPs.ParametricMCP
— MethodSymbolic version of the ParmetricMCP constructor. If you have f
and z
already in terms of symbolic variables, use this.
ParametricMCPs._coo_from_sparse!
— MethodParametricMCPs.get_constant_entries
— MethodGet the (sparse) linear indices of all entries that are constant in the symbolic matrix M w.r.t. symbolic vector z.
ParametricMCPs.get_parameter_dimension
— MethodReturns the number of decision variables for this problem.
ParametricMCPs.get_problem_size
— MethodReturns the number of decision variables for this problem.