ValuesUnderConstraints
Value
return the value of a value-under-constraints object
Calling Sequence
Parameters
Description
Examples
References
Compatibility
Value(vc)
vc
-
ValueUnderConstraints
The command Value(vc) returns the value of vc .
Remarks
The value of a value-under-constraints object is a finite set, the members of which can be of any type. In particular, these members can be aggregates themselves, e.g. lists or sets.
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[Value] 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[Simplifier]
ValuesUnderConstraints[Simplify]
ValuesUnderConstraints[Symbols]
ValuesUnderConstraints[Value]
ValuesUnderConstraints[ValueUnderConstraints]
Download Help Document