Debugging infeasible models
@johanlofberg is already working on this.
Since Aug 20, 2021.
Assessment
This issue has not been assessed yet.
Description
Discussed in https://github.com/yalmip/YALMIP/discussions/969
Originally posted by zoharl3 August 20, 2021
There's this comprehensive page:
https://yalmip.github.io/debugginginfeasible
Usually, that's what I do more or less.
I just wanted to point out that it's possible to write a general tool to find the problematic constraint given a problem:
- Change the objective to 1.
- Run the problem with all possibilities of constraints turned on and off. Offer also a faster option that turns on constraints inclemently and reports the first failure.
- Maybe name the constraints automatically as the line number in code.
- Dominant language
- MATLAB
- Stars
- 569
- Forks
- 150
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from yalmip/YALMIP
-
type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
type:enhancement
Difficulty 3/5 1-2 days Newbie friendliness 57/100
-
coefficients uses to many monomials on matrix inputsMay be free again @johanlofberg claimed this 429 days ago, and no pull request is open. Open
-
Feature: Support KKT derivation for problems whose constraints are linear when parameters are givenOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Bug: snopt interface for problems with "few" constraintsMay be free again @johanlofberg claimed this 679 days ago, and no pull request is open. Openexternal:snopt
Similar issues
-
Missing square in zef_pbo_systemPossibly taken @SeSodesa claimed this 1 day ago. Openbug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
UniprJRC/DSwithMATLAB#247 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SciML/SciMLBenchmarks.jl#1996 ·
Maintainers usually reply within 1 day
-
bug priority: p3 size: xs
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100