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
bool AxisIsSet()

Returns true if the cone axis was set

Return:

(bool)

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)