Closed machristie closed 3 years ago
I was able to fix this by copying the candidate network files from the dev server. The code tries now to reuse the case study's candidate network (see #72) but those candidate network files were only on the dev server.
Still, if the candidate network file isn't available it should get generated as needed. I'll see if I can fix that.
I can't reproduce this locally. I thought this had to do with the candidate network reuse, but when I remove that code I still see the mps file generated locally. Also, I was able to confirm that the candidate network gets generated on demand. That is, if the CandidateNetwork.txt is missing in the scenario directory, it gets generated as a side effect of calling MPSWriter.writeCapPriceMPS()
.
I think this was a data issue and when I copied the data over from the dev server, that fixed it. I can't remember if there was some data issue that we fixed on dev, but I'm assuming we did at some point, perhaps when upgrading to a newer version of SimCCS.jar.
Only seeing this issue in production/master branch. Oddly, if I click on Generate Candidate Network first and then Generate MPS file, the MPS file gets generated successfully.
Stack trace: