Hi I'm using doOPL in python.
The following is part of my code.
with create_opl_model(model="phase0.mod",data="prob1.dat") as opl:
# tuple can be a list of tuples, a pandas dataframe...
# Generate the problem and solve it.
start_time = time.time()
opl.mute()
opl.run()
print("obj:",opl.objective_value,", time:",(time.time() - start_time))
After running it, I would like to check the result of decision variable x
opl.get_table('x')
But it doesn't work saying expecting tupleset x was passed.
I'm looking forward your help.