Skip to content
Snippets Groups Projects
Commit 91386cde authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Allow to set the verbosity when constructing the solver

parent b420a028
No related branches found
No related tags found
No related merge requests found
...@@ -527,8 +527,8 @@ public: ...@@ -527,8 +527,8 @@ public:
/** \brief Constructor for a linear problem */ /** \brief Constructor for a linear problem */
QuadraticIPOptSolver (const MatrixType& hessian, QuadraticIPOptSolver (const MatrixType& hessian,
VectorType& x, VectorType& x,
const VectorType& rhs) const VectorType& rhs, NumProc::VerbosityMode verbosity=NumProc::FULL)
: IterativeSolver<VectorType>(1e-8, 100, NumProc::FULL), : IterativeSolver<VectorType>(1e-8, 100, verbosity),
hessian_(&hessian), rhs_(&rhs), obstacles_(NULL) hessian_(&hessian), rhs_(&rhs), obstacles_(NULL)
{ {
this->x_ = &x; this->x_ = &x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment