conjure-cp / conjure

Conjure: The Automated Constraint Modelling Tool
Other
96 stars 20 forks source link

incorrect names in parameter file causes crashes #293

Closed ozgurakgun closed 7 years ago

ozgurakgun commented 9 years ago

Originally reported by: wetterj (Bitbucket: wetterj, GitHub: wetterj)


essence:

language Essence 1.3

given n : int(1..)

letting Range be domain int(1..n)

given f : function (total) Range --> int(1..)

find x : int(1..n)

param:

letting n be 2
letting F be function (1 --> 1, 2 --> 2)

ozgurakgun commented 9 years ago

Original comment by Özgür Akgün (Bitbucket: ozgurakgun, GitHub: ozgurakgun):


fixes #22 -- check missing and extra lettings in the parameter file