my objective function is:
m.setObjective(x.prod(cost) + y.prod(trip))
now when I finish m.optimize(),
I want to get the value of term x.prod(cost),
but when I print that, the result just shows an equation, rather than the value number.
How can I change the code?
Please sign in to leave a comment.