@@ -87,7 +87,8 @@ class hiopResidual
8787 * c_soc = c_rhs - c_body and d_soc = d - d_body
8888 *
8989 * computed in c_eval and d_eval, respectively.
90- * The method modifies 'this', in particular ryd,ryc, rxl,rxu, rdl, rdu in an attemp
90+ * The method modifies 'this', in particular ryd, ryc, rxl,rxu, rdl, rdu in an attempt
91+ * to reuse storage/buffers
9192 */
9293 virtual void update_soc (const hiopIterate& it,
9394 const hiopVector& c_soc,
@@ -115,11 +116,14 @@ class hiopResidual
115116 inline double getInfeasInfNorm () const { return nrmInf_nlp_feasib; }
116117 /* get the previously computed Infeasibility */
117118 inline double get_theta () const { return nrmOne_nlp_feasib; }
118- /* evaluate the Infeasibility at the new iterate, which has eq and ineq functions
119+
120+ /* *
121+ * Evaluate the infeasibility at the new iterate, which has eq and ineq functions
119122 * computed in c_eval and d_eval, respectively.
120123 * The method modifies 'this', in particular ryd,ryc, rxl,rxu, rdl, rdu in an attempt
121124 * to reuse storage/buffers, but does not update the cached nrmInf_XXX members.
122- * It computes and returns the one norm of [ryc ryd] */
125+ * It computes and returns the one norm of [ryc ryd]
126+ */
123127 double compute_nlp_infeasib_onenorm (const hiopIterate& iter, const hiopVector& c_eval, const hiopVector& d_eval);
124128
125129 /* residual printing function - calls hiopVector::print
@@ -170,6 +174,7 @@ class hiopResidual
170174 * for the nlp (\mu=0)
171175 */
172176 double nrmInf_nlp_optim, nrmInf_nlp_feasib, nrmInf_nlp_complem;
177+
173178 /* * storage for the norm of [rx,rd], [rxl,...,rdu,ryc,ryd], and [rszl,...,rsvu]
174179 * for the barrier subproblem
175180 */
@@ -185,6 +190,8 @@ class hiopResidual
185190 /* * inf norm of constraint violation */
186191 double nrmInf_cons_violation;
187192
193+
194+
188195 // and associated info from problem formulation
189196 hiopNlpFormulation* nlp;
190197
0 commit comments