Open
Description
I have written two examples in which BARON chokes on a constant constraint passed through the ASL interface. In both cases, the .nl writer simplifies the constraint to 0 == 0, but writes it anyways.
This has a constraint which is constant (with respect to the solver) because both variables in it are "fixed" in the Pyomo model.
kmn_model.py.txt
This has a constraint which is constant because the constraint is of the form Constant == Parameter
kmnc_model.py.txt
Note that the line number on the syntax error refers to the .bar file which baron generates from the .nl file, not the .nl file itself.