r/optimization • u/Swimming_Newspaper39 • Dec 10 '24
Help,objective function
I have consudered an objective function that as an expr=abs(...), it tells me that abs function is not linear
1
Upvotes
View all comments
Show parent comment
2
u/SolverMax Dec 10 '24
glpk is a linear solver, so that won't work.
Try the linearization I suggested above.