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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

216 APPENDIX A. <strong>API</strong> REFERENCE<br />

subi : int[]<br />

Constraint subscripts.<br />

subj : int[]<br />

Column subscripts.<br />

val : double[]<br />

Values.<br />

Description:<br />

Obtains a sequence of columns from A in a sparse triplet format.<br />

A.2.22<br />

Task.getaij()<br />

aij = Task.getaij(<br />

i,<br />

j)<br />

Obtains a single coefficient in linear constraint matrix.<br />

Arguments<br />

aij : double<br />

<strong>The</strong> required coefficient a i,j .<br />

i : int<br />

Row index of the coefficient to be returned.<br />

j : int<br />

Column index of the coefficient to be returned.<br />

Description:<br />

Obtains a single coefficient in A.<br />

A.2.23<br />

Task.getapiecenumnz()<br />

numnz = Task.getapiecenumnz(<br />

firsti,<br />

lasti,<br />

firstj,<br />

lastj)<br />

Obtains the number non-zeros in a rectangular piece of the linear constraint matrix.<br />

Arguments

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

Saved successfully!

Ooh no, something went wrong!