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
The optimization that I set up does not work when I set the number of general inequality constraints "ng" to zero. However when I set "ng" to a value of 1 it works fine. Is there something wrong with my formulation or is there a bug in the code? You can from the printed vector (Av) at the end that it does not match up with the vector (b)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The optimization that I set up does not work when I set the number of general inequality constraints "ng" to zero. However when I set "ng" to a value of 1 it works fine. Is there something wrong with my formulation or is there a bug in the code? You can from the printed vector (Av) at the end that it does not match up with the vector (b)
A @ v[:,None]: [[-6.32751741]
[-9.52767775]
[40.07520835]
[40.07520835]
[ 1.5 ]
[ 3. ]
[68.85408864]
[72.90432914]]
Beta Was this translation helpful? Give feedback.
All reactions