summaryrefslogtreecommitdiff
path: root/sci_gateway/cpp
diff options
context:
space:
mode:
authorHarpreet2016-01-05 12:22:43 +0530
committerHarpreet2016-01-05 12:22:43 +0530
commitdad86bd42cdc2a0e56df9e0591879e5d26fd56fa (patch)
treece56ce617425627652308e2a592527cd9aa2a396 /sci_gateway/cpp
parentd5356061fbd3a9b3052dee25bd9c82c375c42e22 (diff)
downloadFOSSEE-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')
-rw-r--r--sci_gateway/cpp/.sci_QuadNLP.cpp.swpbin16384 -> 0 bytes
-rwxr-xr-xsci_gateway/cpp/libFAMOS.sobin122920 -> 122920 bytes
-rw-r--r--sci_gateway/cpp/sci_ipopt.cpp2
3 files changed, 1 insertions, 1 deletions
diff --git a/sci_gateway/cpp/.sci_QuadNLP.cpp.swp b/sci_gateway/cpp/.sci_QuadNLP.cpp.swp
deleted file mode 100644
index 764077c..0000000
--- a/sci_gateway/cpp/.sci_QuadNLP.cpp.swp
+++ /dev/null
Binary files differ
diff --git a/sci_gateway/cpp/libFAMOS.so b/sci_gateway/cpp/libFAMOS.so
index ccad147..4ab40e5 100755
--- a/sci_gateway/cpp/libFAMOS.so
+++ b/sci_gateway/cpp/libFAMOS.so
Binary files differ
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();