00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef PBFGS_HELPERS
00030 #define PBFGS_HELPERS
00031
00032 #include "MoochoPack_Types.hpp"
00033 #include "MoochoPack_ActSetStats.hpp"
00034
00035 namespace MoochoPack {
00036 namespace PBFGSPack {
00037
00042
00056 bool act_set_calmed_down(
00057 const ActSetStats &act_set_stats
00058 ,const value_type act_set_frac_proj_start
00059 ,EJournalOutputLevel olevel
00060 ,std::ostream &out
00061 );
00062
00075 void init_i_x_free_sRTsR_sRTyR(
00076 const SpVectorSlice &nu_indep
00077 ,const DVectorSlice &s
00078 ,const DVectorSlice &y
00079 ,size_type *n_pz_R
00080 ,size_type i_x_free[]
00081 ,value_type *sRTsR
00082 ,value_type *sRTyR
00083 );
00084
00114 void sort_fixed_max_cond_viol(
00115 const SpVectorSlice &nu_indep
00116 ,const DVectorSlice &s
00117 ,const DVectorSlice &y
00118 ,const DVectorSlice &B_XX
00119 ,const value_type sRTBRRsR
00120 ,const value_type sRTyR
00121 ,value_type *sXTBXXsX
00122 ,value_type *sXTyX
00123 ,size_type l_x_fixed_sorted[]
00124 );
00125
00187 void choose_fixed_free(
00188 const value_type project_error_tol
00189 ,const value_type super_basic_mult_drop_tol
00190 ,const SpVectorSlice &nu_indep
00191 ,const DVectorSlice &s
00192 ,const DVectorSlice &y
00193 ,const DVectorSlice &B_XX
00194 ,const size_type l_x_fixed_sorted[]
00195 ,EJournalOutputLevel olevel
00196 ,std::ostream &out
00197 ,value_type *sRTBRRsR
00198 ,value_type *sRTyR
00199 ,value_type *sXTBXXsX
00200 ,value_type *sXTyX
00201 ,size_type *n_pz_X
00202 ,size_type *n_pz_R
00203 ,size_type i_x_free[]
00204 ,size_type i_x_fixed[]
00205 ,ConstrainedOptPack::EBounds bnd_fixed[]
00206 );
00207
00209
00210 }
00211 }
00212
00213 #endif // PBFGS_HELPERS