Skip to content

The default M in KKT operator #1072

Discussion options

You must be logged in to vote

Those lines of code are related to some weird experimental feature minnormdual (turned off) which I have no memory of what it does, and you shouldn't bother with

There is no big-M constant in the KKT code. The big-M modelling is done before solver call when the complementarity condition in the KKT model is modelled, and the big-M constant used there is automatically derived as tight as possible, based on the bounds available on primal and dual variables (which you add to the model, either by your own knowledge and/or using the bounds computed in KKT and returned in the details.primalbounds and details.dualbounds. If those bound derivations have failed, you simply add your own magic bounds…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@asxadf
Comment options

@johanlofberg
Comment options

@asxadf
Comment options

Answer selected by johanlofberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants