42 #ifndef EXAMPLE_NLP_BANDED_H
43 #define EXAMPLE_NLP_BANDED_H
46 #include "NLPInterfacePack_NLPSerialPreprocessExplJac.hpp"
49 namespace NLPInterfacePack {
185 ,value_type diag_scal = 10.0
186 ,value_type diag_vary = 1.0
187 ,
bool sym_basis =
false
188 ,value_type f_offset = 0.0
190 ,
bool ignore_constraints =
false
251 const DVectorSlice &
x_full
257 const DVectorSlice &x_full
263 const DVectorSlice &x_full
269 const DVectorSlice &x_full
275 IVector *var_perm_full
276 ,IVector *equ_perm_full
282 const DVectorSlice &x_orig
283 ,
const DVectorSlice *lambda_orig
284 ,
const DVectorSlice *lambdaI_orig
285 ,
const DVectorSlice *nu_orig
300 const DVectorSlice& x_full,
bool newx
305 const DVectorSlice& x_full,
bool newx
319 bool is_initialized_;
321 bool nlp_selects_basis_;
322 bool basis_selection_was_given_;
324 bool has_var_bounds_;
326 value_type f_offset_;
334 bool ignore_constraints_;
347 mutable bool c_orig_updated_;
349 value_type diag_scal_;
350 value_type diag_vary_;
357 void assert_is_initialized()
const;
360 void inform_new_point(
bool newx)
const;
374 #endif // EXAMPLE_NLP_BANDED_H
size_type imp_mI_orig() const
size_type imp_Gh_nz_orig() const
bool nlp_selects_basis() const
size_type imp_n_orig() const
Simple scalable serial NLP subclass.
const FirstOrderExplInfo first_order_expl_info() const
bool is_initialized() const
const ZeroOrderInfo zero_order_info() const
DVectorSlice x_full() const
size_type imp_Gc_nz_orig() const
const DVectorSlice imp_xu_orig() const
const DVectorSlice imp_hu_orig() const
bool imp_nlp_has_changed() const
bool imp_get_next_basis(IVector *var_perm_full, IVector *equ_perm_full, size_type *rank_full, size_type *rank)
void initialize(bool test_setup)
void imp_calc_h_orig(const DVectorSlice &x_full, bool newx, const ZeroOrderInfoSerial &zero_order_info) const
void imp_calc_Gc_orig(const DVectorSlice &x_full, bool newx, const FirstOrderExplInfo &first_order_expl_info) const
void imp_calc_c_orig(const DVectorSlice &x_full, bool newx, const ZeroOrderInfoSerial &zero_order_info) const
value_type max_var_bounds_viol() const
const DVectorSlice imp_hl_orig() const
void imp_calc_Gf_orig(const DVectorSlice &x_full, bool newx, const ObjGradInfoSerial &obj_grad_info) const
void imp_calc_f_orig(const DVectorSlice &x_full, bool newx, const ZeroOrderInfoSerial &zero_order_info) const
void imp_report_orig_final_solution(const DVectorSlice &x_orig, const DVectorSlice *lambda_orig, const DVectorSlice *lambdaI_orig, const DVectorSlice *nu_orig, bool is_optimal)
const DVectorSlice imp_xinit_orig() const
static value_type infinite_bound()
size_type imp_m_orig() const
void imp_calc_Gh_orig(const DVectorSlice &x_full, bool newx, const FirstOrderExplInfo &first_order_expl_info) const
bool imp_has_var_bounds() const
const DVectorSlice imp_xl_orig() const