Macaulay2 » Documentation
Packages » MonomialIntegerPrograms :: loadSCIPCodimAndDegree
next | previous | forward | backward | up | index | toc

# loadSCIPCodimAndDegree -- change codim and degree to use the default, built-in methods.

- Usage:
    `loadBuiltinCodimAndDegree()`

## Description

When the package gets loaded, codim and degree are replaced with codimensionIP and degreeIP respectively for a MonomialIdeal. loadSCIPCodimAndDegree can be used to reload the SCIP methods in the event that loadBuiltinCodimAndDegree was called.

    i1 : R = QQ[a,b,c];

    i2 : ScipPrintLevel = 1;

    i3 : loadBuiltinCodimAndDegree();

    i4 : codim(monomialIdeal(a^2, b*a, c*b))

    o4 = 2

    i5 : degree(monomialIdeal(a^2, b*a, c*b))

    o5 = 3

    i6 : loadSCIPCodimAndDegree();

    i7 : codim(monomialIdeal(a^2, b*a, c*b))
    Codim files saved in directory: /tmp/M2-8610-0/0

    o7 = 2

    i8 : degree(monomialIdeal(a^2, b*a, c*b))
    Codim files saved in directory: /tmp/M2-8610-0/1
    Degree files saved in directory: /tmp/M2-8610-0/2

    o8 = 3

## See also

- loadBuiltinCodimAndDegree -- change codim and degree to use the default, built-in methods.
- codimensionIP -- compute the codimension of a monomial ideal using integer programming
- degreeIP -- compute the degree of a monomial ideal using integer programming

## Ways to use loadSCIPCodimAndDegree:

- loadSCIPCodimAndDegree() (missing documentation)

## For the programmer

The object loadSCIPCodimAndDegree is a method function.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/MonomialIntegerPrograms.m2:1088:0.