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::t integral()

Modify a given domain restricting its elements to be integral.

Return

(SymmetricLinearDomain)

SymmetricLinearDomain.sparse
SymmetricLinearDomain::t sparse(shared_ptr<ndarray<int,1>> sparsity)
SymmetricLinearDomain::t sparse(shared_ptr<ndarray<int,2>> 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)