Debian Codegraph @

tests/spec/unit/output/output_sections_4.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 _output_item: 'x = 10'
7 ***/
8
9 var 1..10: objective :: foo;
10
11 annotation foo(var int: x :: annotated_expression) = let {
12 constraint output_to_section("default", "x = \(x)");
13 } in empty_annotation;
14
15 solve maximize objective;
16
17 output [];