14.2.38 Class SymmetricLinearDomain

mosek.fusion.SymmetricLinearDomain

Represent a linear domain with symmetry.

Members

SymmetricLinearDomain.integral – Creates a domain of integral variables.

SymmetricLinearDomain.sparse – Creates a domain exploiting sparsity.

SymmetricLinearDomain.integral
SymmetricLinearDomain integral()

Modify a given domain restricting its elements to be integral.

Return

(SymmetricLinearDomain)

SymmetricLinearDomain.sparse
SymmetricLinearDomain sparse(int[] sparsity)
SymmetricLinearDomain sparse(int[][] sparsity)

Modify a given domain exploting sparsity, i.e only instantiating the variables that are actually used in the model.

Parameters
  • sparsity (int[])

  • sparsity (int[][])

Return

(SymmetricLinearDomain)