I currently us LinExpr to build up an objective function using multiple cost terms. Example obj = labor + transportation.
It also appears we can call this after model solve to get the cost corresponding to the LinExpr we created. Example labor.getValue().
Is it possible to leverage the LinExpr to create custom calculations for output purposes that won't add to our model?
Please sign in to leave a comment.