You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before trying to access variable values, you should always check if prob.value is finite. In your case, you have a minimization problem, and prob.value == np.inf after calling prob.solve(). This means your problem is infeasible.
Diagnosing infeasibility issues is a common task when using optimization models in practice. Usually you will find either a bug in your code, or you will see that the abstract mathematical model can be infeasible (even if coded up perfectly). Helping users identify which situation they are in is beyond the scope of GitHub issues, so I'll be closing this issue. However, you can ask for help on StackOverflow with a cvxpy tag.
Describe the bug
After solving the problem, variables u & y returned "None"
To Reproduce
Version
Additional context
Did anyone run into this issue? I am new to cvxpy, not sure how to address it... Thank you!
The text was updated successfully, but these errors were encountered: