14.2.5 Class ConeDomain

mosek.fusion.ConeDomain

Represent a domain defined by a conic constraints

Members

ConeDomain.axis – Set the dimension along which the cones are created.

ConeDomain.axisIsSet – Returns true if the cone axis was set

ConeDomain.getAxis – Get the dimension along which the cones are created.

ConeDomain.integral – Creates a domain of integral variables.

ConeDomain.withNamesOnAxis – Set index names in a specific axis.

ConeDomain.withShape – Set the shape of the domain.

ConeDomain.axis
ConeDomain axis(int a)

Set the dimension along which the cones are created.

Parameters

a (int)

Return

(ConeDomain)

ConeDomain.axisIsSet
boolean axisIsSet()

Returns true if the cone axis was set

Return

(boolean)

ConeDomain.getAxis
int getAxis()

Get the dimension along which the cones are created.

Return

(int)

ConeDomain.integral
ConeDomain integral()

Modify a given domain restricting its elements to be integral.

Return

(ConeDomain)

ConeDomain.withNamesOnAxis
ConeDomain withNamesOnAxis(String[] names, int axis)

Set index names in a specific axis.

Parameters
  • names (String[]) – List of names, this must match the actual dimension on that axis.

  • axis (int) – The axis to change names on.

Return

(ConeDomain)

ConeDomain.withShape
ConeDomain withShape(int[] shp)
ConeDomain withShape(int dim0)
ConeDomain withShape(int dim0, int dim1)
ConeDomain withShape(int dim0, int dim1, int dim2)

Set the shape of the domain.

Parameters
  • shp (int[]) – The shape of the domain

  • dim0 (int) – First dimension

  • dim1 (int) – Second dimension

  • dim2 (int) – Third dimension

Return

(ConeDomain)