|
| HiOpProblem (int insize, const Operator *C_, const Operator *D_) |
|
virtual void | SolutionCallback (hiop::hiopSolveStatus status, hiop::size_type n, const double *x, const double *z_L, const double *z_U, hiop::size_type m, const double *g, const double *lambda, double obj_value) const |
| See hiopInterfaceBase::solution_callback(...).
|
|
virtual bool | IterateCallback (int iter, double obj_value, double logbar_obj_value, int n, const double *x, const double *z_L, const double *z_U, int m_ineq, const double *s, int m, const double *g, const double *lambda, double inf_pr, double inf_du, double onenorm_pr_, double mu, double alpha_du, double alpha_pr, int ls_trials) const |
| See hiopInterfaceBase::iterate_callback(...).
|
|
| OptimizationProblem (int insize, const Operator *C_, const Operator *D_) |
| In parallel, insize is the number of the local true dofs.
|
|
virtual real_t | CalcObjective (const Vector &x) const =0 |
| Objective F(x). In parallel, the result should be reduced over tasks.
|
|
virtual void | CalcObjectiveGrad (const Vector &x, Vector &grad) const |
| The result grad is expected to enter with the correct size.
|
|
void | SetEqualityConstraint (const Vector &c) |
|
void | SetInequalityConstraint (const Vector &dl, const Vector &dh) |
|
void | SetSolutionBounds (const Vector &xl, const Vector &xh) |
|
const Operator * | GetC () const |
|
const Operator * | GetD () const |
|
const Vector * | GetEqualityVec () const |
|
const Vector * | GetInequalityVec_Lo () const |
|
const Vector * | GetInequalityVec_Hi () const |
|
const Vector * | GetBoundsVec_Lo () const |
|
const Vector * | GetBoundsVec_Hi () const |
|
int | GetNumConstraints () const |
|
Users can inherit this class to access to HiOp-specific functionality.
Definition at line 210 of file hiop.hpp.