Skip to content

MonomialIntegerPrograms assumes SCIP was compiled with ZIMPL support #4109

@d-torrance

Description

@d-torrance

The MonomialIntegerPrograms package provides an interface to SCIP for constraint integer programming. However, it assumes that SCIP was compiled with ZIMPL support. And the SCIP package in Homebrew currently isn't compiled with ZIMPL support so we get a bunch of errors when building Macaulay2 if the Homebrew SCIP is installed:

 -- Summary: 8 example(s) failed in package MonomialIntegerPrograms:
 -- degreeIP                           ../../../../../Macaulay2/packages/MonomialIntegerPrograms.m2:698:0 
 -- loadSCIPCodimAndDegree             ../../../../../Macaulay2/packages/MonomialIntegerPrograms.m2:1088:0
 -- loadBuiltinCodimAndDegree          ../../../../../Macaulay2/packages/MonomialIntegerPrograms.m2:1061:0
 -- IgnorePrimes                       ../../../../../Macaulay2/packages/MonomialIntegerPrograms.m2:1035:0
 -- topMinimalPrimesIP                 ../../../../../Macaulay2/packages/MonomialIntegerPrograms.m2:1012:0
 -- monomialIdealsWithHilbertFunction  ../../../../../Macaulay2/packages/MonomialIntegerPrograms.m2:875:0 
 -- minimalPrimesIP                    ../../../../../Macaulay2/packages/MonomialIntegerPrograms.m2:1128:0
 -- dimensionIP                        ../../../../../Macaulay2/packages/MonomialIntegerPrograms.m2:740:0 
../../../../../Macaulay2/m2/debugging.m2:18:13:(1):[9]: error: installPackage: 8 error(s) occurred in running examples for package MonomialIntegerPrograms

Build logs from #4034

Note that SCIP is currently not packaged for Debian/Ubuntu (mostly due to historical licensing issues which are no longer a problem). This will likely change at some point, as I just packaged SCIP (and ZIMPL) for Debian, but it takes a while for new packages to be approved to enter the archive. They almost certainly won't make the next Ubuntu LTS release coming out this April.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions