Skip to content

MIP compiler error - reported by MiniZinc #550

Closed

Description

@markwallacemonash

Here's the error report:
" MIPD: LIN_EQ with 1 variable::: int_lin_eq(X_INTRODUCED_436007_,[X_INTRODUCED_38_],0):: defines_var(0)
MIPD: LIN_EQ with 1 variable::: int_lin_eq(X_INTRODUCED_436007_,[X_INTRODUCED_38_],0):: defines_var(0)
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:
"std::fabs(it2->second.first - A) < 1e-6 * std::max(std::fabs(it2->second.first), std::fabs(A))"
Process finished with non-zero exit code 1."

The same bug was reported by the MiniZinc IDE version 2.5.6, running solver Gurobi 9.1.0 and COIN 2.10.7/1
The model and data are attached as text files
match2Kall.dzn.txt
match_best_func_like_non_func.mzn.txt
.

Activity

  1. glebbelov commented on Feb 28, 2022

    @glebbelov
    Contributor

    Adding a workaround on develop. For the current release, add -DfMPdomains=false in the command-line options, the IDE might have a dedicated flag.

    Basically this finds contradicting constraints. But removing this check (what I did) leads to a seemingly feasible model. Weird, I haven't checked further.

  2. added
    resolvedIssue is resolved and the feature or fix will be part of next release
    on Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolvedIssue is resolved and the feature or fix will be part of next release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions