I have finished my implementation of my unit commitment problem and I would like to know if there is any possibility of including this kind of plot in my final results:
Extracted from: https://yalmip.github.io/example/unitcommitment/
Basically right know I am accessing to my results as:
for j in 1:T
println("Dispatch Power in hour “,j,” = ", getvalue(p[:,j]))
println("Hour “, j, " Startup Cost =”,getvalue(s[:,j]))
But I would like to know if I there is any possibility of transforming the JuMP variable to a normal array o a dataframe in order to plot them.