I am trying to solve a non linear mix integer problem where the objective function is of (x-a)*(x^y) format. x is the decision variable and y and a are constants. there are multiple linear constraints. my question -
Can I use PROC OPTLSO with MPS data option and define the objective function in a FCMP procedure? I have tried this already, but getting this error - "FCMP function evaluation failed".
when you forgot to include one or more decision variables in the decision variable limits dataset (where you specify lower and upper bounds).
You can also get this same ERROR
when you use (the variable name of) non-decision variables among the function arguments and within the formula's when defining the non-linear constraints. Remove your non-decision variable from the list of function arguments and pass on its (fixed scalar) value to the formula in the return statement by means of a macro variable (for example).