ConicSolver-class | R Documentation |
Conic solver class with reduction semantics.
## S4 method for signature 'ConicSolver,Problem'
accepts(object, problem)
## S4 method for signature 'ConicSolver'
reduction_format_constr(object, problem, constr, exp_cone_order)
## S4 method for signature 'ConicSolver'
group_coeff_offset(object, problem, constraints, exp_cone_order)
## S4 method for signature 'ConicSolver,Solution,InverseData'
invert(object, solution, inverse_data)
object |
A ConicSolver object. |
problem |
A Problem object. |
constr |
A Constraint to format. |
exp_cone_order |
A list indicating how the exponential cone arguments are ordered. |
constraints |
A list of Constraint objects. |
solution |
A Solution object to invert. |
inverse_data |
A InverseData object containing data necessary for the inversion. |
accepts(object = ConicSolver, problem = Problem)
: Can the problem be solved with a conic solver?
reduction_format_constr(ConicSolver)
: Return a list representing a cone program whose problem data tensors
will yield the coefficient "A" and offset "b" for the respective constraints:
Linear Equations: A x = b
,
Linear inequalities: A x \leq b
,
Second order cone: A x \leq_{SOC} b
,
Exponential cone: A x \leq_{EXP} b
,
Semidefinite cone: A x \leq_{SOP} b
.
group_coeff_offset(ConicSolver)
: Combine the constraints into a single matrix, offset.
invert(object = ConicSolver, solution = Solution, inverse_data = InverseData)
: Returns the solution to the original problem given the inverse_data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.