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.

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

A.2.173<br />

Task.printparam()<br />

Task.printparam()<br />

Prints the current parameter settings.<br />

Description:<br />

Prints the current parameter settings to the message stream.<br />

A.2.174<br />

Task.putacol()<br />

Task.putacol(<br />

j,<br />

subj,<br />

valj)<br />

Replaces all elements in one column of A.<br />

Arguments<br />

j : int<br />

Index of column in A.<br />

subj : int[]<br />

Row indexes of non-zero values in column j of A.<br />

valj : double[]<br />

New non-zero values of column j in A.<br />

Description:<br />

Replaces all entries in column j of A. Assuming that there are no duplicate subscripts in subj,<br />

assignment is performed as follows:<br />

See also<br />

All other entries in column j are set to zero.<br />

A subj[k],j = valj[k], k = 0, . . . , nzj − 1<br />

• Task.putarow Replaces all elements in one row of A.<br />

• Task.putaij Changes a single value in the linear coefficient matrix.<br />

• Task.putmaxnumanz <strong>The</strong> function changes the size of the preallocated storage for linear<br />

coefficients.

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

Saved successfully!

Ooh no, something went wrong!