Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CoMISo
CoMISo
Commits
02426c64
Commit
02426c64
authored
Sep 29, 2016
by
Martin Marinov
Browse files
Consume changes to Debug::Config
parent
4e6f6f78
Changes
1
Hide whitespace changes
Inline
Side-by-side
NSolver/IPOPTSolverLean.cc
View file @
02426c64
...
...
@@ -20,7 +20,7 @@
#include "BoundConstraint.hh"
#include "CoMISo/Utils/CoMISoError.hh"
#include <Base/Debug/Deb
File
.hh>
#include <Base/Debug/Deb
Config
.hh>
#include <Base/Debug/DebTime.hh>
#include <gmm/gmm.h>
...
...
@@ -51,18 +51,17 @@ IPOPTSolverLean::IPOPTSolverLean()
:
impl_
(
new
Impl
)
{
// Switch to HSL if available
in Comiso
// Switch to HSL if available
#if COMISO_HSL_AVAILABLE
impl_
->
app_
->
Options
()
->
SetStringValue
(
"linear_solver"
,
"ma57"
);
#else
impl_
->
app_
->
Options
()
->
SetStringValue
(
"linear_solver"
,
"mumps"
);
#endif
#if DEB_ON
if
(
!
::
Debug
::
File
::
File
::
modif
y
().
console
_output
())
#if
def
DEB_ON
if
(
!
Debug
::
Config
::
quer
y
().
console
())
#endif
{
// Block any output on cout and cerr from ipopt.
{
// Block any output on cout and cerr from Ipopt.
impl_
->
app_
->
Options
()
->
SetStringValue
(
"suppress_all_output"
,
"yes"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment