ValuesUnderConstraints
Symbols
return the symbols occurring in the constraints
Calling Sequence
Parameters
Description
Examples
References
Compatibility
Symbols(vc)
vc
-
ValueUnderConstraints
The command Symbols(vc) returns as a list the variables occurring in the constraints of a value-under-constraints object.
with⁡ValuesUnderConstraints:
Create a value-under-constraints objects with no integer-valued symbol
vc1≔ValueUnderConstraints⁡1,a,b,c,d,a,b,c,d,∅
vc1≔value 1 when a=0,d≠0,0<c,0≤b
Print its value, its constraints, its symbols and its integer-valued symbols
Value⁡vc1;Constraints⁡vc1;Symbols⁡vc1;IntegerSymbols⁡vc1
1
a=0,d≠0,0<c,0≤b
a,b,c,d
∅
Create another value-under-constraints objects where all symbols are integer-valued
vc2≔ValueUnderConstraints⁡2,a,b,c,d,a,b,c,d,a,b,c,d
vc2≔value 2 when a=0,d≠0,0≤b,0≤c−1
Value⁡vc2;Constraints⁡vc2;Symbols⁡vc2;IntegerSymbols⁡vc2
2
a=0,d≠0,0≤b,0≤c−1
Rui-Juan Jing, Yuzhuo Lei, Christopher F. S. Maligec, Marc Moreno Maza: "Counting the Integer Points of Parametric Polytopes: A Maple Implementation." Proceedings of Computer Algebra in Scientific Computing - 26th International Workshop (CASC) 2024: 140-160, Lecture Notes in Computer Science, vol. 14938, Springer.
The ValuesUnderConstraints[Symbols] command was introduced in Maple 2025.
For more information on Maple 2025 changes, see Updates in Maple 2025.
See Also
ValuesUnderConstraints[Constraints]
ValuesUnderConstraints[Equations]
ValuesUnderConstraints[HasInconsistentConstraints]
ValuesUnderConstraints[Inequations]
ValuesUnderConstraints[IntegerSymbols]
ValuesUnderConstraints[NonNegativeInequalities]
ValuesUnderConstraints[PositiveInequalities]
ValuesUnderConstraints[Symbols]
ValuesUnderConstraints[Value]
ValuesUnderConstraints[ValueUnderConstraints]
Download Help Document