Linprog Problem--Exiting: The constraints are overly stringent; no feasible point exists.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I am trying to solve minimum cost network problem for water supply system using linprog function. I wrote all code for this problem to use simplex algorithm and run, but I get the following statement as "Exiting: The constraints are overly stringent; no feasible point exists." I also tried interior-point algorithm. When I use this method, the optimization was terminated. However, the result does not satisfies the constraints. Can you help me, please?
0 comentarios
Respuestas (3)
Matt J
el 3 de Abr. de 2014
Editada: Matt J
el 3 de Abr. de 2014
If your problem dimension is small enough, you can also try using LCON2VERT to find the vertices of your constrained region (assuming it is expected to be bounded). If the routine returns [], it will corroborate what linprog is telling you.
One other thing to be careful of, in addition to the points at Alan's documentation link, is not to use inequality constraints to express something that is really an equality constraint. For example the equality x=b can in theory be expressed using inequality constraints,
x<=b
-x<=-b
but if you do this, linprog will probably see your feasible set as empty due to machine precision issues. You should specify x=b using Aeq,beq inputs and not A,b inputs.
0 comentarios
Alan Weiss
el 3 de Abr. de 2014
The documentation has some suggestions on steps to try to see if there is a feasible point for your problem.
Alan Weiss
MATLAB mathematical toolbox documentation
0 comentarios
John D'Errico
el 3 de Abr. de 2014
Alan suggests looking to see if a feasible point exists. However, I'd bet a good amount that no such point exists since that is what the termination message tells you.
So I'd strongly suggest that you look to see if the constraints are coded up properly. Then check your assumptions, and your model for the system that caused the constraints to be generated. Have you formulated the problem correctly?
0 comentarios
Ver también
Categorías
Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!