pyomo icon indicating copy to clipboard operation
pyomo copied to clipboard

dat file parser gives unhelpful message for two-dimensional set input

Open DLWoodruff opened this issue 7 years ago • 1 comments

2dDat.zip The attached example has a 2d set with the correct syntax for AMPL in the dat file, but this is the result (at a minimum the message should indicate that it comes from the dat file parser).

$ pyomo solve 2dDAT.py 2dDAT.dat --solver=cplex

[ 0.00] Setting up Pyomo environment [ 0.00] Applying Pyomo preprocessing actions [ 0.00] Creating model [ 0.02] Pyomo Finished ERROR: Unexpected exception while running model: Unexpected comma outside of (), {} or [] declarations

DLWoodruff avatar Nov 19 '17 22:11 DLWoodruff

@DLWoodruff @blnicho - I'm going through old bug reports. Is this bug still present in the most recent Pyomo version?

mrmundt avatar Feb 22 '22 21:02 mrmundt

In an effort to clean up issues, we are moving some discussions to our Archived Design Discussions wiki.

mrmundt avatar Jan 03 '24 20:01 mrmundt