ConicSolver-class function

The ConicSolver class.

The ConicSolver class.

Conic solver class with reduction semantics. class

## 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)

Arguments

  • 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.

Methods (by generic)

  • 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: Ax=bA x = b, Linear inequalities: AxbA x \leq b, Second order cone: AxSOCbA x \leq_{SOC} b, Exponential cone: AxEXPbA x \leq_{EXP} b, Semidefinite cone: AxSOPbA 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.
  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07