# nlp_cons_ub¶

Class attribute.

MHE.nlp_cons_ub

Query and modify the upper bounds of the nlp_cons.

Prior to calling create_nlp() this attribute returns a list of upper bounds matching the list of constraints obtained with nlp_cons. After calling create_nlp() this attribute returns the concatenation of this list.

Values for upper (and lower) bounds MUST be added when adding new constraints to nlp_cons.

Warning

This is a VERY low level feature and should be used with extreme caution. It is easy to break the code.

Note

Modifications must be done after calling prepare_nlp()