I get this output :"Solver stopped prematurely. No integer feasible point found" in intlinprog function
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I got this output:" Solver stopped prematurely. No integer feasible point found." when using intlinprog function to solve a linear optimization problem. The codes has been attached.
1 Commento
Risposte (1)
Aravind
il 29 Gen 2025
Modificato: Aravind
il 29 Gen 2025
The message "Solver stopped prematurely. No integer feasible point found" suggests that the “intlinprog” function was unable to find a solution that meets all the integer constraints of your linear optimization problem. You can try the following steps to troubleshoot and potentially resolve this issue:
- Check Constraints: Ensure your constraints are correctly defined and that a feasible region exists. Overly restrictive constraints are a common cause of infeasibility.
- Initial Solution: If possible, provide an initial feasible solution or a good starting point to help the solver converge to a solution.
- Relax Constraints: Temporarily relax some constraints to see if the solver can find a solution. If successful, gradually reintroduce the constraints to identify the one causing infeasibility.
- Increase Iterations or Time Limit: The solver might need more time or iterations to find a feasible solution. Consider increasing the “MaxTime” or “LPMaxIterations” options in the solver settings.
- Review Variable Bounds: Make sure the bounds on your variables are correctly set and not overly restrictive.
- Scaling Issues: Poor scaling can lead to numerical difficulties. Try normalizing your data if you suspect scaling might be an issue.
- Review Problem Formulation: Double-check your problem formulation to ensure it accurately represents what you intend to solve.
Additionally, reviewing the documentation of the “intlinprog” function at https://www.mathworks.com/help/releases/R2022a/optim/ug/intlinprog.html can be helpful to understand its limitations and assumptions. Certain problem types or sizes may exceed the solver's capabilities, or specific settings might be needed for optimal performance.
I hope this helps address your query.
0 Commenti
Vedere anche
Categorie
Scopri di più su Surrogate Optimization in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!