Closed KennethAnn closed 1 year ago
@mapping
is just an alias of @NLexpression
. You can use nonlinear terms in @mapping
. You cannot use @NLconstraint
.
Thanks. I am curious about the model structure interface whether it could print the real value of each @mapping when I print the model. To do so, I can directly obtain the value of subexpressions, which could be benefit for checking the balance of equations.
Dear Professor Kwon, I am now using complementarity.jl to build a computable general equilibrium (CGE) model, which is in general established in GAMS software. A question is whether the NLconstraint can be used in MCPModel(), since I want to combine the nonlinear equations and MCP structure together.