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

Improve documentation

parent 4b44d798
No related branches found
No related tags found
No related merge requests found
...@@ -690,6 +690,7 @@ public: ...@@ -690,6 +690,7 @@ public:
rhs_ = &rhs; rhs_ = &rhs;
} }
//! Set linear inequality constraints, coordinate box constraints are handled differently in IpOpt!
void setLinearConstraints(const JacobianType& constraintMatrix, void setLinearConstraints(const JacobianType& constraintMatrix,
const std::vector<BoxConstraint<field_type,constraintBlocksize> >& obstacles) { const std::vector<BoxConstraint<field_type,constraintBlocksize> >& obstacles) {
constraintMatrix_ = Dune::stackobject_to_shared_ptr(constraintMatrix); constraintMatrix_ = Dune::stackobject_to_shared_ptr(constraintMatrix);
...@@ -721,7 +722,7 @@ public: ...@@ -721,7 +722,7 @@ public:
// Can stay unset when no bound constraints exist // Can stay unset when no bound constraints exist
std::vector<BoxConstraint<field_type,blocksize> >* obstacles_; std::vector<BoxConstraint<field_type,blocksize> >* obstacles_;
//! The type of the linear solver to be used within IpOpt, default is ma27 //! The type of the linear solver to be used within IpOpt, default depends on the system where IpOpt is built
std::string linearSolverType_; std::string linearSolverType_;
//! IpOpt expects constraints to be of the type g_l <= g(x) <= g_u //! IpOpt expects constraints to be of the type g_l <= g(x) <= g_u
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment