Debian Codegraph @

tests/spec/unit/regression/github_773.mzn

raw
1 /***
2 !Test
3 expected: !FlatZinc 'github_773.fzn'
4 solvers: [gecode]
5 type: compile
6 ***/
7
8 % Regression test bug where substituting fixed variables removed the `objective`
9 % declaration but left it in the solve item.
10 var 1..3: objective;
11 solve :: int_search([objective], input_order, indomain_min, complete) minimize objective;
12 constraint objective = 2;