Hello,
We're at a loss here. We want to generate <1000 .nl-files from slightly differing model and data files. For example: One instance with binary variable pumpOperating_25 relaxed and 4 time steps, a second instance with lower bounds on variables n_d and a particular high demand of something, and so on. This is the first job Pyomo. We use
instance = model.create_instance(data)
instance.write(path+"someName.nl", "nl", io_options={"symbolic_solver_labels": True})
This also generates a .row-file and a .col-file. Then we want to solve the <1000 .nl-files with a solver like SCIP.
Then we're planning to collect the .sol-files that SCIP produced, load them into the corresponding instance in Pyomo and evaluate (by plotting, accessing the optimal values, or the value of the pressure variables). This is the second Job of Pyomo. And here lies our Problem. We tried several things, for example:
instance.solutions.add_solution(path+"someName.sol", someSymbolicMap)
Would you know how to pass (or where to find) the symbolic map? We tried things like
someSymbolicMap = (path+"someName.row", path+"someName.col")
But nothing worked.
Greetings from Frankfurt,
Johannes