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.

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

Obtains all objective coefficients.<br />

Arguments<br />

c : double[]<br />

Linear terms of the objective as a dense vector. <strong>The</strong> lengths is the number of variables.<br />

Description:<br />

Obtains all objective coefficients c.<br />

A.2.47<br />

Task.getcfix()<br />

cfix = Task.getcfix()<br />

Obtains the fixed term in the objective.<br />

Arguments<br />

cfix : double<br />

Fixed term in the objective.<br />

Description:<br />

Obtains the fixed term in the objective.<br />

A.2.48<br />

Task.getcj()<br />

cj = Task.getcj(j)<br />

Obtains one coefficient of c.<br />

Arguments<br />

cj : double<br />

<strong>The</strong> value of c j .<br />

j : int<br />

Index of the variable for which c coefficient should be obtained.<br />

Description:<br />

Obtains one coefficient of c.<br />

See also<br />

• Task.getcslice Obtains a sequence of coefficients from the objective.

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

Saved successfully!

Ooh no, something went wrong!