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

Optimizer API for Java - Documentation - Mosek Optimizer API for Java - Documentation - Mosek

25.11.2015 Views

236 APPENDIX A. API REFERENCE Obtains barc in block triplet form. Arguments : long Number of elements in the block triplet form. num : long[] Number of elements in the block triplet form. subj : int[] Symmetric matrix variable index. subk : int[] Block row index. subl : int[] Block column index. valijkl : double[] A list indexes of the elements from symmetric matrix storage that appers in the weighted sum. Description: Obtains ¯C in block triplet form. A.2.35 Task.getbarcidx() Task.getbarcidx( idx, j, num, sub, weights) Obtains information about an element in barc. Arguments idx : long Index of the element that should be obtained information about. j : int[] Row index in ¯c. num : long[] Number of terms in the weighted sum.

A.2. CLASS TASK 237 sub : long[] Elements appearing the weighted sum. weights : double[] Weights of terms in the weighted sum. Description: Obtains information about an element in ¯c. A.2.36 Task.getbarcidxinfo() Task.getbarcidxinfo( idx, num) = Task.getbarcidxinfo(idx) Obtains information about an element in barc. Arguments : long Number of terms that appears in weighted that forms the requested element. idx : long Index of element that should be obtained information about. The value is an index of a symmetric sparse variable. num : long[] Number of terms that appears in weighted that forms the requested element. Description: Obtains information about about the ¯c ij . A.2.37 Task.getbarcidxj() Task.getbarcidxj( idx, j) Obtains the row index of an element in barc. Arguments

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

Obtains barc in block triplet form.<br />

Arguments<br />

: long<br />

Number of elements in the block triplet form.<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 />

valijkl : double[]<br />

A list indexes of the elements from symmetric matrix storage that appers in the weighted<br />

sum.<br />

Description:<br />

Obtains ¯C in block triplet form.<br />

A.2.35<br />

Task.getbarcidx()<br />

Task.getbarcidx(<br />

idx,<br />

j,<br />

num,<br />

sub,<br />

weights)<br />

Obtains information about an element in barc.<br />

Arguments<br />

idx : long<br />

Index of the element that should be obtained information about.<br />

j : int[]<br />

Row index in ¯c.<br />

num : long[]<br />

Number of terms in the weighted sum.

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

Saved successfully!

Ooh no, something went wrong!