Dear all,
I am trying to solve a problem which is to find a rectangular box with maximum volume inside a 3D polytop
I have implemented a problem as follow:
1) Describe the polytop AX<=b (X is a 3-dimensional vector)
2) Define a sdpvar as [Xmin,Xmax,Ymin,Ymax,Zmin,Zmax]
3) Impose the constraints as follow:
- [Xmin<=Xmax,Ymin<=Ymax,Zmin<=Zmax]
- [A[Xmin;Ymin;Zmin]<=b,A[Xmin;Ymin;Zmax]<=b,A[Xmin;Ymax;Zmin]<=b,A[Xmin;Ymax;Zmax]<=b,....] (similarly for Xmax)
4) Describe the objective function as: J=-(Xmax-Xmin)(Ymax-Ymin)(Zmax-Zmin). (maximize the volume of the box)
5) Run yalmip and let it choose automatically the solver (I have cplex).
The algorithm works well for the similar 2-D problem but with the proposed 3-D problem, Yalmip gives the answer that:
============================================================================================
Initial point is a local minimum that satisfies the constraints.
Optimization completed because at the initial point, the objective function is non-decreasing
in feasible directions to within the selected value of the function tolerance, and
constraints are satisfied to within the selected value of the constraint tolerance.
============================================================================================
And the result contains all zero.
Is there any one has experience in the similar problem with me? Can you give me some direction?
All the best,
Thinh.