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.
half-reif-benchmarks/tests/spec/examples/blocksworld_instance_1.mzn
Jip J. Dekker 9b7e65e00b Squashed 'software/minizinc/' content from commit 5a577826
git-subtree-dir: software/minizinc
git-subtree-split: 5a577826da4d7cf6195f28b5604d8d20a01fbc6e
2021-06-18 09:34:50 +10:00

43 lines
481 B
MiniZinc

/***
!Test
expected:
- !Result
solution: !Solution
'on':
- [2, -2, 1]
- [2, -2, -3]
- [-1, -2, -3]
- [2, 3, -3]
***/
% blocksworld_instance_1.mzn
% vim: ft=zinc ts=4 sw=4 et tw=0
include "blocksworld.model";
n_blocks = 3;
int: a = 1;
int: b = 2;
int: c = 3;
% Initial state:
%
% C
% A
% B
% ---
% A B C
initial_loc = [b, Table, a];
% Goal state:
%
% A
% B
% C
% ---
% A B C
final_loc = [b, c, Table];
n_steps = 4;