Can u help me to to print an objective function?
@objective(m, Min, sum(custo[j,i]*x[i,j] for i in destino, j in origem))
Can u help me to to print an objective function?
@objective(m, Min, sum(custo[j,i]*x[i,j] for i in destino, j in origem))
Could you give some more details? The title of the thread doesn’t seem to have anything to do with your question.
Are you using JuMP? Here’s the section of the docs describing how to query an objective function:
https://jump.dev/JuMP.jl/stable/manual/objective/#Query-the-objective-function
If your question is really about the Read a CSV
part, then there are various tutorials in the JuMP documentation that will help: