summaryrefslogtreecommitdiff
path: root/sci_gateway/cpp/sci_sym_openclose.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_openclose.cpp
parente9d5a25d2eb1950e5ce0adf29a67850e38d23dd3 (diff)
downloadsymphony-f455f9b3c105292ccba94f2b5fe0f57cfe4b799c.tar.gz
symphony-f455f9b3c105292ccba94f2b5fe0f57cfe4b799c.tar.bz2
symphony-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_openclose.cpp')
-rw-r--r--sci_gateway/cpp/sci_sym_openclose.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sci_gateway/cpp/sci_sym_openclose.cpp b/sci_gateway/cpp/sci_sym_openclose.cpp
index 90bfe75..301854f 100644
--- a/sci_gateway/cpp/sci_sym_openclose.cpp
+++ b/sci_gateway/cpp/sci_sym_openclose.cpp
@@ -36,6 +36,8 @@ int sci_sym_open(char *fname, unsigned long fname_len){
//check environment
if(global_sym_env==NULL){
+ // sciprint("Warning: Symphony environment is already initialized.\n");
+ // }else{
global_sym_env = sym_open_environment();//open an environment
if (!global_sym_env)
sciprint("Error: Unable to create symphony environment.\n");