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¶
integral() -> SymmetricLinearDomain
Modify a given domain restricting its elements to be integral.
- Return
- SymmetricLinearDomain.sparse¶
sparse(int[] sparsity) -> SymmetricLinearDomain sparse(int[][] sparsity) -> SymmetricLinearDomain
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