Oscar Dowson
Oscar Dowson
Ah. It seems I only added `{Less,Greater}Than` support for indicators: https://github.com/jump-dev/MathOptInterface.jl/blob/2708cb27dc580bcc3a964e17c1ad2c596ca0ee77/src/FileFormats/MPS/MPS.jl#L67-L80
Was it really `allcolor58.mps.gz` that was the problem? I can't reproduce: ```julia julia> using JuMP julia> model = read_from_file("allcolor58.mps.gz") allcolor58 Minimization problem with: Variables: 84376 Objective function type: AffExpr `AffExpr`-in-`MathOptInterface.EqualTo{Float64}`:...
I need to think about this. This feels like the wrong fix. I'm also going away on holiday for a week starting tomorrow, so I won't be online much
GAMS has a bunch here: https://www.gams.com/latest/docs/UG_Parameters.html The univariate functions supported by JuMP/MOI are here: https://github.com/jump-dev/MathOptInterface.jl/blob/2aba5d5450b3a5931ff557cb8969efc2987b3ffd/src/Nonlinear/univariate_expressions.jl#L12-L83 the multivariate functions are here: https://github.com/jump-dev/MathOptInterface.jl/blob/2aba5d5450b3a5931ff557cb8969efc2987b3ffd/src/Nonlinear/operators.jl#L531-L547 A missing one that people use quite a bit...
Ah. They're in the GAMS format, not AMPL. We have an open question then, of whether to bring in modeling functions like `signpower` that exist only in GAMS, and are...
I guess the issue is that `signpower` is smooth and differentiable at `x=0`. Whereas `sign(x)` and `abs(x)` are not.
Bump. Does anyone want to take a look at this?
> Any reason why is it not handling vector function-in-set's? Only that it is a little more complicated to implement. I think this should cover 99% of the requests.
Yes, `MOI.modify` is a much better verb. I don't know why I didn't think of that.
Any comments now that I've swapped to `MOI.modify`?