Forum Discussion

FICO's avatar
FICO
Community Manager
8 years ago

Packages incompatibility

I am trying to run my model with a quadratic objective function and a nonlinear one (for comparison purposes). It does not seem that I can include both mmxnlp and mmquad package in the same file. If I do, I get:

Mosel: E-302 at (7,15) of `SRPO_Approach1_OptModel.mos': The symbol mailto:`@*' from `mmquad' cannot be defined (redefinition).

Mosel: E-307 at (7,15) of `SRPO_Approach1_OptModel.mos': Operator mailto:`@*' (code 1011) from module `mmquad' rejected.

Is the solution to create 2 files then for each of my models? Or is there another way around?

Thanks,

Alexis

1 Reply

  • FICO's avatar
    FICO
    Community Manager

    The modules 'mmquad' and 'mmnl' (on which 'mmxnlp' is based) are mutually exclusive, you cannot use them in the same model.

    'mmquad' only provides functionality for handling quadratic objective functions, the same functionality is available through 'mmnl'+'mmxprs',