Running into some error (MSPFormat reader)
bonnkleiford opened this issue · comments
Hi Oscar,
I was trying the MSPFormat reader function to try energy problem. Unfortunately, I ran into some error where one of the coefficients (price_6) of the objective function is not found. Here is the full error:
Here are the two JSON files (problem and lattice) for reproduction purposes:
Energy.zip
Best,
BIKEY
That's this line:
Line 38 in e2e1ecb
I think we discussed this, but I don't remember the conclusion. If a node i the lattice was missing a random variable, should we infer the value to be 0.0
?
I'll re-iterate that I think this is a bad idea and a recipe for bugs. There's no need for file formats to be clever or save space. The zip file with and without the default values should be pretty similar.