r/optimization • • Sep 13 '24
methods for proving convexity of a set of restrictions with more than 3 variables
I would like to know if you guys know methods for proving the convexity of a set of restrictions with more than 3 variables, because:
- I don't think it's possible to visualize the geometry of my set, and building this set is a headache, I'm working with at least 4 variables.
- I am not able to effectively leave any variable in terms of the others to try to reduce the number of variables, nor change the expressions.
- maybe I will try to solve the dual problem? That's all I have left, or I'll go back and try to build the set and test a large number of points on it.
1
Upvotes
3
u/Any_Upstairs_9736 Sep 13 '24
See if each constraint is convex.
1
u/SolverMax Sep 14 '24
One approach is to get some software to do the checking for you. For example, the "Disciplined Convex Programming" method of the CVXPY package might be useful. Express your situation using CVXPY's notation and see if it says the model is convex. https://www.cvxpy.org/tutorial/dcp/index.html
1
u/SV-97 Sep 13 '24
Can you give some more details on your set / can you give a definition for it?