
Last chance! 50% off unlimited learning
Sale ends in
This class represents a semidefinite cone constraint, the set of all symmetric matrices such that the quadratic form
SDP(A, enforce_sym = TRUE, constr_id)# S4 method for SDP
as.character(x)
# S4 method for SDP
size(object)
# S4 method for SDP
format_constr(object, eq_constr, leq_constr, dims, solver)
The matrix variable constrained to be semidefinite.
A logical value indicating whether symmetry constraints should be added.
(Internal) A unique integer identification number used internally.
A list of the equality constraints in the canonical problem.
A list of the inequality constraints in the canonical problem.
A list with the dimensions of the conic constraints.
A string representing the solver to be called.
size
: The dimensions of the semidefinite cone.
format_constr
: Format SDP constraints as inequalities for the solver.
constr_id
(Internal) A unique integer identification number used internally.
A
The matrix variable constrained to be semidefinite.
enforce_sym
A logical value indicating whether symmetry constraints should be added.