Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DLWoodruff opened this issue Nov 19, 2017 · 2 comments
Closed
Assignees
Labels
bug not planned pyomo.data Any issues related to data portals and data file parsing

Comments

@DLWoodruff
Copy link
Contributor

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

@blnicho blnicho added bug pyomo.core pyomo.data Any issues related to data portals and data file parsing and removed pyomo.core labels Feb 28, 2018
@mrmundt
Copy link
Contributor

mrmundt commented Feb 22, 2022

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

@mrmundt
Copy link
Contributor

mrmundt commented Jan 3, 2024

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

@mrmundt mrmundt closed this as completed Jan 3, 2024
@blnicho blnicho closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug not planned pyomo.data Any issues related to data portals and data file parsing
Projects
None yet
Development

No branches or pull requests

4 participants