Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.8.0 Error while compiling regular constraint #752

Closed
IgnaceBleukx opened this issue Nov 20, 2023 · 0 comments
Closed

2.8.0 Error while compiling regular constraint #752

IgnaceBleukx opened this issue Nov 20, 2023 · 0 comments
Assignees
Labels
bug resolved Issue is resolved and the feature or fix will be part of next release

Comments

@IgnaceBleukx
Copy link

IgnaceBleukx commented Nov 20, 2023

Hi,

I am using MiniZinc v2.8.0 on Linux to solve the following problem:

include "globals.mzn";

int: N=5;
array[1..5] of var 1..10 : x;
enum STATE = {S1, S2, S3};
% DFA to define 12*1
array [STATE,1..2] of opt STATE: trans = [|     1:  2:
                                          | S1: S2, <>
                                          | S2: S3, S2
                                          | S3: <>, <>|];

constraint regular(x, trans, S1, {S3}); 

Which gives the the following error when compiling for any solver I have installed:

MiniZinc has encountered an internal error. This is a bug.
Please file a bug report using the MiniZinc bug tracker.
The internal error message was: 
"unexpected absent literal"

This model does work on v2.7.6

Kind regards,
Ignace

@IgnaceBleukx IgnaceBleukx changed the title 2.8.1 Error while compiling regular constraint 2.8.0 Error while compiling regular constraint Nov 20, 2023
@cyderize cyderize added the bug label Nov 20, 2023
@cyderize cyderize self-assigned this Nov 20, 2023
@cyderize cyderize added the resolved Issue is resolved and the feature or fix will be part of next release label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug resolved Issue is resolved and the feature or fix will be part of next release
Projects
None yet
Development

No branches or pull requests

2 participants