25.11.2015 Views

The MOSEK Python optimizer API manual Version 7.0 (Revision 141)

Optimizer API for Python - Documentation - Mosek

Optimizer API for Python - Documentation - Mosek

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A.2. CLASS TASK 309<br />

Description:<br />

This function puts one element associated with ¯X j in the Ā matrix.<br />

Each element in the Ā matrix is a weighted sum of symmetric matrixes, i.e. Ā ij is a symmetric<br />

matrix with dimensions as ¯X j . By default all elements in Ā are 0, so only non-zero elements<br />

need be added.<br />

Setting the same elements again will overwrite the earlier entry.<br />

<strong>The</strong> symmetric matrixes themselves are defined separately using the funtion Task.appendsparsesymmat.<br />

A.2.183<br />

Task.putbarcblocktriplet()<br />

Task.putbarcblocktriplet(<br />

num,<br />

subj,<br />

subk,<br />

subl,<br />

valjkl)<br />

Inputs barC in block triplet form.<br />

Arguments<br />

num : long<br />

Number of elements in the block triplet form.<br />

subj : int[]<br />

Symmetric matrix variable index.<br />

subk : int[]<br />

Block row index.<br />

subl : int[]<br />

Block column index.<br />

valjkl : double[]<br />

<strong>The</strong> numerical value associated with the block triplet.<br />

Description:<br />

Inputs the ¯C in block triplet form.<br />

A.2.184<br />

Task.putbarcj()<br />

Task.putbarcj(<br />

j,<br />

sub,<br />

weights)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!