pub_nlp.h File Reference Detailed Descriptionpublic methods for NLP management Definition in file pub_nlp.h. #include <stdio.h> #include "scip/def.h" #include "scip/type_message.h" #include "blockmemshell/memory.h" #include "scip/type_set.h" #include "scip/type_stat.h" #include "scip/type_nlp.h" #include "scip/type_var.h" #include "scip/type_sol.h" #include "nlpi/type_expr.h" #include "nlpi/type_nlpi.h" Go to the source code of this file. Function Documentation
returns variables of expression tree
stores array of variables in expression tree
adds variables to the expression tree variables array
prints an expression tree using variable names from variables array
searches the variables array of an expression tree for a variable and returns its position, or -1 if not found Note that this is an O(n) operation!
gets constant
gets number of variables of linear part
gets array with variables of linear part
gets array with coefficients in linear part
gets number of quadratic variables in quadratic part
gets quadratic variables in quadratic part
gives position of variable in quadvars array of row, or -1 if not found
gets number of quadratic elements in quadratic part
gets quadratic elements in quadratic part
gets array with coefficients in linear part
gets expression tree
returns the left hand side of a nonlinear row
returns the right hand side of a nonlinear row
returns the name of a nonlinear row
gets position of a nonlinear row in current NLP, or -1 if not in NLP
returns TRUE iff row is member of current NLP
gets the dual NLP solution of a nlrow for a ranged constraint, the dual value is positive if the right hand side is active and negative if the left hand side is active
|