diff options
author | Harpreet | 2016-08-09 13:05:52 +0530 |
---|---|---|
committer | Harpreet | 2016-08-09 13:05:52 +0530 |
commit | d8fca69f239a275f5ffdbd870508c86b6e69c678 (patch) | |
tree | 8e102f22a671d2b837c2a030911e6870e790fd41 /build/cpp/cpp_intfmincon.cpp | |
parent | 9fd2976931c088dc523974afb901e96bad20f73c (diff) | |
parent | de5fe502b7240a48f9d46b9e210060de5c2b185e (diff) | |
download | FOSSEE-Optim-toolbox-development-d8fca69f239a275f5ffdbd870508c86b6e69c678.tar.gz FOSSEE-Optim-toolbox-development-d8fca69f239a275f5ffdbd870508c86b6e69c678.tar.bz2 FOSSEE-Optim-toolbox-development-d8fca69f239a275f5ffdbd870508c86b6e69c678.zip |
Initial upload
Diffstat (limited to 'build/cpp/cpp_intfmincon.cpp')
-rw-r--r-- | build/cpp/cpp_intfmincon.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/build/cpp/cpp_intfmincon.cpp b/build/cpp/cpp_intfmincon.cpp index 50270cf..d921128 100644 --- a/build/cpp/cpp_intfmincon.cpp +++ b/build/cpp/cpp_intfmincon.cpp @@ -121,6 +121,7 @@ int cpp_intfmincon(char *fname) BonminSetup bonmin; bonmin.initializeOptionsAndJournalist(); bonmin.options()->SetStringValue("mu_oracle","loqo"); + bonmin.options()->SetIntegerValue("bonmin.print_level",5); bonmin.options()->SetNumericValue("bonmin.integer_tolerance", *integertolerance); bonmin.options()->SetIntegerValue("bonmin.node_limit", (int)*maxnodes); bonmin.options()->SetNumericValue("bonmin.time_limit", *cputime); @@ -136,13 +137,10 @@ int cpp_intfmincon(char *fname) bb(bonmin);//process parameter file using Ipopt and do branch and bound using Cbc } catch(TNLPSolver::UnsolvedError *E) { - Scierror(999, "\nIpopt has failed to solve the problem!\n"); } catch(OsiTMINLPInterface::SimpleError &E) { - Scierror(999, "\nFailed to solve a problem!\n"); } catch(CoinError &E) { - Scierror(999, "\nFailed to solve a problem!\n"); } rstatus=tminlp->returnStatus(); |