You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Gurobi Optimization
Hi; I need to have a squareroot of a decision variable which is also a function with absolute value. When I run the program, Gurobi return with '' m.addConstr(STD == math.sqrt(VAR))
TypeError: a float is required'' error. I tried to introduce some slack variables and make the calculation step by step however could not be able to figure it out. I would be glad if someone can hand in?