summaryrefslogtreecommitdiff
path: root/sci_gateway/cpp/sci_sym_solve.cpp
diff options
context:
space:
mode:
authorGeorgey2017-03-15 16:34:53 +0530
committerGeorgey2017-03-15 16:34:53 +0530
commitf455f9b3c105292ccba94f2b5fe0f57cfe4b799c (patch)
tree77d4c00636d5e62e659f486f685990d2388073a1 /sci_gateway/cpp/sci_sym_solve.cpp
parente9d5a25d2eb1950e5ce0adf29a67850e38d23dd3 (diff)
downloadFOSSEE-Optimization-toolbox-f455f9b3c105292ccba94f2b5fe0f57cfe4b799c.tar.gz
FOSSEE-Optimization-toolbox-f455f9b3c105292ccba94f2b5fe0f57cfe4b799c.tar.bz2
FOSSEE-Optimization-toolbox-f455f9b3c105292ccba94f2b5fe0f57cfe4b799c.zip
Added header files for Ipopt 3.12.7,minor modifications to symphony's output texts
Diffstat (limited to 'sci_gateway/cpp/sci_sym_solve.cpp')
-rw-r--r--sci_gateway/cpp/sci_sym_solve.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci_gateway/cpp/sci_sym_solve.cpp b/sci_gateway/cpp/sci_sym_solve.cpp
index a0af480..e15535b 100644
--- a/sci_gateway/cpp/sci_sym_solve.cpp
+++ b/sci_gateway/cpp/sci_sym_solve.cpp
@@ -38,9 +38,9 @@ int sci_sym_solve(char *fname, unsigned long fname_len){
status = sym_get_dbl_param(global_sym_env,"time_limit",&time_limit);
if (status == FUNCTION_TERMINATED_NORMALLY) {
- if ( time_limit < 0.0 )
- sciprint("\nNote: There is no limit on time.\n");
- else sciprint("\nNote: Time limit has been set to %lf.\n",time_limit);
+ if ( time_limit >= 0.0 )
+ // sciprint("\nNote: There is no limit on time.\n");
+ sciprint("\nNote: Time limit has been set to %lf.\n",time_limit);
status=process_ret_val(sym_solve(global_sym_env));// Call function
}
else {