Description Usage Arguments Details Value Author(s) References See Also Examples
Functions to read and write semidefinite program data and solutions in SDPA format.
1 2 3 4 |
file |
The name of the file to read from or write to. |
C |
Block structured cost matrix |
A |
List of block structured constraint matrices |
b |
RHS vector |
K |
Cone specification, as used in |
X |
Block structured primal optimal solution matrix |
Z |
Block strucutured dual optimal solution matrix |
y |
Dual optimal solution vector |
verbose |
Printout information as problem is read. Passed to CSDP's readsdpa function. Default |
m |
Number of constraints in problem. |
Block structured matrices must be specified as described in
csdp
.
Files read must be in SDPA format (see
http://infohost.nmt.edu/~sdplib/FORMAT).
However, these functions don't support comments or grouping characters
(e.g. braces, parentheses) in the block sizes specification.
Function readsdpa
returns a list with elements C,A,b,K
.
Function readsdpa.sol
returns a listh with elements
X,Z,y
.
All returned matrices are lists of objects of class simple_triplet_sym_matrix
.
Hector Corrada Bravo
http://infohost.nmt.edu/~sdplib/FORMAT
1 | # TO DO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.