teshnizi / OptiMUS

Optimization Modeling Using mip Solvers and large language models
MIT License
145 stars 26 forks source link

About dataset format of v-0.3 #17

Open cclvr2 opened 2 weeks ago

cclvr2 commented 2 weeks ago

Hello, thank you very much for open-sourcing OptiMUS. We tried the main version and were able to successfully run most of the tasks. However, when we switched to v-0.3, we encountered an issue with data format mismatches.

For example, the following screenshot shows the structure of problem 2 in the nlp4lp dataset. 屏幕截图 2024-11-12 170047

When we run the command python main.py --dir data/nlp4lp/2, we get an error as follows:

屏幕截图 2024-11-12 170109

and we also noticed that the label data is missing. Could you let us know where we can download a dataset that meets the requirements of v-0.3?

QJZJ12 commented 1 week ago

Hi @cclvr2 did you encounter issues while running problems in the NLP4LP dataset? I faced errors with the input_target.json files not matching the variable names declared in data.json. For example, while running the 21st problem in the dataset, I encountered the following error:

image

cclvr2 commented 1 week ago

Hi @cclvr2 did you encounter issues while running problems in the NLP4LP dataset? I faced errors with the input_target.json files not matching the variable names declared in data.json. For example, while running the 21st problem in the dataset, I encountered the following error:

image

Hi, I have met this error when I run the main version, and I just commented out the related lines in sanity_check function, then it worked for most of the tasks.