1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

20 lines
521 B
MiniZinc

% Regression test for bug #221.
% In the G12/FD implementation of cumulative, ext_edge_finding_filtering
% required an e-feasibility check to be run, but specifying the above
% annotation alone did not imply that.
% This model is unsatisfiable.
include "cumulative.mzn" ;
int: size = 10;
array [1..2*size] of int: ones = [1 | Index in 1..2*size] ;
array [1..2*size] of var 1..(2*size-1): start;
constraint cumulative(start,ones,ones,1) :: ext_edge_finding_filtering ;
solve satisfy ;
output [show(start), "\n" ] ;