diff options
author | Harpreet | 2016-01-05 12:22:43 +0530 |
---|---|---|
committer | Harpreet | 2016-01-05 12:22:43 +0530 |
commit | dad86bd42cdc2a0e56df9e0591879e5d26fd56fa (patch) | |
tree | ce56ce617425627652308e2a592527cd9aa2a396 /sci_gateway/cpp/sci_ipopt.cpp | |
parent | d5356061fbd3a9b3052dee25bd9c82c375c42e22 (diff) | |
download | FOSSEE-Optimization-toolbox-dad86bd42cdc2a0e56df9e0591879e5d26fd56fa.tar.gz FOSSEE-Optimization-toolbox-dad86bd42cdc2a0e56df9e0591879e5d26fd56fa.tar.bz2 FOSSEE-Optimization-toolbox-dad86bd42cdc2a0e56df9e0591879e5d26fd56fa.zip |
constrviolation and licence file added
Diffstat (limited to 'sci_gateway/cpp/sci_ipopt.cpp')
-rw-r--r-- | sci_gateway/cpp/sci_ipopt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sci_gateway/cpp/sci_ipopt.cpp b/sci_gateway/cpp/sci_ipopt.cpp index cbb71df..635003e 100644 --- a/sci_gateway/cpp/sci_ipopt.cpp +++ b/sci_gateway/cpp/sci_ipopt.cpp @@ -170,7 +170,7 @@ int sci_solveqp(char *fname) ////////// Manage the output argument ////////// - if (rstatus == 0 | rstatus == 1 | rstatus == 2){ + if (rstatus >= 0 | rstatus <= 7){ fX = Prob->getX(); ObjVal = Prob->getObjVal(); iteration = Prob->iterCount(); |