|
Dakota
Version 6.20
Explore and Predict with Confidence
|
This file contains a DakotaRunner class, which launches DAKOTA.
More...
|
| Dakota |
| The primary namespace for DAKOTA.
|
|
|
void DAKOTA_DLL_FN | dakota_create (int *dakota_ptr_int, const char *logname) |
| create and configure a new DakotaRunner, adding it to list of instances
|
|
int DAKOTA_DLL_FN | dakota_readInput (int id, const char *dakotaInput) |
| command DakotaRunner instance id to read from file dakotaInput
|
|
void DAKOTA_DLL_FN | dakota_get_variable_info (int id, char ***pVarNames, int *pNumVarNames, char ***pRespNames, int *pNumRespNames) |
| return the variable and response names
|
|
int DAKOTA_DLL_FN | dakota_start (int id) |
| command DakotaRunner instance id to start (plugin interface and run strategy)
|
|
void DAKOTA_DLL_FN | dakota_destroy (int id) |
| delete Dakota runner instance id and remove from active list
|
|
void DAKOTA_DLL_FN | dakota_stop (int *id) |
| command DakotaRunner instance id to stop execution More...
|
|
const char *DAKOTA_DLL_FN | dakota_getStatus (int id) |
| return current results output as a string
|
|
int | get_mc_ptr_int () |
| get the DAKOTA pointer to ModelCenter
|
|
void | set_mc_ptr_int (int ptr_int) |
| set the DAKOTA pointer to ModelCenter
|
|
int | get_dc_ptr_int () |
| get the DAKOTA pointer to ModelCenter current design point
|
|
void | set_dc_ptr_int (int ptr_int) |
| set the DAKOTA pointer to ModelCenter current design point
|
|
This file contains a DakotaRunner class, which launches DAKOTA.
◆ dakota_stop()
void DAKOTA_DLL_FN dakota_stop |
( |
int * |
id | ) |
|
command DakotaRunner instance id to stop execution
TODO: trick application to quit through the syscall interface or throw exception.
RealVector mappedErrorEstimates
mapping of subIterator.response_error_estimates() through primary and secondary mappings
Definition: NestedModel.hpp:268
virtual void pop_coefficients(bool save_data)
removes entries from end of SurrogateData::{vars,resp}Data (last points appended, or as specified in ...
Definition: DakotaApproximation.cpp:359
RealVector nonlinearIneqConLowerBnds
nonlinear inequality constraint lower bounds
Definition: DakotaConstraints.hpp:368
UShortArray linEqScaleTypes
linear equality constraint scale types
Definition: ScalingOptions.hpp:56
bool constantASVFlag
flags a user selection of active_set_vector == constant. By mapping this into mode override,...
Definition: SNLLBase.hpp:154
RealVector betaUncVars
initial values of the beta uncertain variables (from the initial_point specification in VarCAUV_Beta)
Definition: DataVariables.hpp:396
bool mpirun_flag() const
return MPIManager::mpirunFlag
Definition: ParallelLibrary.hpp:1051
void set_options(bool speculative_flag, bool vendor_num_grad_flag, short output_lev, int verify_lev, Real fn_prec, Real linesrch_tol, size_t max_iter, Real constr_tol, Real conv_tol, const std::string &grad_type, const RealVector &fdss)
Sets SOL method options using calls to npoptn2 / nloptn2.
Definition: SOLBase.cpp:172
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: CONMINOptimizer.hpp:52
UShortArray ssgLevelSeqSpec
user request of sparse grid level
Definition: NonDMultilevelStochCollocation.hpp:87
static void make_variable_defaults(std::list< DataVariables > *)
Bounds and initial point check and inferred bounds generation.
Definition: NIDRProblemDescDB.cpp:5337
void transform_response_map(const IntResponseMap &old_resp_map, IntResponseMap &new_resp_map)
invoke transform_response() on each response within old_resp_map to create new_resp_map
Definition: RecastModel.cpp:856
void update_level_data()
convenience function for updating z/p/beta level data and final statistics following MPP convergence
Definition: NonDLocalReliability.cpp:1674
IntegerScale(const std::string &label, const IntArray &in_items, ScaleScope scope=ScaleScope::UNSHARED)
Constructor that takes an IntArray.
Definition: dakota_results_types.hpp:325
int subspaceDimension
Size of subspace.
Definition: DataModel.hpp:382
void finalize_approximation()
finalizes the approximation by applying all trial increments
Definition: ApproximationInterface.hpp:486
String pointReuse
type of point reuse for approximation builds: all, region (default if points file),...
Definition: DataFitSurrModel.hpp:450
short dagRecursionType
option specified for extent of DAG enumeration within search_model_graphs for generalized ACV methods
Definition: DataMethod.hpp:1112
VectorXd thetaValues
Vector of log-space hyperparameters.
Definition: SurrogatesGaussianProcess.hpp:348
void default_instantiate_constraint(void(*con_eval)(int mode, int n, const RealVector &x, RealVector &g, RealMatrix &grad_g, int &result_mode))
instantiate constraint objectives using standard settings
Definition: SNLLOptimizer.cpp:744
void build_approximation()
builds the subModel approximation
Definition: RecastModel.hpp:923
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDLocalReliability.cpp:454
size_t drv_index_to_all_index(size_t drv_index) const
convert index within active discrete real variables to index within aggregated variables (all contino...
Definition: SharedVariablesData.hpp:1218
void all_to_active_bounds(const Constraints &cons)
copy all {cv,div,drv} {lower,upper} bounds from incoming object to active bounds of this instance
Definition: DakotaConstraints.hpp:929
Model & surrogate_model(size_t i=_NPOS)
return the i-th surrogate model within subModel
Definition: RecastModel.hpp:778
void track_evaluation_ids(bool track)
assigns trackEvalIds to activate tracking of evaluation ids within surrogate data,...
Definition: ApproximationInterface.hpp:443
void reduce_sum_ea(double *local_vals, double *sum_vals, int num_vals)
compute a sum over an eval-analysis intra-communicator using MPI_Reduce
Definition: ParallelLibrary.hpp:1952
RealSymMatrix fnHessU
u-space Hessian for current function updated from fnHessX and Jacobian dx/du
Definition: NonDLocalReliability.hpp:276
~DataMethodRep()
destructor
Definition: DataMethod.hpp:1468
void invHessVec(std::vector< Real > &hv, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override
This function is not used by ROL algorithms currently supported by Dakota but is included to protect ...
Definition: ROLOptimizer.cpp:585
unsigned int batchSize
number of points to add to surrogate at each iteration of calibrate_with_adaptive_emulator
Definition: NonDBayesCalibration.hpp:315
std::list< DataMethod > dataMethodList
list of method specifications, one for each call to method_kwhandler() or insert_node()
Definition: ProblemDescDB.hpp:382
static void gnewton_set_recast(const Variables &recast_vars, const ActiveSet &recast_set, ActiveSet &sub_model_set)
conversion of request vector values for the Gauss-Newton Hessian approximation
Definition: DakotaIterator.cpp:1622
RealVector frechetUncAlphas
alpha factors for the frechet uncertain variables (from the alphas specification in VarCAUV_Frechet)
Definition: DataVariables.hpp:417
TrackerHTTP()
default constructor is allowed, but doesn't generate output
Definition: TrackerHTTP.cpp:52
void set_parameter(String var, const UShortArray &val)
set UShortArray attribute value based on identifier string
Definition: SharedC3ApproxData.hpp:556
short query_distribution_parameter_derivatives() const
calculate and return derivative composition of final results w.r.t. distribution parameters (none,...
Definition: RecastModel.hpp:717
short primary_fn_type() const
get the primary function type (generic, objective, calibration)
Definition: SharedResponseData.hpp:376
ReducedBasis rfBasis
reduced basis representation (for KL or PCA case)
Definition: RandomFieldModel.hpp:199
size_t idsv_index_to_all_index(size_t dsv_index) const
convert index within inactive discrete string variables to index within aggregated variables (all con...
Definition: SharedVariablesData.hpp:1195
IntVector discreteDesignRangeLowerBnds
lower bounds array for the discrete design variables defined by an integer range (from the discrete_d...
Definition: DataVariables.hpp:233
String modelType
type of model: simulation, nested, or surrogate
Definition: DakotaModel.hpp:1418
std::map< std::pair< UShortArray, UShortArray >, MFSolutionData > dagSolns
book-keeping of previous numerical optimization solutions for each DAG; used for warm starting
Definition: NonDGenACVSampling.hpp:286
virtual const RealVector & callback_linear_ineq_upper_bounds() const
return linear constraint upper bounds for this iterator (user-functions mode for which iteratedModel ...
Definition: DakotaIterator.cpp:1589
RealVector singularValues
singular values of derivativeMatrix
Definition: ActiveSubspaceModel.hpp:264
std::map< Pecos::ActiveKey, RealVector > referenceDRUBnds
stores a reference copy of active discrete real upper bounds when the approximation is built; used to...
Definition: EnsembleSurrModel.hpp:465
RealVector map_eval_vars(const Variables &vars)
extract active or all view as vector, mapping if needed for import
Definition: DakotaSurrogates.cpp:207
Class for a utility class containing correlation calculations and variance-based decomposition.
Definition: SensAnalysisGlobal.hpp:32
String postRunOutput
filename for post_run output
Definition: DataEnvironment.hpp:68
const RealVector & mean_gradient()
return the gradient of the expansion mean
Definition: C3Approximation.cpp:951
const Pecos::IntegrationDriver & driver() const
return numIntDriver
Definition: NonDIntegration.hpp:141
void initialize_run()
invokes Optimizer::initialize_run(), SNLLBase::snll_initialize_run(), and performs other set-up
Definition: SNLLOptimizer.cpp:1123
std::shared_ptr< DataInterfaceRep > data_rep()
return dataIfaceRep
Definition: DataInterface.hpp:328
size_t numNonlinearEqCons
number of nonlinear equality constraints
Definition: DakotaConstraints.hpp:366
int pointsTotal
user-specified lower bound on total points with which to build the model (if reuse_points < pointsTot...
Definition: DataModel.hpp:158
void multilevel_control_variate_mc_online_pilot()
Perform multilevel Monte Carlo across levels in combination with control variate Monte Carlo across m...
Definition: NonDMultilevControlVarSampling.cpp:346
short c3AdvancementType
type of advancement strategy used in uniform refinement: {START_ORDER,START_RANK,MAX_ORDER,...
Definition: SharedC3ApproxData.hpp:290
unsigned short distConvergenceCntr
counter for consecutive iterates with variable distance < distanceTol
Definition: EffGlobalMinimizer.hpp:314
OPTPP::NLF2 * nlf2Con
pointer to constraint NLF for full Newton optimizers
Definition: SNLLLeastSq.hpp:186
const MPI_Comm & hub_server_intra_communicator() const
return hubServerIntraComm
Definition: ParallelLibrary.hpp:342
bool supports_discrete_variables()
Return the flag indicating whether method supports discrete variables.
Definition: SurrBasedGlobalMinimizer.hpp:45
size_t costMetadataIndex
index of metadata label used for online cost recovery
Definition: SimulationModel.hpp:202
virtual void map(const Variables &vars, const ActiveSet &set, Response &response, bool asynch_flag=false)
the function evaluator: provides a "mapping" from the variables to the responses.
Definition: DakotaInterface.cpp:500
static Real unbiased_mean_product_triplet(const Real sumQ1, const Real sumQ2, const Real sumQ3, const Real sumQ1Q2, const Real sumQ1Q3, const Real sumQ2Q3, const Real sumQ1Q2Q3, const size_t Nlq)
compute the unbiased product of three sampling means
Definition: NonDMultilevelSampling.hpp:1666
Class for partitioning multiple levels of parallelism and managing message passing within these level...
Definition: ParallelLibrary.hpp:617
bool tabularDataFlag
flags tabular data collection by the environment (from the tabular_graphics_data specification in Env...
Definition: DataEnvironment.hpp:78
Model()
default constructor
Definition: DakotaModel.cpp:290
Real levenshtein_distance(const String &v)
Compute Levenshtein distance between v and LEV_REF.
Definition: TestDriverInterface.cpp:4852
RealVector loguniformUncVars
initial values of the loguniform uncertain variables (from the initial_point specification in VarCAUV...
Definition: DataVariables.hpp:363
SurrBasedGlobalMinimizer(ProblemDescDB &problem_db, Model &model)
constructor
Definition: SurrBasedGlobalMinimizer.cpp:28
VectorXd value(const MatrixXd &eval_points)
Evaluate the polynomial surrogate at a set of prediction points for QoI index 0.
Definition: SurrogatesPolynomialRegression.hpp:124
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: NLPQLPOptimizer.hpp:89
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
resets number of samples and sampling flags
Definition: NonDSampling.hpp:500
short regressionType
type of regression: LS, OMP, BP, BPDN, LARS, or LASSO
Definition: DataMethod.hpp:1024
void recover_online_cost(const IntResponseMap &all_resp)
recover estimates of simulation cost using aggregated response metadata
Definition: NonDNonHierarchSampling.cpp:476
RealMatrix approxPoint
Point at which a prediction is requested. This is currently a single point, but it could be generaliz...
Definition: GaussProcApproximation.hpp:219
std::string label
Scale label.
Definition: dakota_results_types.hpp:485
bool generatePosteriorSamples
Flag specifying whether to generate random samples from the posterior.
Definition: DataMethod.hpp:1346
static Real unbiased_mean_product_pair(const Real sumQ1, const Real sumQ2, const Real sumQ1Q2, const size_t Nlq)
compute the unbiased product of two sampling means
Definition: NonDMultilevelSampling.hpp:1654
void update_samples_from_order_increment()
update numSamplesOnModel after an order increment
Definition: NonDPolynomialChaos.cpp:1151
HOPSPACK::ParameterList * mediatorParams
Pointer to APPS mediator parameter sublist.
Definition: APPSOptimizer.hpp:191
String prevRespId
for tracking need to update response label arrays
Definition: DirectApplicInterface.hpp:237
short convergenceTolTarget
store the convergence_tolerance_target input specification, prior to run-time Options right now:
Definition: NonDMultilevelSampling.hpp:546
virtual bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: DakotaTraitsBase.hpp:60
BitArray discreteUncSetIntCat
is each dusi var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:581
void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: DakotaAnalyzer.cpp:202
void set_polynomial_coeffs(const MatrixXd &coeffs)
Set the polynomial surrogate's coefficients.
Definition: SurrogatesPolynomialRegression.cpp:291
bool parallel_configuration_is_complete()
identifies if the current ParallelConfiguration has been fully populated
Definition: ParallelLibrary.hpp:1087
void compute_sample_allocation_target(const RealMatrix &var_qoi, const RealVector &cost, const Sizet2DArray &N_actual, const SizetArray &N_alloc, SizetArray &delta_N_l)
compute sample allocation delta based on a budget constraint
Definition: NonDMultilevelSampling.cpp:1344
String importPredConfigs
whether to import prediction configurations at which to calculate model discrepancy
Definition: NonDBayesCalibration.hpp:385
bool mpirun_flag() const
true when Dakota is running in MPI mode
Definition: MPIManager.hpp:83
std::vector< Approximation > & approximations()
retrieve the set of Approximations from the subModel
Definition: RecastModel.hpp:1011
String mutationType
the mutation_type specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:647
IntVector discRealStepVector
the n-dimensional discrete real set index increment
Definition: ParamStudy.hpp:222
SizetMultiArrayConstView all_continuous_variable_ids() const
return all continuous variable identifiers from currentVariables
Definition: DakotaModel.hpp:2294
bool correctionComputed
flag indicating whether or not a correction has been computed and is available for application
Definition: DiscrepancyCorrection.hpp:133
const IntSet & get_is(const String &entry_name) const
get an IntSet out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1739
Real diagnostic(const String &metric_type) override
retrieve a single diagnostic metric for the diagnostic type specified
Definition: DakotaSurrogates.cpp:50
const double SCALING_MIN_LOG
lower bound on domain of logarithm function when scaling
Definition: ScalingModel.cpp:24
DataEnvironment & operator=(const DataEnvironment &)
assignment operator
Definition: DataEnvironment.cpp:83
void init_communicators(const ParallelLevel &parent_pl, int num_servers, int procs_per_server, int min_procs_per_server, int max_procs_per_server, int max_concurrency, int asynch_local_concurrency, short default_config, short scheduling_override, bool peer_dynamic_avail)
split a parent communicator into child server communicators
Definition: ParallelLibrary.cpp:146
String importBuildPointsFile
user-specified file for importing build points
Definition: NonDC3FunctionTrain.hpp:116
void print_hi2lo_begin(int num_it)
print calibrate_to_hifi progress
Definition: NonDBayesCalibration.cpp:1239
friend class boost::serialization::access
allow boost access to serialize this class
Definition: SharedResponseData.hpp:160
StringArray metadataLabels
descriptors for metadata fields (empty if none)
Definition: SharedResponseData.hpp:126
const RealMatrixArray & get_rma(const String &entry_name) const
get a RealMatrixArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1397
void declare_sources()
Declare a model's sources to the evaluationsDB.
Definition: DataFitSurrModel.cpp:2328
short covarianceControl
enumeration for controlling response covariance calculation and output: {DEFAULT,DIAGONAL,...
Definition: NonDExpansion.hpp:517
IntVariablesMap adapterVarsMap
map of variables used by derived_evaluate_nowait(). Caches values needed for evaluation in synchroniz...
Definition: AdapterModel.hpp:170
void array_allocate(const StrStrSizet &iterator_id, const std::string &data_name, size_t array_size, const MetaDataType &metadata)
allocate an entry with sized array of the StoredType, e.g., array across response functions or optimi...
Definition: ResultsDBHDF5.hpp:238
void choose_batch_from_mutual_info(int random_seed, int num_it, int max_hifi, int num_hifi, RealMatrix &mi_chain, VariablesArray &design_matrix, VariablesArray &optimal_config_matrix, RealVector &MI_vec)
calculate the optimal points to add for a given batch
Definition: NonDBayesCalibration.cpp:1345
StringArray continuousStateLabels
labels array for the continuous state variables (from the continuous_state descriptors specification ...
Definition: DataVariables.hpp:663
void archive_allocate_pdf()
allocate results array storage for pdf histograms
Definition: DakotaNonD.cpp:1594
bool preproc_input() const
pre-process input file
Definition: ProgramOptions.cpp:121
void check_id(int id1, int id2)
verify consistency between two evaluation identifiers
Definition: ApproximationInterface.hpp:615
int sobol_g_function()
Sobol SA discontinuous test function.
Definition: TestDriverInterface.cpp:3085
void core_run()
Performs local surrogate-based minimization by minimizing local, global, or hierarchical surrogates o...
Definition: SurrBasedLocalMinimizer.cpp:365
RealVector allContinuousVars
array combining all of the continuous variables
Definition: DakotaVariables.hpp:607
int damped_oscillator()
1d-6d that returns field values (ode solution)
Definition: TestDriverInterface.cpp:2411
Real delta_combined_std_deviation()
return the change in standard deviation resulting from combined expansion refinement,...
Definition: PecosApproximation.hpp:567
SharedApproxData & shared_approximation()
retrieve the SharedApproxData from approxInterface
Definition: DataFitSurrModel.hpp:817
Real continuous_lower_bound(size_t i) const
return an active continuous lower bound from userDefinedConstraints
Definition: DakotaModel.hpp:2764
static bool rank_sort(const int &x, const int &y)
sort algorithm to compute ranks for rank correlations
Definition: SensAnalysisGlobal.cpp:27
void initialize_run()
Definition: APPSOptimizer.cpp:37
void build()
builds the approximation from scratch
Definition: QMEApproximation.cpp:57
short rbfMaxPts
maximum number of points for radial basis function approximation
Definition: DataModel.hpp:252
bool ignore_bounds() const
option for ignoring bounds when numerically estimating derivatives
Definition: DakotaModel.hpp:3623
const IntVector & all_discrete_int_upper_bounds() const
return all discrete upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3239
Real discrete_real_variable(size_t index) const
return an active discrete real variable
Definition: DakotaVariables.hpp:901
bool replacePoints
flag for replacing the previous iteration's point additions, rather than continuing to append,...
Definition: SurrBasedGlobalMinimizer.hpp:107
static void secondary_resp_scaler(const Variables &native_vars, const Variables &scaled_vars, const Response &native_response, Response &scaled_response)
RecastModel callback for secondary response scaling: transform constraints (grads,...
Definition: ScalingModel.cpp:888
unsigned short mlmfSubMethod
variance minimization algorithm selection: SUBMETHOD_MFMC or SUBMETHOD_ACV_{IS,MF,...
Definition: NonDNonHierarchSampling.hpp:654
friend bool operator!=(const ActiveSet &set1, const ActiveSet &set2)
inequality operator
Definition: DakotaActiveSet.hpp:292
void generate_samples(RealVectorArray &var_samples_u)
generate a set of samples based on multimodal sampling density
Definition: NonDAdaptImpSampling.cpp:585
size_t cdiv_index_to_adiv_index(size_t div_index) const
convert index within complement of active discrete integer variables to index within all discrete int...
void calibrate()
performs a forward uncertainty propagation by using GPM/SA to generate a posterior distribution on pa...
Definition: NonDGPMSABayesCalibration.cpp:205
std::shared_ptr< Interface > interfaceRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaInterface.hpp:486
size_t numFullspaceVars
Number of fullspace active continuous variables.
Definition: SubspaceModel.hpp:170
bool config_integration(unsigned short quad_order, unsigned short ssg_level, unsigned short cub_int, Iterator &u_space_sampler, Model &g_u_model, String &approx_type)
configure u_space_sampler and approx_type based on numerical integration specification
Definition: NonDPolynomialChaos.cpp:457
size_t idrv() const
returns number of inactive discrete real vars
Definition: DakotaModel.hpp:1789
const RealVector & fd_gradient_step_size() const
return the finite difference gradient step size (fdGradStepSize)
Definition: DakotaModel.hpp:3631
virtual ~NonlinearCGTraits()
destructor
Definition: NonlinearCGOptimizer.hpp:31
void read(std::istream &s)
read an active set object from an std::istream
Definition: DakotaActiveSet.hpp:247
RealVector pExp
vector of exponent values
Definition: QMEApproximation.hpp:84
IntVector discreteIntAleatoryUncLowerBnds
distribution lower bounds for all discrete integer aleatory uncertain variables
Definition: DataVariables.hpp:721
bool command_line_pre_run() const
return preRunFlag
Definition: ParallelLibrary.hpp:1330
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonDIntegration.cpp:84
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDLocalReliability.cpp:441
RealVector failRecoveryFnVals
the dummy function values used for the recover failAction
Definition: ApplicationInterface.hpp:512
RealVector linEqTargets
linear equality constraint targets used in "user_functions" mode
Definition: NCSUOptimizer.hpp:173
void printDebugInfo(void) const
empty implementation of debug info needed to complete the interface
Definition: APPSEvalMgr.hpp:64
const RealVector & all_data(size_t experiment)
return contiguous vector of all data (scalar, followed by field) for the specified experiment
Definition: ExperimentData.hpp:523
void response_mapping(const Response &algebraic_response, const Response &core_response, Response &total_response)
combine the response from algebraic_mappings() with the response from derived_map() to create the tot...
Definition: DakotaInterface.cpp:688
void all_discrete_real_lower_bound(Real a_d_l_bnd, size_t i)
set a lower bound within all discrete lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3294
bool vbdFlag
flag indicating the activation of variance-bsaed decomposition for computing Sobol' indices,...
Definition: DakotaAnalyzer.hpp:217
WorkdirHelper & operator=(const WorkdirHelper &)
assignment operator
RealVector approxFnsPrevCenter
copy of approximate function values at center of previous correction cycle
Definition: DiscrepancyCorrection.hpp:249
void post_run(std::ostream &s)
performs data recovery and calls Optimizer::post_run()
Definition: SNLLOptimizer.cpp:1183
virtual void nested_variable_mappings(const SizetArray &c_index1, const SizetArray &di_index1, const SizetArray &ds_index1, const SizetArray &dr_index1, const ShortArray &c_target2, const ShortArray &di_target2, const ShortArray &ds_target2, const ShortArray &dr_target2)
set primaryA{C,DI,DS,DR}VarMapIndices, secondaryA{C,DI,DS,DR}VarMapTargets (coming from a higher-leve...
Definition: DakotaModel.cpp:5135
bool mi_parallel_level_defined(size_t index=_NPOS) const
test current parallel configuration for definition of meta-iterator-iterator parallel level
Definition: ParallelLibrary.hpp:1178
virtual void update_from_subordinate_model(size_t depth=SZ_MAX)
propagate vars/labels/bounds/targets from the bottom up
Definition: DakotaModel.cpp:3675
virtual void coefficient_labels(std::vector< std::string > &coeff_labels) const
print the coefficient array computed in build()/rebuild()
Definition: DakotaApproximation.cpp:949
Pecos::ActiveKey truthModelKey
key defining active model form / resolution level for the truth model
Definition: EnsembleSurrModel.hpp:286
SharedApproxData sharedData
data that is shared among all correction Approximations
Definition: DiscrepancyCorrection.hpp:213
size_t numObs
The number of observations on which the GP surface is built.
Definition: VPSApproximation.hpp:195
void assign_asynch_local_queue(PRPQueue &local_prp_queue, PRPQueueIter &local_prp_iter)
helper function for creating an initial active local queue by launching asynch local jobs from local_...
Definition: ApplicationInterface.cpp:1327
size_t adrv_index_to_all_index(size_t adrv_index) const
convert index within all discrete real variables to index within aggregated variables (all continous,...
Definition: SharedVariablesData.hpp:1245
RealVectorArray ccBelVal
Storage array to hold CCB response values.
Definition: NonDInterval.hpp:107
virtual const StringArray & analysis_drivers() const
retrieve the analysis drivers specification for application interfaces
Definition: DakotaInterface.cpp:1457
UInt32(Rank1Lattice::* reorder)(UInt32)
Function pointer to the chosen order of the points.
Definition: Rank1Lattice.hpp:143
const RealVector & discrete_real_lower_bounds() const
return the active discrete real lower bounds from userDefinedConstraints
Definition: DakotaModel.hpp:2921
void archive_model_response(const Response &, size_t idx) const override
Archive responses for parameter set idx.
Definition: ParamStudy.cpp:306
int informResult
INFORM from NPSOL manual: optimization status on exit.
Definition: SOLBase.hpp:179
short methodOutput
method verbosity control: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT (from the output specification i...
Definition: DataMethod.hpp:318
void evaluate()
Compute the Response at currentVariables (default ActiveSet).
Definition: DakotaModel.cpp:1190
int main(int argc, char *argv[])
The main program for exercising the DLL API with a simple command-line.
Definition: dll_tester.cpp:20
const RealVector & inactive_discrete_real_upper_bounds() const
return the inactive discrete upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3115
MatrixXd compute_second_deriv_pred_gram(const MatrixXd &pred_gram, const std::vector< MatrixXd > &mixed_dists, const VectorXd &theta_values, const int index_i, const int index_j) override
Compute the second derivatve of the prediction matrix for a pair of components.
Definition: SurrogatesGPKernels.cpp:47
void write_rep(MPIPackBuffer &s) const
write a letter object to a packed MPI buffer
std::vector< OneApproxOpts * > oneApproxOpts
one-D approximation options (basis type, poly order, etc.)
Definition: SharedC3ApproxData.hpp:207
void synchronous_local_evaluations(PRPQueue &prp_queue)
perform all jobs in prp_queue using synchronous approaches on the local processor
Definition: ApplicationInterface.cpp:2135
unsigned short subspaceSampleType
sampling method for building the subspace model
Definition: DataModel.hpp:360
OPTPP::NLF1 * nlf1Con
pointer to constraint NLF for (analytic) gradient-based optimizers
Definition: SNLLOptimizer.hpp:325
static int check_driver(const String &an_driver, const StringArray &link_files, const StringArray ©_files)
tokenize and try to validate the presence of an analysis driver, potentially included in the linked o...
Definition: NIDRProblemDescDB.cpp:892
virtual void join_evaluation_process_group(bool new_group)
create (if new_group) and join the process group for asynch evaluations
Definition: ProcessHandleApplicInterface.cpp:494
short ruleGrowthOverride
user override of default rule growth: NO_GROWTH_OVERRIDE, RESTRICTED, or UNRESTRICTED
Definition: NonDExpansion.hpp:486
int subIteratorJobCntr
subIterator job counter since last synchronize()
Definition: NestedModel.hpp:291
void flush() const override
Flush HDF5 cache to disk.
Definition: ResultsDBHDF5.cpp:257
Real recentered_density(const RealVector &sample_point, const RealRealPairArray &cauv_u_bnds)
compute density between a representative point and a sample point, assuming (bounded) standard normal
Definition: NonDAdaptImpSampling.cpp:831
virtual void update_model_from_sample(Model &model, const Real *sample_vars)
update model's current variables with data from sample
Definition: DakotaAnalyzer.cpp:415
String rfDataFilename
name of the data file with RF build data
Definition: RandomFieldModel.hpp:153
RealVectorArray initPointsU
the original set of u-space samples passed in initialize()
Definition: NonDAdaptImpSampling.hpp:175
StringMultiArrayConstView all_discrete_real_variable_labels() const
return all discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2680
Real stepLength
current step length parameter alpha
Definition: NonlinearCGOptimizer.hpp:137
unsigned short cubIntRule
the isotropic cubature integration rule
Definition: NonDCubature.hpp:101
void steady_state_diffusion_core(SpectralDiffusionModel &model, RealVector &domain_limits)
shared helper function between steady_state_diffusion_1d() and ss_diffusion_discrepancy()
Definition: TestDriverInterface.cpp:1861
int scilab_engine_run(const String &ac_name)
principal Scilab execute function
Definition: ScilabInterface.cpp:88
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDAdaptImpSampling.cpp:857
void serve_analyses_asynch()
serve the analysis scheduler and execute analysis jobs asynchronously
Definition: ProcessHandleApplicInterface.cpp:374
StringMultiArrayConstView discrete_real_variable_labels() const
return the active discrete variable labels from currentVariables
Definition: DakotaModel.hpp:2495
Python(const std::string &module_and_class_name)
Constructor that sets moduleAndClassName and does not build.
Definition: SurrogatesPython.cpp:16
Normalizes the data using max and min feature values.
Definition: UtilDataScaler.hpp:150
void compute_covariance()
calculate the response covariance (diagonal or full matrix) for the expansion indicated by statsMetri...
Definition: NonDExpansion.hpp:768
std::shared_ptr< DataModelRep > data_rep()
return dataModelRep
Definition: DataModel.hpp:592
void select_candidate(size_t best_candidate)
promote selected candidate into reference grid + expansion
Definition: NonDExpansion.cpp:1767
void push_c3_start_rank(size_t start_rank)
Publish configuration data for initial function train cores, prior to any adaptation.
Definition: NonDC3FunctionTrain.cpp:478
void file_cleanup() const
Definition: ProcessApplicInterface.cpp:891
IntVector discreteDesignSetIntLowerBnds
discrete design integer set lower bounds inferred from set values
Definition: DataVariables.hpp:684
unsigned short startOrder
starting polynomial order
Definition: DataModel.hpp:428
bool evaluation_cache() const
return evalCacheFlag
Definition: ApplicationInterface.hpp:590
~AdapterModel()
destructor
Definition: AdapterModel.hpp:195
void accumulate_ml_Qsums(IntRealMatrixMap &sum_Q, size_t lev, SizetArray &num_Q)
update running QoI sums for one model (sum_Q) using set of model evaluations within allResponses; use...
Definition: NonDMultilevelSampling.cpp:713
RealVectorArray drawNewX(int this_k, int respFnCount=0)
function to pick the next X value to be evaluated by the Iterated model
Definition: NonDAdaptiveSampling.cpp:753
pid_t create_analysis_process(bool block_flag, bool new_group)
spawn a child process for an analysis component within an evaluation using fork()/execvp() and wait f...
Definition: ForkApplicInterface.cpp:115
void scale_samples(const MatrixXd &unscaled_samples, MatrixXd &scaled_samples)
Apply scaling to a set of unscaled samples.
Definition: UtilDataScaler.cpp:45
void overlay_initial_params(QUESO::GslVector &full_param_initials)
overlay the Dakota user's initial parameters on the full GPMSA vector of parameters
Definition: NonDGPMSABayesCalibration.cpp:378
void read(MPIUnpackBuffer &s)
read a DataVariables object from a packed MPI buffer
Definition: DataVariables.hpp:1024
RealVector function_gradient_view(int i)
return the i-th function gradient as a SerialDenseVector view (shallow copy) for updating in place
Definition: DakotaResponse.hpp:677
const RealVector & gradient(const Variables &vars) override
retrieve the approximate function gradient for a given parameter vector x
Definition: SurfpackApproximation.cpp:531
RealMatrix prevFnGradULev0
matrix of limit state sensitivities w.r.t. active/uncertain variables for level 0....
Definition: NonDLocalReliability.hpp:316
size_t collocationPoints
number of data points used in FT construction by regression
Definition: DataModel.hpp:456
std::list< DataModel >::iterator dataModelIter
iterator identifying the active list node in dataModelList
Definition: ProblemDescDB.hpp:481
StringArray discreteIntEpistemicUncLabels
labels for all discrete integer epistemic uncertain variables
Definition: DataVariables.hpp:768
void set_communicators_checks(int max_eval_concurrency)
Definition: DirectApplicInterface.hpp:268
void solve(const MatrixXd &A, const MatrixXd &b, MatrixXd &x) override
Find a solution to Ax = b.
Definition: UtilLinearSolvers.cpp:219
RealVectorArray gpCvars
Vector to hold the current values of the current sample inputs on the GP.
Definition: NonDGPImpSampling.hpp:98
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NL2SOLLeastSq.cpp:292
size_t idrv_index_to_all_index(size_t drv_index) const
convert index within inactive discrete real variables to index within aggregated variables (all conti...
Definition: SharedVariablesData.hpp:1227
int expandAfterSuccess
the expand_after_success specification for PS/SW methods in MethodSCOLIBPS and MethodSCOLIBSW
Definition: DataMethod.hpp:627
bool pmaMaximizeG
flag indicating maximization of G(u) within PMA formulation
Definition: NonDReliability.hpp:101
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDLHSInterval.cpp:68
~SharedSurfpackApproxData()
destructor
Definition: SharedSurfpackApproxData.hpp:155
short correction_order() const
retrieve subModel's correction order
Definition: RecastModel.hpp:919
void read_results_files(Response &response, const int id, const String &eval_id_tag)
read the response object from one or more results files using full eval_id_tag passed
Definition: ProcessApplicInterface.cpp:711
int evaluation_id() const
returns the value of the (total) evaluation id counter for the interface
Definition: DakotaInterface.hpp:507
Class for using local gradient-based optimization approaches to calculate interval bounds for epistem...
Definition: NonDLocalSingleInterval.hpp:30
size_t vc_lookup(unsigned short key) const
retrieve the count within variablesComponents corresponding to key
Definition: SharedVariablesData.hpp:328
bool resize()
reinitializes iterator based on new variable size
Definition: NonDPOFDarts.cpp:91
int rdreq
whether to compute the regression diagnostic vector (regression_diagnostics)
Definition: NL2SOLLeastSq.hpp:140
size_t icv() const
number of inactive continuous vars
Definition: DakotaVariables.hpp:741
void snll_finalize_run(OPTPP::NLP0 *nlf_objective)
convenience function for clearing OPT++ data after method execution
Definition: SNLLBase.cpp:327
void initialize_subspace()
helper for shared code between lightweight ctor and initialize_mapping()
Definition: ActiveSubspaceModel.cpp:215
void check_correlations_for_nan_or_inf(std::ostream &s) const
Check correlation matrices for nans or infs and print warning message.
Definition: SensAnalysisGlobal.cpp:634
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDGPMSABayesCalibration.cpp:643
void set_cell_bounds()
set the optimization variable bounds for each cell
Definition: NonDGlobalEvidence.cpp:36
std::vector< Real > VecT
ROL default data type to be used by Dakota data adapters.
Definition: ROLOptimizer.hpp:142
Pecos::ActiveKey activeKey
key indicating the active model or model-pair used for approximation data
Definition: SharedApproxData.hpp:244
void initialize_base_recast(void(*variables_map)(const Variables &recast_vars, Variables &sub_model_vars), void(*set_map)(const Variables &recast_vars, const ActiveSet &recast_set, ActiveSet &sub_model_set), void(*primary_resp_map)(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response))
Initialize the base class RecastModel with reduced space variable sizes.
Definition: SubspaceModel.cpp:114
int evalIdCntr
total interface evaluation counter
Definition: DakotaInterface.hpp:386
void startup_message(const String &start_msg)
Set the Dakota startup message ("Running on...")
Definition: OutputManager.cpp:275
RealVector functionValues
Abstract set of response functions. Ordered: [primary_scalar, primary_field, nonlinear_inequality,...
Definition: DakotaResponse.hpp:402
size_t numLinearEqConstraints
number of linear equality constraints
Definition: DakotaMinimizer.hpp:259
Teuchos::RCP< ROL::StdVector< Real > > upperBounds
Handle to ROL's upper bounds vector.
Definition: ROLOptimizer.hpp:113
String intervalType
numerical gradient interval type: forward or central (from the interval_type specification in RespGra...
Definition: DataResponses.hpp:199
void wait_local_evaluation_sequence(PRPQueue &prp_queue)
Definition: SysCallApplicInterface.hpp:101
void multilevel_mc_pilot_projection()
Qsum approach projecting estimator performance from a pilot sample.
Definition: NonDMultilevelSampling.cpp:405
int randomSeed
current seed for the random number generator
Definition: PSUADEDesignCompExp.hpp:99
String postProcessorType
The post processor type.
Definition: DataMethod.hpp:724
int * ISC
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:247
int barnes_lf()
lo-fi barnes test for SBO perforamnce
Definition: TestDriverInterface.cpp:4263
bool singleIntervalFlag
flag for SingleInterval derived class
Definition: NonDInterval.hpp:100
RealVector globalLowerBnds
Global lower bounds.
Definition: SurrBasedLocalMinimizer.hpp:225
void gen_dakota_input(const int &color, std::string &input)
Return the appropriate DAKOTA input based on color (1 or 2)
Definition: library_split.cpp:135
bool need_resp_trans_byvars(const ShortArray &asv, int start_index, int num_resp) const
determine if response transformation is needed due to variable transformations
Definition: ScalingModel.cpp:926
Definition: PythonInterface.hpp:31
RealSymMatrix FMat
the "F" matrix from Gorodetsky JCP paper
Definition: NonDACVSampling.hpp:244
C3FnTrainData combinedC3FTData
the combined approximation, summed across model keys
Definition: C3Approximation.hpp:235
BitArray adrv_to_all_mask() const
create a BitArray indicating the all discrete real subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1365
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: JEGAOptimizer.hpp:641
virtual void add_metadata_to_execution(const StrStrSizet &iterator_id, const AttributeArray &attrs)=0
Add key:value metadata to an execution.
bool respScaling
flag for scaling response data to [0,1] for alignment with regression tols
Definition: NonDPolynomialChaos.hpp:199
void prior_mean(VectorType &mean_vec) const
return the mean of the prior distribution
Definition: NonDBayesCalibration.hpp:766
GP_Objective(GaussianProcess &gp_model)
Constructor for GP_Objective.
Definition: SurrogatesGPObjective.cpp:20
void compute_moment_confidence_intervals(const RealMatrix &moment_stats, RealMatrix &moment_conf_ints, const SizetArray &sample_counts, short moments_type)
compute moment confidence intervals from moment values
Definition: NonDSampling.cpp:1239
~ActiveSet()
destructor
Definition: DakotaActiveSet.hpp:143
StringScale(const std::string &in_label, std::initializer_list< const char * > in_items, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes and initializer list of string literals.
Definition: dakota_results_types.hpp:387
bool echo_input() const
is input echo specified?
Definition: ProgramOptions.cpp:118
double * DF
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:240
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: SurrBasedGlobalMinimizer.hpp:54
void compute_moments()
compute expansion moments; this uses a lightweight approach for incremental statistics (no additional...
Definition: NonDExpansion.cpp:2917
Model negLogPostModel
RecastModel for solving for MAP: reduces residualModel to scalar negative log posterior.
Definition: NonDBayesCalibration.hpp:299
short corrOrder
order of correction: 0 (value), 1 (gradient), or 2 (Hessian)
Definition: SurrogateModel.hpp:201
void approx_type_to_basis_type(const String &approx_type, short &basis_type)
utility to convert Dakota type string to Pecos type enumeration
Definition: SharedPecosApproxData.cpp:72
void active_variables(const Variables &vars)
copy the active cv/div/dsv/drv variables from vars
Definition: DakotaVariables.hpp:920
RealVector gVec
the "g" vector in Bomarito et al.
Definition: NonDGenACVSampling.hpp:249
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: SurrBasedGlobalMinimizer.hpp:42
ProgramOptions programOptions
the command line options manager
Definition: DakotaEnvironment.hpp:149
Model & truth_model()
return truthModel
Definition: EnsembleSurrModel.hpp:940
short correction_order() const
return the correction order from the DiscrepancyCorrection object used by SurrogateModels
Definition: SurrogateModel.hpp:330
unsigned count_consecutive_trailing_zero_bits(UInt32 v)
Count consecutive trailing zero bits.
Definition: dakota_bit_utils.hpp:28
int salinas()
direct interface to the SALINAS structural dynamics code
Definition: TestDriverInterface.cpp:4886
virtual void initialize()
perform any required initialization
Definition: NonDLocalInterval.cpp:235
bool user_stderr_redirect() const
whether the user/client code requested a redirect of stderr
Definition: ProgramOptions.cpp:219
bool subspaceIdCV
Flag to use cross validation to identify active subspace dimension.
Definition: DataModel.hpp:392
C3FnTrainData copy() const
perform a deep copy (copy ctor and operator= use shallow copies)
Definition: C3FnTrainData.cpp:273
virtual ~OptDartsTraits()
destructor
Definition: OptDartsOptimizer.hpp:35
StringMultiArrayView all_discrete_real_labels(size_t start, size_t num_items) const
get num_items discrete real labels beginning at index start
Definition: SharedVariablesData.hpp:1462
size_t collocPtsSpec
user specification for collocation_points
Definition: NonDC3FunctionTrain.hpp:150
SizetArray activeVarsCompsTotals
totals for active variable type counts for {continuous,discrete integer,discrete string,...
Definition: SharedVariablesData.hpp:238
virtual int derived_map_ac(const String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: ScilabInterface.cpp:69
ProgramOptions & program_options()
return programOptions reference
Definition: ParallelLibrary.hpp:1035
void discrete_string_variable_type(unsigned short dsv_type, size_t index)
set an active discrete string variable type
Definition: DakotaVariables.hpp:1355
virtual ~DakotaROLEqConstraintsHess()
Destructor.
Definition: ROLOptimizer.hpp:530
String approxPointReuse
sample reuse selection for building global approximations: none, all, region, or file (from the reuse...
Definition: DataModel.hpp:166
bool pre_run() const
is pre-run mode active?
Definition: ProgramOptions.cpp:161
~VPSApproximation()
destructor
Definition: VPSApproximation.cpp:98
DataFitSurrModel(ProblemDescDB &problem_db)
constructor
Definition: DataFitSurrModel.cpp:31
virtual bool advancement_available()
query for available advancements in approximation resolution controls
Definition: DakotaInterface.cpp:1293
int batchEvalId
counter for incrementing evaluation ids to allow synchronization with iteratedModel ids across acquis...
Definition: EffGlobalMinimizer.hpp:295
const RealVector & all_continuous_upper_bounds() const
returns a single array with all continuous upper bounds
Definition: DakotaConstraints.hpp:741
void build_model_discrepancy()
calculate model discrepancy with respect to experimental data
Definition: NonDBayesCalibration.cpp:1662
bool resize()
reinitializes iterator based on new variable size
Definition: ParamStudy.cpp:134
virtual void replace_approximation(const IntResponsePair &response_pr)
replace the response for a single point within an existing approximation
Definition: DakotaInterface.cpp:1167
Real maxStep
the max_step specification in MethodOPTPPDC
Definition: DataMethod.hpp:526
String drScaleType
DR scale type.
Definition: DataMethod.hpp:1357
void compute_hyperbolic_level_indices(int num_dims, int level, double p, MatrixXi &indices)
Compute the hyperbolic cross indices for a given level.
Definition: surrogates_tools.cpp:104
void increm_lhs_parameter_set(int previous_samples, int new_samples, RealMatrix &full_samples, IntMatrix &all_ranks)
generate a new batch that is Latin w.r.t. the previous samples
Definition: NonDLHSSampling.cpp:312
std::list< DataVariables > dataVariablesList
list of variables specifications, one for each call to variables_kwhandler() or insert_node()
Definition: ProblemDescDB.hpp:388
virtual void primary_diagnostics(size_t fn_index)
compute and print all requested diagnostics and cross-validation
Definition: DakotaApproximation.cpp:879
bool useWorkdir
whether to use a work_directory
Definition: ProcessApplicInterface.hpp:210
IntIntMapArray modelIdMaps
map from evaluation ids of truthModel/approxModels to EnsembleSurrModel ids
Definition: EnsembleSurrModel.hpp:312
size_t numExperiments
number of experiments
Definition: DakotaMinimizer.hpp:291
IntVector discIntStepVector
the n-dimensional discrete integer range value or set index increment
Definition: ParamStudy.hpp:218
unsigned short localDataView
bit-wise record of which local data views are active; see enum local_data_t
Definition: DirectApplicInterface.hpp:164
size_t numDiscreteDesSetStrVars
number of discrete design variables defined by a set of strings (from the discrete_design_set string ...
Definition: DataVariables.hpp:113
MPI_Comm analysis_comm() const
retrieve the MPI communicator on which this model is configured to conduct function evaluation analys...
Definition: DakotaModel.cpp:4944
short outputLevel
output verbosity level: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT
Definition: SharedApproxData.hpp:241
const RealVector & combined_moments() const
return combined moments from multilevel-muktifidelity expansion roll-up
Definition: PecosApproximation.hpp:687
void core_run()
Definition: NonDSampling.cpp:963
void inactive_view(short view, bool recurse_flag=true)
update the Model's inactive view based on higher level context and optionally recurse into actualMode...
Definition: DataFitSurrModel.hpp:984
~NCSUOptimizer()
destructor
Definition: NCSUOptimizer.cpp:173
RealVector lower_bounds
Lower bounds for sub-problem.
Definition: PEBBLBranching.hpp:67
void update_global_reference()
Updates fit arrays for global approximations.
Definition: DataFitSurrModel.cpp:985
void continuous_variable_type(unsigned short cv_type, size_t i)
set an active continuous variable type in currentVariables
Definition: DakotaModel.hpp:1965
size_t num_config_vars() const
number of configuration variables
Definition: ExperimentData.hpp:488
~NonDPolynomialChaos()
destructor
Definition: NonDPolynomialChaos.cpp:452
Definition: HDF5_IO.hpp:201
void create_command_arguments(boost::shared_array< const char * > &av, StringArray &driver_and_args)
parse argList into argument array av suitable for passing to execvp, appending parameters and results...
Definition: ProcessHandleApplicInterface.cpp:527
StringArray linearEqScaleTypes
scaling types for the linear equality constraints (from the linear_equality_scale_types specification...
Definition: DataVariables.hpp:832
void update_final_statistics_gradients()
update function gradients within finalStatistics
Definition: NonDExpansion.cpp:3790
virtual void operator()(size_t num_samp, Data &bootstrapped_sample)
Generate and store a new bootstrapped sample into bootstrapped_sample TODO: bounds checking.
Definition: BootstrapSampler.hpp:296
NonDGlobalEvidence(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDGlobalEvidence.cpp:18
void all_discrete_real_variable_label(const String &adrv_label, size_t index)
set a label within the all discrete label array
Definition: DakotaVariables.hpp:1756
virtual const RealVector & gradient(const Variables &vars)
retrieve the approximate function gradient for a given parameter vector
Definition: DakotaApproximation.cpp:422
void initialize_variables_and_constraints()
initializes problem variables and constraints
Definition: APPSOptimizer.cpp:307
unsigned short maxCVOrderCandidates
restrict the number of candidates within cross validation for order (by increasing start order when n...
Definition: SharedC3ApproxData.hpp:301
void archive_results(int num_samples, size_t ind_inc=0)
Archive all results.
Definition: NonDLHSSampling.cpp:1074
void store_ranks(const RealMatrix &sample_values, IntMatrix &sample_ranks)
store the ranks of the last generated sample for continuous (based on sampleRanks) and calculate/stor...
Definition: NonDLHSSampling.cpp:430
void print_coefficients(std::ostream &s, bool normalized)
print the coefficient array computed in build()/rebuild()
Definition: PecosApproximation.hpp:817
int totalPatternSize
the total_pattern_size specification for PS methods in MethodSCOLIBPS
Definition: DataMethod.hpp:636
bool set_compare(const ParamResponsePair &database_pr, const ActiveSet &search_set)
search function for a particular ParamResponsePair within a PRPList based on ActiveSet content (reque...
Definition: PRPMultiIndex.hpp:39
String postRunOutput
filename for post_run output
Definition: ProgramOptions.hpp:262
bool autoRefine
whether automatic surrogate refinement is enabled
Definition: DataModel.hpp:461
void compute_combined_covariance()
calculate the response covariance of the combined expansion
Definition: NonDExpansion.hpp:740
HOPSPACK::ParameterList params
Pointer to APPS parameter list.
Definition: APPSOptimizer.hpp:182
Wrapper class for optimizers defined using COLIN.
Definition: COLINOptimizer.hpp:80
Real combined_mean()
return the mean of the combined expansion, where all active vars are random
Definition: C3Approximation.hpp:358
void compute_direction()
compute next direction via choice of method
Definition: NonlinearCGOptimizer.cpp:167
RealVector discreteDesignSetRealLowerBnds
discrete design real set lower bounds inferred from set values
Definition: DataVariables.hpp:692
void mean_value()
convenience function for encapsulating the simple Mean Value computation of approximate statistics an...
Definition: NonDLocalReliability.cpp:581
int asynch_local_evaluation_concurrency() const
return asynchLocalEvalConcurrency
Definition: ApplicationInterface.hpp:582
void accumulate_mlmf_Ysums(IntRealMatrixMap &sum_Y, size_t lev, SizetArray &num_Y)
update running discrepancy sums for one model (sum_Y) using set of model evaluations within allRespon...
Definition: NonDMultilevControlVarSampling.cpp:1539
void write_tabular_labels(std::ostream &s, unsigned short vars_part=ALL_VARS) const
write the labels in input spec order to a std::ostream, optionally specifying which partition (all/ac...
Definition: MixedVariables.cpp:120
void epistemic_uncertain_counts(size_t &num_ceuv, size_t &num_deuiv, size_t &num_deusv, size_t &num_deurv) const
compute epistemic uncertain variables sums from variablesCompsTotals
Definition: SharedVariablesData.hpp:444
std::list< void * > VIL
List of Var_Info pointers, one per Variables instance.
Definition: NIDRProblemDescDB.hpp:74
RealVector fdGradStepSize
vector of finite difference step sizes for numerical gradients, one step size per active continuous v...
Definition: DataResponses.hpp:204
~RelaxedVariables()
destructor
Definition: RelaxedVariables.hpp:100
void lhood_2d_grid_eval()
For problems with 2D input, evaluates the negative log likelihood on a grid.
Definition: GaussProcApproximation.cpp:1222
int numSamples
the samples specification for NonD & DACE methods
Definition: DataMethod.hpp:859
size_t numFieldNonlinearIneqConstraints
number of field nonlinear inequality constraints (from the num_scalar_nonlinear_inequality_constraint...
Definition: DataResponses.hpp:97
IntVector inactiveDiscreteIntUpperBnds
the inactive discrete upper bounds array view
Definition: DakotaConstraints.hpp:413
engine * matlabEngine
pointer to the MATLAB engine used for direct evaluations
Definition: MatlabInterface.hpp:48
void print_convergence_code(std::ostream &s, unsigned short code)
print out the state corresponding to the code returned by converged()
Definition: SurrBasedLocalMinimizer.cpp:404
void post_start(ProblemDescDB &problem_db)
post the start of an analysis and archive start time
Definition: UsageTracker.cpp:33
void all_variables(const Variables &vars)
copy all cv/div/dsv/drv variables from vars
Definition: DakotaVariables.hpp:941
bool userNumpyFlag
whether the user requested numpy data structures in the input file
Definition: PythonInterface.hpp:47
std::vector< std::string > MetaDataValueType
Data type for metadata value.
Definition: dakota_results_types.hpp:57
void init_serial()
for cases where init_communicators() will not be called, modify some default settings to behave prope...
Definition: DakotaModel.cpp:5068
void increment_ml_equivalent_cost(size_t new_N_l, Real lev_cost, Real ref_cost, Real &equiv_hf)
increment the equivalent number of HF evaluations based on new model evaluations
Definition: NonDMultilevelSampling.hpp:1019
bool exportSampleSeqFlag
flag for exporting the sequence of sample increments within multilevel sampling from the export_sampl...
Definition: DataMethod.hpp:1425
Real discrete_real_upper_bound(size_t i) const
return an active discrete real upper bound from userDefinedConstraints
Definition: DakotaModel.hpp:2971
size_t numDACERuns
counter for number of executions for this object
Definition: FSUDesignCompExp.hpp:90
void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: DDACEDesignCompExp.cpp:145
bool derivative_estimation()
indicates potential usage of estimate_derivatives() based on gradientType/hessianType
Definition: DakotaModel.hpp:3712
Real nonlinear_model_cost(const RealVector &r_and_N)
constraint helper function shared by NPSOL/OPT++ static evaluators
Definition: NonDGenACVSampling.cpp:1569
void derived_subordinate_models(ModelList &ml, bool recurse_flag)
return subModel
Definition: NestedModel.hpp:472
RealVector projEstVarHF
reference value for estimator variance: final HF variance over projected HF samples
Definition: NonDMultilevBLUESampling.hpp:273
void update_data_properties()
After constructing or adding data, update properties like experiment lengths, determinant,...
Definition: ExperimentData.cpp:252
virtual void init_model(Model &model)
initialize model with data that could change once per set of evaluations (e.g., an outer iterator exe...
Definition: SurrogateModel.cpp:195
const IntResponseMap & derived_synchronize()
portion of synchronize() specific to AdapterModel
Definition: AdapterModel.cpp:180
void clear_current_active_data()
clears current data from an approximation interface
Definition: ApproximationInterface.hpp:536
NonDIntegration(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDIntegration.cpp:27
bool curvatureDataAvailable
flag indicating that sufficient data (i.e., fnGradU, fnHessU, mostProbPointU) is available for comput...
Definition: NonDLocalReliability.hpp:333
void unpack(double *data, const int num=1)
Unpack one or more double's.
virtual void clear_model_keys()
reset by removing all model keys within surrogate data, grid driver, and approximation classes that s...
Definition: DakotaModel.cpp:3475
void add_metadata_to_execution(const StrStrSizet &iterator_id, const AttributeArray &attrs)
Associate key:value metadata with all the results for this execution of a method.
Definition: ResultsManager.cpp:55
IntArray fnHessRefPt
iteration reference point for fnHessCounter
Definition: DakotaInterface.hpp:401
~IteratorScheduler()
destructor
Definition: IteratorScheduler.hpp:205
Definition: ROLOptimizer.hpp:255
void debug_plots()
DEBUG_PLOTS conditional - output set of samples used to build the GP if problem is 2D.
Definition: EffGlobalMinimizer.cpp:1177
RealSymMatrix finalStatErrors
standard errors (estimator std deviation) for each of the finalStatistics
Definition: NonDSampling.hpp:322
bool subspaceIdCV
Boolean flag signaling use of cross validationto identify active subspace dimension.
Definition: ActiveSubspaceModel.hpp:229
bool matching_all_interface_ids()
check for matching interface ids across full set of models (invariant)
Definition: EnsembleSurrModel.hpp:723
PRPQueueOIter lookup_by_eval_id(PRPMultiIndexQueue &prp_queue, int search_id)
find a ParamResponsePair within a PRPMultiIndexQueue based on search_id (i.e. integer eval_id) search...
Definition: PRPMultiIndex.hpp:544
size_t analysisDriverIndex
the index of the active analysis driver within analysisDrivers
Definition: DirectApplicInterface.hpp:218
bool returns_multiple_points() const
Global surrogate-based methods can return multiple points.
Definition: SurrBasedGlobalMinimizer.hpp:118
TANA3Approximation()
default constructor
Definition: TANA3Approximation.hpp:90
bool crossValidation
flag for use of cross-validation for selection of parameter settings in regression approaches
Definition: NonDPolynomialChaos.hpp:191
StringMultiArrayConstView discrete_string_variables() const
return the active discrete string variables from currentVariables
Definition: DakotaModel.hpp:1893
RealVector linIneqUpperBnds
linear inequality constraint upper bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:369
static void EIF_objective_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the objective function in the Expected Improvement (EIF) problem formulation ...
Definition: EffGlobalMinimizer.cpp:916
virtual void resolve_inputs(short &u_space_type, short &data_order)
perform error checks and mode overrides
Definition: NonDExpansion.cpp:233
OPTPP::NLP * nlpConstraint
constraint NLP pointer
Definition: SNLLLeastSq.hpp:180
void check_sizes(const size_t nMin, const size_t nMax, RealMatrix &points)
Perform checks on the matrix points Each column of points contains a dimension-dimensional point wher...
Definition: LowDiscrepancySequence.hpp:141
StringArray discreteUncSetStrVars
initial values of the discrete uncertain set integer variables (from the initial_point specification ...
Definition: DataVariables.hpp:590
Parent class for surrogate models.
Definition: SurrogatesBase.hpp:45
Derived approximation class for Surrogates approximation classes.
Definition: DakotaSurrogatesGP.hpp:24
void configure_data_adapters(std::shared_ptr< TraitsBase >, const Model &)
Construct maps, etc. needed to exchange data to/from Dakota and the TPL.
Definition: DakotaTPLDataTransfer.cpp:143
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: DakotaVerification.cpp:60
UShortArray discStringVarPartitions
number of partitions for each discrete string variable in a multidim_parameter_study
Definition: ParamStudy.hpp:256
void clear_model_keys()
remove keys for any approximations underlying {truth,approx}Models
Definition: EnsembleSurrModel.hpp:984
virtual bool is_derived()
A temporary query used in the refactor.
Definition: DLSolver.hpp:33
const char *DAKOTA_DLL_FN dakota_getStatus(int id)
return current results output as a string
Definition: dakota_dll_api.cpp:297
Real initialStep
initial step length
Definition: NonlinearCGOptimizer.hpp:97
char * Buffer
The internal buffer for packing.
Definition: MPIPackBuffer.hpp:121
void field_group_labels(const StringArray &field_labels)
set the coarse primary field group labels (must agree with number fields)
void build() override
Do the build.
Definition: DakotaSurrogatesGP.cpp:130
virtual void set_communicators_checks(int max_eval_concurrency)
perform run-time error checks on the parallel configuration
Definition: ApplicationInterface.cpp:281
void pack(const u_int &data)
Pack a unsigned int.
Definition: MPIPackBuffer.hpp:91
virtual void flush() const
If supported, flush data to the database or disk.
Definition: ResultsDBBase.hpp:47
short meritFnType
type of merit function used in trust region ratio logic: PENALTY_MERIT, ADAPTIVE_PENALTY_MERIT,...
Definition: SurrBasedLocalMinimizer.hpp:184
void set_total_workers(const int numDakotaWorkers)
publishes the number of processors available for function evaluations
Definition: APPSEvalMgr.hpp:81
IntVector binomialUncVars
initial values of the binomial uncertain variables (from the initial_point specification in VarDAUV_B...
Definition: DataVariables.hpp:465
virtual void update_approximation(bool rebuild_flag)
replace the approximation data within an existing surrogate based on data updates propagated elsewher...
Definition: DakotaModel.cpp:4035
void importance_sampling()
perform multimodal adaptive importance sampling on the GP
Definition: NonDGlobalReliability.cpp:804
void update_reference()
invokes SparseGridDriver::update_reference()
Definition: NonDSparseGrid.hpp:202
size_t idiv() const
returns number of inactive discrete integer vars
Definition: DakotaModel.hpp:1775
unsigned short approxOrder
order of polynomial approximation
Definition: SharedSurfpackApproxData.hpp:135
StringMultiArrayConstView discrete_int_variable_labels() const
return the active discrete integer variable labels
Definition: DakotaVariables.hpp:1113
int numTrials
the numTrials specification in MethodFSUDACE
Definition: DataMethod.hpp:788
static BimapMetrictypeStr type_name_bimap
Bimap between metric types and names.
Definition: util_metrics.cpp:23
void derived_evaluate(const ActiveSet &set)
generate a random field realization, then evaluate the submodel
Definition: RandomFieldModel.cpp:479
static NonDLocalInterval * nondLIInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NonDLocalInterval.hpp:105
void primary_fn_type(short type)
set the primary function type (generic, objective, calibration)
void response_mapping(const Response &interface_response, const Response &sub_iterator_response, Response &mapped_response)
combine the response from the optional interface evaluation with the response from the sub-iteration ...
Definition: NestedModel.hpp:649
String write_restart_file() const
write retart (user-provided or default) file base name (no tag)
Definition: ProgramOptions.cpp:148
String proposalCovFile
file from which to read proposal covariance in diagonal or matrix format
Definition: DataMethod.hpp:1232
void get_nonlinear_ineq_constraints(const Model &model, VecT &values)
Definition: DakotaOptimizer.hpp:951
void write_annotated_rep(std::ostream &s) const
write a letter object in annotated format to a std::ostream
size_t numContinuousVars
number of active continuous vars
Definition: DakotaMinimizer.hpp:239
void export_chain()
export the acceptance chain in user space
bool ownFlag
If TRUE, then this class owns the internal buffer.
Definition: MPIPackBuffer.hpp:276
IntRealMatrixMap fieldCoords
coordinates (independent vars like x,t) on which field values depend
Definition: DakotaResponse.hpp:410
void accumulate_mf_sums(IntRealMatrixMap &sum_L_baseline, IntRealVectorMap &sum_H, IntRealMatrixMap &sum_LL, IntRealMatrixMap &sum_LH, RealVector &sum_HH, SizetArray &N_shared)
Definition: NonDMultifidelitySampling.cpp:605
ParConfigLIter schedPCIter
iterator for active parallel configuration
Definition: IteratorScheduler.hpp:180
std::vector< driver_t > analysisDriverTypes
conversion of analysisDrivers to driver_t
Definition: DirectApplicInterface.hpp:215
int herbie()
returns the N-D herbie function
Definition: TestDriverInterface.cpp:4519
void print_results(std::ostream &s, short results_state=FINAL_RESULTS) override
print the final iterator results
Definition: NonDQUESOBayesCalibration.cpp:1001
unsigned short scalarDataFormat
tabular format of the simple scalar data file; supports TABULAR_NONE, TABULAR_HEADER,...
Definition: ExperimentData.hpp:451
const Pecos::ActiveKey & active_model_key() const
return active multi-index key
Definition: SharedApproxData.hpp:307
RealSymMatrixArray field_hessians_view(size_t i) const
return a view of the hessians of each element of the i-th field
Definition: DakotaResponse.hpp:1009
UsageTracker(const UsageTracker &)
copy construction is disallowed
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return ROL format for nonlinear inequality constraints.
Definition: ROLOptimizer.hpp:168
size_t div_index_to_all_index(size_t div_index) const
convert index within active discrete integer variables to index within aggregated variables (all cont...
Definition: SharedVariablesData.hpp:1154
void init_communicators(const IntArray &message_lengths, int max_eval_concurrency)
allocate communicator partitions for concurrent evaluations within an iterator and concurrent multipr...
Definition: ApplicationInterface.cpp:98
bool derived_master_overload() const
flag which prevents overloading the master with a multiprocessor evaluation (request forwarded to sub...
Definition: RecastModel.hpp:1064
ProgramOptions & program_options()
return programOptions
Definition: DakotaEnvironment.hpp:182
virtual void unpack_results_buffer(MPIUnpackBuffer &recv_buffer, int job_index)
used by IteratorScheduler to unpack results data from an iterator run
Definition: DakotaIterator.cpp:1414
void pull_lower_triangle(const RealSymMatrix &mat, RealVector &vec, size_t offset=0)
pull lower triangle of symmetric matrix into vector
Definition: NonDExpansion.hpp:787
const Real & function_value(size_t i) const
return a function value
Definition: DakotaResponse.hpp:541
RealSetArray discreteDesignSetReal
complete set of admissible values for each of the discrete design variables defined by a real set (fr...
Definition: DataVariables.hpp:264
short multilevDiscrepEmulation
emulation approach for multilevel / multifidelity discrepancy: distinct or recursive
Definition: NonDExpansion.hpp:455
StringMultiArray allDiscreteStringLabels
array of variable labels for all of the discrete string variables
Definition: SharedVariablesData.hpp:279
SizetSizetPair varMinIndices
active indices for numerical solutions: varianceMinimizers[first][second]
Definition: NonDNonHierarchSampling.hpp:650
size_t push_index(const Pecos::ActiveKey &key)
Definition: SharedPecosApproxData.hpp:222
void start_dakota_heartbeat(int)
Definition: OutputManager.cpp:1099
RealVectorArray responseLevels
the response_levels specification in MethodNonD
Definition: DataMethod.hpp:1168
std::shared_ptr< DataInterfaceRep > dataIfaceRep
pointer to the body (handle-body idiom)
Definition: DataInterface.hpp:324
void update_callback_data(const RealVector &cv_initial, const RealVector &cv_lower_bnds, const RealVector &cv_upper_bnds, const RealMatrix &lin_ineq_coeffs, const RealVector &lin_ineq_l_bnds, const RealVector &lin_ineq_u_bnds, const RealMatrix &lin_eq_coeffs, const RealVector &lin_eq_targets, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_targets)
assign variable values and bounds and constraint coefficients and bounds for this iterator (user-func...
Definition: SNLLOptimizer.cpp:572
static void Var_IntBoundIPCheck(DataVariablesRep *dv, Var_icheck *ib)
For integer-valued variables: verify lengths of bounds and initial point, validate bounds and initial...
Definition: NIDRProblemDescDB.cpp:4940
DigitalNetOrdering
Enum for digital net ordering.
Definition: DigitalNet.hpp:20
InterfaceList & interface_list()
return a list of all Interface objects that have been instantiated
Definition: ProblemDescDB.hpp:561
void copy_gsl_partial(const QUESO::GslVector &qv, size_t start, RealVector &rv)
local copy_data utility from portion of GslVector to RealVector
Definition: NonDQUESOBayesCalibration.cpp:1135
void calc_grad_nll()
Gets the gradient of the negative log likelihood function with respect to the correlation lengthscale...
Definition: GaussProcApproximation.cpp:857
void snll_initialize_run(OPTPP::NLP0 *nlf_objective, OPTPP::NLP *nlp_constraint, const RealVector &init_pt, bool bound_constr_flag, const RealVector &lower_bnds, const RealVector &upper_bnds, const RealMatrix &lin_ineq_coeffs, const RealVector &lin_ineq_l_bnds, const RealVector &lin_ineq_u_bnds, const RealMatrix &lin_eq_coeffs, const RealVector &lin_eq_targets, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_targets)
convenience function for OPT++ configuration prior to the method invocation
Definition: SNLLBase.cpp:191
RealPairPRPMultiMap bestVarsRespMap
map which stores best set of solutions
Definition: DakotaAnalyzer.hpp:213
Response(short type, const ActiveSet &set)
alternate constructor using limited data without sharing
void manage_mpi(MPI_Comm &my_comm, int &color)
Split MPI_COMM_WORLD, returning the comm and color.
Definition: library_split.cpp:83
const std::tuple< UInt64Matrix, int, int > get_generating_matrices_from_file(ProblemDescDB &problem_db)
Case I: the generating matrices are provided in an external file.
Definition: DigitalNet.cpp:420
void design_counts(size_t &num_cdv, size_t &num_ddiv, size_t &num_ddsv, size_t &num_ddrv) const
compute design variables sums from variablesCompsTotals
Definition: SharedVariablesData.hpp:414
Definition: WorkdirHelper.hpp:113
Iterator daceIterator
String dataDirectoryBasename;.
Definition: RandomFieldModel.hpp:167
void core_run()
perform a forward uncertainty propagation using PCE/SC methods
Definition: NonDExpansion.cpp:719
SizetArray expansionSamplesSeq
the expansion_samples_sequence specification in MethodNonDPCE
Definition: DataMethod.hpp:994
void initialize_run()
utility function to perform common operations prior to pre_run(); typically memory initialization; se...
Definition: CONMINOptimizer.cpp:258
void init_communicators_checks(int max_eval_concurrency)
Definition: ProcessHandleApplicInterface.hpp:171
virtual void discrepancy_emulation_mode(short mode)
set discrepancy emulation mode used for approximating response differences
Definition: DakotaInterface.cpp:1478
size_t approxIters
number of approximation cycles for the current respFnCount/levelCount
Definition: NonDReliability.hpp:89
virtual void set_communicators(const IntArray &message_lengths, int max_eval_concurrency)
set the local parallel partition data for an interface (the partitions are already allocated in Paral...
Definition: DakotaInterface.cpp:914
IntArray pointsAddedIndex
Used by the point selection algorithm, this vector keeps track all points which have been added.
Definition: GaussProcApproximation.hpp:265
void * dlLib
handle to dynamically loaded library
Definition: DataMethod.hpp:495
bool calModelDiscrepancy
flag whether to calculate model discrepancy
Definition: NonDBayesCalibration.hpp:351
boost::mt19937 rnumGenerator
random number engine for sampling the prior
Definition: NonDDREAMBayesCalibration.hpp:109
Real log_prior_density(const VectorType &vec)
compute the log prior PDF for a particular MCMC sample
Definition: NonDBayesCalibration.hpp:654
Base class for the nonlinear least squares branch of the iterator hierarchy.
Definition: DakotaLeastSq.hpp:24
void allocate_arrays()
invoke Pecos::PolynomialApproximation::allocate_arrays()
Definition: PecosApproximation.hpp:425
Real terms_samples_to_ratio(size_t num_exp_terms, int samples)
convert number of regression terms and number of collocation samples to a collocation ratio
Definition: NonDExpansion.hpp:887
void active_set_derivative_vector(const SizetArray &asdv)
set the active set derivative vector and reshape functionGradients/functionHessians if needed
size_t myModelLayers
number of Models locally (in Iterator or derived classes) wrapped around the initially passed in Mode...
Definition: DakotaIterator.hpp:487
virtual void compute_subspace()=0
sample the model's gradient, computed the SVD, and form the active subspace rotation matrix.
void post_finalize()
clean up popped bookkeeping following aggregation
Definition: SharedPecosApproxData.hpp:243
size_t numNonlinearEqConstraints
number of nonlinear equality constraints (from the num_nonlinear_equality_constraints specification i...
Definition: DataResponses.hpp:70
void inactive_discrete_int_variable(int idi_var, size_t index)
set an inactive discrete int variable
Definition: DakotaVariables.hpp:1449
bool ieDedMasterFlag
flag for dedicated master partitioning at the iterator level
Definition: DakotaInterface.hpp:426
static void get_positive_definite_covariance_from_hessian(const RealSymMatrix &hessian, const RealMatrix &prior_chol_fact, RealSymMatrix &covariance, short output_lev)
Compute the proposal covariance C based on low-rank approximation to the prior-preconditioned misfit ...
Definition: NonDBayesCalibration.cpp:2427
IntVector discreteIntEpistemicUncLowerBnds
distribution lower bounds for all discrete integer epistemic uncertain variables
Definition: DataVariables.hpp:763
IntMatrix get_var_samples_argsort(const RealMatrix &valid_data)
Returns a matrix where columns are the indices that would sort each variable's samples smallest to la...
Definition: SensAnalysisGlobal.cpp:1175
String exportCorrVarFile
specify the name of file to which corrected model variance calculations are output
Definition: DataMethod.hpp:1280
void compute_equivalent_cost(const SizetArray &N_l, const RealVector &cost)
compute equivHFEvals from samples per level and cost per evaluation
Definition: NonDExpansion.cpp:1336
IntVector primeBase
Integer vector defining the prime base for each sequence being generated. Default is 2 3 5 (e....
Definition: FSUDesignCompExp.hpp:104
Model & subordinate_model()
return truth_model()
Definition: SurrogateModel.hpp:293
RealMatrix stdRegressCoeffs
matrix to hold standardized regression coefficients
Definition: SensAnalysisGlobal.hpp:260
Real compute_variances(const RealVector &variances)
variance function for the EGO MSE acquisition implementation
Definition: EffGlobalMinimizer.cpp:1084
StringArray hybridMethodNames
array of methods for the sequential and collaborative hybrid meta-iterators (from the method_name_lis...
Definition: DataMethod.hpp:387
void init_serial_analyses()
set concurrent analysis configuration for serial operations (e.g., for local executions on a dedicate...
Definition: ApplicationInterface.hpp:574
void append_restart(const ParamResponsePair &prp)
append a parameter/response set to the restart file
Definition: OutputManager.cpp:400
void isend_ie(int &send_int, int dest, int tag, MPI_Request &send_req)
nonblocking send at the iterator-evaluation communication level
Definition: ParallelLibrary.hpp:1555
bool vbdFlag
the var_based_decomp specification for computing Sobol' indices via either PCE or sampling
Definition: DataMethod.hpp:870
const Variables & current_variables() const
return the current variables (currentVariables) as const reference (preferred)
Definition: DakotaModel.hpp:3551
String iFilterName
name of the direct function input filter
Definition: DirectApplicInterface.hpp:142
bool adaptExpDesign
whether to perform adaptive Bayesian design of experiments
Definition: DataMethod.hpp:1288
virtual const VariablesArray & variables_array_results()
return multiple final iterator solutions (variables). This should only be used if returns_multiple_po...
Definition: DakotaIterator.cpp:1445
void compute_binned_sobol_indices_from_valid_samples(const RealMatrix &valid_samples, size_t num_bins)
compute binned sobol indices from valid samples (having screened out samples with non-numeric respons...
Definition: SensAnalysisGlobal.cpp:1125
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: PSUADEDesignCompExp.cpp:88
IntResponseMap dakotaResponseMap
map of DAKOTA responses returned by synchronize_nowait()
Definition: APPSEvalMgr.hpp:119
int emulatorOrder
The total order to be used in construction of a VPS surrogate.
Definition: DataMethod.hpp:1184
SOLVER_TYPE
How best to Doxygenate class enums? RWH.
Definition: UtilLinearSolvers.hpp:28
Real delta_combined_beta(bool cdf_flag, Real z_bar)
return the change in reliability index (mapped from z_bar) resulting from expansion refinement,...
Definition: PecosApproximation.hpp:636
~NonDMultilevelSampling()
destructor
Definition: NonDMultilevelSampling.hpp:567
short componentParallelMode
the component parallelism mode: NO_PARALLEL_MODE, SURROGATE_MODEL_MODE,
Definition: DakotaModel.hpp:1498
IntIntPair estimate_partition_bounds(int max_eval_concurrency)
estimate the minimum and maximum partition sizes that can be utilized by this Model
Definition: NestedModel.hpp:535
Real initMeshSize
the initMeshSize choice for NOMAD in MethodNOMADDC
Definition: DataMethod.hpp:801
std::shared_ptr< Approximation > approx_rep() const
returns approxRep for access to derived class member functions that are not mapped to the top Approxi...
Definition: DakotaApproximation.hpp:645
void post_input()
read tabular data for post-run mode
Definition: ParamStudy.cpp:388
void post_process_response_fn_results()
post-process the interval computed for a response function
Definition: NonDLocalEvidence.cpp:89
SNLLOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: SNLLOptimizer.cpp:46
void opt_darts_execute(size_t num_dim, size_t budget, double *xmin, double *xmax, double TOL, size_t problem_index, double fw_MC, double fb_MC)
Run the OPT-DARTS method.
Definition: OptDartsOptimizer.cpp:289
@ OptionalValue
option with optional value
Definition: CommandLineHandler.hpp:33
bool manage_data_recastings()
initialize modelList and recastFlags for data import/export
Definition: DakotaModel.cpp:3143
SharedVariablesDataRep(const ProblemDescDB &problem_db, const ShortShortPair &view)
standard constructor
size_t numExpConfigVars
number of experimental configuration vars (state variables) in each row of data
Definition: DataResponses.hpp:154
size_t maxRank
maximum rank
Definition: DataModel.hpp:440
const IntVector & discrete_int_upper_bounds() const
return the active discrete int upper bounds from userDefinedConstraints
Definition: DakotaModel.hpp:2879
std::shared_ptr< QUESO::VectorSpace< QUESO::GslVector, QUESO::GslMatrix > > configSpace
vector space defining the scenario (configuration) variables
Definition: NonDGPMSABayesCalibration.hpp:135
const Real convergenceTolerance
Convergence criterion, compared to CV score for specified metric.
Definition: DataFitSurrModel.hpp:343
void post_run(std::ostream &s)
Get the final set of points from the solver Look up responses and sort, first according to constraint...
Definition: COLINOptimizer.cpp:965
int numAnalysisDrivers
the number of analysis drivers used for each function evaluation (from the analysis_drivers interface...
Definition: ApplicationInterface.hpp:247
virtual Real linear_model_cost(const RealVector &N_vec)
constraint helper function shared by NPSOL/OPT++ static evaluators
Definition: NonDNonHierarchSampling.cpp:1961
OptDartsTraits()
default constructor
Definition: OptDartsOptimizer.hpp:32
UInt64 joe_kuo_d1024_t32_m32[][1024]
Sobol generating matrices from Joe and Kuo (2008) NOTE: Truncated to 1024 dimensions (to avoid storag...
Definition: low_discrepancy_data.cpp:19
size_t sparsity() const
return the number of non-zero coefficients for this QoI
Definition: PecosApproximation.hpp:409
static bool scaling_active(const UShortArray &scale_types)
check whether the passed scale types include any active (!= none) scale types
Definition: ScalingModel.cpp:529
void read_annotated(std::istream &s)
read a response object in annotated format from a std::istream
virtual void discrepancy_emulation_mode(short mode)
set discrepancy emulation mode used in SurrogateModels for approximating response differences
Definition: DakotaModel.cpp:4471
bool supports_discrete_variables()
Return the flag indicating whether method supports discrete variables.
Definition: PEBBLMinimizer.hpp:39
void resize_active_set()
synchronize activeSet with iteratedModel's response size
Definition: NonDEnsembleSampling.hpp:275
bool fixedSeed
don't continue an existing random number sequence, rather reset seed each time within some sampling-b...
Definition: NonDExpansion.hpp:438
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDAdaptiveSampling.cpp:207
SizetArray randomSeedSeqSpec
user specification for seed_sequence
Definition: NonDExpansion.hpp:435
IntSet idNumericalGrads
mixed gradient numerical identifiers (from the id_numerical_gradients specification in RespGradMixed)
Definition: DataResponses.hpp:223
ROL::Vector< double > RolVec
Dakota alias for ROL Vector.
Definition: SurrogatesGPObjective.cpp:16
IntVector hyperGeomUncNumDrawn
Number failed in the selected populations for the hypergeometric variables from the num_drawn specifi...
Definition: DataVariables.hpp:500
RealVector geometricUncProbPerTrial
probabilities per each trial (p) for the geometric uncertain variables from the prob_per_trial specif...
Definition: DataVariables.hpp:484
const IntVector & inactive_discrete_int_lower_bounds() const
return the inactive discrete lower bounds
Definition: DakotaConstraints.hpp:649
unsigned short maxOrder
maximum order of basis polynomials
Definition: DataMethod.hpp:833
void batch_synchronous_ego()
synchronous batch-sequential implementation: main function
Definition: EffGlobalMinimizer.cpp:328
PRPCacheHIter hashedCacheEnd(PRPCache &prp_cache)
hashed definition of cache end
Definition: PRPMultiIndex.hpp:186
IntIntPair estimate_partition_bounds(int max_eval_concurrency)
estimate the minimum and maximum partition sizes that can be utilized by this Model
Definition: EnsembleSurrModel.hpp:1166
void approximation_function_indices(const SizetSet &approx_fn_indices)
set the (currently active) approximation function index set
Definition: ApproximationInterface.hpp:426
void print_moments(std::ostream &s)
print expansion and numerical moments
Definition: NonDExpansion.cpp:3869
bool resize()
reinitializes iterator based on new variable size
Definition: NonDCalibration.cpp:41
pebbl::branching * bGlobal() const
Returns a reference to the corresponding main Branching object.
Definition: PEBBLBranching.cpp:47
void construct_basis(const Pecos::MultivariateDistribution &mv_dist)
construct the shared basis for an expansion-based approximation
Definition: SharedC3ApproxData.cpp:147
IntArray fnGradCounter
number of gradient evaluations by resp fn
Definition: DakotaInterface.hpp:394
int modeKeyBufferSize
size of MPI buffer containing responseMode and an aggregated activeKey
Definition: EnsembleSurrModel.hpp:308
EvaluationsDBState interfEvaluationsDBState
Whether to write interface evals to the evaluations DB.
Definition: DakotaModel.hpp:1475
size_t max_regression_size()
return number of FT unknowns using maxima for rank and basis order
Definition: SharedC3ApproxData.hpp:534
bool query_cost(unsigned short num_steps, short seq_type, RealVector &cost)
extract cost estimates from model hierarchy, if available
Definition: DakotaNonD.cpp:489
RealVector dataDistCovariance
raw list of real data for the data distribution gaussian covariance
Definition: DataMethod.hpp:1333
SensAnalysisGlobal nonDSampCorr
initialize statistical post processing
Definition: NonDSampling.hpp:368
size_t numFrechetUncVars
number of frechet uncertain variables (from the frechet_uncertain specification in VarAUV)
Definition: DataVariables.hpp:146
C3FnTrainData & operator=(const C3FnTrainData &ftd)
assignment operator
Definition: C3FnTrainData.cpp:262
Real computedRelLevel
output reliability level calculated for RIA and 1st-order PMA
Definition: NonDLocalReliability.hpp:261
void refine_expansion()
refine the reference expansion found by compute_expansion() using uniform/adaptive p-/h-refinement st...
Definition: NonDExpansion.cpp:991
String importCandPtsFile
whether to import candidate design points for adaptive Bayesian experimental design
Definition: DataMethod.hpp:1291
const String & model_id() const
return the model identifier (modelId)
Definition: DakotaModel.hpp:3593
short regressionType
type of (regularized) regression: FT_LS or FT_RLS2
Definition: DataModel.hpp:412
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: SNLLLeastSq.hpp:52
void check_points(size_t num_build_pts)
Check number of build points against minimum required.
Definition: DakotaApproximation.hpp:632
void initialize_solution_control(const String &control, const RealVector &cost)
process the solution level inputs to define solnCntlVarType, solnCntlCostMap, and solnCntl{AV,...
Definition: SimulationModel.cpp:56
A subclass of the JEGA front end driver that exposes the individual protected methods to execute the ...
Definition: JEGAOptimizer.cpp:600
int num_servers() const
return numServers
Definition: ParallelLibrary.hpp:324
Real estimator_cost_metric()
return cost metric for entry into finalStatistics
Definition: NonDEnsembleSampling.hpp:271
String generatingMatricesFileName
Name of file with generating matrices.
Definition: DataMethod.hpp:930
structure for verifying bounds and initial point for real-valued vars
Definition: NIDRProblemDescDB.cpp:503
Model & _model
The Model known by this evaluator.
Definition: JEGAOptimizer.cpp:193
String approxImportFile
name of file from which to import build points to build GP
Definition: NonDGPMSABayesCalibration.hpp:116
int iteratorServers
number of servers for concurrent iterator parallelism (from the iterator_servers specification)
Definition: DataMethod.hpp:377
const BitArray & all_relaxed_discrete_int() const
return allRelaxedDiscreteInt
Definition: SharedVariablesData.hpp:1385
void read_neutral(StringArray pos_args)
read a restart file (neutral file format)
Definition: restart_util.cpp:590
void single_apply(const Variables &vars, Response &resp, const Pecos::ActiveKey &paired_key)
helper function for applying a single response correction corresponding to deltaCorr[paired_key]
Definition: EnsembleSurrModel.cpp:2271
RealMatrix prevFnGradDLev0
matrix of limit state sensitivities w.r.t. inactive/design variables for level 0. Used for warm-start...
Definition: NonDLocalReliability.hpp:313
ROL objective function for the Gaussian Process (GP) surrogate.
Definition: SurrogatesGPObjective.hpp:28
void increment_reference_quadrature_order(UShortArray &ref_quad_order)
increment each ref_quad_order entry by 1
Definition: NonDQuadrature.cpp:427
unsigned short softConvLimit
convergence control limiting the number of consecutive iterations that fail to achieve sufficient dec...
Definition: SurrBasedLocalMinimizer.hpp:214
int read_restart_evals() const
Returns the number of evaluations to be read from the restart file (as specified on the DAKOTA comman...
Definition: CommandLineHandler.hpp:202
String method_string() const
return the method name by string
Definition: DakotaIterator.hpp:673
void initialize_covariance()
initialize covariance pairings by passing all pointers for approximation j to approximation i
Definition: NonDStochCollocation.cpp:408
size_t cdiv_index_to_all_index(size_t div_index) const
convert index within complement of active discrete integer variables to index within aggregated varia...
Definition: SharedVariablesData.hpp:1172
size_t max_rank() const
return active maximum value for expansion rank
Definition: SharedC3ApproxData.hpp:417
void clear_model_keys()
reset initial state by removing all model keys for an approximation
Definition: ApproximationInterface.hpp:309
size_t max_rank_regression_size()
return number of FT unknowns using maximum rank, start_orders(), max_order()
Definition: SharedC3ApproxData.hpp:514
RealVector finalPoint
the final_point specification in MethodPSVPS
Definition: DataMethod.hpp:1377
const Model & algorithm_space_model() const
Definition: DakotaAnalyzer.hpp:308
Real crossoverRate
the crossover_rate specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:596
String approx_type
String describing type of surrogate is used to fit the data. Options are: global_kriging,...
Definition: NonDAdaptiveSampling.hpp:138
bool operator==(const DataVariables &)
equality operator
Definition: DataVariables.hpp:996
void multifidelity_reference_expansion()
generate a set of reference expansions across a model hierarchy
Definition: NonDExpansion.cpp:1383
Real multilevEstimatorRate
the estimator_rate selection in MethodMultilevelPCE
Definition: DataMethod.hpp:1150
The representation of a SharedVariablesData instance. This representation, or body,...
Definition: SharedVariablesData.hpp:32
ResponseArray discrepancyResponses
array containing predicted of model+discrepancy
Definition: NonDBayesCalibration.hpp:376
bool evaluatePosteriorDensity
Flag specifying whether to evaluate the posterior density at a set of samples.
Definition: DataMethod.hpp:1349
int genz()
scalable test functions from the Genz test suite
Definition: TestDriverInterface.cpp:2330
int get_dc_ptr_int()
get the DAKOTA pointer to ModelCenter current design point
Definition: dakota_dll_api.cpp:320
RealVector lognormalUncUpperBnds
distribution upper bounds for the lognormal uncertain variables (from the upper_bounds specification ...
Definition: DataVariables.hpp:342
MatrixXd gradient(const MatrixXd &eval_points)
Evaluate the gradient of the polynomial surrogate at a set of prediction points for QoI index 0.
Definition: SurrogatesPolynomialRegression.hpp:143
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: SNLLLeastSq.hpp:58
bool evaluatePosteriorDensity
Flag specifying whether to evaluate the posterior density at a set of samples.
Definition: NonDWASABIBayesCalibration.hpp:109
Real relTolerance
relative tolerance used by cross validation subspace dimension id method
Definition: DataModel.hpp:395
String approxType
approximation type identifier
Definition: SharedApproxData.hpp:227
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: JEGAOptimizer.hpp:632
bool is_null() const
function to check iteratorRep (does this envelope contain a letter?)
Definition: DakotaIterator.hpp:778
RealVector expIndThis
expIndThis, appended locally to hold the expected indicator
Definition: NonDGPImpSampling.hpp:117
BitArray discreteIntSets
key for identifying discrete integer set variables within the active discrete integer variables
Definition: DakotaModel.hpp:1703
void unpack_python_response(const ShortArray &asv, const size_t num_derivs, const pybind11::dict &py_response, RealVector &fn_values, RealMatrix &gradients, RealSymMatrixArray &hessians, RealArray &metadata)
populate values, gradients, Hessians from Python to Dakota
Definition: Pybind11Interface.cpp:259
Class for rank-1 lattice rules in Dakota.
Definition: Rank1Lattice.hpp:27
friend std::size_t hash_value(const Variables &vars)
hash_value
RealVector expIndicator
Vector to hold the expected indicator values for the current GP samples.
Definition: NonDGPImpSampling.hpp:106
bool command_line_run() const
return runFlag
Definition: ParallelLibrary.hpp:1334
Real objFnValue
value of the objective function passed to CONMIN
Definition: CONMINOptimizer.hpp:148
ScalingOptions()
default ctor: no scaling specified
Definition: ScalingOptions.hpp:30
bool contains(const DakContainerType &v, const typename DakContainerType::value_type &val)
return true if the item val appears in container v
Definition: dakota_data_util.hpp:1597
Derived approximation class for Gaussian Process implementation.
Definition: GaussProcApproximation.hpp:41
unsigned short methodName
the method selection: one of the optimizer, least squares, nond, dace, or parameter study methods
Definition: DataMethod.hpp:364
bool asynch_flag() const
get the asynchFlag
Definition: CommandShell.hpp:108
base class for Dakota file read exceptions (to allow catching both tabular and general file truncatio...
Definition: dakota_global_defs.hpp:96
virtual ~NLSSOLLeastSqTraits()
destructor
Definition: NLSSOLLeastSq.hpp:31
StringMultiArray xDS
discrete string variables used within direct simulator fns
Definition: DirectApplicInterface.hpp:174
std::shared_ptr< QUESO::GslMatrix > proposalCovMatrix
proposal covariance for DRAM
Definition: NonDQUESOBayesCalibration.hpp:207
py::dict pack_kwargs() const
generalized Python dictionary packing to support either lists or numpy arrays
Definition: Pybind11Interface.cpp:215
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDEnsembleSampling.cpp:297
void set_ie_asynchronous_mode(int max_eval_concurrency)
default logic for defining asynchEvalFlag and evaluationCapacity based on ie_pl settings
Definition: DakotaModel.cpp:4885
void increment_specification_sequence()
increment the input specification sequence and assign values
Definition: NonDMultilevelPolynomialChaos.cpp:641
~SNLLBase()
destructor
Definition: SNLLBase.hpp:181
local_data_t
enumeration for how local variables are stored (values must employ a bit representation)
Definition: DirectApplicInterface.hpp:64
int worldSize
size of MPI_COMM_WORLD
Definition: ApplicationInterface.hpp:402
std::string fullEvalId
complete evalIdTag, possibly including hierarchical tagging and final eval id, but not program number...
Definition: ProcessApplicInterface.hpp:195
RealArray cv_diagnostic(const StringArray &metric_types, unsigned num_folds) override
compute and return cross-validation for metric_type with num_folds
Definition: SurfpackApproximation.cpp:802
RealVector contStepVector
the n-dimensional continuous increment
Definition: ParamStudy.hpp:216
void post_process_final_results()
perform final post-processing
Definition: NonDGlobalEvidence.cpp:73
ScalingOptions scalingOpts
user-provided scaling data from the problem DB, possibly modified by Recasting
Definition: DakotaModel.hpp:1547
void copy_con_hess(const RealSymMatrixArray &local_fn_hessians, OPTPP::OptppArray< RealSymMatrix > &hess_g, size_t offset)
convenience function for copying local_fn_hessians to hess_g; used by constraint evaluator functions
Definition: SNLLBase.cpp:393
short sampleRanksMode
mode for input/output of LHS sample ranks: IGNORE_RANKS, GET_RANKS, SET_RANKS, or SET_GET_RANKS
Definition: NonDSampling.hpp:358
String exportPointsFile
file name from export_approx_points_file specification
Definition: DataFitSurrModel.hpp:455
QuesoVectorRV(const char *prefix, const QUESO::VectorSet< V, M > &imageSet, NonDQUESOBayesCalibration *nond_queso_ptr)
Default constructor.
Definition: QUESOImpl.cpp:82
unsigned short pstudyFileFormat
tabular format for the parameter study points file
Definition: DataMethod.hpp:1389
SNLLLeastSq(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: SNLLLeastSq.cpp:35
Interface optionalInterface
the optional interface contributes nonnested response data to the total model response
Definition: NestedModel.hpp:309
StringArray discreteStrEpistemicUncVars
array of values for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:771
void fine_grained_evaluation_counters()
request fine-grained evaluation reporting within the low and high fidelity models
Definition: EnsembleSurrModel.hpp:1258
const int softConvergenceLimit
Max number of iterations for which there is no average improvement.
Definition: DataFitSurrModel.hpp:345
size_t map_key_to_index(const KeyType &key, const std::map< KeyType, ValueType > &pairs)
calculate the map index corresponding to the passed key
Definition: dakota_data_util.hpp:1281
size_t icvStart
start index of inactive continuous variables within allContinuousVars
Definition: SharedVariablesData.hpp:258
void epistemic_uncertain_counts(size_t &num_ceuv, size_t &num_deuiv, size_t &num_deusv, size_t &num_deurv) const
compute epistemic uncertain variables sums from SharedVariablesDataRep::variablesCompsTotals and Shar...
Definition: SharedVariablesData.hpp:1069
const SharedVariablesData & shared_data() const
return sharedVarsData
Definition: DakotaVariables.hpp:684
RealVector discreteRealEpistemicUncLowerBnds
distribution lower bounds for all discrete real epistemic uncertain variables
Definition: DataVariables.hpp:785
Real mutationMinScale
the min_scale specification for mutation in EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:603
void set_callback(NonDQUESOBayesCalibration *queso_instance)
Update the factory's QUESO callback pointer.
Definition: QUESOImpl.hpp:191
void assign_allocation_control()
assign defaults related to allocation control (currently for ML regression approaches)
Definition: NonDMultilevelFunctionTrain.cpp:295
void allocate_vector(const StrStrSizet &iterator_id, const StringArray &location, ResultsOutputType stored_type, const int &len, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray())
Pre-allocate a vector and (optionally) attach dimension scales and attributes. Insert elements using ...
Definition: ResultsDBAny.hpp:65
RealVector gumbelUncAlphas
alpha factors for the gumbel uncertain variables (from the alphas specification in VarCAUV_Gumbel)
Definition: DataVariables.hpp:408
RetT copy_array_to_pybind11(const Teuchos::SerialDenseVector< OrdinalType, ScalarType > &src) const
specialized copy Dakota arrays to pybind11 lists via std::vector<> copy
void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: NonDQuadrature.cpp:231
Iterator importanceSampler
Iterator used to refine the approximate probability estimates generated by the expansionSampler using...
Definition: NonDExpansion.hpp:402
void core_run()
perform a forward uncertainty propagation using PCE/SC methods
Definition: NonDMultilevelStochCollocation.cpp:218
static SubspaceModel * smInstance
static pointer to this class for use in static member fn callbacks
Definition: SubspaceModel.hpp:187
IntVariablesMap subModelVarsMap
map of subModel variables used by derived_evaluate_nowait(). Needed for primaryRespMapping() and seco...
Definition: RecastModel.hpp:553
const String & quasi_hessian_type() const
return the Hessian evaluation type (quasiHessType)
Definition: DakotaModel.hpp:3651
void field_coords(const RealMatrix &field_coords, size_t i)
set the i-th field's coordinates
Definition: DakotaResponse.hpp:655
virtual unsigned short sampling_scheme() const
return sampling name
Definition: DakotaIterator.cpp:1730
bool resize()
reinitializes iterator based on new variable size
Definition: DakotaAnalyzer.cpp:94
void test_local_evaluations(Dakota::PRPQueue &prp_queue)
invokes wait_local_evaluations() (no special nowait support)
Definition: SoleilDirectApplicInterface.hpp:121
virtual void insert(const StrStrSizet &iterator_id, const StringArray &location, const boost::any &data, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray(), const bool &transpose=false)=0
addition with dimension scales and attributes
IntVariablesMap varsAcquisitionMap
variable sets for batch evaluation of truth model, accumulated by construct_batch_acquisition()
Definition: EffGlobalMinimizer.hpp:299
SNLLTraits()
default constructor
Definition: SNLLOptimizer.hpp:46
std::pair< bool, bool > colin_cache_lookup(const colin::AppResponse &colinResponse, Response &tmpResponseHolder)
Retrieve response from Colin AppResponse, return pair indicating success for <objective,...
Definition: COLINOptimizer.cpp:1168
IntVector finalDSVPoint
the discrete string set index ending point for vector_parameter_study
Definition: ParamStudy.hpp:211
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: NomadOptimizer.hpp:86
void build_inactive_views()
construct inactive views of all variables bounds arrays
Definition: DakotaConstraints.cpp:217
Wrapper class for the DOT optimization library.
Definition: DOTOptimizer.hpp:45
void compute_gram(const std::vector< MatrixXd > &dists2, const VectorXd &theta_values, MatrixXd &gram) override
Compute a Gram matrix given a vector of squared distances and kernel hyperparameters.
Definition: SurrogatesGPKernels.cpp:63
static UShortStrBimap method_map
bimap between method enums and strings; only used in this compilation unit
Definition: DakotaIterator.cpp:851
virtual void sample_to_variables(const Real *sample_vars, Variables &vars)
convert column of samples array to variables; derived classes may reimplement for more than active co...
Definition: DakotaAnalyzer.cpp:427
NonDGlobalInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDGlobalInterval.cpp:36
bool posteriorStatsKDE
flag indicating the calculation of the kernel density estimate of the posteriors
Definition: NonDBayesCalibration.hpp:434
void configure_sequence(size_t &num_steps, size_t &secondary_index, short &seq_type)
configure fidelity/level counts from model hierarchy
Definition: DakotaNonD.cpp:422
void print_evaluation_summary(std::ostream &s, bool minimal_header=false, bool relative_count=true) const
print the evaluation summary for the EnsembleSurrModel (request forwarded to the low and high fidelit...
Definition: EnsembleSurrModel.hpp:1268
RealVectorArray genReliabilityLevels
the gen_reliability_levels specification in MethodNonD
Definition: DataMethod.hpp:1174
OPTPP::OptDHNIPS * optdhnips
Disaggregated Hessian NIPS optimizer ptr.
Definition: SNLLLeastSq.hpp:194
Real computedGenRelLevel
output generalized reliability level calculated for 2nd-order PMA
Definition: NonDLocalReliability.hpp:263
size_t dsv_start() const
start index of active discrete string vars
Definition: DakotaVariables.hpp:729
bool python_convert_int(const ArrayT &src, Size size, PyObject **dst)
convert arrays of integer types to Python list or numpy array
Definition: PythonInterface.cpp:328
UShortArray combinedOrders
polynomial basis order for combined expansion for each variable core
Definition: SharedC3ApproxData.hpp:232
void run_dakota_mixed(const char *dakota_input_file, bool mpirun_flag)
Run a Dakota LibraryEnvironment, from string or input file input, supplemented with additional C++ AP...
Definition: library_mode.cpp:293
~NonDLocalEvidence()
destructor
Definition: NonDLocalEvidence.cpp:26
Real minBoxSize
the min_boxsize_limit for the DIRECT method in MethodSCOLIBDIR and MethodNCSUDC
Definition: DataMethod.hpp:582
RealVector invGammaAlphas
alphas for inverse gamma distribution on hyper-params
Definition: NonDBayesCalibration.hpp:417
const IntResponseMap & derived_synchronize_nowait()
portion of synchronize_nowait() specific to AdapterModel
Definition: AdapterModel.cpp:200
void initialize_run()
utility function to perform common operations prior to pre_run(); typically memory initialization; se...
Definition: DakotaAnalyzer.cpp:166
void derived_map_asynch(const ParamResponsePair &pair)
Called by map() and other functions to execute the simulation in asynchronous mode....
Definition: GridApplicInterface.cpp:141
Real drScale
DR scale.
Definition: NonDMUQBayesCalibration.hpp:136
friend bool operator==(const Model &m1, const Model &m2)
equality operator (detect same letter instance)
Definition: DakotaModel.hpp:3970
void update_projected_lf_samples(const MFSolutionData &soln, const UShortArray &approx_set, const SizetArray &N_H_actual, size_t &N_H_alloc, Real &delta_equiv_hf)
Definition: NonDACVSampling.cpp:1228
Base class for POF Dart methods within DAKOTA/UQ.
Definition: NonDPOFDarts.hpp:39
void write(std::ostream &s) const
write a DataInterface object to an std::ostream
Definition: DataInterface.hpp:347
String gradientType
type of gradients present in associated Response
Definition: ApplicationInterface.hpp:490
void derived_free_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag)
portion of free_communicators() specific to derived model classes
Definition: ActiveSubspaceModel.cpp:1400
void eval_tag_prefix(const String &eval_id_str)
set the hierarchical eval ID tag prefix
Definition: SimulationModel.cpp:444
double opt_darts_f()
Function evaluation.
Definition: OptDartsOptimizer.cpp:162
bool method_id_compare(const Iterator &iterator, const void *id)
global comparison function for Iterator
Definition: DakotaIterator.hpp:787
const RealSymMatrix & hessian(const Variables &vars)
retrieve the approximate function Hessian for a given parameter vector
Definition: C3Approximation.cpp:1096
void process_local_evaluation(PRPQueue &prp_queue, const pid_t pid)
Common processing code used by {wait,test}_local_evaluations.
Definition: ProcessHandleApplicInterface.cpp:35
RealVector configUpperBnds
upper bounds on configuration domain
Definition: NonDBayesCalibration.hpp:374
void active_to_all_bounds(const Constraints &cons)
copy active {cv,div,drv} {lower,upper} bounds from incoming object to all bounds of this instance
Definition: DakotaConstraints.hpp:905
RealVector nonlinearEqConTargets
nonlinear equality constraint targets
Definition: DakotaConstraints.hpp:372
std::multimap< int, boost::variant< StringScale, RealScale, IntegerScale > > DimScaleMap
Datatype to communicate scales (stored in boost::variant) and their associated dimension (the int) to...
Definition: dakota_results_types.hpp:501
size_t numDiscreteIntervalUncVars
number of discrete epistemic interval uncertain variables (from the discrete_interval_uncertain speci...
Definition: DataVariables.hpp:182
String resultsOutputFile
filename for results data
Definition: OutputManager.hpp:361
virtual void decrement_order()
decrements polynomial expansion order (PCE, FT)
Definition: SharedApproxData.cpp:468
void inactive_labels(const Variables &vars)
copy the inactive cv/div/dsv/drv variable labels from vars
Definition: DakotaVariables.hpp:1268
ApproximationInterface(ProblemDescDB &problem_db, const Variables &am_vars, bool am_cache, const String &am_interface_id, const StringArray &fn_labels)
primary constructor
Definition: ApproximationInterface.cpp:28
void report_num_open()
Report the number of open descriptors of each type; just for debugging.
Definition: HDF5_IO.cpp:492
~DDACEDesignCompExp()
destructor
Definition: DDACEDesignCompExp.cpp:94
UShortArray priScaleTypes
primary response scale types
Definition: ScalingOptions.hpp:40
void update_partial(size_t start_index_target, size_t num_items, const RealVector &source_fn_vals, const RealMatrix &source_fn_grads, const RealSymMatrixArray &source_fn_hessians, const ActiveSet &source_set, size_t start_index_source)
Overloaded form which allows partial update from components of a response object. The response object...
CommandShell()
constructor
Definition: CommandShell.hpp:76
virtual std::string GetName() const
Returns the proper name of this operator.
Definition: JEGAOptimizer.cpp:403
ParameterList defaultConfigOptions
Default Key/value options to configure the surrogate.
Definition: SurrogatesBase.hpp:232
size_t numApprox
number of approximation models managed by non-hierarchical iteratedModel
Definition: NonDNonHierarchSampling.hpp:660
size_t numContIntervalVars
number of variables of type CONTINUOUS_INTERVAL_UNCERTAIN
Definition: NonDInterval.hpp:91
short pilotMgmtMode
enumeration for pilot management modes: ONLINE_PILOT (default), OFFLINE_PILOT, ONLINE_PILOT_PROJECTIO...
Definition: NonDEnsembleSampling.hpp:183
RealVectorArray requestedProbLevels
requested probability levels for all response functions
Definition: DakotaNonD.hpp:348
bool varsScaleFlag
flag for variables scaling
Definition: ScalingModel.hpp:175
ParLevLIter endPLIter
snapshot of the end of ParallelLibrary::parallelLevels; used for detecting when a component of the pa...
Definition: ParallelLibrary.hpp:494
void reshape_metadata(size_t num_meta)
reshape the shared metadata (labels only at this time)
Definition: SharedResponseData.hpp:417
Real variance_Qsum(Real sum_Ql, Real sum_Qlm1, Real sum_QlQl, Real sum_QlQlm1, Real sum_Qlm1Qlm1, size_t Nlq)
compute variance from sum accumulators
Definition: NonDMultilevelSampling.hpp:700
void post_run(std::ostream &s)
Definition: DakotaOptimizer.cpp:559
void run_sampler(const ShortArray &sampler_asv, RealVector &exp_sampler_stats)
helper to run the expansionSampler and compute its statistics
Definition: NonDExpansion.cpp:3498
Model & approx_model_from_index(unsigned short m_index)
return approxModels[m_index]
Definition: EnsembleSurrModel.hpp:840
bool runFlag
flags invocation with command line option -run
Definition: ProgramOptions.hpp:252
bool modelDBLocked
prevents use of get_<type> retrieval and set_<type> update functions prior to setting the list node f...
Definition: ProblemDescDB.hpp:507
void pack(const int *data, const int num=1)
Pack one or more int's.
void lagrangian_hessian(const RealVector &fn_vals, const RealMatrix &fn_grads, const RealSymMatrixArray &fn_hessians, const BoolDeque &sense, const RealVector &primary_wts, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_tgts, RealSymMatrix &lag_hess)
compute the Hessian of the Lagrangian function
Definition: SurrBasedMinimizer.cpp:488
SizetArray NGroupShared
counter for sample accumulations when evaluating covariance using SHARED_PILOT mode
Definition: NonDMultilevBLUESampling.hpp:266
Definition: ROLOptimizer.hpp:519
IntSet idAnalyticGrads
mixed gradient analytic identifiers (from the id_analytic_gradients specification in RespGradMixed)
Definition: DataResponses.hpp:226
OutputManager & output_manager()
return outputManager
Definition: DakotaEnvironment.hpp:186
const char * retrieve(const char *const opt) const
Retrieve value of option.
Definition: CommandLineHandler.cpp:76
void project_mc_estimator_variance(const RealVector &var_l, const SizetArray &N_l, size_t new_samp, RealVector &mc_est_var)
compute the variance of the mean estimator (Monte Carlo sample average) after projection with additio...
Definition: NonDEnsembleSampling.hpp:520
SizetArray active1ADRVarMapIndices
"primary" variable mappings for inserting active discrete real currentVariables within all discrete r...
Definition: NestedModel.hpp:358
String exitMode
Abort or throw on error.
Definition: ProgramOptions.hpp:236
void update_projected_lf_samples(const RealVector &hf_targets, const RealVectorArray &eval_ratios, const RealVector &hf_cost, const Sizet2DArray &N_actual_lf, SizetArray &N_alloc_lf, const RealVector &lf_cost, Real &delta_equiv_hf)
for pilot projection mode, advance sample counts and accumulated cost
Definition: NonDMultilevControlVarSampling.cpp:1383
double * G2
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:225
The SVDSolver class is used to solve linear systems with the singular value decomposition.
Definition: UtilLinearSolvers.hpp:145
int lf_short_column()
a low fidelity short_column test function
Definition: TestDriverInterface.cpp:2638
Class to manage redirection of stdout/stderr, keep track of current redir state, and manage rank 0 ou...
Definition: OutputManager.hpp:182
void ml_blue_online_pilot()
Definition: NonDMultilevBLUESampling.cpp:190
friend class boost::serialization::access
for serializing private data members
Definition: DakotaVariables.hpp:114
void iterator_message_lengths(int params_msg_len, int results_msg_len)
update paramsMsgLen and resultsMsgLen
Definition: IteratorScheduler.hpp:547
short finalMomentsType
type of moments logged within finalStatistics: none, central, standard
Definition: DakotaNonD.hpp:378
const BitArray & all_relaxed_discrete_real() const
return allRelaxedDiscreteReal
Definition: SharedVariablesData.hpp:1389
void initialize_sub_minimizer()
construct and initialize approxSubProbMinimizer
Definition: SurrBasedLocalMinimizer.cpp:228
void update_sets(const UShortArray &set_star)
invokes SparseGridDriver::update_sets()
Definition: NonDSparseGrid.hpp:230
int server_communicator_size() const
return serverCommSize
Definition: ParallelLibrary.hpp:339
bool noDigitalShiftFlag
Flag to indicate randomization of digital net.
Definition: DataMethod.hpp:916
virtual bool advancement_available()
query the approximation for available advancement in resolution controls (order, rank,...
Definition: DakotaModel.cpp:4284
bool evaluation_cache(bool recurse_flag=true) const
return flag indicated usage of an evaluation cache by the SimulationModel (request forwarded to userD...
Definition: SimulationModel.hpp:425
bool check_finite_bounds()
check for finite variable bounds within iteratedModel, as required for computing partitions of finite...
Definition: ParamStudy.hpp:567
size_t num_parallel_configurations() const
returns the number of entries in parallelConfigurations
Definition: ParallelLibrary.hpp:1083
unsigned short resultsOutputFormat
Results output format.
Definition: DataEnvironment.hpp:93
static VLreal VLUncertainReal[NUM_UNC_REAL_CONT]
Variables labels/bounds/values check array for real-valued uncertain variables; one array entry per c...
Definition: NIDRProblemDescDB.cpp:5167
const RealVector & callback_linear_ineq_upper_bounds() const
return linear constraint upper bounds for this iterator (user-functions mode for which iteratedModel ...
Definition: SNLLOptimizer.hpp:422
void barrier(const MPI_Comm &comm)
enforce MPI_Barrier on comm
Definition: ParallelLibrary.hpp:1911
virtual void truncate_to_cell_bounds(RealVector &initial_pt)
truncate initial_pt to respect current cell lower/upper bounds
Definition: NonDLocalInterval.cpp:243
size_t numEvals
total number of parameter study evaluations computed from specification
Definition: ParamStudy.hpp:185
const double PI
Numerical constant – needed for negative marginal log-likelihood.
Definition: SurrogatesGaussianProcess.hpp:447
Constraints copy() const
for use when a deep copy is needed (the representation is not shared)
Definition: DakotaConstraints.cpp:333
bool finalize_mapping()
Definition: EnsembleSurrModel.cpp:437
SizetArray primaryADIVarMapIndices
"primary" all discrete int variable mapping indices flowed down from higher level iteration
Definition: EnsembleSurrModel.hpp:323
void distribute_levels(RealVectorArray &levels, bool ascending=true)
convenience function for distributing a vector of levels among multiple response functions if a short...
Definition: DakotaNonD.cpp:199
void write_tabular_partial_labels(std::ostream &s, size_t start_index, size_t num_items) const
write range of variable labels in input spec order to a std::ostream
Definition: RelaxedVariables.cpp:206
String dlDetails
string of options for a dynamically linked solver
Definition: DataMethod.hpp:493
void all_discrete_int_variable_label(const String &adiv_label, size_t index)
set a label within the all discrete label array
Definition: DakotaVariables.hpp:1727
std::vector< std::string > variableLabels
Names of the variables/features; need not be populated.
Definition: SurrogatesBase.hpp:223
size_t ccv_index_to_all_index(size_t ccv_index) const
convert index within complement of active continuous variables to index within aggregated variables (...
Definition: SharedVariablesData.hpp:1140
SpawnApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: SpawnApplicInterface.hpp:59
void numerical_solution_bounds_constraints(const MFSolutionData &soln, RealVector &x0, RealVector &x_lb, RealVector &x_ub, RealVector &lin_ineq_lb, RealVector &lin_ineq_ub, RealVector &lin_eq_tgt, RealVector &nln_ineq_lb, RealVector &nln_ineq_ub, RealVector &nln_eq_tgt, RealMatrix &lin_ineq_coeffs, RealMatrix &lin_eq_coeffs)
within ensemble_numerical_solution(), define initial values, coefficients, bounds,...
Definition: NonDMultilevBLUESampling.cpp:600
RealVector discreteUncSetRealVars
initial values of the discrete uncertain set real variables (from the initial_point specification in ...
Definition: DataVariables.hpp:599
short pilotGroupSampling
the group sampling approach for pilot sampling in ML BLUE: independent or shared
Definition: DataMethod.hpp:1102
void init_results_db()
At runtime, initialize the global ResultsManager, tagging filename with MPI worldRank + 1 if needed.
Definition: OutputManager.cpp:631
Real gradDotGrad_curr
gradCurr dot gradCurr
Definition: NonlinearCGOptimizer.hpp:143
UShortArray expOrderSeqSpec
user specification for expansion_order (array for multifidelity)
Definition: NonDMultilevelPolynomialChaos.hpp:133
virtual size_t collocation_points() const
return specification for number of collocation points (may be part of a sequence specification)
Definition: NonDExpansion.hpp:687
const String & interface_id() const
return the interface identifier from evalInterfaceIds
Definition: ParamResponsePair.hpp:230
IntResponseMap allResponses
array of all responses to be computed in evaluate_parameter_sets()
Definition: DakotaAnalyzer.hpp:191
MatrixXd get_objective_gradient_history()
Get the history of objective function gradients from MLE with restarts.
Definition: SurrogatesGaussianProcess.hpp:259
void reshape_bounds()
reshape the lower/upper bound arrays based on sharedVarsData
Definition: DakotaConstraints.cpp:471
void wait_local_evaluations(Dakota::PRPQueue &prp_queue)
evaluate the batch of jobs contained in prp_queue
Definition: PluginSerialDirectApplicInterface.cpp:61
virtual void pack_results_buffer(MPIPackBuffer &send_buffer, int job_index)
used by IteratorScheduler to pack results data from an iterator run
Definition: DakotaIterator.cpp:1401
String hybridGlobalModelPointer
global model pointer for embedded hybrids (from the global_model_pointer specification)
Definition: DataMethod.hpp:402
void print_variables(std::ostream &s, const RealVector &c_vars)
convenience function to print calibration parameters, e.g., for MAP / best parameters
Definition: NonDMUQBayesCalibration.cpp:457
void set_db_method_node(const String &method_tag)
set dataMethodIter based on a method identifier string to activate a particular method specification ...
Definition: ProblemDescDB.cpp:535
bool resize()
reinitializes iterator based on new variable size
Definition: NonDMultilevelStochCollocation.cpp:206
Real level_cost(const RealVector &cost, size_t step)
return (aggregate) level cost
Definition: NonDMultilevelSampling.hpp:582
Response & nested_response(int nested_cntr)
locate existing or allocate new entry in nestedResponseMap
Definition: NestedModel.hpp:594
String exportApproxVarianceFile
filename for surrogate variance evaluation export
Definition: DataModel.hpp:193
int extended_rosenbrock()
n-dimensional Rosenbrock (Nocedal/Wright)
Definition: TestDriverInterface.cpp:1294
void summary_output(bool summary_output_flag)
Set summary output control; true enables evaluation/results summary.
Definition: DakotaIterator.hpp:728
void reset_penalties()
reset all penalty parameters to their initial values
Definition: SurrBasedLocalMinimizer.hpp:264
void derived_init_serial()
set up actualModel for serial operations.
Definition: DataFitSurrModel.hpp:907
void(* variablesMapping)(const Variables &recast_vars, Variables &sub_model_vars)
holds pointer for variables mapping function passed in ctor/initialize
Definition: RecastModel.hpp:608
bool pdf_output() const
get pdfOutput
Definition: DakotaNonD.hpp:432
const IntArray & message_lengths() const
return the array of MPI packed message buffer lengths (messageLengths)
Definition: DakotaModel.hpp:3761
static void hom_constraint_eval(int &mode, int &ncnln, int &n, int &nrowj, int *needc, double *tau_and_x, double *c, double *cjac, int &nstate)
static function used by NPSOL as the constraint function in the homotopy constraint relaxation formul...
Definition: SurrBasedLocalMinimizer.cpp:1526
virtual void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to derived model classes
Definition: DakotaModel.cpp:3330
void read_hessians(std::istream &s, const ShortArray &asv, bool expect_metadata, std::ostringstream &error)
Read Hessians from a freeform stream. Insert error messages.
size_t cost_metadata_index() const
return costMetadataIndex
Definition: SimulationModel.hpp:245
Model uSpaceModel
Model representing the limit state in u-space, after any recastings and data fits.
Definition: NonDReliability.hpp:64
void update_primary_response(const Model &model)
update only the primary response data from subModel
Definition: RecastModel.cpp:1341
virtual Model & subordinate_model()
return a single sub-model defined from subModel in nested and recast models and truth_model() in surr...
Definition: DakotaModel.cpp:3440
void build_labels(StringArray &label_array, const String &root_label)
create an array of labels by tagging root_label for each entry in label_array. Uses build_label().
Definition: dakota_data_util.hpp:368
~SurrogatesPythonApprox()
destructor
Definition: DakotaSurrogatesPython.hpp:38
void initialize(int world_rank=0)
shared initialization functions across constructors
Definition: TrackerHTTP.cpp:149
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDLocalInterval.cpp:140
void abort_throw_or_exit(int dakota_code)
throw or exit depending on abort_mode
Definition: dakota_global_defs.cpp:129
MPI_Comm hubServerIntraComm
intracomm for all serverCommRank==0 w/i next higher level serverIntraComm
Definition: ParallelLibrary.hpp:130
String methodSource
numerical gradient method source: dakota or vendor (from the method_source specification in RespGradN...
Definition: DataResponses.hpp:196
Model & surrogate_model(size_t i=_NPOS)
return this model instance
Definition: DataFitSurrModel.hpp:641
void set_communicators_checks(int max_eval_concurrency)
no-op hides default run-time error checks at DirectApplicInterface level
Definition: PluginParallelDirectApplicInterface.hpp:112
void build()
find the covariance parameters governing the Gaussian process response
Definition: GaussProcApproximation.cpp:176
boost::random::uniform_int_distribution sampler
Uniform distribution to provide samples from the empirical distribution.
Definition: BootstrapSampler.hpp:106
friend class boost::serialization::access
Allow serializers access to private class data.
Definition: UtilDataScaler.hpp:122
size_t design()
return total number of design variables
Definition: DataVariables.hpp:959
void clear_model_keys()
remove all model keys within approxInterface
Definition: DataFitSurrModel.hpp:633
static void check_inputfile_redirs(const std::string &input_string, std::string &output_filename, std::string &error_filename)
check the specified input file contents for output/error redirection
Definition: OutputManager.cpp:135
void restore_data_key()
following Approximation::add() and Approximation::pop_count() operations, which may enumerate multipl...
Definition: ApproximationInterface.hpp:323
void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to derived model classes
Definition: ActiveSubspaceModel.cpp:1270
bool allDataFlag
flag which triggers the update of allVars/allResponses for use by Iterator::all_variables() and Itera...
Definition: PSUADEDesignCompExp.hpp:87
Derived model class which utilizes a simulation-based application interface to map variables into res...
Definition: SimulationModel.hpp:30
void inactive_bounds(const Constraints &cons)
copy inactive {cv,div,drv} {lower,upper} bounds from incoming object
Definition: DakotaConstraints.hpp:953
std::shared_ptr< DataVariablesRep > dataVarsRep
pointer to the body (handle-body idiom)
Definition: DataVariables.hpp:988
bool messagePass
flag for message passing at this level, indicating work assignment among servers
Definition: ParallelLibrary.hpp:116
bool interface_locked() const
return interfaceDBLocked
Definition: ProblemDescDB.hpp:659
String restartOutputFilename
the name of the restart output file
Definition: OutputManager.hpp:158
int serverId
server identifier
Definition: ParallelLibrary.hpp:124
virtual MatrixXd hessian(const MatrixXd &eval_point, const int qoi)
Evaluate the Hessian of the Surrogate at a single point.
Definition: SurrogatesBase.cpp:38
A derived sampler to allow for user specification of the accessor methods.
Definition: BootstrapSampler.hpp:261
RealVector designPoint
design subset for which uncertain subset is being sampled
Definition: NonDAdaptImpSampling.hpp:173
size_t find_valid_samples(const IntResponseMap &resp_samples, BoolDeque &valid_sample)
find samples with finite response (any sample with any Nan or +/-Inf observation will be dropped)
Definition: SensAnalysisGlobal.cpp:32
const SizetArray & inactive_components_totals() const
return inactive variable type counts for {continuous,discrete integer,discrete real} {design,...
Definition: SharedVariablesData.hpp:1628
virtual Real combined_mean()
return the mean of the combined expansion, where all active vars are random
Definition: DakotaApproximation.cpp:479
void serve_run(ParLevLIter pl_iter, int max_eval_concurrency)
Service actualModel job requests received from the master. Completes when a termination message is re...
Definition: DataFitSurrModel.hpp:958
size_t numObjectiveFunctions
number of objective functions (from the num_objective_functions specification in RespFnOpt)
Definition: DataResponses.hpp:61
void build_labels_partial(StringArray &label_array, const String &root_label, size_t start_index, size_t num_items)
create a partial array of labels by tagging root_label for a subset of entries in label_array....
Definition: dakota_data_util.hpp:387
size_t test_receives_backfill(PRPQueueIter &assign_iter, bool peer_flag)
helper function for testing receive requests and then backfilling jobs
Definition: ApplicationInterface.cpp:1394
void print_variance(std::ostream &s, const RealVector &resp_var, const String &prepend="")
print resp_var (response variance vector) using optional pre-pend
Definition: NonDExpansion.cpp:3972
unsigned short subspaceNormalization
Normalization to use in the case of multiple QoI's.
Definition: ActiveSubspaceModel.hpp:242
const Variables & get_variables()
retrieve an existing Variables, if it exists, or instantiate a new one
Definition: ProblemDescDB.cpp:1075
int batchSizeExplore
portion of batchSize earmarked for exploration rather than acquisition
Definition: DataMethod.hpp:1303
StringArray copyFiles
template files (if specified)
Definition: ProcessApplicInterface.hpp:230
NonDStochCollocation(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDStochCollocation.cpp:30
pebbl::branchSub * makeChild(int whichChild)
Method that returns a new PebbldBranchSub object based on Objective Function improvements and the num...
Definition: PEBBLBranching.cpp:171
void DAKOTA_DLL_FN dakota_create(int *dakota_ptr_int, const char *logname)
create and configure a new DakotaRunner, adding it to list of instances
Definition: dakota_dll_api.cpp:238
std::string primary_fn_name() const
the primary function type as a friendly string, e.g., "objective_functions"
CommandShell & flush()
"flushes" the shell; i.e. executes the sysCommand
Definition: CommandShell.cpp:22
VPSApproximation()
default constructor
std::shared_ptr< util::LinearSolverBase > linearSolver
Linear solver for the ordinary least squares problem.
Definition: SurrogatesPolynomialRegression.hpp:193
Definition: TestDriverInterface.hpp:23
int(* stop_grid_computing_t)()
definition of stop grid computing type (function pointer)
Definition: GridApplicInterface.hpp:27
void debug_print_eif_counters(Real eif_star)
print counters if debug flag is ON
Definition: EffGlobalMinimizer.hpp:459
RealVector secondaryRespCoeffs
the secondary response mapping matrix used in nested models for weighting contributions from the sub-...
Definition: DataModel.hpp:343
void update(const RealVector &source_fn_vals, const RealMatrix &source_fn_grads, const RealSymMatrixArray &source_fn_hessians, const ActiveSet &source_set)
Overloaded form which allows update from components of a response object. Care is taken to allow diff...
unsigned short modelEvalsSelection
Models selected to store their evaluations.
Definition: OutputManager.hpp:364
RealVector referenceICVars
stores a reference copy of the inactive continuous variables when the approximation is built using a ...
Definition: DataFitSurrModel.hpp:471
IntVector experimentLengths
Length of each experiment.
Definition: ExperimentData.hpp:482
static size_t mid_or_next_lower_index(const size_t num_inds)
get the middle or left-of-middle index among indices [0,num_inds-1]
Definition: NIDRProblemDescDB.cpp:4492
const IntStringPair & eval_interface_ids() const
return the aggregate eval/interface identifier from the response object
Definition: ParamResponsePair.hpp:238
static bool detect_parallel_launch(int &argc, char **&argv)
detect parallel launch of Dakota using mpirun/mpiexec/poe/etc. based on command line arguments and en...
Definition: MPIManager.cpp:90
size_t dsv_index_to_all_index(size_t dsv_index) const
convert index within active discrete string variables to index within aggregated variables (all conti...
Definition: SharedVariablesData.hpp:1186
RealVector drawNewX(int this_k)
function to pick the next X value to be evaluated by the Iterated model
Definition: NonDGPImpSampling.cpp:440
static void constraint1_evaluator(int mode, int n, const RealVector &x, RealVector &g, RealMatrix &grad_g, int &result_mode)
constraint evaluator function which provides constraint values and gradients to OPT++ methods.
Definition: SNLLOptimizer.cpp:1046
size_t numOptInterfPrimary
number of primary response functions (objective/least squares/generic functions) resulting from optio...
Definition: NestedModel.hpp:320
void shape()
shape a Variables object based on sharedVarsData
~CommandShell()
destructor
Definition: CommandShell.hpp:81
size_t cv() const
returns number of active continuous variables
Definition: DakotaModel.hpp:1747
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: DataFitSurrBasedLocalMinimizer.hpp:51
void load(Archive &ar, const unsigned int version)
read a Variables object from an archive
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: SNLLOptimizer.hpp:69
void read_annotated(std::istream &s, size_t num_md)
read metadata labels from annotated (neutral) file
Definition: SharedResponseData.hpp:421
const RealVector & linear_eq_constraint_targets() const
return the linear equality constraint targets
Definition: DakotaConstraints.hpp:1056
bool peerAssignJobs
flag indicating need for peer 1 to assign jobs to peers 2-n
Definition: IteratorScheduler.hpp:177
Interface operator=(const Interface &interface_in)
assignment operator
Definition: DakotaInterface.cpp:317
pid_t create_evaluation_process(bool block_flag)
Spawn the evaluation by managing the input filter, analysis drivers, and output filter....
Definition: SysCallApplicInterface.cpp:31
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDAdaptImpSampling.cpp:131
SharedSurfpackApproxData()
default constructor
Definition: SharedSurfpackApproxData.hpp:151
pid_t evaluation_process_group_id() const
return evalProcGroupId
Definition: ForkApplicInterface.hpp:128
PRPCacheOCIter PRPCacheCIter
default cache const iterator <0> default cache const reverse iterator <0>
Definition: PRPMultiIndex.hpp:176
short outputLevel
output verbosity level: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT
Definition: DakotaModel.hpp:1507
~ROLOptimizer()
Destructor.
Definition: ROLOptimizer.hpp:62
RealSymMatrix function_hessian_view(size_t i)
return the i-th function Hessian as a Teuchos::View (shallow copy) for updating in place
Definition: DakotaResponse.hpp:756
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: NPSOLOptimizer.hpp:78
void unscale(const RealArray &scaled_x, RealVector &unscaled_x) const
invert scaling to return from [0,1] to [lower,upper]
Definition: NOWPACOptimizer.hpp:134
static void LCB_objective_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the objective function in the Lower-Confidence Bound (LCB) problem formulatio...
Definition: EffGlobalMinimizer.cpp:939
void transform_samples(Model &src_model, Model &tgt_model, bool x_to_u=true)
transform allSamples using configuration data from the source and target models
Definition: NonDSampling.hpp:541
static const char serial_input[]
Default Dakota input string for serial case (rosenbrock):
Definition: library_mode.cpp:151
size_t numPredConfigs
number of prediction configurations at which to calculate model discrepancy
Definition: DataMethod.hpp:1260
Derived nondeterministic class that generates N-dimensional Smolyak sparse grids for numerical evalua...
Definition: NonDSparseGrid.hpp:31
void opt_darts_initiate(double *xmin, double *xmax)
Initialize OPT-DARTS.
Definition: OptDartsOptimizer.cpp:384
ExperimentData expData
Container for experimental data to which to calibrate model.
Definition: NonDCalibration.hpp:54
std::shared_ptr< LinearSolverBase > solver_factory(SOLVER_TYPE type)
Free function to construct LinearSolverBase.
Definition: UtilLinearSolvers.cpp:52
std::shared_ptr< DataScaler > scaler_factory(SCALER_TYPE scaler_type, const MatrixXd &unscaled_matrix)
Free function to construct DataScaler.
Definition: UtilDataScaler.cpp:137
EvaluationStore evaluation_store_db
Global database for evaluation storage.
Definition: dakota_global_defs.cpp:63
RealVector gammaUncVars
initial values of the gamma uncertain variables (from the initial_point specification in VarCAUV_Gamm...
Definition: DataVariables.hpp:405
Response operator=(const Response &response)
assignment operator
void find_scaled_coefficients()
compute TANA coefficients based on scaled inputs
Definition: TANA3Approximation.cpp:108
int start_grid_computing(char *analysis_driver_script, char *params_file, char *results_file)
Definition: GridApplicInterface.cpp:296
void compute_gram(const std::vector< MatrixXd > &dists2, bool add_nugget, bool compute_derivs, MatrixXd &gram)
Compute a Gram matrix given a vector of squared distances and optionally compute its derivatives and/...
Definition: SurrogatesGaussianProcess.cpp:700
void assign_instance()
assign static pointer instance to this for use in static transformation functions
Definition: SubspaceModel.hpp:191
virtual void compute_sample_increment(const RealVector &lev_metrics, const SizetArray &N_l, SizetArray &delta_N_l)
compute delta_N_l for {RIP,RANK}_SAMPLING cases
Definition: NonDExpansion.cpp:2460
Pecos::MultivariateDistribution & multivariate_distribution()
return mvDist
Definition: DakotaModel.hpp:2426
void init_sub_iterator()
init subIterator-based counts and init subModel with mapping data
Definition: NestedModel.cpp:692
const Variables & variables() const
return the parameters object
Definition: ParamResponsePair.hpp:242
bool test_asv(const ShortArray &asv)
check whether incoming ASV has any active content
Definition: EnsembleSurrModel.hpp:1074
EvaluationsDBState evaluationsDBState
State of evaluations DB for this iterator.
Definition: DakotaIterator.hpp:532
int text_book3()
portion of text_book() evaluating constraint 2
Definition: TestDriverInterface.cpp:3451
void build_active_views()
construct active views of all variables bounds arrays
Definition: DakotaConstraints.cpp:174
void vary_pattern(bool pattern_flag)
sets varyPattern in derived classes that support it
Definition: FSUDesignCompExp.hpp:160
UShortArray quadOrderSeqSpec
user request of quadrature order
Definition: NonDMultilevelStochCollocation.hpp:85
void decrement_grid(UShortArray &ref_quad_order)
convenience function used to make decrement_grid() more modular
StringArray discreteDesignSetIntLabels
labels array for the discrete design variables defined by an integer set (from the discrete_design se...
Definition: DataVariables.hpp:294
void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to NestedModel
Definition: NestedModel.cpp:1314
ProcessApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: ProcessApplicInterface.cpp:104
String modelImportPrefix
the filename prefix for import_model
Definition: DataModel.hpp:207
int procsPerServer
processors per server
Definition: ParallelLibrary.hpp:122
void calculate_cells_and_bpas()
computes the interval combinations (cells) and their bpas replaces CBPIIC_F77 from wrapper calculate_...
Definition: NonDInterval.cpp:152
const StringArray & metadata_labels() const
get labels for metadata fields
Definition: SharedResponseData.hpp:409
void barrier_a()
enforce MPI_Barrier on an analysis communicator
Definition: ParallelLibrary.hpp:1935
String mcmcType
the mcmc type specification in MethodNonDBayesCalib
Definition: DataMethod.hpp:1188
void size_all_types()
size all{Continuous,DiscreteInt,DiscreteString,DiscreteReal}Types, with or without discrete relaxatio...
Definition: SharedVariablesData.hpp:537
virtual void update_from_model(const Model &model)
update current variables/labels/bounds/targets with data from model
Definition: SurrogateModel.cpp:459
void unpack(int *data, const int num=1)
Unpack one or more int's.
RealVector exponentialUncBetas
beta factors for the exponential uncertain variables (from the betas specification in VarCAUV_Exponen...
Definition: DataVariables.hpp:378
void unpack(MPIUnpackBuffer &recv_buffer, int job_index, Variables &vars, ActiveSet &set, int &eval_id)
lower level function shared by unpack_parameters_buffer() and unpack_parameters_initialize()
Definition: NestedModel.hpp:766
void parse(const ProblemDescDB &problem_db)
Extract environment options from ProblemDescDB.
Definition: ProgramOptions.cpp:322
void update_approx_sub_problem(SurrBasedLevelData &tr_data)
update variables and bounds within approxSubProbModel
Definition: SurrBasedLocalMinimizer.cpp:506
void initialize_run()
invokes LeastSq::initialize_run(), SNLLBase::snll_initialize_run(), and performs other set-up
Definition: SNLLLeastSq.cpp:478
void rebuild()
rebuilds the shared approximation data incrementally
Definition: SharedPecosApproxData.hpp:202
Pecos::DiscrepancyCalculator discrepCalc
helper utility for calculating discrepancies
Definition: DiscrepancyCorrection.hpp:194
std::shared_ptr< Kernel > kernel
Kernel.
Definition: SurrogatesGaussianProcess.hpp:423
RealVector linIneqLowerBnds
linear inequality constraint lower bounds used in "user_functions" mode
Definition: NCSUOptimizer.hpp:167
size_t idsv() const
number of inactive discrete string vars
Definition: DakotaVariables.hpp:757
SurrBasedGlobalTraits()
default constructor
Definition: SurrBasedGlobalMinimizer.hpp:33
RealVectorArray prevMPPULev0
array of converged MPP's in u-space for level 0. Used for warm-starting initialPtU within RBDO.
Definition: NonDLocalReliability.hpp:310
Perform Generalized Approximate Control Variate Monte Carlo sampling.
Definition: NonDGenACVSampling.hpp:27
Response(BaseConstructor, const ActiveSet &set)
constructor initializes the base class part of letter classes (BaseConstructor overloading avoids inf...
unsigned short mppSearchType
the MPP search type selection: Local: MV, x/u-space {AMV,AMV+,TANA,QMEA} or NO_APPROX Global x/u-spac...
Definition: NonDReliability.hpp:73
const IntResponseMap & derived_synchronize()
portion of synchronize() specific to SimulationModel (invokes synch() on userDefinedInterface)
Definition: SimulationModel.hpp:297
Model subModel
Model used for sub-problem.
Definition: PEBBLBranching.hpp:55
friend bool operator==(const ParamResponsePair &pair1, const ParamResponsePair &pair2)
equality operator
Definition: ParamResponsePair.hpp:329
NonDWASABIBayesCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDWASABIBayesCalibration.cpp:31
virtual int derived_map_ac(const Dakota::String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: DirectApplicInterface.cpp:218
structure for verifying bounds and initial point for string-valued vars
Definition: NIDRProblemDescDB.cpp:527
RealVector weibullUncAlphas
alpha factors for the weibull uncertain variables (from the alphas specification in VarCAUV_Weibull)
Definition: DataVariables.hpp:426
size_t numGroups
number of model groupings (pairings, pyramid levels, tensor-product enumerations) used for sample all...
Definition: NonDNonHierarchSampling.hpp:658
Derived Approximation class for new Surrogates modules.
Definition: DakotaSurrogates.hpp:31
size_t idiv_index_to_all_index(size_t div_index) const
convert index within inactive discrete integer variables to index within aggregated variables (all co...
Definition: SharedVariablesData.hpp:1163
virtual ~NonDHierarchSampling()
destructor (virtual declaration should be redundant with ~Iterator, but this is top of MLMF diamond s...
Definition: NonDHierarchSampling.cpp:67
void serve_evaluations_synch_peer()
serve the evaluation message passing schedulers and perform one synchronous evaluation at a time as p...
Definition: ApplicationInterface.cpp:2290
void initialize_distribution_parameters(Pecos::MultivariateDistribution &mv_dist, bool active_only=false)
initialize distribution parameters from problemDescDB
Definition: DakotaModel.cpp:710
int(* perform_analysis_t)(char *iteration_num)
definition of perform analysis type (function pointer)
Definition: GridApplicInterface.hpp:23
ROLTraits()
Default constructor.
Definition: ROLOptimizer.hpp:136
const IntSet & gradient_id_numerical() const
return the mixed gradient numerical IDs (gradIdNumerical)
Definition: DakotaModel.hpp:3643
bool ea_parallel_level_defined() const
test for definition of evaluation-analysis parallel level
Definition: ParallelLibrary.hpp:579
void samples_to_variables_array(const RealMatrix &sample_matrix, VariablesArray &vars_array)
convert samples array to variables array; e.g., allSamples to allVariables
Definition: DakotaAnalyzer.cpp:448
static NonDGlobalInterval * nondGIInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NonDGlobalInterval.hpp:141
void derived_subordinate_models(ModelList &ml, bool recurse_flag)
add subModel to list and recurse into subModel
Definition: RecastModel.hpp:811
bool secondaryRespScaleFlag
flag for secondary response scaling
Definition: ScalingModel.hpp:177
virtual Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: DakotaApproximation.cpp:410
Response currentResponse
the set of current responses that holds the results of model function evaluations
Definition: DakotaModel.hpp:1403
std::shared_ptr< Pecos::SparseGridDriver > ssgDriver
convenience pointer to the numIntDriver representation
Definition: NonDSparseGrid.hpp:140
void write(std::ostream &s) const
write an active set object to an std::ostream
Definition: DakotaActiveSet.hpp:251
short local_eval_synchronization()
return subModel local synchronization setting
Definition: RecastModel.hpp:1056
void unpack(long &data)
Unpack a long.
Definition: MPIPackBuffer.hpp:245
void derived_init_serial()
set up serial operations for the array of subordinate models {approxModels,truthModel}
Definition: EnsembleSurrModel.hpp:1190
short multilevAllocControl
type of sample allocation scheme for discretization levels / model forms within multilevel / multifid...
Definition: NonDExpansion.hpp:452
bool ownMPIFlag
flag for ownership of MPI_Init/MPI_Finalize
Definition: MPIManager.hpp:69
short meritFn
the merit_function specification for nonlinear interior-point methods in MethodOPTPPDC
Definition: DataMethod.hpp:529
IntResponseMap rawResponseMap
Set of responses returned by either a blocking or nonblocking schedule.
Definition: DakotaInterface.hpp:410
void setup_default_optimization_params(Teuchos::RCP< ParameterList > rol_params)
Set the default optimization parameters for ROL for GP hyperparameter estimation.
Definition: SurrogatesGaussianProcess.cpp:770
virtual Model & surrogate_model(size_t i=_NPOS)
return the i-th approximation sub-model in surrogate models
Definition: DakotaModel.cpp:3495
bool mi_parallel_level_defined(size_t index=_NPOS) const
test for definition of meta-iterator-iterator parallel level
Definition: ParallelLibrary.hpp:566
bool lastIterateAccepted
flag to determine if last iterate was accepted this controls update of parameters for augmented Lagra...
Definition: NonDGlobalReliability.hpp:138
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: NomadOptimizer.hpp:76
Response finalStatistics
final statistics from the uncertainty propagation used in strategies: response means,...
Definition: DakotaNonD.hpp:376
String fileName
name of database file
Definition: ResultsDBAny.hpp:139
unsigned int gpmsaConfigVars
number of config vars presented to GPMSA (minimum 1)
Definition: NonDGPMSABayesCalibration.hpp:128
void aggregate_bounds(const RealVector &cv_lower_bnds, const RealVector &cv_upper_bnds, const RealVector &lin_ineq_l_bnds, const RealVector &lin_ineq_u_bnds, const RealVector &lin_eq_targets, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_targets, RealVector &aggregate_l_bnds, RealVector &aggregate_u_bnds)
aggregate variable bounds with linear and nonlinear constraint bounds
Definition: SOLBase.cpp:327
size_t num_linear_ineq_constraints() const
reshape the linear/nonlinear constraint arrays
Definition: DakotaModel.hpp:3357
Performs multilevel-multifidelity Monte Carlo sampling for uncertainty quantification.
Definition: NonDMultilevControlVarSampling.hpp:28
void multifidelity_mc_pilot_projection()
Definition: NonDMultifidelitySampling.cpp:225
void define_sampler_asv(ShortArray &sampler_asv)
helper to define the expansionSampler's data requests when sampling on the expansion
Definition: NonDExpansion.cpp:3465
Real distanceTol
tolerance on distance between consecutive iterates
Definition: EffGlobalMinimizer.hpp:312
void asv_split(const ShortArray &orig_asv, ShortArray &actual_asv, ShortArray &approx_asv)
split incoming ASV into actual and approximate evaluation requests, managing any mismatch in sizes du...
Definition: DataFitSurrModel.cpp:2130
void update_penalty()
initialize and update the penaltyParameter
Definition: EffGlobalMinimizer.cpp:1159
const String refineCVMetric
Type of error metric to test for surrogate refinement convegence.
Definition: DataFitSurrModel.hpp:347
unsigned short posteriorSamplesImportFormat
Format of imported posterior samples file.
Definition: NonDWASABIBayesCalibration.hpp:96
void check_input_redirs(const ProgramOptions &prog_opts, const std::string &input_file, const std::string &input_string)
Checked the passed input file or string for output/error_file and redirect accordingly....
Definition: OutputManager.cpp:107
bool challengeUseVarLabels
whether to validate variable labels in header
Definition: ApproximationInterface.hpp:243
void update_approx_interface(const Variables &vars, const IntResponsePair &response_pr)
update anchor data in approxInterface
Definition: DataFitSurrModel.cpp:1037
size_t mi_parallel_level_index() const
return miPLIndex
Definition: SurrogateModel.hpp:312
BitArray discreteDesignSetRealCat
is each ddsr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:269
Class for testing various Adaptively sampling methods using geometric, statisctical,...
Definition: NonDAdaptiveSampling.hpp:32
void operator()(const StringScale &scale)
Called by boost::apply_vistitor to process a StringScale.
Definition: ResultsDBHDF5.hpp:115
void increment_grid()
increment ssgDriver::ssgLevel
Definition: NonDSparseGrid.cpp:267
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonlinearCGOptimizer.cpp:66
bool mutualInfoKSG2
indicate that the KSG2 algorithm is to be employed in the calculation of the mutual information
Definition: DataMethod.hpp:1306
Custom RW TKfactory: passes Dakota QUESO instance pointer to the TK at build.
Definition: QUESOImpl.hpp:179
void unpack(float &data)
Unpack a float.
Definition: MPIPackBuffer.hpp:263
const String & gradient_type() const
return the gradient evaluation type (gradientType)
Definition: DakotaModel.hpp:3611
virtual Real nonlinear_model_cost(const RealVector &r_and_N)
constraint helper function shared by NPSOL/OPT++ static evaluators
Definition: NonDNonHierarchSampling.cpp:2016
int numConminLinConstr
total number of linear constraints seen by CONMIN
Definition: CONMINOptimizer.hpp:159
void update_variable_maps(const IntResponseMap &truth_resp_map)
update variable map queues based on completed jobs
Definition: EffGlobalMinimizer.cpp:664
size_t numVars
number of continuous variables active in the correction
Definition: DiscrepancyCorrection.hpp:139
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: APPSOptimizer.hpp:76
RealVector initialPoint
starting point prior to sequence of SBLM iterations
Definition: SurrBasedLocalMinimizer.hpp:222
void test_local_evaluations(PRPQueue &prp_queue)
For asynchronous function evaluations, this method is used to detect completion of jobs and process t...
Definition: DirectApplicInterface.cpp:334
const IntRealMapArray & get_irma(const String &entry_name) const
get an IntRealMapArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1826
ParConfigLIter methodPCIter
the active ParallelConfiguration used by this Iterator instance
Definition: DakotaIterator.hpp:477
void append_prp(const ParamResponsePair &prp_in)
add the passed pair to the restart file
Definition: OutputManager.cpp:1062
std::istream & operator>>(std::istream &s, ActiveSet &set)
std::istream extraction operator for ActiveSet. Calls read(std::istream&).
Definition: DakotaActiveSet.hpp:271
virtual short local_eval_synchronization()
return derived model synchronization setting
Definition: DakotaModel.cpp:4652
void reshape_nonlinear(size_t num_nln_ineq_cons, size_t num_nln_eq_cons)
reshape the nonlinear constraint array sizes
Definition: DakotaConstraints.cpp:496
bool proceed_to_instantiate() const
whether steps beyond help/version are requested (instantiation required)
Definition: ProgramOptions.cpp:200
VariablesArray _initPts
An array of initial points to use as an initial population.
Definition: JEGAOptimizer.hpp:246
void cov_as_correlation(RealSymMatrixArray &corr_matrix) const
get the observation error covariance as a correlation matrix, one vector per experiment
Definition: ExperimentData.cpp:943
void per_exp_length(IntVector &per_length) const
return the individual sizes of the experimental data lengths (all function values,...
Definition: ExperimentData.hpp:543
Dummy struct for overloading letter-envelope constructors.
Definition: dakota_global_defs.hpp:162
RealVector xTrial
trial iterate
Definition: APPSEvalMgr.hpp:110
ROL::OptimizationProblem< Real > optProblem
Handle to ROL::OptimizationProblem, part of ROL's simplified interface.
Definition: ROLOptimizer.hpp:117
double tauMeas
quality measure
Definition: DakotaPStudyDACE.hpp:90
IntResponseMap historyDuplicateMap
used to bookkeep asynchronous evaluations which duplicate data_pairs evaluations. Map key is evalIdCn...
Definition: ApplicationInterface.hpp:518
StringArray miscOptions
the misc_options specification in MethodSCOLIBDC
Definition: DataMethod.hpp:592
Nonintrusive polynomial chaos expansion approaches to uncertainty quantification.
Definition: NonDPolynomialChaos.hpp:30
void unpack(u_short *data, const int num=1)
Unpack one or more unsigned short's.
Derived class within the Constraints hierarchy which employs relaxation of discrete variables.
Definition: RelaxedVarConstraints.hpp:31
RealVector uniformUncVars
initial values of the uniform uncertain variables (from the initial_point specification in VarCAUV_Un...
Definition: DataVariables.hpp:354
virtual Real prediction_variance(const Variables &vars)
retrieve the variance of the predicted value for a given parameter vector
Definition: DakotaApproximation.cpp:446
bool is_matrix_symmetric(const RealMatrix &matrix)
Test if incoming matrix is symmetric.
Definition: dakota_data_util.cpp:346
void sampling_reference(size_t samples_ref)
set reference number of samples, which is a lower bound during reset
Definition: NonDQuadrature.hpp:311
RealVector estVarIter0
initial estimator variance from shared pilot (no CV reduction)
Definition: NonDEnsembleSampling.hpp:212
Model approxSubProbModel
the approximate sub-problem formulation solved on each approximate minimization cycle: may be a shall...
Definition: SurrBasedLocalMinimizer.hpp:172
void initialize_rf_coeffs()
For KL models, augment the subModel's uncertain variables with additional N(0,1) variables; set up mv...
Definition: RandomFieldModel.cpp:383
size_t prevGradIndex
index of most recent previous point with gradients
Definition: QMEApproximation.hpp:93
bool resize()
reinitializes iterator based on new variable size
Definition: NonDAdaptiveSampling.cpp:176
void identify_field_model()
Generate field representation: generate a KL or PCA/GP.
Definition: RandomFieldModel.cpp:195
void solve(const MatrixXd &A, const MatrixXd &b, MatrixXd &x) override
Find a solution to Ax = b.
Definition: UtilLinearSolvers.cpp:158
String hybridGlobalMethodName
global method name for embedded hybrids (from the global_method_name specification)
Definition: DataMethod.hpp:399
const RealMatrix & reduced_basis() const
return reducedBasis
Definition: SubspaceModel.hpp:199
virtual const Pecos::ActiveKey & active_model_key() const
return the active model key (used by surrogate data, grid driver, and approximation classes to suppor...
Definition: DakotaModel.cpp:3462
Definition: ResultsDBBase.hpp:39
int NFDG
Finite difference flag.
Definition: CONMINOptimizer.hpp:185
Real trRatioContractValue
trust region ratio min value: contract tr if ratio below this value
Definition: SurrBasedLocalMinimizer.hpp:204
Model residualModel
DataTransformModel wrapping the mcmcModel.
Definition: NonDBayesCalibration.hpp:290
virtual void correction_type(short corr_type)
set the correction type from the DiscrepancyCorrection object used by SurrogateModels
Definition: DakotaModel.cpp:4526
void add_metadata_to_execution(const StrStrSizet &iterator_id, const AttributeArray &attrs) override
Add attributes to the HDF5 execution group.
Definition: ResultsDBHDF5.cpp:211
int Size
The total size that has been allocated for the buffer.
Definition: MPIPackBuffer.hpp:125
virtual void derived_init_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
portion of init_communicators() specific to derived model classes
Definition: DakotaModel.cpp:5085
void value(std::vector< Real > &c, const std::vector< Real > &x, Real &tol) override
Function to return the constaint value to ROL.
Definition: ROLOptimizer.cpp:737
static void variables_mapping(const Variables &recast_xi_vars, Variables &sub_model_x_vars)
map the active continuous recast variables to the active submodel variables (linear transformation)
Definition: ActiveSubspaceModel.cpp:1433
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDEnsembleSampling.cpp:193
int jumpStep
how often to perform a long jump in generations
Definition: DataMethod.hpp:1319
BitArray dsv_to_all_mask(bool ddv, bool dauv, bool deuv, bool dsv) const
create a BitArray indicating the active discrete string subset of all {continuous,...
void multifidelity_integrated_refinement()
refine each of the multifidelity reference expansions within an integrated competition
Definition: NonDExpansion.cpp:1525
StringArray nonlinearIneqScaleTypes
vector of nonlinear inequality constraint scaling types (from the nonlinear_inequality_scale_types sp...
Definition: DataResponses.hpp:135
ParallelLibrary dummy_lib
dummy ParallelLibrary for ref initialization
Definition: dakota_global_defs.cpp:72
void add(const Variables &vars, bool v_copy, const Response &response, size_t fn_index, bool r_copy, bool anchor_flag, int eval_id, size_t key_index=_NPOS)
create SurrogateData{Vars,Resp} and append to SurrogateData:: {varsData,respData,dataIdentifiers}
Definition: DakotaApproximation.hpp:477
void initialize()
perform any required initialization
Definition: NonDGlobalEvidence.cpp:32
String idModel
string identifier for the model specification data set (from the id_model specification in ModelIndCo...
Definition: DataModel.hpp:95
void set_best_responses(typename AdapterT::OptT &optimizer, const Model &model, bool set_objectives, size_t num_user_primary_fns, const std::vector< int > constraint_map_indices, const std::vector< double > constraint_map_multipliers, const std::vector< double > constraint_map_offsets, ResponseArray &response_array)
Definition: DakotaOptimizer.hpp:755
Handle class for environment specification data.
Definition: DataEnvironment.hpp:141
RealVector lowerBounds
variable lower bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:361
virtual void solution_level_cost_index(size_t index)
activate a particular level within the solution level control (SimulationModel)
Definition: DakotaModel.cpp:3702
StringArray discreteDesignSetStrLowerBnds
discrete design string set lower bounds inferred from set values
Definition: DataVariables.hpp:688
SizetArray numQuasiUpdates
number of quasi-Newton Hessian updates applied
Definition: DakotaModel.hpp:1680
bool dOptimal
whether to generate D-optimal designs
Definition: DataMethod.hpp:1068
void allocate_vector(const StrStrSizet &iterator_id, const StringArray &location, ResultsOutputType stored_type, const int &len, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray()) override
Pre-allocate a vector and (optionally) attach dimension scales and attributes. Insert elements using ...
Definition: ResultsDBHDF5.cpp:71
RealVector nlnEqTargets
nonlinear equality constraint targets used in "user_functions" mode
Definition: SNLLOptimizer.hpp:379
RealVector uniformUncLowerBnds
distribution lower bounds for the uniform uncertain variables (from the lower_bounds specification in...
Definition: DataVariables.hpp:348
virtual bool returns_multiple_points() const
Overridden to return true since JEGA algorithms can return multiple final points.
Definition: JEGAOptimizer.cpp:905
MPI_Comm * hub_server_inter_communicators() const
return hubServerInterComms
Definition: ParallelLibrary.hpp:354
unsigned short subMethod
enum value for a sub-method type
Definition: DataMethod.hpp:366
size_t numDiscreteDesSetRealVars
number of discrete design variables defined by a set of reals (from the discrete_design_set real spec...
Definition: DataVariables.hpp:116
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDSampling.hpp:431
bool finalize_mapping()
restore state in preparation for next initialization; returns true if the variables size has changed
Definition: RecastModel.hpp:684
ParallelLibrary & parallelLib
reference to the ParallelLibrary instance
Definition: IteratorScheduler.hpp:163
size_t numFunctions
number of response functions
Definition: DakotaMinimizer.hpp:238
~NonDLocalInterval()
destructor
Definition: NonDLocalInterval.cpp:121
short dagRecursionType
type of tunable recursion for defining set of DAGs: KL, partial, or full
Definition: NonDGenACVSampling.hpp:252
size_t idivStart
start index of inactive discrete integer vars within allDiscreteIntVars
Definition: SharedVariablesData.hpp:260
Teuchos::ParameterList optSolverParams
Parameters for the ROL::OptimizationSolver.
Definition: ROLOptimizer.hpp:101
unsigned short cubIntOrder
the cubature_integrand specification in MethodNonDPCE
Definition: DataMethod.hpp:1016
size_t num_final_solutions() const
return the number of solutions to retain in best variables/response arrays
Definition: DakotaIterator.hpp:735
int short_column()
the short_column UQ/OUU test function
Definition: TestDriverInterface.cpp:2523
RealVector combineFactors
factors for combining additive and multiplicative corrections. Each factor is the weighting applied t...
Definition: DiscrepancyCorrection.hpp:233
Constraints()
default constructor
Definition: DakotaConstraints.cpp:76
size_t numOffspring
The number of children to produce in a crossover operation.
Definition: DataMethod.hpp:685
DigitalNet()
A constructor with no arguments.
Definition: DigitalNet.cpp:263
void set_full_covariance(std::vector< RealMatrix > &matrices, std::vector< RealVector > &diagonals, RealVector &scalars, IntVector matrix_map_indices, IntVector diagonal_map_indices, IntVector scalar_map_indices) override
method to set the full covariance matrices for ExperimentResponse
Definition: ExperimentResponse.cpp:78
Utility used in derived write_core to write in generic format.
Definition: DakotaVariables.hpp:47
void derived_init_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag)
Definition: AdaptedBasisModel.cpp:130
int N4
Size variable for CONMIN arrays. See CONMIN manual.
Definition: CONMINOptimizer.hpp:177
bool useTargetVarianceOptimizationFlag
the allocation_target selection in MethodMultilevelMC
Definition: DataMethod.hpp:1137
void assign_instance()
assign static pointer instance to this for use in static transformation functions
Definition: RandomFieldModel.hpp:235
std::shared_ptr< Pecos::SharedPolyApproxData > pecos_shared_data_rep()
return pecosSharedDataRep
Definition: SharedPecosApproxData.hpp:420
int numberIterations
ITER from NPSOL manual: number of (major) iterations performed.
Definition: SOLBase.hpp:181
short response_view(const ProblemDescDB &problem_db) const
infer view from type of response data set
const IntSetArray & get_isa(const String &entry_name) const
get an IntSetArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1759
RealVector referenceDRUBnds
stores a reference copy of active discrete real upper bounds when the approximation is built; used to...
Definition: DataFitSurrModel.hpp:502
virtual const RealVector & mean_gradient()
return the gradient of the expansion mean
Definition: DakotaApproximation.cpp:501
void reshape(size_t num_fns, size_t num_deriv_vars)
reshape requestVector and derivVarsVector
Definition: DakotaActiveSet.hpp:178
void initialize_grid(const std::vector< Pecos::BasisPolynomial > &poly_basis)
Definition: NonDQuadrature.cpp:162
Class for the Dempster-Shafer Evidence Theory methods within DAKOTA/UQ.
Definition: NonDLHSEvidence.hpp:33
int searchSchemeSize
the search_scheme_size specification for PDS methods in MethodOPTPPDC
Definition: DataMethod.hpp:538
MPI_Comm * hubServerInterComms
intercomm. array on hub processor
Definition: ParallelLibrary.hpp:137
Real beta(bool cdf_flag, Real z_bar)
return the reliability index (mapped from z_bar), where all active variables are random
Definition: PecosApproximation.hpp:525
bool nestedRules
for studies involving refinement strategies, allow for use of nested quadrature rules such as Gauss-P...
Definition: NonDQuadrature.hpp:170
unsigned int compute_energy_criterion(RealVector &singular_values)
Compute active subspace size based on eigenvalue energy. Compatible with other truncation methods.
Definition: ActiveSubspaceModel.cpp:826
void bracket_min(Real &xa, Real &xb, Real &xc, Real &fa, Real &fb, Real &fc)
bracket the 1-D minimum in the linesearch
Definition: NonlinearCGOptimizer.cpp:337
OPTPP::OptNIPS * optnips
NIPS optimizer pointer.
Definition: SNLLOptimizer.hpp:346
bool serverMasterFlag
identifies master server processors
Definition: ParallelLibrary.hpp:115
void check_sub_iterator_conflict(Model &model, unsigned short method_name)
check for clash with nested use of Fortran code
Definition: SOLBase.cpp:39
short iteratorScheduling
type of scheduling ({DEFAULT,MASTER,PEER}_SCHEDULING) used in concurrent iterator parallelism (from t...
Definition: DataMethod.hpp:383
virtual void pop_approximation(bool save_surr_data, bool rebuild_flag=false)
remove the previous data set addition to a surrogate (e.g., due to a previous append_approximation() ...
Definition: DakotaModel.cpp:4207
void core_run()
Performs global surrogate-based optimization by repeatedly optimizing on and improving surrogates of ...
Definition: SurrBasedGlobalMinimizer.cpp:91
~NonDLHSInterval()
destructor
Definition: NonDLHSInterval.cpp:43
StringScale(const std::string &in_label, const char *const in_items[], const int &len, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes a C-style array of C-strings.
Definition: dakota_results_types.hpp:376
SharedResponseData sharedRespData
reference-counted instance of shared response data: id's, labels
Definition: DakotaResponse.hpp:396
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NomadOptimizer.hpp:67
void operator()(std::ostream &s, size_t start_index, size_t num_items, const ArrayType &array_data, StringMultiArrayConstView label_array)
Definition: DakotaVariables.hpp:73
int write_precision
used in ostream data output functions (restart_util.cpp overrides default value)
Definition: dakota_global_defs.cpp:66
Derived approximation class for global basis polynomials.
Definition: PecosApproximation.hpp:30
void update_from_model(const Model &model)
update current variables/labels/bounds/targets with data from model
Definition: DataFitSurrModel.cpp:450
size_t total_active() const
total number of active vars
Definition: DakotaVariables.hpp:702
size_t numNonlinearEqConstraints
number of nonlinear equality constraints
Definition: DakotaMinimizer.hpp:254
void primary_response_fn_sense(const BoolDeque &sense)
set the optimization sense for multiple objective functions
Definition: DakotaModel.hpp:3679
UShortMultiArray allDiscreteStringTypes
array of variable types for all of the discrete string variables
Definition: SharedVariablesData.hpp:288
virtual int solution_level_int_value() const
return the active (integer) value of the solution control
Definition: DakotaModel.cpp:3789
virtual void pop_approximation(bool save_data)
removes data from last append from the approximation
Definition: DakotaInterface.cpp:1206
unsigned short distanceConvergeCntr
counter for number of successive iterations that the L_2 change in optimal solution is less than the ...
Definition: NonDGlobalInterval.hpp:162
void update_variables_from_model(const Model &model)
update current variables/bounds with data from model
Definition: SurrogateModel.cpp:468
int numFolds
number of folds to perform in cross validation
Definition: DataModel.hpp:296
void reduce_decay_rate_sets(RealVector &min_decay)
compute minimum of spectral coefficient decay rates across the response set for use as an anisotropy ...
Definition: NonDExpansion.cpp:2526
void init_queso_solver()
specialization to initialize the inverse problem and posterior
Definition: NonDGPMSABayesCalibration.cpp:325
void wait_local_evaluation_sequence(PRPQueue &prp_queue)
version of wait_local_evaluations() managing of set of individual asynchronous evaluations
Definition: SpawnApplicInterface.cpp:87
bool useModelBounds
flag to control if the sampler should respect the model bounds
Definition: NonDAdaptImpSampling.hpp:161
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: DLSolver.hpp:48
RealVector inactiveDiscreteRealVars
the inactive discrete real variables array view
Definition: DakotaVariables.hpp:637
Response(short type, const Variables &vars, const ProblemDescDB &problem_db)
standard constructor built from problem description database
~COLINApplication()
Destructor.
Definition: COLINApplication.hpp:47
void load_data(const std::string &context_message, const Variables &vars_with_state_as_config)
Load experiments from data files (simple scalar or field)
Definition: ExperimentData.cpp:304
virtual Data operator()()
Return bootstrapped sample.
Definition: BootstrapSampler.hpp:87
void build() override
SurfData object will be created from Dakota's SurrogateData, and the appropriate Surfpack build metho...
Definition: SurfpackApproximation.cpp:368
IntRealVector2DMap batchSamplesMap
alternate container for RealVector samples supporting evaluate_batch() and synchronize_batches(),...
Definition: DakotaAnalyzer.hpp:198
void declare_sources()
Declare sources to the evaluations database.
Definition: SNLLOptimizer.cpp:1254
short correction_order() const
return correctionOrder
Definition: DiscrepancyCorrection.hpp:297
virtual void eval_tag_prefix(const String &eval_id_str)
set the hierarchical eval ID tag prefix
Definition: DakotaIterator.cpp:1946
~NonDMultilevControlVarSampling()
destructor
Definition: NonDMultilevControlVarSampling.hpp:357
Response(const SharedResponseData &srd)
alternate constructor using limited data (explicit disallows implicit type conversion)
~NonDLHSEvidence()
destructor
Definition: NonDLHSEvidence.cpp:24
RealArray map_eval_vars(const Variables &vars)
extract active or all view as vector, mapping if needed for import
Definition: SurfpackApproximation.cpp:586
RealVectorArray indexSi
Matrix to hold binned Sobol' indices.
Definition: SensAnalysisGlobal.hpp:293
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: HierarchSurrBasedLocalMinimizer.hpp:52
Evaluator(const Evaluator ©, GeneticAlgorithm &algorithm, Model &model)
Copy constructs a Evaluator for use by algorithm.
Definition: JEGAOptimizer.cpp:491
bool coreMappings
flag for the presence of non-algebraic mappings that define the core of an Interface's parameter to r...
Definition: DakotaInterface.hpp:370
bool check_step_vector(const RealVector &step_vector)
perform error checks on numSteps
Definition: ParamStudy.hpp:450
void select_refinement_points(const RealVectorArray &candidate_samples, unsigned short batch_size, RealMatrix &best_samples)
evaluate allSamples for inclusion in the (PCE regression) approximation and retain the best set (well...
Definition: NonDPolynomialChaos.cpp:991
int *(* get_jobs_completed_t)()
definition of get completed jobs type (function pointer)
Definition: GridApplicInterface.hpp:25
Real penaltyParameter
the penalization factor for violated constraints used in quadratic penalty calculations; increased in...
Definition: SurrBasedMinimizer.hpp:161
IntVector sequenceLeap
Integer vector defining the leap number for each sequence being generated. Default is 1 1 1 (e....
Definition: FSUDesignCompExp.hpp:101
unsigned short surrExportFormat
(bitwise) format(s) to export
Definition: DakotaIterator.hpp:551
ActiveSet activeSet
Local copy of model's active set for convenience.
Definition: COLINApplication.hpp:111
std::unique_ptr< LowDiscrepancySequence > sequence
The low-discrepancy sequence to sample from.
Definition: NonDLowDiscrepancySampling.hpp:107
void set_rng(int seed)
sets up the random number generator for stochastic methods
Definition: COLINOptimizer.cpp:556
bool resize()
reinitializes iterator based on new variable size
Definition: NonDGlobalReliability.cpp:349
size_t acv() const
accumulate all continuous variables from variablesCompsTotals, allRelaxedDiscreteInt,...
Definition: SharedVariablesData.hpp:364
void prior_cholesky_factorization()
compute priorCovCholFactor based on prior distributions for random variables and any hyperparameters
Definition: NonDBayesCalibration.cpp:2382
const Response & response(size_t experiment)
return response for the specified experiment
Definition: ExperimentData.hpp:533
void update_from_subordinate_model(size_t depth=SZ_MAX)
pass request to subModel if recursing and then update from its results
Definition: RecastModel.hpp:844
ConsoleRedirector()
default constructor is disallowed
std::shared_ptr< Variables > get_variables(const ProblemDescDB &problem_db)
Used by the standard envelope constructor to instantiate the correct letter class.
bool outputValidationData
Temporary variable for toggling writing of data files to be used by TopoAS.
Definition: NonDAdaptiveSampling.hpp:229
IntArray fnValRefPt
iteration reference point for fnValCounter
Definition: DakotaInterface.hpp:399
int mc_ptr_int
global pointer for ModelCenter API
Definition: dakota_global_defs.cpp:76
void parse(bool check_bcast_database=true, DbCallbackFunctionPtr callback=NULL, void *callback_data=NULL)
parse inputs, callbacks, and optionally check and broadcast
Definition: DakotaEnvironment.cpp:267
void parse_environment_options()
any environment variables affecting global behavior get read here
Definition: ProgramOptions.cpp:429
int numAlgebraicResponses
number of algebraic responses (objectives+constraints)
Definition: DakotaInterface.hpp:483
void derived_init_serial()
set up RecastModel for serial operations (request forwarded to subModel).
Definition: RecastModel.hpp:1082
~RandomFieldModel()
destructor
Definition: RandomFieldModel.cpp:39
const ParallelLevel & init_analysis_communicators(int analysis_servers, int procs_per_analysis, int min_procs_per_analysis, int max_procs_per_analysis, int max_analysis_concurrency, int asynch_local_analysis_concurrency, short default_config, short analysis_scheduling, bool peer_dynamic_avail)
split an evaluation communicator into analysis communicators
Definition: ParallelLibrary.hpp:1308
size_t numDiscreteRealVars
number of active discrete real vars
Definition: DakotaAnalyzer.hpp:181
IntArray newFnValRefPt
iteration reference point for newFnValCounter
Definition: DakotaInterface.hpp:402
A sample namespace for derived classes that use assign_rep() to plug facilities into DAKOTA.
Definition: SoleilDirectApplicInterface.cpp:17
Real constraint_tolerance() const
return the method constraint tolerance (constraintTol)
Definition: DakotaMinimizer.hpp:341
int Index
The index into the current buffer.
Definition: MPIPackBuffer.hpp:123
Real lineSearchTolerance
the linesearch_tolerance specification in MethodNPSOLDC
Definition: DataMethod.hpp:505
SNLLBase()
default constructor
Definition: SNLLBase.hpp:172
RealVectorArray indexTi
VBD total effect indices.
Definition: SensAnalysisGlobal.hpp:296
size_t expSamplesSpec
user specification for expansion_samples (array for multifidelity)
Definition: NonDPolynomialChaos.hpp:238
bool reliability_residual(const Real &p, const Real &beta, const RealVector &kappa, Real &res)
compute the residual for inversion of second-order probability corrections using Newton's method (cal...
Definition: NonDLocalReliability.cpp:2578
int initHifiSamples
initial high-fidelity model samples
Definition: NonDBayesCalibration.hpp:403
bool exportSurrogate
Option to turn on surrogate model export (export_model)
Definition: DataModel.hpp:198
int derived_evaluation_id() const
return the current evaluation id for the RecastModel
Definition: RecastModel.hpp:1152
PRPCacheOIter lookup_by_ids(PRPMultiIndexCache &prp_cache, const IntStringPair &search_ids)
find a ParamResponsePair within a PRPMultiIndexCache based on search_ids (i.e. std::pair<eval_id,...
Definition: PRPMultiIndex.hpp:348
void derived_post_process()
perform any additional data post-processing
Definition: NIDRProblemDescDB.cpp:246
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDGPMSABayesCalibration.cpp:188
SizetArray residuals_per_multiplier(unsigned short multiplier_mode) const
count the number of residuals influenced by each multiplier
Definition: ExperimentData.cpp:1704
String displayFormat
the DISPLAY_STATS specification for NOMAD
Definition: DataMethod.hpp:807
virtual ~BootstrapSamplerWithGS()
Destructor.
Definition: BootstrapSampler.hpp:285
bool matching_active_interface_ids()
check for matching interface ids among active truth/surrogate models (varies based on active keys)
Definition: EnsembleSurrModel.hpp:734
void calc_score_alm()
Function to compute the ALM scores for the candidate points ALM score is the variance computed by the...
Definition: NonDAdaptiveSampling.cpp:438
void initialize_export()
initialize file stream for exporting surrogate evaluations
Definition: DataFitSurrModel.cpp:2235
void merge_grid_increment()
merges a grid increment into the reference grid
Definition: NonDSparseGrid.hpp:255
bool headerFlag
used by synchronize_nowait to manage header output frequency (since this function may be called many ...
Definition: ApplicationInterface.hpp:464
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: HierarchSurrBasedLocalMinimizer.hpp:46
bool non_zero(const std::vector< OrdinalType > &vec)
checks for any non-zero value in std::vector(); useful for determining whether an array of request co...
Definition: dakota_data_util.hpp:169
void algebraic_mappings(const Variables &vars, const ActiveSet &algebraic_set, Response &algebraic_response)
evaluate the algebraic_response using the AMPL solver library and the data extracted from the algebra...
Definition: DakotaInterface.cpp:600
void multifidelity_mc_offline_pilot()
Definition: NonDMultifidelitySampling.cpp:160
void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDLocalSingleInterval.cpp:29
RealSymMatrixArray fnHessians
response fn Hessians within direct fns
Definition: DirectApplicInterface.hpp:209
const MatrixXd & get_polynomial_coeffs() const
Get the polynomial surrogate's coefficients.
Definition: SurrogatesPolynomialRegression.cpp:284
void inactive_discrete_string_variable(const String &ids_var, size_t index)
set an inactive discrete string variable
Definition: DakotaVariables.hpp:1478
void unpack(float *data, const int num=1)
Unpack one or more float's.
virtual void allocate_vector(const StrStrSizet &iterator_id, const StringArray &location, ResultsOutputType stored_type, const int &len, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray())=0
Pre-allocate a vector and (optionally) attach dimension scales and attributes. Insert elements using ...
PyPolyReg(const pybind11::dict &pydict)
ctor that accepts a dictionary
Definition: surrogates_python.cpp:73
SizetArray primaryADRVarMapIndices
"primary" all discrete real variable mapping indices flowed down from higher level iteration
Definition: EnsembleSurrModel.hpp:329
int verifyLevel
the verify_level specification in MethodNPSOLDC
Definition: DataMethod.hpp:500
BitArray drv_to_all_mask() const
create a BitArray indicating the active discrete real subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1341
static void set_preferred_path()
set/reset PATH to dakPreferredEnvPath
Definition: WorkdirHelper.cpp:388
virtual const VariablesArray & initial_points() const
gets the multiple initial points for this iterator. This will only be meaningful after a call to init...
Definition: DakotaIterator.cpp:1524
ActiveSet default_interface_active_set()
Return the "default" or maximal ActiveSet for the userDefinedInterface.
Definition: SimulationModel.cpp:474
Real compute_expected_improvement(const RealVector &means, const RealVector &variances)
expected improvement (EI) function for the EGO EI acquisition function implementation
Definition: EffGlobalMinimizer.cpp:1017
unsigned short method_name() const
return the method name via its native enumeration value
Definition: DakotaIterator.hpp:662
Real solution_level_real_value() const
return a discrete real variable value corresponding to solnCntlADVIndex
Definition: SimulationModel.cpp:392
void irecv_mi(int &recv_int, int source, int tag, MPI_Request &recv_req, size_t index=_NPOS)
nonblocking receive at the metaiterator-iterator communication level
Definition: ParallelLibrary.hpp:1706
BitArray idrv_to_all_mask() const
create a BitArray indicating the inactive discrete real subset of all {continuous,...
Definition: SharedVariablesData.hpp:1349
static void link_items(const StringArray &source_itemss, const bfs::path &dest_dir, bool overwrite)
top-level link a list of source_paths (files, directories, symlinks), potentially including wildcards...
Definition: WorkdirHelper.cpp:701
void assign_instance()
assign static pointer instance to this for use in static transformation functions
Definition: ScalingModel.hpp:199
RealList nonlinIneqConMappingOffsets
a list of offsets for mapping the DAKOTA nonlinear inequality constraints to the corresponding NOWPAC...
Definition: NOWPACOptimizer.hpp:78
ResultsKeyType make_key(const StrStrSizet &iterator_id, const std::string &data_name)
Make a full ResultsKeyType from the passed iterator_id and data_name.
Definition: dakota_results_types.hpp:199
SizetArray directFnDVV
class scope derivative variables vector
Definition: DirectApplicInterface.hpp:204
Real percentVarianceExplained
The percentage of variance explained by using a truncated number of principal components in PCA.
Definition: DataMethod.hpp:886
bool optimizationFlag
flag for use where optimization and NLS must be distinguished
Definition: DakotaMinimizer.hpp:269
IntIntMap recastIdMap
mapping from subModel evaluation ids to RecastModel evaluation ids
Definition: RecastModel.hpp:558
void d_optimal_parameter_set(int previous_samples, int new_samples, RealMatrix &full_samples)
generate a d-optimal parameter set, leaving the first previous_samples columns intact and adding new_...
Definition: NonDLHSSampling.cpp:519
Generates posterior distribution on model parameters given experiment data.
Definition: NonDGPMSABayesCalibration.hpp:48
Real lastConstraintViolation
constraint violation at last iteration, used to determine if the current iterate should be accepted (...
Definition: NonDGlobalReliability.hpp:134
virtual ~JEGATraits()
destructor
Definition: JEGAOptimizer.hpp:620
RealVector referenceIDRVars
stores a reference copy of the inactive discrete real variables when the approximation is built using...
Definition: DataFitSurrModel.hpp:483
const IntVector & inactive_discrete_int_variables() const
return the inactive discrete int variables
Definition: DakotaVariables.hpp:1433
void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to derived model classes
Definition: ActiveSubspaceModel.cpp:1294
const int SCI_NUMBER_OF_FIELDS
Definition: ScilabInterface.cpp:29
void export_model(const StringArray &var_labels, const String &fn_label, const String &export_prefix, const unsigned short export_format) override
export the model to disk
Definition: DakotaSurrogates.cpp:310
const SharedVariablesData & shared_data() const
return sharedVarsData
Definition: DakotaConstraints.hpp:1137
void initialize_point_selection()
Initializes the point selection routine by choosing a small initial subset of the training points.
Definition: GaussProcApproximation.cpp:1029
PRPQueueIter job_index_to_queue_iterator(int job_index)
convert job_index to an eval_id through subIteratorIdMap and eval_id to a subIteratorPRPQueue queue i...
Definition: NestedModel.hpp:713
virtual void reset()
restore initial state for repeated sub-iterator executions
Definition: DakotaIterator.cpp:1343
void prepare_process_environment()
set PATH, environment variables, and change directory prior to fork/system/spawn
Definition: ProcessApplicInterface.cpp:946
NonDMUQBayesCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMUQBayesCalibration.cpp:42
~ApplicationInterface()
destructor
Definition: ApplicationInterface.cpp:93
std::string exportPosteriorDensityFile
The filename of the export file containing an arbitrary set of samples and their corresponding densit...
Definition: NonDWASABIBayesCalibration.hpp:99
static void Vgen_HistogramBinUnc(DataVariablesRep *dv, size_t offset)
Infer lower/upper bounds for histogram and set initial variable values based on initial_point or mome...
Definition: NIDRProblemDescDB.cpp:3160
bool pdfOutput
flag for managing output of response probability density functions (PDFs)
Definition: DakotaNonD.hpp:366
Wrapper class for the OPT++ optimization library.
Definition: SNLLLeastSq.hpp:92
bool ispow2(unsigned v)
Check if given integer is a power of 2.
Definition: dakota_bit_utils.hpp:81
std::map< Pecos::ActiveKey, IntVector > referenceDILBnds
stores a reference copy of active discrete int lower bounds when the approximation is built; used to ...
Definition: EnsembleSurrModel.hpp:456
AttachScaleVisitor(const StrStrSizet &iterator_id, const StringArray &location, const int &dim, const String &dset_name, const std::shared_ptr< HDF5IOHelper > &hdf5_stream)
Construct with context for attaching the scale, including the iterator and location used to construct...
Definition: ResultsDBHDF5.hpp:91
RealVector discreteRealAleatoryUncUpperBnds
distribution upper bounds for all discrete real aleatory uncertain variables
Definition: DataVariables.hpp:746
METRIC_TYPE metric_type(const std::string &metric_name)
Convert the metric from string to enum.
Definition: util_metrics.cpp:37
int dakotaWorldRank
rank in MPI_Comm in which DAKOTA is running
Definition: MPIManager.hpp:66
friend bool operator!=(const Variables &vars1, const Variables &vars2)
strict inequality operator
Definition: DakotaVariables.hpp:1847
bool check_asynchronous(bool warn, int max_eval_concurrency)
checks on asynchronous configuration (for direct interfaces)
Definition: ApplicationInterface.cpp:316
void push_grid_increment()
restores a previously computed grid increment (no new evaluations)
Definition: NonDSparseGrid.hpp:247
virtual void eval_tag_prefix(const String &eval_id_str)
set the hierarchical eval ID tag prefix
Definition: DakotaModel.cpp:6008
RealVector scX1
vector of scaled and/or offset x1 values
Definition: TANA3Approximation.hpp:84
String importApproxPtsFile
the file name from the import_approx_points_file specification
Definition: DataMethod.hpp:1410
RealVector continuousDesignUpperBnds
upper bounds array for the continuous design variables (from the continuous_design upper_bounds speci...
Definition: DataVariables.hpp:218
const std::vector< std::string > & response_labels() const
Get the (possibly empty) response/QoI names.
Definition: SurrogatesBase.cpp:55
std::ostream * dakota_cerr
DAKOTA stderr initially points to std::cerr, but may be redirected to a tagged ofstream if there are ...
Definition: dakota_global_defs.cpp:55
void unpack(u_short &data)
Unpack a unsigned short.
Definition: MPIPackBuffer.hpp:255
void total_points(int points)
set pointsTotal and pointsManagement mode
Definition: DataFitSurrModel.hpp:577
Class for using global nongradient-based optimization approaches to calculate interval bounds for epi...
Definition: NonDGlobalInterval.hpp:32
Real combined_moment(size_t i) const
return Pecos::PolynomialApproximation::combinedMoments[i]
Definition: PecosApproximation.hpp:699
void print_local_sensitivity(std::ostream &s)
print local sensitivities evaluated at initialPtU
Definition: NonDExpansion.cpp:4116
StringArray discreteIntAleatoryUncLabels
labels for all discrete integer aleatory uncertain variables
Definition: DataVariables.hpp:726
Utility class which defines convenience operators for spawning processes with system calls.
Definition: CommandShell.hpp:27
IntVector discreteStateRangeVars
initial values for the discrete state variables defined by an integer range (from the discrete_state_...
Definition: DataVariables.hpp:618
size_t maxFunctionEvals
maximum number of function evaluations allowed for the method (from the max_function_evaluations spec...
Definition: DataMethod.hpp:332
RealMatrix function_gradients_view()
return all function gradients as a view for updating in place
Definition: DakotaResponse.hpp:710
int propCovUpdatePeriod
period (number of accepted chain samples) for proposal covariance update
Definition: NonDQUESOBayesCalibration.hpp:172
void serve_run(ParLevLIter pl_iter, int max_eval_concurrency)
Service userDefinedInterface job requests received from the master. Completes when a termination mess...
Definition: SimulationModel.hpp:397
static void prepend_path_items(const StringArray &source_items)
prepend any directories (including wildcards) found in source_items to the preferred environment path...
Definition: WorkdirHelper.cpp:723
short analysisScheduling
user specification of analysis scheduling algorithm: {DEFAULT,MASTER,PEER}_SCHEDULING....
Definition: ApplicationInterface.hpp:444
String rngName
name of the random number generator
Definition: NonDSampling.hpp:307
short get_short(const String &entry_name) const
get a short out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2350
SimulationResponse()
default constructor
Definition: SimulationResponse.hpp:76
virtual void finalize_expansion()
finalize mappings for the uSpaceModel
Definition: NonDExpansion.cpp:1024
size_t aleatory_uncertain()
return total number of aleatory uncertain variables
Definition: DataVariables.hpp:961
size_t execNum
An execution number for this instance of the class. Now that each instance has a unique methodId,...
Definition: DakotaIterator.hpp:593
void aggregate_mse_target_Qsum(RealMatrix &agg_var_qoi, const Sizet2DArray &N_l, const size_t step, RealVector &estimator_var0_qoi)
sum up Monte Carlo estimates for mean squared error (MSE) for QoI using discrepancy sums based on all...
Definition: NonDMultilevelSampling.hpp:858
const RealVector & approximation_variances(const Variables &vars)
return the approximation variance from each Approximation (request forwarded to approxInterface)
Definition: DataFitSurrModel.hpp:879
bool primaryRespScaleFlag
flag for primary response scaling
Definition: ScalingModel.hpp:176
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDMUQBayesCalibration.cpp:420
MPI_Comm dakota_mpi_comm() const
get the MPI_Comm on which Dakota is running
Definition: MPIManager.hpp:74
bool multilevel_multifidelity() const
identify if 2D hierarchy can be defined across both model forms and resolution levels
Definition: EnsembleSurrModel.hpp:585
StringArray discreteStrEpistemicUncLabels
labels for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:779
virtual void combine_approximation()
combine the current approximation with previously stored data sets
Definition: DakotaInterface.cpp:1267
SharedVariablesData copy() const
create a deep copy of the current object, copy both core and view data, and return by value
bool pressFlag
whether to perform PRESS
Definition: SharedSurfpackApproxData.hpp:147
const std::tuple< UInt64Matrix, int, int > get_default_generating_matrices(ProblemDescDB &problem_db)
Case III: a set of default generating matrices has been selected.
Definition: DigitalNet.cpp:504
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDGenACVSampling.cpp:483
IntVector discreteIntervalUncVars
initial values of the discrete interval uncertain variables (from the initial_point specification in ...
Definition: DataVariables.hpp:568
int numConminNlnConstr
total number of nonlinear constraints seen by CONMIN
Definition: CONMINOptimizer.hpp:157
bool rank1LatticeFlag
Flag to indicate rank-1 lattice sampling.
Definition: DataMethod.hpp:897
Derived class within the Variables hierarchy which employs the relaxation of discrete variables.
Definition: RelaxedVariables.hpp:31
BitArray discreteStateSetRealCat
is each dssr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:659
RealVector fdGradStepSize
relative finite difference step size for numerical gradients
Definition: DakotaModel.hpp:1435
int numEvalServersSpec
user specification for number of evaluation servers
Definition: ApplicationInterface.hpp:413
SizetArray complement1ADIVarMapIndices
"primary" variable mappings for inserting the complement of the active discrete int currentVariables ...
Definition: NestedModel.hpp:383
void set_communicators_checks(int max_eval_concurrency)
no-op hides default run-time error checks at DirectApplicInterface level
Definition: PluginSerialDirectApplicInterface.hpp:122
void LoadAlgorithmConfig(JEGA::FrontEnd::AlgorithmConfig &aConfig)
Completely initializes the supplied algorithm configuration.
Definition: JEGAOptimizer.cpp:1353
bool is_null() const
function to check interfaceRep (does this envelope contain a letter?)
Definition: DakotaInterface.hpp:519
void get_responses_from_dakota(const RealVector &dak_fn_vals, VecT &funs, VecT &cEqs, VecT &cIneqs)
Definition: DakotaOptimizer.hpp:470
SizetMultiArrayConstView all_continuous_variable_ids() const
return all continuous variable position identifiers
Definition: DakotaVariables.hpp:1780
void initialize_mlmf_sums(IntRealMatrixMap &sum_L_shared, IntRealMatrixMap &sum_L_refined, IntRealMatrixMap &sum_H, IntRealMatrixMap &sum_LL, IntRealMatrixMap &sum_LH, IntRealMatrixMap &sum_HH, size_t num_ml_lev, size_t num_cv_lev, size_t num_mom=4)
initialize the MLMF accumulators for computing means, variances, and covariances across fidelity leve...
Definition: NonDMultilevControlVarSampling.cpp:1413
static void PMA2_constraint_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the constraint function in the second-order Performance Measure Approach (PMA...
Definition: NonDLocalReliability.cpp:2077
void unpack(double &data)
Unpack a double.
Definition: MPIPackBuffer.hpp:261
static void constraint2_evaluator(int mode, int n, const RealVector &x, RealVector &g, RealMatrix &grad_g, OPTPP::OptppArray< RealSymMatrix > &hess_g, int &result_mode)
constraint evaluator function which provides constraint values, gradients, and Hessians to OPT++ meth...
Definition: SNLLOptimizer.cpp:1082
bool mainEffectsFlag
flag which specifies main effects
Definition: DDACEDesignCompExp.hpp:117
void read_sdm_col(Archive &ar, int col, Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > &sdm)
read a column of a SerialDenseMatrix
virtual void cache_unmatched_responses()
migrate remaining response records from responseMap to cachedResponseMap
Definition: DakotaModel.cpp:4633
static size_t approxIdNum
counter for giving unique names to approximation interfaces
Definition: ApproximationInterface.hpp:206
bool pointSelection
flag indicating the use of point selection in the Gaussian process
Definition: DataModel.hpp:289
bool chainDiagnosticsCI
flag indicating calculation of confidence intervals as a chain diagnositc
Definition: DataMethod.hpp:1211
virtual bool supports_discrete_variables()
Return the flag indicating whether method supports continuous variables.
Definition: DakotaTraitsBase.hpp:97
const String & command_line_run_output() const
runOutput filename
Definition: ParallelLibrary.hpp:1358
bool hasScaling
Bool for whether or not the the scaling coefficients have been computed.
Definition: UtilDataScaler.hpp:108
IntVariablesMap varsMap
history of vars populated in evaluate_nowait() and used in synchronize().
Definition: DakotaModel.hpp:1644
std::vector< MatrixXd > cwiseMixedDists
Component-wise distances between prediction and build points.
Definition: SurrogatesGaussianProcess.hpp:390
Real compute_covariance_metric(bool revert, bool print_metric)
compute 2-norm of change in response covariance
Definition: NonDStochCollocation.cpp:570
NonD * prevNondInstance
pointer containing previous value of nondInstance
Definition: DakotaNonD.hpp:308
~AdaptedBasisModel()
destructor
Definition: AdaptedBasisModel.cpp:49
void rebuild_approximation()
Rebuilds the local/multipoint/global approximation using daceIterator/actualModel to generate an incr...
Definition: DataFitSurrModel.cpp:584
void derived_map_asynch(const Dakota::ParamResponsePair &pair)
no-op hides base error; job batching occurs within wait_local_evaluations()
Definition: SoleilDirectApplicInterface.hpp:102
bool importChalUseVariableLabels
whether to parse/validate variable labels from header
Definition: DataModel.hpp:308
void pack(const u_int *data, const int num=1)
Pack one or more unsigned int's.
BitArray adsv_to_all_mask() const
create a BitArray indicating the all discrete string subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1337
virtual pid_t create_evaluation_process(bool block_flag)=0
Spawn the evaluation by managing the input filter, analysis drivers, and output filter....
ShortShortPair variablesView
the variables view pair containing active (first) and inactive (second) view enumerations
Definition: SharedVariablesData.hpp:248
void update_from_model(const Model &model)
set inherited data attributes based on extractions from incoming model
Definition: DakotaAnalyzer.cpp:115
C3FnTrainData & combined_ftd()
return combinedC3FTData
Definition: C3Approximation.hpp:283
unsigned short improvementConvergeLimit
counter for number of successive iterations that the iteration improvement is less than the convergen...
Definition: NonDGlobalInterval.hpp:157
int get_num_terms() const
Get the number of terms in the polynomial surrogate.
Definition: SurrogatesPolynomialRegression.cpp:290
void derived_map_asynch(const Dakota::ParamResponsePair &pair)
no-op hides base error; job batching occurs within wait_local_evaluations()
Definition: PluginSerialDirectApplicInterface.hpp:102
size_t statCntr
counter for finalStatistics
Definition: NonDLHSSingleInterval.hpp:55
RealVector augLagrangeMult
Lagrange multipliers for augmented Lagrangian calculations.
Definition: SurrBasedMinimizer.hpp:158
RealRealMapArray histogramUncPointRealPairs
An array for each real-valued point-based histogram uncertain variable. Each array entry is a map fro...
Definition: DataVariables.hpp:537
Iterator topLevelIterator
the top level (meta-)iterator
Definition: DakotaEnvironment.hpp:155
Stationary kernel with C^\infty smooth realizations.
Definition: SurrogatesGPKernels.hpp:101
void size_bounds_array(size_t new_bnds_size)
Updates arrays dependent on combined bounds size.
Definition: SOLBase.hpp:213
short allocControl
type of multilevel strategy for sample allocation: ESTIMATOR_VARIANCE, RANK_SAMPLING,...
Definition: SharedC3ApproxData.hpp:285
void update_model()
evaluates allSamples on iteratedModel and update the mcmcModel emulator with all{Samples,...
Definition: NonDBayesCalibration.cpp:958
IntVector sequenceStart
Integer vector defining a starting index into the sequence for random variable sampled....
Definition: FSUDesignCompExp.hpp:98
ASL * asl
pointer to an AMPL solver library (ASL) object
Definition: DakotaInterface.hpp:489
static void constraint2_evaluator_gn(int mode, int n, const RealVector &x, RealVector &g, RealMatrix &grad_g, OPTPP::OptppArray< RealSymMatrix > &hess_g, int &result_mode)
constraint evaluator function which provides constraint values, gradients, and Hessians to OPT++ Gaus...
Definition: SNLLLeastSq.cpp:408
size_t blockSize
Size of the block defining a sample.
Definition: BootstrapSampler.hpp:254
Teuchos::SerialDenseMatrix< int, Real > RealMatrix
Dakota matrix of reals.
Definition: util_data_types.hpp:60
DataResponses()
constructor
Definition: DataResponses.cpp:132
virtual void stop_finalize_mapping(ParLevLIter pl_iter)
called from IteratorScheduler::run_iterator() for iteratorComm rank 0 to terminate serve_finalize_map...
Definition: DakotaModel.cpp:4823
short iteratorScheduling
{DEFAULT,MASTER,PEER}_SCHEDULING
Definition: IteratorScheduler.hpp:175
unsigned iterCurr
current iteration number
Definition: NonlinearCGOptimizer.hpp:110
virtual void export_model(const StringArray &var_labels=StringArray(), const String &fn_label="", const String &export_prefix="", const unsigned short export_format=NO_MODEL_FORMAT)
exports the approximation; if export_format > NO_MODEL_FORMAT, uses all 3 parameters,...
Definition: DakotaApproximation.cpp:254
ActiveSet & operator=(const ActiveSet &set)
assignment operator
Definition: DakotaActiveSet.hpp:147
void resolve_samples_symbols()
convenience function for resolving number of samples and number of symbols from input.
Definition: DDACEDesignCompExp.cpp:352
StoredType dbData
data retrieved from file data base
Definition: ResultsManager.hpp:372
void serialize(Archive &ar, const unsigned int version)
serialize the PRP: write and read are symmetric for this class
String searchMethod
the search_method specification for Newton and nonlinear interior-point methods in MethodOPTPPDC
Definition: DataMethod.hpp:522
static void calcj(int *np, int *pp, Real *x, int *nfp, Real *J, int *ui, void *ur, Vf vf)
evaluator function for residual Jacobian
Definition: NL2SOLLeastSq.cpp:245
void reshape()
reshape an existing Variables object based on updated sharedVarsData
Real amScale
AM scale.
Definition: DataMethod.hpp:1369
String root_model_id()
Return the model ID of the "innermost" model. For all derived Models except RecastModels,...
Definition: RecastModel.cpp:1548
Base class for the approximation class hierarchy.
Definition: DakotaApproximation.hpp:38
void post_process_final_results()
perform final post-processing
Definition: NonDLocalEvidence.cpp:93
H5::LinkCreatPropList linkCreatePL
Gobal link creation property list.
Definition: HDF5_IO.hpp:472
virtual bool is_derived()
A temporary query used in the refactor.
Definition: OptDartsOptimizer.hpp:38
bool command_line_post_run() const
return postRunFlag
Definition: ParallelLibrary.hpp:1338
void DAKOTA_DLL_FN dakota_destroy(int id)
delete Dakota runner instance id and remove from active list
Definition: dakota_dll_api.cpp:285
void copy_rep_view(SharedVariablesDataRep *svd_rep)
copy the active/inactive view from svd_rep to the current representation
IntVector inactiveDiscreteIntLowerBnds
the inactive discrete lower bounds array view
Definition: DakotaConstraints.hpp:411
static void check_input_redirs_impl(std::istream &input_stream, std::string &output_filename, std::string &error_filename)
check the passed input file stream for output/error redirection
Definition: OutputManager.cpp:155
const String & preproc_cmd() const
pre-processing command, possibly specifying another tool
Definition: ProgramOptions.cpp:124
RealVector betaUncLowerBnds
distribution lower bounds for the beta uncertain variables (from the lower_bounds specification in Va...
Definition: DataVariables.hpp:390
StringArray diagnosticSet
set of diagnostic metrics
Definition: SharedSurfpackApproxData.hpp:138
Real truthFnStar
minimum/maximum truth response function value
Definition: NonDGlobalInterval.hpp:106
NONLINEAR_EQUALITY_FORMAT nonlinear_equality_format()
Return the format used for nonlinear equality constraints.
Definition: APPSOptimizer.hpp:69
std::string get_datetime(const std::time_t &rawtime) const
get the date and time as a string YYYYMMDDHHMMSS
Definition: TrackerHTTP.cpp:321
Dakota interface to MUQ (MIT Uncertainty Quantification) library.
Definition: NonDMUQBayesCalibration.hpp:38
int batchEvals
number of optimal designs selected per iteration of experimental design algorithm
Definition: NonDBayesCalibration.hpp:342
Derived class within the interface class hierarchy for supporting approximations to simulation-based ...
Definition: ApproximationInterface.hpp:33
Real vns
the VNS specification for NOMAD
Definition: DataMethod.hpp:809
T midpoint(T a, T b)
Compute the midpoint of floating-point or integer range [a, b] (a <= b), possibly indices,...
Definition: NIDRProblemDescDB.cpp:4483
void active_set(const ActiveSet &set)
set the default active set (for use with iterators that employ evaluate_parameter_sets())
Definition: DakotaIterator.hpp:746
~NonDBayesCalibration()
destructor
Definition: NonDBayesCalibration.cpp:722
int poly_prod()
modified low fidelity Rosenbrock to test SBO with hierarchical approximations
Definition: TestDriverInterface.cpp:1562
void derived_evaluate(const ActiveSet &set)
Definition: EnsembleSurrModel.cpp:528
Real alphaEta
power for etaSequence updates when updating penalty
Definition: SurrBasedMinimizer.hpp:173
bool importChallengeActive
whether to import active variables only
Definition: DataModel.hpp:310
void data_transform_model()
Wrap iteratedModel in a RecastModel that subtracts provided observed data from the primary response f...
Definition: DakotaMinimizer.cpp:402
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: DataFitSurrBasedLocalMinimizer.hpp:54
void rand_shuffle(RandomIt first, RandomIt last, URBG &&g)
Random shuffle with C++17 shuffle API, but using Boost for portability.
Definition: dakota_data_util.hpp:1619
Real approxValue
value of the approximation returned by value()
Definition: GaussProcApproximation.hpp:192
StringArray diagMetrics
List of diagnostic metrics the user requests to assess the goodness of fit for a surrogate model.
Definition: DataModel.hpp:292
RealVectorArray computedGenRelLevels
output generalized reliability levels for all response functions resulting from requestedRespLevels
Definition: DakotaNonD.hpp:337
void initial_point(const RealVector &pt)
sets the initial point (active continuous variables) for this iterator (user-functions mode for which...
Definition: SNLLOptimizer.hpp:407
void test(MPI_Request &request, int &test_flag, MPI_Status &status)
test a nonblocking send/receive request for completion
Definition: ParallelLibrary.hpp:1968
void configure_enumeration(size_t &num_combinations)
configure the total number of fidelity/level options
Definition: DakotaNonD.cpp:478
int worldRank
Rank of this process within Dakota's allocation; manages conditional output.
Definition: CommandLineHandler.hpp:183
double * S
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:219
RealVector nonlinearEqTargets
vector of nonlinear equality constraint targets (from the nonlinear_equality_targets specification in...
Definition: DataResponses.hpp:121
static UShortStrBimap submethod_map
bimap between sub-method enums and strings; only used in this compilation unit (using bimap for consi...
Definition: DakotaIterator.cpp:946
virtual void update_basis_distribution_parameters(const Pecos::MultivariateDistribution &mvd)
propagate updates to random variable distribution parameters to a polynomial basis
Definition: SharedApproxData.cpp:493
RealMatrix Rinv_YFb
Matrix for storing inverse of correlation matrix Rinv*(Y-FB)
Definition: GaussProcApproximation.hpp:236
UInt64 sobol_d250_t64_m32[][250]
Order 2 Sobol generating matrices [source?].
Definition: low_discrepancy_data.cpp:54
ParameterList convert_options(pybind11::dict pydict)
Convert Python dictionary to options list.
Definition: surrogates_python.cpp:26
size_t maxCVRankCandidates
restrict the number of candidates within cross validation for rank (by increasing start rank when nee...
Definition: SharedC3ApproxData.hpp:304
bool supports_discrete_variables()
Return the flag indicating whether method supports discrete variables.
Definition: NomadOptimizer.hpp:73
void discrepancy_emulation_mode(short mode)
set approxInterface.sharedData.discrepEmulationMode
Definition: DataFitSurrModel.hpp:637
IntVector referenceDIUBnds
stores a reference copy of active discrete int upper bounds when the approximation is built; used to ...
Definition: DataFitSurrModel.hpp:496
const ShortShortPair & view() const
retreive the Variables view
Definition: SharedVariablesData.hpp:1656
bool sameModelInstance
flag indicating that the {low,high}FidelityKey correspond to the same model instance,...
Definition: EnsembleSurrModel.hpp:294
bool latinizeFlag
the latinize specification for FSU QMC and CVT methods in MethodFSUDACE
Definition: DataMethod.hpp:771
void interpolate_simulation_data(const Response &sim_resp, size_t exp_num, const ShortArray &total_asv, size_t exp_offset, Response &interp_resp) const
Interpolate simulation data (values, gradients and hessians) onto the coordinates of the experimental...
Definition: ExperimentData.cpp:1109
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: HierarchSurrBasedLocalMinimizer.hpp:55
const StringSetArray & get_ssa(const String &entry_name) const
get an StringSetArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1792
void core_run()
compute the optimal solution
Definition: APPSOptimizer.cpp:49
RealRealPairArray extremeValues
Minimum and maximum values of response functions for epistemic calculations (calculated in compute_in...
Definition: NonDSampling.hpp:376
std::shared_ptr< DataEnvironmentRep > dataEnvRep
pointer to the body (handle-body idiom)
Definition: DataEnvironment.hpp:185
void derived_auto_graphics(const Variables &vars, const Response &resp)
Update tabular/graphics data with latest variables/response data.
Definition: EnsembleSurrModel.cpp:1696
RealVector constraintValues
array of nonlinear constraint values passed to CONMIN
Definition: CONMINOptimizer.hpp:154
void pack(const bool &data)
Pack a bool.
Definition: MPIPackBuffer.hpp:113
virtual void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDBayesCalibration.cpp:3203
RealVectorArray reliabilityLevels
the reliability_levels specification in MethodNonD
Definition: DataMethod.hpp:1172
Base class for the iterator class hierarchy.
Definition: DakotaIterator.hpp:39
SharedResponseData copy() const
create a deep copy of the current object and return by value
Real trustRegionExpand
trust region expansion factor in the surrogate-based local method (from the expansion_factor specific...
Definition: DataMethod.hpp:465
size_t div_start() const
start index of active discrete int vars
Definition: DakotaVariables.hpp:721
void set_option(const ProblemDescDB &problem_db, const String &db_name, String &data_member)
retrieve environment.db_name from the problem db and update data_member, warning if needed
Definition: ProgramOptions.cpp:523
void initialize_sets()
invokes SparseGridDriver::initialize_sets()
Definition: NonDSparseGrid.hpp:198
int num_tpl_nonlin_eq_constraints() const
Number of nonlinear equality constraints from TPL perspective.
Definition: DakotaTPLDataTransfer.hpp:41
~TestDriverInterface()
destructor
Definition: TestDriverInterface.cpp:218
RealVector upperBounds
variable upper bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:363
const RealSetArray & discrete_set_real_values()
return the sets of values available for each of the active discrete set real variables (aggregated in...
Definition: DakotaModel.hpp:2416
Evaluator(const Evaluator ©)
Copy constructs a Evaluator.
Definition: JEGAOptimizer.cpp:472
perform_analysis_t perform_analysis
handle to dynamically linked perform_analysis grid function
Definition: GridApplicInterface.hpp:108
unsigned short maxOrder
maximum order of basis polynomials
Definition: DataModel.hpp:432
void compute_minimum_quadrature_order(size_t min_samples, const RealVector &dim_pref)
calculate smallest dimension quadrature order with at least min_samples and propagate to Pecos::Tenso...
Definition: NonDQuadrature.cpp:218
String proposalCovarFilename
filename for user-specified proposal covariance
Definition: NonDBayesCalibration.hpp:457
int maxEvalConcurrency
maximum number of concurrent model evaluations
Definition: DakotaIterator.hpp:499
int minimum_points(bool constraint_flag) const
returns the minimum number of samples required to build the functionSurfaces
Definition: ApproximationInterface.hpp:270
SVDSolver()
Constructor.
Definition: UtilLinearSolvers.cpp:143
void log_response(const Model &model, IntResponseMap &resp_map, size_t i, bool log_resp_flag, bool log_best_flag)
for current response, update best result and archive
Definition: DakotaAnalyzer.hpp:354
bool scramblingFlag
Perform linear matrix scramble if true.
Definition: DigitalNet.hpp:113
virtual bool map_domain(const utilib::Any &src, utilib::Any &native, bool forward=true) const
Map the domain point into data type desired by this application context.
Definition: COLINApplication.cpp:489
void copy_con_vals_dak_to_optpp(const RealVector &local_fn_vals, RealVector &g, size_t offset)
convenience function for copying local_fn_vals to g; used by constraint evaluator functions
Definition: SNLLBase.cpp:340
void trans_hess_X_to_U(const RealSymMatrix &fn_hess_x, RealSymMatrix &fn_hess_u, const RealVector &x_vars, const RealVector &fn_grad_x)
transform x-space Hessian matrix to u-space
Definition: SurrogateModel.hpp:287
std::string dataDistCovType
The type of covariance data provided ("diagonal","matrix")
Definition: NonDWASABIBayesCalibration.hpp:91
short local_eval_synchronization()
return userDefinedInterface synchronization setting
Definition: SimulationModel.hpp:330
void compute_subspace()
sample the model's gradient, computed the SVD, and form the active subspace rotation matrix.
Definition: AdaptedBasisModel.cpp:194
std::shared_ptr< DataResponsesRep > dataRespRep
pointer to the body (handle-body idiom)
Definition: DataResponses.hpp:344
virtual void activate_distribution_parameter_derivatives()
activate derivative setting w.r.t. distribution parameters
Definition: DakotaModel.cpp:5183
std::map< Pecos::ActiveKey, RealVector > referenceDRLBnds
stores a reference copy of active discrete real lower bounds when the approximation is built; used to...
Definition: EnsembleSurrModel.hpp:462
void integration_iterator(const Iterator &iterator)
set integration driver for structured grid approximations
Definition: SharedPecosApproxData.cpp:102
void configure_expansion_orders(unsigned short exp_order, const RealVector &dim_pref, UShortArray &exp_orders)
configure exp_orders from inputs
Definition: NonDExpansion.cpp:556
RealVector linearIneqUpperBnds
upper bounds for the linear inequality constraints (from the linear_inequality_upper_bounds specifica...
Definition: DataVariables.hpp:816
std::string::size_type longest_strlen(const std::vector< std::string > &vecstr)
Return the length of the longest string in the passed vector.
Definition: dakota_data_util.cpp:431
void calc_score_delta_y()
Function to compute the Gradient scores for the candidate points Gradient score is the function value...
Definition: NonDAdaptiveSampling.cpp:493
void print_sobol_indices(std::ostream &s, const StringArray &var_labels, const StringArray &resp_labels, const Real dropTol) const
Printing of VBD results.
Definition: SensAnalysisGlobal.cpp:993
size_t numSamples
current number of samples to be evaluated
Definition: PSUADEDesignCompExp.hpp:80
void build()
builds the approximation from scratch
Definition: TaylorApproximation.cpp:38
String modelType
model type selection: single, surrogate, or nested (from the model type specification in ModelIndCont...
Definition: DataModel.hpp:98
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: SurrBasedMinimizer.cpp:151
const String & post_run_output() const
filename for post-run output
Definition: ProgramOptions.cpp:189
bool npsolFlag
flag representing the gradient-based optimization algorithm selection (NPSOL SQP or OPT++ NIP)
Definition: NonDLocalInterval.hpp:109
unsigned short sampling_scheme() const
return sampling name
Definition: DDACEDesignCompExp.hpp:152
virtual void combined_to_active(bool clear_combined=true)
promote aggregated data sets to active state
Definition: SharedApproxData.cpp:441
virtual void initialize()
perform any required initialization
Definition: NonDLHSInterval.cpp:90
unsigned short vbdOrder
a sub-specification of vbdFlag: interaction order limit for calculation/output of component VBD indic...
Definition: DataMethod.hpp:954
Real lagrangian_merit(const RealVector &fn_vals, const BoolDeque &sense, const RealVector &primary_wts, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_tgts)
compute a Lagrangian function from a set of function values
Definition: SurrBasedMinimizer.cpp:396
bool post_run() const
is post-run mode active?
Definition: ProgramOptions.cpp:167
virtual void increment_grid_preference()
increment SSG level/TPQ order and preserve anisotropy
Definition: NonDIntegration.cpp:216
void print_correlations(std::ostream &s, const StringArray &var_labels, const StringArray &resp_labels) const
prints the correlations computed in compute_correlations()
Definition: SensAnalysisGlobal.cpp:595
RealVector initialPtU
current starting point for MPP searches in u-space
Definition: NonDLocalReliability.hpp:302
void check_sub_iterator_conflict()
detect any conflicts due to recursive use of the same Fortran solver
Definition: NonDLocalReliability.cpp:466
void level_mappings_file(size_t fn_index, const String &qoi_label) const
Write level mappings to a file for a single response.
Definition: DakotaNonD.cpp:1064
bool get_variable_bounds(Model &model, Real big_real_bound_size, int big_int_bound_size, typename AdapterT::VecT &lower, typename AdapterT::VecT &upper)
Definition: DakotaOptimizer.hpp:159
bool central_hess() const
option for using old 2nd-order scheme when computing finite-diff Hessian
Definition: DakotaModel.hpp:3627
static ActiveSubspaceModel * asmInstance
static pointer to this class for use in static callbacks
Definition: ActiveSubspaceModel.hpp:304
RealMatrix reducedBasis
basis for the reduced subspace
Definition: SubspaceModel.hpp:175
void clear_current_active_data()
Definition: TANA3Approximation.hpp:113
bool toleranceIntervalsFlag
flags of double sided tolerance interval equivalent normal
Definition: NonDSampling.hpp:333
void write(std::ostream &s) const
write a DataEnvironment object to an std::ostream
Definition: DataEnvironment.hpp:208
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: SNLLLeastSq.hpp:55
Nonintrusive stochastic collocation approaches to uncertainty quantification.
Definition: NonDStochCollocation.hpp:29
void update_mpp_search_data(const Variables &vars_star, const Response &resp_star)
convenience function for updating MPP search data for each z/p/beta level for each response function
Definition: NonDLocalReliability.cpp:1490
void write(MPIPackBuffer &s) const
write a response object to a packed MPI buffer
unsigned short exportSamplesFormat
tabular format for the MCMC chain and MLMC sample sequence exports
Definition: DataMethod.hpp:1427
int seed_sequence(size_t index) const
return random seed for index within model sequence
Definition: NonDExpansion.hpp:660
size_t num_nonlinear_ineq_constraints() const
return the number of nonlinear inequality constraints
Definition: DakotaModel.hpp:3467
bool grayCodeOrdering
Ordering of the digital net points.
Definition: DataMethod.hpp:935
bool formulation_updated() const
query approxInterface for updates in formulation (requiring a rebuild)
Definition: DataFitSurrModel.hpp:809
virtual int derived_map_ac(const String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: Pybind11Interface.cpp:81
NonDDREAMBayesCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDDREAMBayesCalibration.cpp:89
virtual void write_aprepro(std::ostream &s) const
write a variables object to an std::ostream in aprepro format, e.g., a parameters file
void initialize_options()
Shared constructor code.
Definition: NOWPACOptimizer.cpp:50
void update_sub_model(const Variables &vars, const Constraints &cons)
update subModel with current variable values/bounds/labels
Definition: NestedModel.cpp:2192
void compute_apply_delta(IntResponseMap &lf_resp_map)
helper function used in the AUTO_CORRECTED_SURROGATE responseMode for computing a correction and appl...
Definition: EnsembleSurrModel.cpp:2221
RealSymMatrixArray function_hessians_view()
return all function Hessians as Teuchos::Views (shallow copies) for updating in place
Definition: DakotaResponse.hpp:789
size_t numCandidates
number of candidate designs for adaptive Bayesian experimental design
Definition: DataMethod.hpp:1295
std::ofstream tabularDataFStream
file stream for tabulation of graphics data within compute_response
Definition: OutputManager.hpp:425
virtual void derived_init_serial()
portion of init_serial() specific to derived model classes
Definition: DakotaModel.cpp:5100
ResultsNames()
Default constructor.
Definition: ResultsManager.hpp:29
virtual void pop_increment()
helper function to manage different pop increment cases
Definition: NonDExpansion.cpp:1224
RealVectorArray cellContLowerBounds
Storage array to hold cell lower bounds for continuous variables.
Definition: NonDInterval.hpp:112
std::shared_ptr< SurfData > surfData
The data used to build the approximation, in Surfpack format.
Definition: SurfpackApproximation.hpp:175
void resolve_inputs(short &u_space_type, short &data_order)
perform error checks and mode overrides
Definition: NonDC3FunctionTrain.cpp:277
void sample_to_variables(const Real *sample_c_vars, size_t num_cv, Variables &vars)
populate continuous variables within vars from sample_c_vars
Definition: ApproximationInterface.hpp:599
~PythonInterface()
destructor
Definition: PythonInterface.cpp:95
void write_tabular_labels(std::ostream &s, unsigned short tabular_format) const
write PRP labels in tabular format to an std::ostream
bool calModelEvidLaplace
flag indicating use of Laplace approximation to calculate evidence
Definition: NonDBayesCalibration.hpp:445
const struct FTDerivedFunctions & derived_functions()
return reference to the FTDerivedFunctions instance
Definition: C3FnTrainData.hpp:290
Wrapper class for the NLPQLP optimization library, Version 2.0.
Definition: NLPQLPOptimizer.hpp:67
virtual DiscrepancyCorrection & discrepancy_correction()
return the DiscrepancyCorrection object used by SurrogateModels
Definition: DakotaModel.cpp:4503
void archive_extreme_responses(size_t inc_id=0)
archive extreme values (epistemic result) in results DB
Definition: NonDSampling.cpp:1429
IntSet idSet
Set of function evaluation id's for active asynchronous system call evaluations.
Definition: GridApplicInterface.hpp:100
const ShortArray & active_set_request_vector() const
return the active set request vector
Definition: DakotaResponse.hpp:941
Real contractFactor
the contraction_factor specification for APPS/PS/SW methods in MethodAPPS, MethodSCOLIBPS,...
Definition: DataMethod.hpp:614
virtual bool provides_best_constraint()
Return the flag indicating whether method provides best constraint result.
Definition: DakotaTraitsBase.hpp:106
void initialize_sample_driver(bool write_message, size_t num_samples)
increments numLHSRuns, sets random seed, and initializes lhsDriver
Definition: NonDSampling.cpp:821
int hub_server_communicator_rank() const
return hubServerCommRank
Definition: ParallelLibrary.hpp:345
int numQOI
Number of quantities of interest predicted by the surrogate. For scalar-valued surrogates numQOI = 1.
Definition: SurrogatesBase.hpp:228
unsigned short resultsOutputFormat
Output results format.
Definition: OutputManager.hpp:436
Real dltfdj
finite-diff step size for computing Jacobian approximation (fd_gradient_step_size)
Definition: NL2SOLLeastSq.hpp:112
Interface & derived_interface()
return optionalInterface
Definition: NestedModel.hpp:480
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: JEGAOptimizer.hpp:644
virtual int asynch_local_evaluation_concurrency() const
return the user-specified concurrency for asynch local evaluations
Definition: DakotaInterface.cpp:947
size_t numSamples
size of a subset of tensor quadrature points (filtered based on product weight or sampled uniformly f...
Definition: NonDQuadrature.hpp:185
bool responses_locked() const
return responsesDBLocked
Definition: ProblemDescDB.hpp:663
void check_submodel_compatibility(const Model &sub_model)
verify compatibility between SurrogateModel attributes and attributes of the submodel (DataFitSurrMod...
Definition: EnsembleSurrModel.hpp:552
virtual short correction_order() const
return the correction order from the DiscrepancyCorrection object used by SurrogateModels
Definition: DakotaModel.cpp:4534
VectorXd objectiveFunctionHistory
Final objective function values for each optimization run.
Definition: SurrogatesGaussianProcess.hpp:366
~SerialDirectApplicInterface()
destructor
Definition: PluginSerialDirectApplicInterface.hpp:97
void write_restart(const ParamResponsePair &prp)
write a parameter/response set to the restart file
Definition: ParallelLibrary.cpp:1142
SizetArray complement1ADRVarMapIndices
"primary" variable mappings for inserting the complement of the active discrete real currentVariables...
Definition: NestedModel.hpp:390
void test_local_evaluation_sequence(PRPQueue &prp_queue)
version of test_local_evaluations() managing of set of individual asynchronous evaluations
Definition: SpawnApplicInterface.cpp:119
int numPtsTotal
the total number of points
Definition: NonDAdaptiveSampling.hpp:86
int nlnConstraintArraySize
used for non-zero array sizing (nonlinear constraints)
Definition: SOLBase.hpp:169
virtual void surrogate_response_mode(short mode)
set response computation mode used in SurrogateModels for forming currentResponse
Definition: DakotaModel.cpp:4454
Derived class within the interface class hierarchy for supporting interfaces to simulation codes.
Definition: ApplicationInterface.hpp:39
void test_local_evaluation_sequence(PRPQueue &prp_queue)
Convenience function for common code between wait and nowait case.
Definition: GridApplicInterface.cpp:166
const String & get_string(const String &entry_name) const
get a String out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2016
GaussianProcess & gp
Pointer to the GaussianProcess surrogate.
Definition: SurrogatesGPObjective.hpp:97
void init_response(size_t num_recast_primary_fns, size_t num_recast_secondary_fns, short recast_resp_order)
initialize currentResponse from the passed size info
Definition: RecastModel.cpp:443
StringArray ensembleModelPointers
an ordered (low to high) or unordered (peer) set of model pointers corresponding to a ensemble of mod...
Definition: DataModel.hpp:152
short method_view(const ProblemDescDB &problem_db) const
infer view from method selection
virtual void initialize_graphics(int iterator_server_id=1)
initialize the 2D graphics window and the tabular graphics data
Definition: DakotaIterator.cpp:1659
virtual ~QuesoJointPdf()
Destructor.
Definition: QUESOImpl.cpp:38
Constraints operator=(const Constraints &con)
assignment operator
Definition: DakotaConstraints.cpp:163
RealMatrix linIneqCoeffs
linear inequality constraint coefficients used in "user_functions" mode
Definition: NCSUOptimizer.hpp:165
Real dltfdc
finite-diff step size for function differences for H (fd_hessian_step_size)
Definition: NL2SOLLeastSq.hpp:117
String quasiHessType
quasi-Hessian type: bfgs, damped_bfgs, sr1
Definition: DakotaModel.hpp:1464
virtual const ShortArray & nested_acv2_targets() const
return secondaryACVarMapTargets
Definition: DakotaModel.cpp:5163
bool badScalingFlag
flag used to indicate function values near zero for multiplicative corrections; triggers an automatic...
Definition: DiscrepancyCorrection.hpp:198
int randomSeed
current seed for the random number generator
Definition: DDACEDesignCompExp.hpp:106
std::shared_ptr< SharedVariablesDataRep > svdRep
pointer to the body (handle-body idiom)
Definition: SharedVariablesData.hpp:995
void combined_to_active_coefficients(bool clear_combined=true)
promote combined approximation into active approximation
Definition: PecosApproximation.hpp:800
void initialize_ml_Qsums(IntRealMatrixMap &sum_Ql, IntRealMatrixMap &sum_Qlm1, IntIntPairRealMatrixMap &sum_QlQlm1, size_t num_lev)
initialize the ML accumulators for computing means, variances, and covariances across resolution leve...
Definition: NonDMultilevelSampling.cpp:646
virtual void declare_sources()
Declare sources to the evaluations database.
Definition: DakotaIterator.cpp:316
double candidate_objFn
Objective value at the candidate solution.
Definition: PEBBLBranching.hpp:61
virtual void write_tabular_partial(std::ostream &s, size_t start_index, size_t num_items) const
write range of variables in tabular format to an std::ostream
bool user_stdout_redirect() const
whether the user/client code requested a redirect of stdout
Definition: ProgramOptions.cpp:216
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NPSOLOptimizer.hpp:60
virtual void decrement_grid()=0
decrement SSG level/TPQ order
Real prediction_variance(const Variables &vars)
retrieve the variance of the predicted value for a given parameter set
Definition: VPSApproximation.cpp:3270
void herbie1D(size_t der_mode, Real xc_loc, std::vector< Real > &w_and_ders)
1D components of herbie function
Definition: TestDriverInterface.cpp:4422
bool truthPilotConstraint
the truth_fixed_by_pilot flag for ACV methods
Definition: DataMethod.hpp:1109
Model get_sub_model(ProblemDescDB &problem_db)
retrieve the sub-Model from the DB to pass up the constructor chain
Definition: ActiveSubspaceModel.cpp:118
Sub Branch class for the PEBBL-based Minimizer.
Definition: PEBBLBranching.hpp:48
Base class for Stanford SOL software.
Definition: SOLBase.hpp:31
IntVector discreteStateSetIntUpperBnds
discrete state integer set upper bounds inferred from set values
Definition: DataVariables.hpp:795
ProgramOptions stores options whether from the CLH or from library user; initially valid only on worl...
Definition: ProgramOptions.hpp:31
NonDAdaptiveSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDAdaptiveSampling.cpp:43
const RealVector & nonlinear_eq_constraint_targets() const
return the nonlinear equality constraint targets
Definition: DakotaModel.hpp:3525
static NonDLocalReliability * nondLocRelInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NonDLocalReliability.hpp:252
Base class for the environment class hierarchy.
Definition: DakotaEnvironment.hpp:44
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDGlobalReliability.cpp:393
RealVector fdStepSize
finite difference step sizes, either scalar or one per variable
Definition: SNLLOptimizer.hpp:381
ROLOptimizer(ProblemDescDB &problem_db, Model &model)
Standard constructor.
Definition: ROLOptimizer.cpp:47
size_t num_field_functions() const
total number of primary field functions (elements); 1-norm of priFieldLengths
Definition: SharedResponseData.hpp:343
WASABI - Weighted Adaptive Surrogate Approximations for Bayesian Inference.
Definition: NonDWASABIBayesCalibration.hpp:26
void serve_run(ParLevLIter pl_iter, int max_eval_concurrency)
Service subModel job requests received from the master. Completes when a termination message is recei...
Definition: RecastModel.hpp:1111
void check_view_compatibility()
perform sanity checks on view.first and view.second after update
size_t numScalarNonlinearEqConstraints
number of scalar nonlinear equality constraints (from the num_scalar_nonlinear_equality_constraints s...
Definition: DataResponses.hpp:85
colin::EvaluationManager_Base * colinEvalMgr
pointer to the COLIN evalutaion manager object
Definition: COLINOptimizer.hpp:170
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: NLPQLPOptimizer.hpp:83
ShortArray active2ADIVarMapTargets
"secondary" variable mappings for inserting active discrete int currentVariables into sub-parameters ...
Definition: NestedModel.hpp:368
IntVector allDiscreteIntLowerBnds
a discrete lower bounds array combining discrete design and discrete state variable types (all view).
Definition: DakotaConstraints.hpp:352
void set_convergence_tol(const RealVector &estimator_var0_qoi, const RealVector &cost, RealVector &eps_sq_div_2_qoi)
compute epsilon^2/2 term for each qoi based on reference estimator_var0 and relative convergence tole...
Definition: NonDMultilevelSampling.hpp:867
bool allResponsesPerIter
flag for maximal response extraction (all response values obtained on each function call)
Definition: NonDGlobalInterval.hpp:183
int samplesSpec
initial specification of number of samples
Definition: DDACEDesignCompExp.hpp:94
bool summaryOutputFlag
flag for summary output (evaluation stats, final results); default true, but false for on-the-fly (he...
Definition: DakotaIterator.hpp:523
const IntResponseMap & all_responses() const
return the complete set of computed responses
Definition: DakotaAnalyzer.hpp:296
virtual Model & active_truth_model()
return the active truth sub-model in surrogate models
Definition: DakotaModel.cpp:3576
OPTPP::OptFDNewton * optfdnewton
Finite Difference Newton opt pointer.
Definition: SNLLOptimizer.hpp:342
Bayesian inference using the DREAM approach.
Definition: NonDDREAMBayesCalibration.hpp:27
METRIC_TYPE
Enumeration for supported metric types.
Definition: util_metrics.hpp:19
NLSSOLLeastSq(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NLSSOLLeastSq.cpp:48
~MPIUnpackBuffer()
Destructor.
Definition: MPIPackBuffer.hpp:200
virtual void active_model_key(const Pecos::ActiveKey &key)
set the active model key within surrogate data, grid driver, and approximation classes that support t...
Definition: DakotaModel.cpp:3449
RealVectorArray computedPDFAbscissas
sorted response PDF intervals bounds extracted from min/max sample and requested/computedRespLevels (...
Definition: DakotaNonD.hpp:369
int randomSeed
the seed specification for COLINY, NonD, & DACE methods
Definition: DataMethod.hpp:795
void transform_set(const Variables &recast_vars, const ActiveSet &recast_set, ActiveSet &sub_model_set)
into sub_model_set for use with subModel.
Definition: RecastModel.cpp:632
static bool file_op_items(const file_op_function &file_op, const StringArray &source_paths, const bfs::path &dest_dir, bool overwrite)
recursively perform file_op (copy, path adjust, etc.) on a list of source_paths (files,...
Definition: WorkdirHelper.cpp:641
virtual ~Iterator()
destructor
Definition: DakotaIterator.cpp:823
RealVectorArray ccBelFn
Storage array to hold CCBF values.
Definition: NonDInterval.hpp:103
Real maxval(const RealArray &) const
Return the maximum value of the elements in a vector.
Definition: GaussProcApproximation.cpp:1155
void all_labels(const Variables &vars)
copy all cv/div/dsv/drv variable labels from vars
Definition: DakotaVariables.hpp:1205
short multilevDiscrepEmulation
type of discrepancy emulation in multilevel methods: distinct or recursive
Definition: DataMethod.hpp:1152
virtual void append_approximation(const Variables &vars, const IntResponsePair &response_pr)
appends a single point to an existing approximation
Definition: DakotaInterface.cpp:1067
void update(const Constraints &cons)
copy bounds and linear/nonlinear constraint data between existing Constraints objects
Definition: DakotaConstraints.cpp:401
BitArray div_to_all_mask() const
create a BitArray indicating the active discrete int subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1285
const RealVectorArray & approximation_coefficients(bool normalized=false)
return the approximation coefficients from each Approximation (request forwarded to approxInterface)
Definition: DataFitSurrModel.hpp:826
const SizetArray & nested_acv1_indices() const
return primaryACVarMapIndices
Definition: RecastModel.hpp:709
std::shared_ptr< QUESO::BaseVectorRV< QUESO::GslVector, QUESO::GslMatrix > > priorRv
random variable for the prior
Definition: NonDQUESOBayesCalibration.hpp:204
Results manager for iterator final data.
Definition: ResultsManager.hpp:94
Dummy struct for overloading constructors used in on-the-fly Model instantiations.
Definition: dakota_global_defs.hpp:180
size_t numDiscreteDesSetIntVars
number of discrete design variables defined by a set of integers (from the discrete_design_set intege...
Definition: DataVariables.hpp:110
SharedVariablesData sharedVarsData
reference-counted instance of shared variables data: id's, labels, counts
Definition: DakotaVariables.hpp:604
int fieldRealizationId
counter for RF Suite
Definition: RandomFieldModel.hpp:202
int server_buffer_size(short mode, const Pecos::ActiveKey &key)
compute modeKeyBufferSize
Definition: EnsembleSurrModel.hpp:692
void clear_data()
clear SurrogateData::{vars,resp}Data for activeKey + embedded keys
Definition: DakotaApproximation.hpp:596
void resolve_integer_variable_mapping(const String &map1, const String &map2, size_t curr_index, short &inactive_sm_view)
for a named integer mapping, resolve primary index and secondary target
Definition: NestedModel.cpp:1156
size_t one_sided_relax_round(Real diff, Real relax_factor=1.)
compute a one-sided sample increment for multilevel methods to move current sampling level to a new t...
Definition: DakotaNonD.hpp:533
void read_scalar(const std::string &dset_name, T &val)
Read scalar data from a dataset.
Definition: HDF5_IO.hpp:1153
RealMatrix trainPoints
A 2-D array (num sample sites = rows, num vars = columns) used to create the Gaussian process.
Definition: GaussProcApproximation.hpp:198
std::string re_match(const std::string &token, const boost::regex &re)
Global utility function to ease migration from CtelRegExp to Boost.Regex.
Definition: DakotaGraphics.hpp:80
size_t numSteps
number of model forms/resolution in the (outer) sequence
Definition: NonDHierarchSampling.hpp:77
size_t allocation_increment(size_t N_l_alloc, const Real *N_l_target)
increment the allocated samples counter
Definition: NonDMultilevelSampling.cpp:1325
int lenResponseMessage
length of a MPIPackBuffer containing a Response object; computed in Model::init_communicators()
Definition: ApplicationInterface.hpp:432
virtual void add_metadata_to_method(const StrStrSizet &iterator_id, const AttributeArray &attrs)=0
Add key:value metadata to a method.
std::vector< var_t > xCMLabels
var_t enumerations corresponding to continuous variable labels
Definition: DirectApplicInterface.hpp:194
Wrapper class for the PSUADE library.
Definition: PSUADEDesignCompExp.hpp:29
void init_queso_environment()
initialize the QUESO FullEnvironment on the Dakota MPIComm
Definition: NonDQUESOBayesCalibration.cpp:153
bool is_null() const
return true if empty handle with null representation
Definition: SharedResponseData.hpp:429
void bcast(int &data, const ParallelLevel &pl)
broadcast an integer across the serverIntraComm of a ParallelLevel
Definition: ParallelLibrary.hpp:1772
start_grid_computing_t start_grid_computing
handle to dynamically linked start_grid_computing function
Definition: GridApplicInterface.hpp:106
void fine_grained_evaluation_counters()
request fine-grained evaluation reporting within the userDefinedInterface
Definition: SimulationModel.hpp:437
~Analyzer()
destructor
Definition: DakotaAnalyzer.hpp:271
virtual void apply_mc_reference(RealVector &mc_targets)
apply convergenceTol to estVarIter0 to form an estimate of required high-fidelity MC samples
Definition: NonDNonHierarchSampling.cpp:1280
Real startCPUTime
start reference for UTILIB CPU timer
Definition: ParallelLibrary.hpp:1016
void lagrangian_gradient(const RealVector &fn_vals, const RealMatrix &fn_grads, const BoolDeque &sense, const RealVector &primary_wts, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_tgts, RealVector &lag_grad)
compute the gradient of the Lagrangian function
Definition: SurrBasedMinimizer.cpp:442
size_t collocation_points() const
return specification for number of collocation points (may be part of a sequence specification)
Definition: NonDPolynomialChaos.hpp:275
void set_bounds(const RealVector &c_l_bnds, const RealVector &c_u_bnds, const IntVector &di_l_bnds, const IntVector &di_u_bnds, const RealVector &dr_l_bnds, const RealVector &dr_u_bnds)
set approximation lower and upper bounds (currently only used by graphics)
~RelaxedVarConstraints()
destructor
Definition: RelaxedVarConstraints.hpp:73
virtual void print_evaluation_summary(std::ostream &s, bool minimal_header=false, bool relative_count=true) const
Print an evaluation summary for the Model.
Definition: DakotaModel.cpp:5994
int stop_grid_computing()
Definition: GridApplicInterface.cpp:301
virtual void initialize_iterator(int job_index)
used by IteratorScheduler to set the starting data for a run
Definition: DakotaIterator.cpp:1351
const RealVector & inactive_discrete_real_upper_bounds() const
return the inactive discrete upper bounds
Definition: DakotaConstraints.hpp:702
void read(std::istream &s)
read a variables object from an std::istream
Definition: RelaxedVariables.cpp:145
~LibraryEnvironment()
destructor
Definition: LibraryEnvironment.cpp:66
~SharedPecosApproxData()
destructor
Definition: SharedPecosApproxData.hpp:176
bool equal_gsl(const QUESO::GslVector &qv1, const QUESO::GslVector &qv2)
equality tester for two GslVectors
Definition: NonDQUESOBayesCalibration.cpp:1169
~DataResponsesRep()
destructor
Definition: DataResponses.hpp:281
void partial_corr(RealMatrix &total_data, const int num_in, const RealMatrix &simple_corr_mat, RealMatrix &corr_matrix, bool &numerical_issues)
computes partial correlations, populating corr_matrix and numerical_issues
Definition: SensAnalysisGlobal.cpp:327
int surrModelEvalCntr
counter for calls to derived_evaluate()/derived_evaluate_nowait(); used to key response maps from Sur...
Definition: SurrogateModel.hpp:209
Teuchos::SerialDenseVector< int, Real > RealVector
Dakota vector of reals.
Definition: util_data_types.hpp:62
const StringArray & analysis_drivers() const
retrieve the analysis drivers specification for application interfaces
Definition: DirectApplicInterface.hpp:250
Response(const SharedResponseData &srd, const ActiveSet &set)
alternate constructor that shares response data
RealMatrix approxGradsCenter
Surrogate gradient values at the current correction point.
Definition: DiscrepancyCorrection.hpp:245
Real collocRatio
factor applied to terms^termsOrder in computing number of regression points, either user-specified or...
Definition: NonDExpansion.hpp:426
bool checkFlag
flags invocation with command line option -check
Definition: ProgramOptions.hpp:250
void nested_variable_mappings(const SizetArray &c_index1, const SizetArray &di_index1, const SizetArray &ds_index1, const SizetArray &dr_index1, const ShortArray &c_target2, const ShortArray &di_target2, const ShortArray &ds_target2, const ShortArray &dr_target2)
set primaryA{CV,DIV,DRV}MapIndices, secondaryA{CV,DIV,DRV}MapTargets within derived Iterators; suppor...
Definition: NonDReliability.hpp:114
Real amScale
AM scale.
Definition: NonDMUQBayesCalibration.hpp:145
void vary_pattern(bool pattern_flag)
sets varyPattern in derived classes that support it
Definition: DDACEDesignCompExp.hpp:156
RealSymMatrix uncertainCorrelations
correlation matrix for all uncertain variables (from the uncertain_correlation_matrix specification i...
Definition: DataVariables.hpp:550
IntResponseMap cachedResponseMap
caching of responses returned by derived_synchronize{,_nowait}() but not matched within current rawEv...
Definition: DakotaModel.hpp:1687
Real prediction_variance(const Variables &vars) override
retrieve the variance of the predicted value for a given parameter set x (KrigingModel only)
Definition: SurfpackApproximation.cpp:573
ShortArray directFnASV
class scope active set vector
Definition: DirectApplicInterface.hpp:203
void update_all_variables_from_model(const Model &model)
update all current variables/bounds/labels with data from model
Definition: SurrogateModel.cpp:566
int ss_diffusion_discrepancy()
difference steady_state_diffusion_1d() across two consecutive resolutions
Definition: TestDriverInterface.cpp:2004
void read_tabular(std::istream &s, unsigned short vars_part=ALL_VARS)
Definition: RelaxedVariables.cpp:150
void copy(const ParallelLevel &pl)
deep copy the attributes of the incoming pl to this object using MPI_Comm_dup to create equivalent co...
Definition: ParallelLibrary.hpp:256
void center_matrix_rows(RealMatrix &mat)
center the incoming matrix rows by their means, in-place
Definition: dakota_data_util.cpp:314
StringMultiArrayConstView inactive_discrete_int_variable_labels() const
return the inactive discrete variable labels
Definition: DakotaVariables.hpp:1529
~DataFitSurrModel()
destructor
Definition: DataFitSurrModel.hpp:506
virtual ~DakotaROLEqConstraintsGrad()
Destructor.
Definition: ROLOptimizer.hpp:479
IntVector priFieldLengths
length of each primary response field
Definition: SharedResponseData.hpp:120
RealVector approxCLowerBnds
approximation continuous lower bounds (used by 3D graphics and Surfpack KrigingModel)
Definition: SharedApproxData.hpp:260
const String & command_line_pre_run_input() const
preRunInput filename
Definition: ParallelLibrary.hpp:1346
static StringArray tokenize_driver(const String &user_an_driver)
tokenize a white-space separated analysis driver, respecting escapes and nested quotes
Definition: WorkdirHelper.cpp:276
bool resize()
reinitializes iterator based on new variable size
Definition: NonDEnsembleSampling.cpp:168
void initialize_multipliers()
initialize Lagrange multipliers in the case of nonlinear constraints
Definition: EffGlobalMinimizer.cpp:129
Container class for active set tracking information. Contains the active set request vector and the d...
Definition: DakotaActiveSet.hpp:31
virtual unsigned short active_surrogate_model_form(size_t i) const
return the model form of the i-th active surrogate model
Definition: DakotaModel.cpp:3534
int min_points(bool constraint_flag) const
return the minimum number of points required to build the approximation type in numVars dimensions....
Definition: DakotaApproximation.cpp:1011
size_t acv() const
total number of continuous vars
Definition: DakotaVariables.hpp:773
UShortMultiArrayConstView discrete_real_variable_types() const
return the active discrete variable types from currentVariables
Definition: DakotaModel.hpp:2028
Model & subordinate_model()
return subModel
Definition: NestedModel.hpp:467
void update_distributions_from_model(const Model &model)
update current random variable distributions with data from model
Definition: SurrogateModel.cpp:480
void rebuild()
rebuilds the approximation incrementally
Definition: C3Approximation.cpp:487
~NonDExpansion()
destructor
Definition: NonDExpansion.cpp:122
void print_options()
Print the Surrogate's configOptions.
Definition: SurrogatesBase.cpp:65
void build_surrogate()
Build surrogate over active subspace.
Definition: ActiveSubspaceModel.cpp:1103
bool resize()
reinitializes iterator based on new variable size
Definition: NonDInterval.cpp:84
int log_ratio()
the log_ratio UQ test function
Definition: TestDriverInterface.cpp:2481
size_t samplesRef
reference number of samples updated for refinement
Definition: NonDSampling.hpp:305
PStudyDACE(ProblemDescDB &problem_db, Model &model)
constructor
Definition: DakotaPStudyDACE.cpp:26
AdaptedBasisModel(ProblemDescDB &problem_db)
Problem database constructor.
Definition: AdaptedBasisModel.cpp:24
UShortArray approxSet
MFMC uses all approximations within numApprox; this array supports this case for functions that are g...
Definition: NonDMultifidelitySampling.hpp:172
double computeLogOfNormalizationFactor(unsigned int numSamples, bool m_logOfNormalizationFactor) const
Computes the logarithm of the normalization factor.
Definition: QUESOImpl.cpp:58
void discrete_real_variable_type(unsigned short drv_type, size_t index)
set an active discrete real variable type
Definition: DakotaVariables.hpp:1378
void derived_broadcast()
perform any data processing that must be coordinated with DB buffer broadcasting (performed prior to ...
Definition: NIDRProblemDescDB.cpp:217
void field_lengths(const IntVector &field_lens)
set field lengths (e.g., if experiment different from simulation)
IntVector hyperGeomUncSelectedPop
Size of selected populations for the hypergeometric uncertain variables from the selected_population ...
Definition: DataVariables.hpp:497
UShortMultiArrayConstView all_continuous_variable_types() const
return all continuous variable types from currentVariables
Definition: DakotaModel.hpp:2262
SizetArray NLev
number of samples allocated to each level of a discretization/model hierarchy within multilevel/multi...
Definition: NonDExpansion.hpp:459
RealVector linearIneqLowerBnds
lower bounds for the linear inequality constraints (from the linear_inequality_lower_bounds specifica...
Definition: DataVariables.hpp:813
HOPSPACK::ParameterList * linearParams
Pointer to APPS linear constraint parameter sublist.
Definition: APPSOptimizer.hpp:188
Real collocationRatio
ratio of number of points to nuber of unknowns
Definition: DataModel.hpp:458
void shallow_add(const Variables &vars, const IntResponsePair &response_pr, bool anchor)
add variables/response data to functionSurfaces using a shallow copy
Definition: ApproximationInterface.cpp:814
static void nlf2_evaluator(int mode, int n, const RealVector &x, double &f, RealVector &grad_f, RealSymMatrix &hess_f, int &result_mode)
objective function evaluator function which provides function values, gradients, and Hessians to OPT+...
Definition: SNLLOptimizer.cpp:932
UInt32Vector generatingVector
Generating vector of this rank-1 lattice rule.
Definition: Rank1Lattice.hpp:83
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: APPSOptimizer.hpp:60
void pack(const long *data, const int num=1)
Pack one or more long's.
const std::tuple< UInt64Matrix, int, int > get_inline_generating_matrices(ProblemDescDB &problem_db)
Case II: the generating matrices are provided in the input file.
Definition: DigitalNet.cpp:462
~ProcessApplicInterface()
destructor
Definition: ProcessApplicInterface.cpp:204
IntIntMap simIdMap
map from userDefinedInterface evaluation ids to SimulationModel ids (may differ in case where the sam...
Definition: SimulationModel.hpp:209
NPSOLTraits()
default constructor
Definition: NPSOLOptimizer.hpp:54
virtual void post_process_final_results()
perform final post-processing
Definition: NonDGlobalInterval.cpp:531
int chainSamples
number of samples in the chain (e.g. number of MCMC samples); for iterative update cycles,...
Definition: NonDBayesCalibration.hpp:309
std::vector< ParLevLIter > miPLIters
list iterator for world level followed by any concurrent iterator partitions (there may be multiple p...
Definition: ParallelLibrary.hpp:484
int batchIdCntr
maintain a count of the batches
Definition: ApplicationInterface.hpp:214
Model parentModel
Original model, before branching.
Definition: PEBBLBranching.hpp:24
bool apreproFlag
flag indicating use of the APREPRO (the Sandia "A PRE PROcessor" utility) format for parameter files
Definition: ProcessApplicInterface.hpp:160
static void negloglik(int mode, int n, const Teuchos::SerialDenseVector< int, double > &X, Real &fx, Teuchos::SerialDenseVector< int, double > &grad_x, int &result_mode)
static function used by OPT++ as the objective function to optimize the hyperparameters in the covari...
Definition: GaussProcApproximation.cpp:927
void peer_dynamic_schedule_evaluations_nowait()
execute a nonblocking dynamic schedule in a peer partition
Definition: ApplicationInterface.cpp:1852
short exportMCMCFormat
output formatting options for MCMC export
Definition: NonDBayesCalibration.hpp:526
RealVector normalUncLowerBnds
distribution lower bounds for the normal uncertain variables (from the lower_bounds specification in ...
Definition: DataVariables.hpp:314
LINEAR_INEQUALITY_FORMAT linear_inequality_format()
Return the format used for linear inequality constraints.
Definition: DOTOptimizer.hpp:67
void discrete_real_variable_label(const String &drv_label, size_t index)
set an active discrete real variable label
Definition: DakotaVariables.hpp:1177
bool zeros(const SizetArray &N_m) const
return true if N_m is empty or only populated with zeros
Definition: DakotaNonD.hpp:702
int curr()
Returns the number of bytes that have been unpacked from the buffer.
Definition: MPIPackBuffer.hpp:209
String subModelPointer
string pointer for a sub-model specification used by a meta-iterator
Definition: DataMethod.hpp:371
size_t numNonlinearIneqConstraints
number of nonlinear inequality constraints
Definition: DakotaMinimizer.hpp:252
RealVector origTrustRegionFactor
original user specification for trust region initial_size
Definition: SurrBasedLocalMinimizer.hpp:199
void compute_off_diagonal_covariance()
calculate off diagonal terms in respCovariance(i,j) for j<i for the expansion indicated by statsMetri...
Definition: NonDExpansion.hpp:752
virtual Real average_estimator_variance(const RealVector &cd_vars)
helper function that supports optimization APIs passing design variables
Definition: NonDNonHierarchSampling.cpp:1919
Derived application interface class which spawns simulation codes using grid services such as Condor ...
Definition: GridApplicInterface.hpp:39
GaussProcApproximation()
default constructor
Definition: GaussProcApproximation.hpp:277
void augment_linear_ineq_constraints(RealMatrix &lin_ineq_coeffs, RealVector &lin_ineq_lb, RealVector &lin_ineq_ub)
augment linear inequality constraints as required by derived algorithm
Definition: NonDGenACVSampling.cpp:1205
Variables(const ProblemDescDB &problem_db)
standard constructor (explicit disallows its use for implicit type conversion)
unsigned short expansionOrder
the expansion_order specification in MethodNonDPCE
Definition: DataMethod.hpp:1003
RealVector solution_level_costs() const
return all cost estimates from solnCntlCostMap
Definition: SimulationModel.cpp:405
void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: PSUADEDesignCompExp.cpp:162
SimulationModel(ProblemDescDB &problem_db)
constructor
Definition: SimulationModel.cpp:23
int DAKOTA_DLL_FN dakota_readInput(int id, const char *dakotaInput)
command DakotaRunner instance id to read from file dakotaInput
Definition: dakota_dll_api.cpp:249
const RealRealPairRealMapArray & get_rrrma(const String &entry_name) const
get a RealRealPairRealMapArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1881
virtual int derived_evaluation_id() const
Return the value of the evaluation id counter for the Model.
Definition: DakotaModel.cpp:5932
short mode() const
return quadMode
Definition: NonDQuadrature.hpp:325
virtual const IntResponseMap & all_responses() const
return the complete set of computed responses
Definition: DakotaIterator.cpp:1818
size_t one_sided_delta(Real current, Real target, Real relax_factor=1.)
compute a one-sided sample increment for multilevel methods to move current sampling level to a new t...
Definition: DakotaNonD.hpp:549
void gradient(std::vector< Real > &g, const std::vector< Real > &x, Real &tol) override
Function to return the response gradient to ROL.
Definition: ROLOptimizer.cpp:546
int samplesSpec
initial specification of number of samples
Definition: FSUDesignCompExp.hpp:83
void reshape(size_t num_fns)
reshape the data, disconnecting a shared rep if necessary
String runInput
filename for run input
Definition: ProgramOptions.hpp:259
std::list< DataInterface > dataInterfaceList
list of interface specifications, one for each call to interface_kwhandler() or insert_node()
Definition: ProblemDescDB.hpp:391
bool resize()
reinitializes iterator based on new variable size
Definition: FSUDesignCompExp.cpp:175
SurrogatesGPApprox()
default constructor
Definition: DakotaSurrogatesGP.hpp:32
void apply_linear_constraints(const Model &model, CONSTRAINT_EQUALITY_TYPE etype, const VecT &in_vals, VecT &values, bool adjoint=false)
Definition: DakotaOptimizer.hpp:340
RealVector origNonlinIneqLowerBnds
original nonlinear inequality constraint lower bounds (no relaxation)
Definition: SurrBasedMinimizer.hpp:164
IntVector generatingVector
Inline generating vector of the rank-1 lattice rule.
Definition: DataMethod.hpp:903
void suppress_output_flag(const bool flag)
set the suppressOutputFlag
Definition: CommandShell.hpp:111
Objects of this class are called by boost::appy_visitor to add attributes to HDF5 objects.
Definition: ResultsDBHDF5.hpp:60
ProblemDescDB * Dak_pddb
set by ProblemDescDB, for use in parsing
Definition: dakota_global_defs.cpp:80
double estimatedNuggetValue
Estimated nugget term.
Definition: SurrogatesGaussianProcess.hpp:354
Performs Hierarch Monte Carlo sampling for uncertainty quantification.
Definition: NonDHierarchSampling.hpp:26
Stationary kernel with C^2 smooth realizations.
Definition: SurrogatesGPKernels.hpp:154
short ssgDriverType
type of sparse grid driver: combined, incremental, hierarchical, ...
Definition: NonDSparseGrid.hpp:138
bool surrBasedLocalLayerBypass
flag to indicate user-specification of a bypass of any/all layerings in evaluating truth response val...
Definition: DataMethod.hpp:433
void populate_method_list(ProblemDescDB &problem_db)
extract list of methods from problem database
Definition: TrackerHTTP.cpp:178
bool resize()
reinitializes iterator based on new variable size
Definition: NonDStochCollocation.cpp:301
virtual void check_sub_iterator_conflict()
detect any conflicts due to recursive use of the same Fortran solver
Definition: DakotaIterator.cpp:1763
bool valid_cost_values(const RealVector &cost)
test cost for valid values > 0
Definition: DakotaNonD.cpp:540
unsigned updateType
type of CG direction update
Definition: NonlinearCGOptimizer.hpp:105
std::list< ActiveSet > setList
if estimate_derivatives() is used, transfers ActiveSets from evaluate_nowait() to synchronize()
Definition: DakotaModel.hpp:1650
int numNuggetTerms
Number of terms for the (estimated) nugget parameter.
Definition: SurrogatesGaussianProcess.hpp:435
void free_communicators(ParLevLIter pl_iter)
free the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1313
~SensAnalysisGlobal()
destructor
Definition: SensAnalysisGlobal.hpp:304
void build()
builds the approximation from scratch
Definition: C3Approximation.cpp:175
void update_anisotropic_order(const RealVector &dim_pref, UShortArray &quad_order_ref)
update quad_order_ref based on an updated dimension preference, enforcing previous values as a lower ...
Definition: NonDQuadrature.cpp:458
void set_communicators_checks(int max_eval_concurrency)
Definition: ProcessHandleApplicInterface.hpp:181
void overlay_proposal_covariance(QUESO::GslMatrix &full_prop_cov) const
fill the full proposal covariance, inlcuding hyperparameter entries with user-specified or default th...
Definition: NonDGPMSABayesCalibration.cpp:343
short buildDataOrder
order of the data used for surrogate construction, in ActiveSet request vector 3-bit format.
Definition: SharedApproxData.hpp:238
void discrepancy_emulation_mode(short mode)
update the subModel's discrepancy emulation mode
Definition: RecastModel.hpp:903
bool supports_linear_equality()
Return flag indicating ROL supports linear equalities.
Definition: ROLOptimizer.hpp:152
void post_process_response_fn_results()
post-process the interval computed for a response function
Definition: NonDGlobalEvidence.cpp:69
int enroll_done
finished enrolling
Definition: CommandLineHandler.hpp:115
std::shared_ptr< QUESO::GPMSAFactory< QUESO::GslVector, QUESO::GslMatrix > > gpmsaFactory
core factory that manages a GP-based likelihood
Definition: NonDGPMSABayesCalibration.hpp:150
Base class for NonD, DACE, and ParamStudy branches of the iterator hierarchy.
Definition: DakotaAnalyzer.hpp:29
COLINOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: COLINOptimizer.cpp:241
void evaluate_levels(IntRealMatrixMap &sum_Ql, IntRealMatrixMap &sum_Qlm1, IntIntPairRealMatrixMap &sum_QlQlm1, RealVector &cost, Sizet2DArray &N_actual_pilot, Sizet2DArray &N_actual_online, SizetArray &N_alloc_pilot, SizetArray &N_alloc_online, SizetArray &delta_N_l, RealMatrix &var_Y, RealMatrix &var_qoi, RealVector &eps_sq_div_2, bool increment_cost, bool pilot_estvar)
helper for shared code among offline-pilot and pilot-projection modes
Definition: NonDMultilevelSampling.cpp:455
VectorXd GramResidualSolution
Cholesky solve for Gram matrix with trendTargetResidual rhs.
Definition: SurrogatesGaussianProcess.hpp:381
void resolve_real_variable_mapping(const String &map1, const String &map2, size_t curr_index, short &inactive_sm_view)
for a named real mapping, resolve primary index and secondary target
Definition: NestedModel.cpp:890
std::vector< double > nonlinearEqConstraintMapMultipliers
multipliers for constraint transformations - may not be needed? - RWH
Definition: DakotaTPLDataTransfer.hpp:157
RealList linIneqConMappingOffsets
a list of offsets for mapping the DAKOTA linear inequality constraints to the corresponding NOWPAC co...
Definition: NOWPACOptimizer.hpp:88
void get_points(RealMatrix &points)
Get points from this low-discrepancy generator This function will store the points in-place in the ma...
Definition: LowDiscrepancySequence.hpp:56
void post_run(std::ostream &s)
Definition: DakotaLeastSq.cpp:288
bool check_multiplicative(const RealVector &truth_fns, const RealVector &approx_fns)
define badScalingFlag
Utility used in derived write_core to write in aprepro format.
Definition: DakotaVariables.hpp:58
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: NomadOptimizer.hpp:83
void compute_basis_matrix(const MatrixXd &samples, MatrixXd &basis_matrix) const
Constructs a basis matrix for a set of samples according to the member variable basisIndices.
Definition: SurrogatesPolynomialRegression.cpp:59
static void RIA_constraint_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the constraint function in the Reliability Index Approach (RIA) problem formu...
Definition: NonDLocalReliability.cpp:1939
size_t idiv() const
number of inactive discrete int vars
Definition: DakotaVariables.hpp:749
RealVector gradDiff
temporary for gradient difference (gradCurr - gradPrev)
Definition: NonlinearCGOptimizer.hpp:131
void decrement_set()
invokes SparseGridDriver::pop_set()
Definition: NonDSparseGrid.hpp:226
void scale_model()
Wrap iteratedModel in a RecastModel that performs variable and/or response scaling.
Definition: DakotaMinimizer.cpp:460
~SNLLLeastSq()
destructor
Definition: SNLLLeastSq.cpp:213
~SysCallApplicInterface()
destructor
Definition: SysCallApplicInterface.hpp:90
void update_model_active_variables(Model &model)
update incoming (sub-)model with active values from currentVariables
Definition: DakotaModel.cpp:2969
PebbldBranching * globalPtr
Pointer referring to all info passed to subproblem.
Definition: PEBBLBranching.hpp:53
NonDLocalSingleInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLocalSingleInterval.cpp:16
Model minMaxModel
recast model which extracts the active objective function
Definition: NonDLocalInterval.hpp:84
RealVector nlnEqScales
nonlinear equality constraint scale values
Definition: ScalingOptions.hpp:50
void accumulate_blue_sums(IntRealMatrixArrayMap &sum_G, IntRealSymMatrix2DArrayMap &sum_GG, Sizet2DArray &num_G, const IntResponse2DMap &batch_resp_map)
Definition: NonDMultilevBLUESampling.cpp:1196
void array_allocate(const StrStrSizet &iterator_id, const std::string &data_name, size_t array_size, const MetaDataType &metadata)
allocate an entry with sized array of the StoredType, e.g., array across response functions or optimi...
Definition: ResultsDBBase.hpp:185
~NonDQuadrature()
destructor
Definition: NonDQuadrature.cpp:156
~NonDSurrogateExpansion()
destructor
Definition: NonDSurrogateExpansion.cpp:106
String nichingType
The niching type.
Definition: DataMethod.hpp:712
void get_vbd_parameter_sets(Model &model, size_t num_samples)
generate replicate parameter sets for use in variance-based decomposition
Definition: DakotaAnalyzer.cpp:488
const IntResponse2DMap & synchronize_batches(Model &model, bool log_best_flag=false)
perform function evaluations to map a keyed batch of parameter sets (allVariablesMap[key]) into a cor...
Definition: DakotaAnalyzer.cpp:342
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
reset sampling iterator to use at least min_samples
Definition: PSUADEDesignCompExp.hpp:115
std::map< Real, RealVector > bestSamples
container for managing best MCMC samples (points and associated log posterior) collected across multi...
Definition: NonDBayesCalibration.hpp:473
virtual NONLINEAR_EQUALITY_FORMAT nonlinear_equality_format()
Return the format used for nonlinear equality constraints.
Definition: DakotaTraitsBase.hpp:70
RealSetArray activeDiscSetRealValues
aggregation of the admissible value sets for all active discrete set real variables
Definition: DakotaModel.hpp:1700
const RealVector & linear_ineq_constraint_upper_bounds() const
return the linear inequality constraint upper bounds
Definition: DakotaModel.hpp:3411
size_t icv_index_to_all_index(size_t ccv_index) const
convert index within inactive continuous variables to index within aggregated variables (all continou...
Definition: SharedVariablesData.hpp:1131
static void PMA_objective_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the objective function in the Performance Measure Approach (PMA) problem form...
Definition: NonDLocalReliability.cpp:1967
void archive_best_variables(const bool active_only=false) const
archive best variables for the index'th final solution
Definition: DakotaMinimizer.cpp:760
virtual void post_process_samples()=0
post-process the output from executing lhsSampler
void recursive_apply(const Variables &vars, Response &resp)
helper function for applying a correction across a sequence of model forms or discretization levels
Definition: EnsembleSurrModel.cpp:2289
size_t maxCVRankCandidates
maximum number of cross-validation candidates for adaptRank
Definition: DataMethod.hpp:845
NLPQLPTraits()
default constructor
Definition: NLPQLPOptimizer.hpp:71
size_t cv_start() const
start index of active continuous vars
Definition: DakotaVariables.hpp:713
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: ParamStudy.cpp:258
StringArray algebraicVarTags
set of variable tags from AMPL stub.col
Definition: DakotaInterface.hpp:464
int worldRank
processor rank within MPI_COMM_WORLD
Definition: ApplicationInterface.hpp:403
static void approx_subprob_constraint_eval(const Variables &surrogate_vars, const Variables &recast_vars, const Response &surrogate_response, Response &recast_response)
static function used to define the approximate subproblem constraints.
Definition: SurrBasedLocalMinimizer.cpp:1201
size_t numNormalUncVars
number of normal uncertain variables (from the normal_uncertain specification in VarAUV)
Definition: DataVariables.hpp:119
void function_hessian(const RealSymMatrix &assign_hessian, size_t fn_index, const SizetArray &assign_dvv)
set a function Hessian, managing dissimilar DVV
int text_book_ouu()
the text_book_ouu OUU test function
Definition: TestDriverInterface.cpp:3573
virtual Real covariance_determinant() const
covariance determinant for one experiment (default 1.0)
bool model_locked() const
return modelDBLocked
Definition: ProblemDescDB.hpp:651
Container class for the data associated with a single level of communicator partitioning.
Definition: ParallelLibrary.hpp:29
const ShortArray & nested_acv2_targets() const
return secondaryACVarMapTargets
Definition: EnsembleSurrModel.hpp:531
std::map< Pecos::ActiveKey, DiscrepancyCorrection > deltaCorr
manages construction and application of correction functions that are applied to a surrogate model in...
Definition: EnsembleSurrModel.hpp:421
SizetMultiArrayConstView all_discrete_string_variable_ids() const
return all discrete string variable position identifiers
Definition: DakotaVariables.hpp:1789
bool exportSurrogate
whether to export final surrogates
Definition: DakotaIterator.hpp:545
const Interface & get_interface()
retrieve an existing Interface, if it exists, or instantiate a new one
Definition: ProblemDescDB.cpp:1117
void inverse_transform_variables(const Variables &sub_model_vars, Variables &recast_vars)
perform inverse transformation of Variables (sub-model --> recast)
Definition: RecastModel.cpp:617
bool special(const MPI_Comm &comm)
test comm for special identity that cannot be deallocated
Definition: ParallelLibrary.hpp:162
bool multiProcEvalFlag
flag for multiprocessor evaluation partitions (evalComm)
Definition: DakotaInterface.hpp:423
void analytic_delta_level_mappings(const RealVector &level_maps_ref, RealVector &level_maps_new)
update analytic level mappings; this uses a lightweight approach for incremental statistics (no deriv...
Definition: NonDStochCollocation.cpp:1013
short krigingFindNugget
option to have Kriging find the best nugget value to use
Definition: DataModel.hpp:246
void update_projected_samples(const RealVector &hf_targets, const RealVectorArray &eval_ratios, const Sizet2DArray &N_actual_hf, SizetArray &N_alloc_hf, const RealVector &hf_cost, const Sizet2DArray &N_actual_lf, SizetArray &N_alloc_lf, const RealVector &lf_cost, SizetArray &delta_N_actual_hf, Real &delta_equiv_hf)
for pilot projection mode, advance sample counts and accumulated cost
Definition: NonDMultilevControlVarSampling.cpp:1330
std::list< DataVariables >::iterator dataVariablesIter
iterator identifying the active list node in dataVariablesList
Definition: ProblemDescDB.hpp:483
void compute_analytic_statistics()
analytic portion of compute_statistics() from post-processing of expansion coefficients (used for FIN...
Definition: NonDExpansion.cpp:2958
void init_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
allocate communicator partitions for a model and store configuration in modelPCIterMap
Definition: DakotaModel.cpp:4702
NonlinearCGTraits()
default constructor
Definition: NonlinearCGOptimizer.hpp:28
int mogatest2()
MOP2? from Van Veldhuizen, pp. 5-13.
Definition: TestDriverInterface.cpp:3897
VectorXd betaValues
Vector of polynomial coefficients.
Definition: SurrogatesGaussianProcess.hpp:351
bool echoInput
whether to echo client's input file at parse
Definition: ProgramOptions.hpp:229
RealVector initialCVPoint
the continuous start point for vector and centered parameter studies
Definition: ParamStudy.hpp:197
void update(ParConfigLIter pc_iter)
update schedPCIter
Definition: IteratorScheduler.hpp:264
int numPartitions
number of partitions to pass to PSUADE (levels = partitions + 1)
Definition: PSUADEDesignCompExp.hpp:84
void barrier_e()
enforce MPI_Barrier on an evaluation communicator
Definition: ParallelLibrary.hpp:1931
Real malaStepSize
MALA step size.
Definition: DataMethod.hpp:1372
RealMatrix fnGrads
response fn gradients w/i direct simulator fns
Definition: DirectApplicInterface.hpp:208
ParamResponsePair()
default constructor
Definition: ParamResponsePair.hpp:171
void attach_scales(const String &dset_name, const StrStrSizet &iterator_id, const StringArray &location, const DimScaleMap &scales)
Attach a scale to a dataset.
Definition: ResultsDBHDF5.cpp:230
virtual bool Evaluate(Design &des)
This method cannot be used!!
Definition: JEGAOptimizer.cpp:382
size_t numIDSV
number of inactive discrete string variables
Definition: SharedVariablesData.hpp:271
void mode_bits(const Variables &vars, BitArray &active_vars, BitArray &active_corr) const
define subset views for sampling modes
Definition: NonDSampling.cpp:768
Surrogate()
Constructor that uses defaultConfigOptions and does not build.
Definition: SurrogatesBase.cpp:18
RealVector nonlinIneqUpperBndsSlack
individual violations of nonlinear inequality constraint upper bounds
Definition: SurrBasedLocalMinimizer.hpp:233
short combineType
type of discrepancy calculation: additive, multiplicative, or both
Definition: SharedC3ApproxData.hpp:280
RealVector dimPrefSpec
user specification for dimension_preference
Definition: NonDExpansion.hpp:418
void init_dace_iterator(ProblemDescDB &problem_db)
initialize the RF-generating sampler
Definition: RandomFieldModel.cpp:59
bool is_null() const
return dummyFlag
Definition: ParallelLibrary.hpp:1055
MatrixXd compute_first_deriv_pred_gram(const MatrixXd &pred_gram, const std::vector< MatrixXd > &mixed_dists, const VectorXd &theta_values, const int index) override
Compute the first derivatve of the prediction matrix for a given component.
Definition: SurrogatesGPKernels.cpp:39
Real kappaEstimatorRate
rate parameter for allocation by ESTIMATOR_VARIANCE in multilevel_regression()
Definition: NonDExpansion.hpp:465
RealVector paramMaxs
upper bounds on calibrated parameters
Definition: NonDDREAMBayesCalibration.hpp:91
void surrogate_function_indices(const SizetSet &surr_fn_indices)
(re)set the surrogate index set in SurrogateModel::surrogateFnIndices and ApproximationInterface::app...
Definition: DataFitSurrModel.hpp:790
virtual bool requires_bounds()
Return the flag indicating whether method requires bounds.
Definition: DakotaTraitsBase.hpp:54
virtual void sampling_reference(size_t samples_ref)
set reference number of samples, which is a lower bound during reset
Definition: DakotaIterator.cpp:1701
size_t numDiscreteStateSetIntVars
number of discrete state variables defined by a set of integers (from the discrete_state_set integer ...
Definition: DataVariables.hpp:200
short varsDomain
user selection/override of variables domain: {DEFAULT,MIXED,RELAXED}_DOMAIN
Definition: DataVariables.hpp:98
bool force_rebuild()
determine whether a surrogate model rebuild should be forced based on changes in the inactive data
Definition: EnsembleSurrModel.hpp:540
bool active() const
whether any databases are active
Definition: ResultsManager.cpp:26
void split_communicator_dedicated_master(const ParallelLevel &parent_pl, ParallelLevel &child_pl)
split a parent communicator into a dedicated master processor and num_servers child communicators
Definition: ParallelLibrary.cpp:583
void deallocate_workspace()
Releases workspace memory.
Definition: CONMINOptimizer.cpp:212
void get_options(ParameterList &options)
Get the Surrogate's configOptions.
Definition: SurrogatesBase.cpp:63
const Iterator & get_iterator()
retrieve an existing Iterator, if it exists in iteratorList, or instantiate a new one
Definition: ProblemDescDB.cpp:939
void variables_array_to_samples(const VariablesArray &vars_array, RealMatrix &sample_matrix)
convert variables array to samples array; e.g., allVariables to allSamples
Definition: DakotaAnalyzer.cpp:471
boost::tuple< bfs::path, bfs::path, bfs::path > PathTriple
Triplet of filesystem paths: e.g., params, results, workdir.
Definition: ProcessApplicInterface.hpp:30
const RealMatrix & callback_linear_ineq_coefficients() const
return linear constraint coefficients for this iterator (user-functions mode for which iteratedModel ...
Definition: SNLLOptimizer.hpp:412
bool supports_nonlinear_inequality()
Return flag indicating ROL supports nonlinear inequalities.
Definition: ROLOptimizer.hpp:165
void serial_interface_plugin(Dakota::LibraryEnvironment &env)
Convenience function with simplest example of interface plugin: plugin a serial DirectApplicInterface...
Definition: library_mode.cpp:387
void update_penalty(const RealVector &fns_center_truth, const RealVector &fns_star_truth)
initialize and update the penaltyParameter
Definition: SurrBasedLocalMinimizer.cpp:978
String rfDataFileName
File from which to build the random field.
Definition: DataModel.hpp:498
const Pecos::SurrogateData & surrogate_data() const
return approxData
Definition: DakotaApproximation.hpp:438
size_t core_refinement(Real &metric, bool revert=false, bool print_metric=true)
advance the refinement strategy one step
Definition: NonDExpansion.cpp:1058
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: SurrBasedGlobalMinimizer.hpp:48
unsigned short covarianceForm
form of the analytic covariance function
Definition: RandomFieldModel.hpp:180
OPTPP::MeritFcn meritFn
enum: NormFmu, ArgaezTapia, or VanShanno
Definition: SNLLBase.hpp:141
SizetArray collocationPointsSeq
the collocation_points_sequence specification in MethodNonDPCE
Definition: DataMethod.hpp:992
virtual void derived_map_asynch(const ParamResponsePair &pair)
Called by map() and other functions to execute the simulation in asynchronous mode....
Definition: ApplicationInterface.hpp:609
bool evaluation_cache(bool recurse_flag=true) const
if recurse_flag, return the subModel evaluation cache usage
Definition: RecastModel.hpp:1144
friend class PebbldMinimizer
PEBBLMinimizer requires access to get_iterator()
Definition: ProblemDescDB.hpp:84
UnsignedArrayType matmul_base2(UnsignedArrayType A, UnsignedArrayType B)
Matrix matrix multiplication in base 2.
Definition: dakota_bit_utils.hpp:88
TPLDataTransfer()
default constructor
Definition: DakotaTPLDataTransfer.cpp:25
ApplicationInterface(const ProblemDescDB &problem_db)
constructor
Definition: ApplicationInterface.cpp:26
Base class for all nondetermistic iterators (the DAKOTA/UQ branch).
Definition: DakotaNonD.hpp:29
~ParallelLibrary()
destructor
Definition: ParallelLibrary.cpp:1210
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: NOWPACOptimizer.hpp:169
void prior_proposal_covariance()
use covariance of prior distribution for setting proposal covariance
Definition: NonDQUESOBayesCalibration.cpp:718
UInt32 bitreverse(UInt32 k)
Reverse bits of unsigned 32 bit integer.
Definition: dakota_bit_utils.hpp:42
void inactive_view(short view2)
sets the inactive view based on higher level context
Definition: DakotaConstraints.cpp:283
~Pybind11Interface()
destructor
Definition: Pybind11Interface.cpp:71
const RealVector & moments() const
return primary moments using Pecos::PolynomialApproximation::moments()
Definition: PecosApproximation.hpp:674
OutputManager & outputManager
Non-const output handler to help with file redirection.
Definition: ParallelLibrary.hpp:1012
bool numericalIssuesRank
flag indicating numerical issues in partial rank correlation calculations
Definition: SensAnalysisGlobal.hpp:271
MPI_Comm hubServerInterComm
intercomm. between a server & the hub (on server partitions only)
Definition: ParallelLibrary.hpp:135
driver_t oFilterType
enum type of the direct function output filter
Definition: DirectApplicInterface.hpp:145
Manage interactions between ResultsManager and the low-level HDFIOHelper class.
Definition: ResultsDBHDF5.hpp:155
const char * buf()
Returns a pointer to the internal buffer.
Definition: MPIPackBuffer.hpp:205
void construct_batch_exploration(size_t new_expl, size_t new_batch)
construct a batch of points from performing exploration cycles
Definition: EffGlobalMinimizer.cpp:437
IntSet sysCallSet
set of function evaluation id's for active asynchronous system call evaluations
Definition: SysCallApplicInterface.hpp:83
void initialize()
perform any required initialization
Definition: NonDLHSEvidence.cpp:28
long timeoutSeconds
seconds until the request will timeout (may have issues with signals)
Definition: TrackerHTTP.hpp:119
String selectionPressure
the fitness_type specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:640
void update_model_from_samples()
publish numSamplesOnModel update to the DataFitSurrModel instance
Definition: NonDExpansion.cpp:1917
void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to RecastModel (forward to subModel.evaluate())
Definition: SubspaceModel.cpp:332
short convergenceToleranceTarget
the convergence_tolerance_target selection in MethodMultilevelMC
Definition: DataMethod.hpp:1146
void archive_cps_vars(const Model &model, size_t idx) const
specialized per-variable slice output for centered param study
Definition: ParamStudy.cpp:1153
void compute_error_estimates(const IntRealMatrixMap &sum_Ql, const IntRealMatrixMap &sum_Qlm1, const IntIntPairRealMatrixMap &sum_QlQlm1, const Sizet2DArray &num_Q)
populate finalStatErrors for MLMC based on Q sums
Definition: NonDMultilevelSampling.cpp:1957
void write(std::ostream &s) const
write a DataInterfaceRep object to an std::ostream
Definition: DataMethod.cpp:592
void insert(const StrStrSizet &iterator_id, const std::string &data_name, const StoredType &sent_data, const MetaDataType metadata=MetaDataType())
insert data
Definition: ResultsManager.hpp:243
~ParallelDirectApplicInterface()
destructor
Definition: PluginParallelDirectApplicInterface.hpp:88
int local_eval_concurrency()
return userDefinedInterface asynchronous evaluation concurrency
Definition: SimulationModel.hpp:337
virtual bool push_available()
queries availability of pushing data associated with a trial set
Definition: SharedApproxData.cpp:348
void derived_synchronize_competing()
called from derived_synchronize() for case of distinct models/interfaces with competing LF/HF job que...
Definition: EnsembleSurrModel.cpp:1133
Definition: ReducedBasis.hpp:30
bool nestedRules
flag for indicating state of nested and non_nested overrides of default rule nesting,...
Definition: NonDExpansion.hpp:480
virtual VectorXd value(const MatrixXd &eval_points, const int qoi)=0
Evaluate the Surrogate at a set of prediction points for a single QoI.
void set_db_list_nodes(const String &method_tag)
set dataMethodIter based on a method identifier string to activate a particular method specification ...
Definition: ProblemDescDB.cpp:434
const Model & algorithm_space_model() const
Definition: NonDExpansion.hpp:683
void close()
close graphics windows
Definition: DakotaGraphics.cpp:316
RealVector minX
vector of minimum param values used for offset/scaling
Definition: TANA3Approximation.hpp:83
int DAKOTA_DLL_FN get_mc_ptr_int()
get the DAKOTA pointer to ModelCenter
Definition: dakota_dll_api.cpp:304
short dataOrder
order of the data used for surrogate construction, in ActiveSet request vector 3-bit format; user may...
Definition: EffGlobalMinimizer.hpp:283
void assign_rep(std::shared_ptr< Interface > interface_rep)
assign letter or replace existing letter with a new one
Definition: DakotaInterface.cpp:370
virtual void insert_metadata(const RealArray &md, size_t position, Response &agg_response)
insert a single response into an aggregated response in the specified position
Definition: SurrogateModel.cpp:1153
IntSet hessIdAnalytic
analytic id's for mixed Hessians
Definition: DakotaModel.hpp:1468
void writex(const char[])
Writes out the current training set (in original units) to a specified file.
Definition: GaussProcApproximation.cpp:1264
size_t numFieldResponseFunctions
field_responses: number of response functions which are field-valued
Definition: DataResponses.hpp:102
size_t numICV
number of inactive continuous variables
Definition: SharedVariablesData.hpp:269
bool pressFlag
flag indicating the use of PRESS on the metrics specified
Definition: DataModel.hpp:300
const BoolDeque & primary_response_fn_sense() const
get the optimization sense for multiple objective functions
Definition: DakotaModel.hpp:3686
double * B
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:228
Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: PecosApproximation.hpp:730
void generate_kl_realization()
generate a KL realization and write to file
Definition: RandomFieldModel.cpp:508
size_t mlmfIter
top level iteration counter in adaptive NonDExpansion ML/MF algorithms, allowing special updating log...
Definition: NonDExpansion.hpp:441
virtual void primary_response_fn_weights(const RealVector &wts, bool recurse_flag=true)
set the relative weightings for multiple objective functions or least squares terms
Definition: DakotaModel.cpp:3854
void clear_databases()
Delete all databases.
Definition: ResultsManager.cpp:18
virtual int derived_map_ac(const String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: PythonInterface.cpp:105
virtual const RealVectorArray & approximation_coefficients(bool normalized=false)
retrieve the approximation coefficients from each Approximation within a DataFitSurrModel
Definition: DakotaModel.cpp:4383
RealVector gradPrev
previous gradient
Definition: NonlinearCGOptimizer.hpp:128
BitArray cdsv_to_all_mask() const
create a BitArray indicating the complement discrete string subset of all {continuous,...
Definition: SharedVariablesData.hpp:1329
A version of TraitsBase specialized for NCSU optimizers.
Definition: NCSUOptimizer.hpp:23
RealVectorArray computedRelLevels
output reliability levels for all response functions resulting from requestedRespLevels
Definition: DakotaNonD.hpp:334
void method_recourse(unsigned short method_name)
perform a numerical solver method switch due to a detected conflict
Definition: NonDNonHierarchSampling.cpp:1753
IntActiveSetMap adapterSetMap
map of active set passed to derived_evaluate_nowait(). Caches values needed for evaluation in synchro...
Definition: AdapterModel.hpp:173
void load_experiment(size_t exp_index, std::ifstream &scalar_data_stream, size_t num_field_sigma_matrices, size_t num_field_sigma_diagonals, size_t num_field_sigma_scalars, size_t num_field_sigma_none, Response &exp_resp)
Load a single experiment exp_index into exp_resp.
Definition: ExperimentData.cpp:493
void calc_score_topo_avg_persistence(int respFnCount)
Function to compute the Average Change in Persistence scores for the candidate points Avg_Persistence...
Definition: NonDAdaptiveSampling.cpp:1074
structure for validating integer uncertain variable labels, bounds, values
Definition: NIDRProblemDescDB.cpp:5130
RealMatrix simpleRankCorr
matrix to hold simple rank correlations
Definition: SensAnalysisGlobal.hpp:253
const std::tuple< UInt32Vector, int > get_inline_generating_vector(ProblemDescDB &problem_db)
Case II: the generating vector is provided in the input file.
Definition: Rank1Lattice.cpp:318
short groupThrottleType
type of throttle for mitigating combinatorial growth in numGroups
Definition: NonDMultilevBLUESampling.hpp:255
ModelList filtered_model_list(const String &model_type, const String &interf_type, const String &an_driver)
filter the available Model instances based on matching model type, interface type,...
Definition: LibraryEnvironment.cpp:164
DataVariablesRep()
default constructor
Definition: DataVariables.cpp:16
std::shared_ptr< DataEnvironmentRep > data_rep()
return dataEnvRep
Definition: DataEnvironment.hpp:189
BootstrapSamplerWithGS(const Data &orig_data, Getter getter_method, Setter setter_method)
Constructor with extra arguments for the accessor methods.
Definition: BootstrapSampler.hpp:275
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: VPSApproximation.cpp:3231
Response(BaseConstructor, const Variables &vars, const ProblemDescDB &problem_db)
constructor initializes the base class part of letter classes (BaseConstructor overloading avoids inf...
unsigned short numAdvance
number of frontier expansions per iteration with the ADAPTED_BASIS_EXPANDING_FRONT approach
Definition: NonDPolynomialChaos.hpp:231
bool preprocInput
whether to pre-process input with pyprepro/etc.
Definition: ProgramOptions.hpp:231
void compute_mc_estimator_variance(const RealVector &var_l, const SizetArray &N_l, RealVector &mc_est_var)
compute the variance of the mean estimator (Monte Carlo sample average)
Definition: NonDEnsembleSampling.hpp:322
int smooth_herbie()
returns the N-D smooth herbie function
Definition: TestDriverInterface.cpp:4548
RealVector scX1
vector of scaled x1 values
Definition: QMEApproximation.hpp:86
void compute_moments(const RealVectorArray &fn_samples)
calculates sample moments from a matrix of observations for a set of QoI
Definition: NonDSampling.hpp:443
Graphics & graphics()
retrieve the graphics handler object
Definition: OutputManager.hpp:201
ScaleScope
Enum to specify whether a scale shared among responses.
Definition: dakota_results_types.hpp:228
The QRSolver class solves the linear least squares problem with a QR decomposition.
Definition: UtilLinearSolvers.hpp:192
void resize(const int newsize)
Resizes the internal buffer.
Definition: MPIPackBuffer.cpp:27
int analysisCommRank
processor rank within analysisComm
Definition: ApplicationInterface.hpp:225
void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: NonDReliability.cpp:64
void all_discrete_real_label(const String &drv_label, size_t index)
set discrete real label at index start
Definition: SharedVariablesData.hpp:1480
UInt64Vector digitalShift
Digital shift associated with this digital net.
Definition: DigitalNet.hpp:116
void filter_parameter_sets()
prune allSamples back to size numSamples, retaining points with highest product weight
Definition: NonDQuadrature.cpp:321
Definition: COLINApplication.hpp:32
virtual void single_apply(const Variables &vars, Response &resp, const Pecos::ActiveKey &paired_key)
apply a DiscrepancyCorrection to correct an approximation within an EnsembleSurrModel
Definition: DakotaModel.cpp:4560
const RealVector & expansion_moments() const
return expansion moments from Pecos::PolynomialApproximation
Definition: PecosApproximation.hpp:678
void activate_distribution_parameter_derivatives()
activate derivative setting w.r.t. distribution parameters
Definition: SurrogateModel.hpp:250
UShortArray varPartitions
the partitions specification for PStudy method in MethodPSMPS
Definition: DataMethod.hpp:1393
MatrixXd gradient(const MatrixXd &eval_points)
Evaluate the gradient of the python surrogate at a set of prediction points for QoI index 0.
Definition: SurrogatesPython.hpp:109
RealMatrix trainValues
An array of response values; one response value per sample site.
Definition: GaussProcApproximation.hpp:200
RealVector simVariance
list of variances of errors to be added to simulation responses
Definition: DataResponses.hpp:158
Class for unpacking MPI message buffers.
Definition: MPIPackBuffer.hpp:183
int scalable_monomials()
simple monomials for UQ exactness testing
Definition: TestDriverInterface.cpp:3774
void trans_grad_X_to_S(const RealVector &fn_grad_x, RealVector &fn_grad_s, const RealVector &x_vars)
transform x-space gradient vector to gradient with respect to inserted distribution parameters
Definition: SurrogateModel.hpp:281
virtual void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1304
int required_points()
return points required for build according to pointsManagement mode
Definition: DataFitSurrModel.hpp:581
const RealVector & approximation_variances(const Variables &vars)
retrieve the approximation variances from each Approximation within an ApproximationInterface
Definition: ApproximationInterface.cpp:940
Definition: SurrBasedGlobalMinimizer.hpp:69
int binary_search(T target, Teuchos::SerialDenseVector< O, T > &data)
find the interval containing a target value. This function assumes the data is in ascending order.
Definition: ExperimentDataUtils.hpp:26
virtual Real solution_level_real_value() const
return the active (real) value of the solution control
Definition: DakotaModel.cpp:3815
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NLPQLPOptimizer.hpp:77
virtual void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: DakotaIterator.cpp:1150
int max_procs_per_ea()
compute maximum evaluation partition size based on lower level overrides and concurrency levels
Definition: ProblemDescDB.cpp:1219
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final coefficients and final statistics
Definition: NonDPolynomialChaos.cpp:1250
RealVector lognormalUncStdDevs
standard deviations of the lognormal uncertain variables (from the std_deviations specification in Va...
Definition: DataVariables.hpp:333
void surrogates_to_surf_data()
copy from SurrogateData to SurfPoint/SurfData in surfData
Definition: SurfpackApproximation.cpp:861
Definition: NonDCalibration.hpp:24
void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: PSUADEDesignCompExp.cpp:98
void init_distribution(bool consistent_vars)
initialize mvDist from SharedVariablesData
Definition: RecastModel.cpp:374
BitArray discreteUncSetRealCat
is each dusr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:601
int numRestarts
number of restarts for gradient-based optimization in GP
Definition: DataModel.hpp:268
~Optimizer()
destructor
Definition: DakotaOptimizer.hpp:646
int mf_short_column()
alternate short_column formulations for multifidelity or model form studies
Definition: TestDriverInterface.cpp:2663
void deallocate()
deallocate any pointer allocations
Definition: SNLLOptimizer.cpp:556
int Size
The total size that has been allocated for the buffer.
Definition: MPIPackBuffer.hpp:274
void component_parallel_mode(short mode)
update component parallel mode for supporting parallelism in the low ad high fidelity models
Definition: EnsembleSurrModel.cpp:1912
RealMatrix trainValues
An array of response values; one response value per sample site.
Definition: VPSApproximation.hpp:193
String exportMCMCPtsFile
the file name from the export_mcmc_points_file specification
Definition: DataMethod.hpp:1422
ParallelLibrary & parallelLib
class member reference to the parallel library
Definition: DakotaIterator.hpp:474
size_t sequenceIndex
sequence index for {quadOrder,ssgLevel}SeqSpec
Definition: NonDMultilevelStochCollocation.hpp:90
void assign_mean_data()
update mostProbPointX/U, computedRespLevel, fnGradX/U, and fnHessX/U from ranVarMeansX/U,...
Definition: NonDLocalReliability.cpp:1841
String moduleAndClassName
file containing python module methods used by python surrogates
Definition: DataModel.hpp:316
bool hierarchicalTags
whether this model and its children will add hierarchy-based tags to eval ids
Definition: DataModel.hpp:111
void read(MPIUnpackBuffer &s)
read a ParallelLevel object from a packed MPI buffer
Definition: ParallelLibrary.hpp:360
bmi::multi_index_container< Dakota::ParamResponsePair, bmi::indexed_by< bmi::ordered_non_unique< bmi::tag< ordered >, bmi::const_mem_fun< Dakota::ParamResponsePair, const IntStringPair &, &Dakota::ParamResponsePair::eval_interface_ids > >, bmi::hashed_non_unique< bmi::tag< hashed >, bmi::identity< Dakota::ParamResponsePair >, partial_prp_hash, partial_prp_equality > > > PRPMultiIndexCache
Boost Multi-Index Container for globally caching ParamResponsePairs.
Definition: PRPMultiIndex.hpp:168
void discrete_int_variable_type(unsigned short div_type, size_t i)
set an active discrete variable type in currentVariables
Definition: DakotaModel.hpp:1991
virtual void read_annotated(std::istream &s)
read a variables object in annotated format from an istream
void core_run()
performs adaptive importance sampling and computes probability of failure
Definition: NonDAdaptImpSampling.cpp:267
void init_model_constraints(Model &model)
initialize model with linear/nonlinear constraint data that could change once per set of evaluations ...
Definition: SurrogateModel.cpp:212
bool mcmcModelHasSurrogate
whether the MCMC Model is a surrogate, or a thin transformation around a surrogate,...
Definition: NonDBayesCalibration.hpp:287
static void PIF_objective_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the objective function in the Expected Improvement (EIF) problem formulation ...
Definition: EffGlobalMinimizer.cpp:893
RealVector xDR
discrete real variables used within direct simulator fns
Definition: DirectApplicInterface.hpp:173
bool isMatrix
2d or 1d?
Definition: dakota_results_types.hpp:309
virtual int recommended_coefficients() const
return the recommended number of samples (unknowns) required to build the derived class approximation...
Definition: DakotaApproximation.cpp:985
void ** get_voidss(const String &entry_name) const
for getting a void**, e.g., &dlLib
Definition: ProblemDescDB.cpp:2795
const IntSet & hessian_id_analytic() const
return the mixed Hessian analytic IDs (hessIdAnalytic)
Definition: DakotaModel.hpp:3667
void archive_std_regress_coeffs()
archive standardized regression coefficients in results DB
void svd(RealMatrix &matrix, RealVector &singular_vals, RealMatrix &v_trans, bool compute_vectors)
Compute the SVD of an arbitrary matrix A = USV^T.
Definition: dakota_linear_algebra.cpp:16
void read_labeled_fn_vals(std::istream &s, const ShortArray &asv, size_t num_metadata, std::ostringstream &errors)
Read function values from an annotated stream. Insert error messages.
Sample derived interface class for testing parallel simulator plug-ins using assign_rep().
Definition: PluginParallelDirectApplicInterface.hpp:32
int maxHifiEvals
maximum number of highfidelity model runs to be used for adaptive Bayesian experimental design
Definition: DataMethod.hpp:1298
static void response_mapping(const Variables &recast_y_vars, const Variables &sub_model_x_vars, const Response &sub_model_resp, Response &recast_resp)
map responses from the sub-model to the recast model
Definition: SubspaceModel.cpp:516
int numKneighbors
The number of approximate nearest neighbors to use in computing the AMSC.
Definition: NonDAdaptiveSampling.hpp:227
~MixedVarConstraints()
destructor
Definition: MixedVarConstraints.hpp:71
StringScale(const std::string &in_label, const std::vector< String > &in_items, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes a vector of strings.
Definition: dakota_results_types.hpp:416
bool nonlinearVarsMapping
boolean set to true if the variables mapping involves a nonlinear transformation. Used in transform_s...
Definition: RecastModel.hpp:567
virtual bool discrepancy_sample_counts() const
flag identifying whether sample counts correspond to level discrepancies
Definition: DakotaNonD.hpp:481
std::shared_ptr< QUESO::GenericVectorRV< QUESO::GslVector, QUESO::GslMatrix > > postRv
random variable for the posterior
Definition: NonDQUESOBayesCalibration.hpp:223
int mxfcal
function-evaluation limit (max_function_evaluations)
Definition: NL2SOLLeastSq.hpp:120
Iterator lhsIter
LHS iterator for generating samples for GP.
Definition: NonDGPMSABayesCalibration.hpp:164
virtual void trans_grad_X_to_U(const RealVector &fn_grad_x, RealVector &fn_grad_u, const RealVector &x_vars)
transform x-space gradient vector to u-space
Definition: DakotaModel.cpp:5226
String evalTagPrefix
set of period-delimited evaluation ID tags to use in evaluation tagging
Definition: DakotaInterface.hpp:429
virtual const RealVector & approximation_variances(const Variables &vars)
retrieve the approximation variances from each Approximation within an ApproximationInterface
Definition: DakotaInterface.cpp:1443
NomadTraits()
default constructor
Definition: NomadOptimizer.hpp:61
~DataModelRep()
destructor
Definition: DataModel.hpp:527
static int VLS_aleatory[NUM_UNC_STR_CONT]
which uncertain string check array containers are aleatory (true = 1)
Definition: NIDRProblemDescDB.cpp:5230
bool standardizedSpace
use of standardized probability spaces for MCMC within Bayesian inference
Definition: DataMethod.hpp:1190
StringMultiArrayConstView inactive_discrete_string_variable_labels() const
return the inactive discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2553
Class for vector, list, centered, and multidimensional parameter studies.
Definition: ParamStudy.hpp:35
void decrement_grid()
decrement SSG level/TPQ order
Definition: NonDQuadrature.hpp:266
bool advancement_available()
queries availability of advancing the approximation resolution
Definition: SharedPecosApproxData.hpp:369
void save(Archive &ar, const unsigned int version) const
write a Variables object to an archive
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: DLSolver.hpp:51
void set_opt_params(const std::vector< double > &opt_params)
Update the vector of optimization parameters.
Definition: SurrogatesGaussianProcess.cpp:567
Real initStepLength
the initStepLength choice for nonlinearly constrained APPS in MethodAPPSDC
Definition: DataMethod.hpp:546
virtual bool supports_multiobjectives()
Return flag indicating whether method supports multiobjective optimization.
Definition: DakotaTraitsBase.hpp:91
std::map< var_t, Real > xCM
map from var_t enum to continuous value
Definition: DirectApplicInterface.hpp:186
virtual void random_seed(int seed)
set randomSeed, if present
Definition: DakotaIterator.cpp:1722
virtual void clear_current_active_data()
clear current build data in preparation for next build
Definition: DakotaApproximation.hpp:586
static NonDDREAMBayesCalibration * nonDDREAMInstance
Pointer to current class instance for use in static callback functions.
Definition: NonDDREAMBayesCalibration.hpp:118
Real gammaEstimatorScale
scale parameter for allocation by ESTIMATOR_VARIANCE in multilevel_regression()
Definition: NonDExpansion.hpp:468
void append_approximation(bool rebuild_flag)
appends data to the subModel approximation
Definition: RecastModel.hpp:952
bool interfaceDBLocked
prevents use of get_<type> retrieval and set_<type> update functions prior to setting the list node f...
Definition: ProblemDescDB.hpp:513
void supports_derivative_estimation(bool sed_flag)
set whether this model should perform or pass on derivative estimation
Definition: DakotaModel.hpp:3721
bool exportSampleSets
if defined, export each of the sample increments in ML, CV, MLCV using tagged tabular files
Definition: NonDEnsembleSampling.hpp:220
const RealMatrix & get_left_singular_vector() const
the num_observations n x num_observations n orthogonal matrix U; the left singular vectors are the fi...
Definition: ReducedBasis.hpp:77
void recover_model(size_t num_pri_fns, RealVector &model_fns) const
recover original model from the first experiment block in a full set of residuals; works in no interp...
Definition: ExperimentData.cpp:1290
const Response & response_results() const
return a single final iterator solution (response)
Definition: DakotaAnalyzer.hpp:327
virtual void push_increment()
helper function to manage different push increment cases
Definition: NonDExpansion.cpp:1206
virtual const VariablesArray & all_variables()
return the complete set of evaluated variables
Definition: DakotaIterator.cpp:1792
bool evalCacheFlag
used to manage a user request to deactivate the function evaluation cache (i.e., queries and insertio...
Definition: ApplicationInterface.hpp:475
StringMultiArray xDSLabels
discrete string variable labels
Definition: DirectApplicInterface.hpp:178
void write(std::ostream &s, unsigned short vars_part=ALL_VARS) const
write a variables object to an std::ostream, e.g., the console, optionally specifying which partition...
Definition: MixedVariables.cpp:106
~SurrBasedLocalMinimizer()
destructor
Definition: SurrBasedLocalMinimizer.cpp:133
short delegateMethod
core_run() can delegate execution to either ML or CV if hierarchy does not support MLCV; in this case...
Definition: NonDMultilevControlVarSampling.hpp:353
virtual void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: DakotaIterator.cpp:1670
size_t get_sizet(const String &entry_name) const
get a size_t out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2514
unsigned short interfEvalsSelection
Interface selection for eval storage.
Definition: DataEnvironment.hpp:97
void update_amsc(int respFnCount=0)
Update the approximate Morse-Smale complex based on the training points and selected candidates....
Definition: NonDAdaptiveSampling.cpp:579
const RealVector & discrete_real_upper_bounds() const
return the active discrete real upper bounds from userDefinedConstraints
Definition: DakotaModel.hpp:2963
std::map< UShortArray, UShortArraySet >::const_iterator activeModelSetIter
the active instance from enumeration of UShortArray keys in modelDAGs
Definition: NonDGenACVSampling.hpp:265
const IntVector & field_lengths() const
length of each primary field
Definition: SharedResponseData.hpp:355
void sparse_grid_level(unsigned short ssg_level)
update the sparse grid level (e.g., from a level sequence)
Definition: NonDSparseGrid.hpp:156
Wrapper class for OptDarts Optimizer.
Definition: OptDartsOptimizer.hpp:49
const RealVector & inactive_discrete_real_lower_bounds() const
return the inactive discrete lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3093
void print_coefficients(std::ostream &s)
print the PCE coefficient array for the orthogonal basis
Definition: NonDPolynomialChaos.cpp:1266
void derived_set_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set active parallel configuration within the current low and high fidelity models identified by {low,...
Definition: EnsembleSurrModel.cpp:273
const VariablesArray & variables_array_results()
return multiple final iterator solutions (variables). This should only be used if returns_multiple_po...
Definition: DakotaAnalyzer.hpp:316
int min_procs_per_ea()
compute minimum evaluation partition size based on lower level overrides
Definition: ProblemDescDB.cpp:1207
void score_new_candidates()
Score New candidates based on the chosen metrics.
Definition: NonDAdaptiveSampling.cpp:416
Real equivHFEvals
equivalent number of high fidelity evaluations accumulated using samples across multiple model forms ...
Definition: NonDEnsembleSampling.hpp:203
int lf_rosenbrock()
a low fidelity version of the Rosenbrock function
Definition: TestDriverInterface.cpp:1390
int procsPerIterator
number of processors for each concurrent iterator partition (from the processors_per_iterator specifi...
Definition: DataMethod.hpp:380
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
Definition: DakotaLeastSq.cpp:141
void unlock()
Explicitly unlocks the database. Use with care.
Definition: ProblemDescDB.hpp:534
int actualReducedRank
command to run RF Suite
Definition: RandomFieldModel.hpp:196
size_t maxRefineIterations
maximum number of refinement iterations allowed for a uniform/adaptive refinement approach (from the ...
Definition: DataMethod.hpp:326
size_t numContinuousVars
number of active continuous vars
Definition: DakotaAnalyzer.hpp:178
void push_set()
invokes SparseGridDriver::push_set()
Definition: NonDSparseGrid.hpp:214
RealSymMatrixArray functionHessians
second derivatives of the response functions
Definition: DakotaResponse.hpp:408
const String & parser_options() const
(deprecated) NIDR parser options
Definition: ProgramOptions.cpp:130
void active_to_inactive_variables(const Variables &vars)
copy the active cv/div/dsv/drv variables from vars to inactive on this
Definition: DakotaVariables.hpp:1024
std::vector< Pecos::RandomVariable > invGammaDists
distributions for hyper-params
Definition: NonDBayesCalibration.hpp:421
bool resize()
reinitializes iterator based on new variable size
Definition: NonDAdaptImpSampling.cpp:109
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: EffGlobalMinimizer.hpp:44
RealVectorArray xDrawThis
xDrawThis, appended to locally to hold the X values of emulator points chosen
Definition: NonDGPImpSampling.hpp:115
int recv(int &apps_tag, HOPSPACK::Vector &apps_f, HOPSPACK::Vector &apps_cEqs, HOPSPACK::Vector &apps_cIneqs, string &apps_msg)
returns a function value to APPS
Definition: APPSEvalMgr.cpp:91
Auxiliary information passed to calcr and calcj via ur.
Definition: NL2SOLLeastSq.cpp:116
StringRealMapArray histogramUncPointStrPairs
An array for each string-valued point-based histogram uncertain variable. Each array entry is a map f...
Definition: DataVariables.hpp:525
bool strends(const std::string &input, const std::string &test)
Return true if input string ends with string test.
Definition: dakota_data_util.hpp:341
String propagationModelPointer
pointer to the model through which to propagate the random field
Definition: DataModel.hpp:496
virtual SharedApproxData & shared_approximation()
retrieve the SharedApproxData within an ApproximationInterface
Definition: DakotaInterface.cpp:1372
virtual void active_model_key(const Pecos::ActiveKey &key)
activate an approximation state based on its key
Definition: DakotaInterface.cpp:983
virtual utilib::Any collect_evaluation_impl(colin::AppResponse::response_map_t &responses, utilib::seed_t &seed)
Collect a completed evaluation from DAKOTA.
Definition: COLINApplication.cpp:323
std::ostream *& ostreamHandle
The handle (target ostream) through which output is sent; typically dakota_cout or dakota_cerr....
Definition: OutputManager.hpp:93
const SizetArray & active_components_totals() const
return active variable type counts for {continuous,discrete integer,discrete real} {design,...
Definition: SharedVariablesData.hpp:1624
BitArray dsv_to_all_mask() const
create a BitArray indicating the active discrete string subset of all {continuous,...
Definition: SharedVariablesData.hpp:1313
unsigned short vbdViaSamplingMethod
sampling method for computing variance-based decomposition indices
Definition: NonDLHSSampling.hpp:171
DataEnvironmentRep()
constructor
Definition: DataEnvironment.cpp:19
double det_AtransA(RealMatrix &A)
Use SVD to compute det(A'*A), destroying A with the SVD.
Definition: dakota_linear_algebra.cpp:138
std::string resultsFileName
the results file name actually used (modified with tagging or temp files); only valid from define_fil...
Definition: ProcessApplicInterface.hpp:187
std::vector< String > cache
Cache of strings that back the pointers; used only to improve the safety of initializer_list<String> ...
Definition: dakota_results_types.hpp:492
A version of TraitsBase specialized for SNLL optimizers.
Definition: SNLLOptimizer.hpp:42
SerialDirectApplicInterface(const Dakota::ProblemDescDB &problem_db)
constructor
Definition: PluginSerialDirectApplicInterface.hpp:92
Interface & derived_interface()
return approxInterface
Definition: DataFitSurrModel.hpp:732
NonDMultilevelFunctionTrain(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultilevelFunctionTrain.cpp:27
void cache_unmatched_responses()
migrate all remaining response records from rawResponseMap to cachedResponseMap
Definition: DakotaInterface.cpp:866
Utility class for managing command line inputs to DAKOTA.
Definition: CommandLineHandler.hpp:140
size_t numCAUV
number of active continuous aleatory uncertain variables
Definition: DakotaNonD.hpp:314
size_t num_linear_eq_constraints() const
return the number of linear equality constraints
Definition: DakotaConstraints.hpp:990
StringMultiArray xDILabels
discrete integer variable labels
Definition: DirectApplicInterface.hpp:176
size_t deltaNActualHF
for sample projections, the calculated increment in HF samples that would be evaluated if full iterat...
Definition: NonDNonHierarchSampling.hpp:679
void set_scalar_covariance(RealVector &scalars) override
method to set the covariance matrix defined for ExperimentResponse
Definition: ExperimentResponse.cpp:53
virtual void set_scalar_covariance(RealVector &scalars)
method to set the covariance matrix defined for ExperimentResponse
~WorkdirHelper()
destructor
const StringArray & function_labels() const
return the fine-grained (unrolled) response function identifier strings from sharedRespData
Definition: DakotaResponse.hpp:856
RealVector concurrentParameterSets
user-specified (i.e., nonrandom) parameter sets to evaluate in the pareto_set and multi_start meta-it...
Definition: DataMethod.hpp:426
virtual void solve(const MatrixXd &A, const MatrixXd &b, MatrixXd &x)
Find a solution to linear problem.
Definition: UtilLinearSolvers.cpp:98
StringMultiArrayView discrete_string_variables_view()
return a mutable view of the active discrete string variables
Definition: DakotaVariables.hpp:1077
void print_header_and_statistics(std::ostream &s, const int &num_samples)
Print a header and summary statistics.
Definition: NonDLHSSampling.cpp:1018
H5::DataType h5_mem_dtype(const Real &)
Return the HDF5 datatype to read a Real in memory.
Definition: HDF5_IO.hpp:115
bool subspaceIdEnergy
Flag to use eigenvalue energy method to identify active subspace dimension.
Definition: DataModel.hpp:376
std::vector< double > nonlinearIneqConstraintMapMultipliers
multipliers for constraint transformations
Definition: DakotaTPLDataTransfer.hpp:173
void assign_allocation_control()
assign defaults related to allocation control (currently for ML regression approaches)
Definition: NonDMultilevelPolynomialChaos.cpp:533
short outputLevel
verbosity control
Definition: TrackerHTTP.hpp:131
SizetMultiArray allDiscreteRealIds
array of 1-based ids (into total variable set) for discrete real
Definition: SharedVariablesData.hpp:304
bool evaluation_cache(bool recurse_flag=true) const
if recurse_flag, return true if evaluation cache usage in subordinate models {approxModels,...
Definition: EnsembleSurrModel.hpp:1226
void calibrate() override
Definition: NonDWASABIBayesCalibration.cpp:57
void init_precond_request_value()
initialize the ASV value for preconditioned cases
Definition: NonDQUESOBayesCalibration.cpp:216
Real covarianceDeterminant
cached product of each experiment covariance's determinant
Definition: ExperimentData.hpp:436
int numCols
Number of columns; equals length of scale when 1D.
Definition: dakota_results_types.hpp:494
short truthSetRequest
derivative order of truth data used within the SBLM process
Definition: SurrBasedLocalMinimizer.hpp:217
StringArray nonlinearEqScaleTypes
vector of nonlinear equality constraint scaling types (from the nonlinear_equality_scale_types specif...
Definition: DataResponses.hpp:141
void update_projected_samples(const MFSolutionData &soln, const UShortArray &approx_set, const SizetArray &N_H_actual, size_t &N_H_alloc, size_t &delta_N_H_actual, Real &delta_equiv_hf)
Definition: NonDACVSampling.cpp:1268
short output_level() const
return the method output level (outputLevel)
Definition: DakotaIterator.hpp:724
const RestartWriter & operator=(const RestartWriter &)
assignment is disallowed due to file stream
size_t acv_index_to_all_index(size_t acv_index) const
convert index within all continuous variables to index within aggregated variables (all continous,...
Definition: SharedVariablesData.hpp:1149
static EffGlobalMinimizer * effGlobalInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: EffGlobalMinimizer.hpp:255
NonDHierarchSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDHierarchSampling.cpp:29
Response()
default constructor
size_t constrOffset
used in constraint_eval() to bridge NLSSOLLeastSq::numLeastSqTerms and NPSOLOptimizer::numObjectiveFn...
Definition: SOLBase.hpp:200
~NonDEnsembleSampling()
destructor (virtual declaration should be redundant with ~Iterator, but this is top of MLMF diamond s...
Definition: NonDEnsembleSampling.cpp:164
virtual void run_dace()
execute the DACE iterator (prior to building/appending the approximation)
Definition: DakotaModel.cpp:4306
Real aggregate_variance_Ysum(const Real *sum_Y, const Real *sum_YY, const SizetArray &N_l)
sum up variances across QoI (using sum_YY with means from sum_Y)
Definition: NonDMultilevelSampling.hpp:781
SizetMultiArrayConstView all_discrete_real_variable_ids() const
return all discrete real variable position identifiers
Definition: DakotaVariables.hpp:1794
bool usePointSelection
a flag to indicate the use of point selection
Definition: GaussProcApproximation.hpp:269
ResponseList & response_list()
return a list of all Response objects that have been instantiated
Definition: ProblemDescDB.hpp:565
int N2
Size variable for CONMIN arrays. See CONMIN manual.
Definition: CONMINOptimizer.hpp:171
virtual void compute_gram(const std::vector< MatrixXd > &dists2, const VectorXd &theta_values, MatrixXd &gram)=0
Compute a Gram matrix given a vector of squared distances and kernel hyperparameters.
size_t numLognormalUncVars
number of lognormal uncertain variables (from the lognormal_uncertain specification in VarAUV)
Definition: DataVariables.hpp:122
size_t drv_index_to_active_index(size_t drv_index) const
convert index within active discrete real variables to index within aggregated active variables (acti...
StringMultiArray allDiscreteRealLabels
array of variable labels for all of the discrete real variables
Definition: SharedVariablesData.hpp:281
IntResponseMap & response_map()
return responseMap
Definition: DakotaModel.hpp:3821
void calc_score_topo_bottleneck()
Function to compute the Bottleneck scores for the candidate points Bottleneck score is computed by de...
Definition: NonDAdaptiveSampling.cpp:533
void inactive_view(short view, bool recurse_flag=true)
update the Model's inactive view based on higher level context and optionally recurse into subModel
Definition: RecastModel.hpp:1132
unsigned int totalSamples
total construction samples evaluated so far
Definition: ActiveSubspaceModel.hpp:239
Pecos::ProbabilityTransformation & probability_transformation()
return probability transformation employed by the Model (forwarded along to ProbabilityTransformModel...
Definition: RecastModel.hpp:665
void compute_std_regress_coeffs(const RealMatrix &vars_samples, const IntResponseMap &resp_samples)
computes standardized regression coefficients and corresponding R^2 values for input and output data
Definition: SensAnalysisGlobal.cpp:721
double * upperFactorHessianF77
[R] matrix from NPSOL manual: upper Cholesky factor of the Hessian of the Lagrangian.
Definition: SOLBase.hpp:192
static void warn(const char *fmt,...)
print a warning
Definition: NIDRProblemDescDB.cpp:119
PolynomialRegression()
Constructor that uses defaultConfigOptions and does not build.
Definition: SurrogatesPolynomialRegression.cpp:22
Iterator dummy_iterator
dummy Iterator object used for mandatory reference initialization or default virtual function return ...
Definition: DakotaModel.cpp:46
RealVector approxDRLowerBnds
approximation continuous lower bounds
Definition: SharedApproxData.hpp:269
void sample()
performs the parameter study by sampling from a list of points
Definition: ParamStudy.cpp:415
unsigned short method_string_to_enum(const String &method_str) const
convert a method name string to an enumeration value
Definition: DakotaIterator.cpp:994
void set_asynch_flag(const bool dakotaAsynchFlag)
publishes whether or not to do asynchronous evaluations
Definition: APPSEvalMgr.hpp:73
UsageTracker usageTracker
tool for Dakota usage tracking (this is a thin wrapper class)
Definition: DakotaEnvironment.hpp:158
Real brent_minimize(Real a, Real b, Real tol)
Perform 1-D minimization for the stepLength using Brent's method.
Definition: NonlinearCGOptimizer.cpp:449
Real calc_nll()
calculates the negative log likelihood function (based on covariance matrix)
Definition: GaussProcApproximation.cpp:759
void applyJacobian(std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override
Function to return the result of applying the constraint gradient on an arbitrary vector to ROL.
Definition: ROLOptimizer.cpp:638
virtual void build()=0
build the approximation over the current trust region
Real median(const RealVector &sorted_data)
compute the median of the sorted values passed in
Definition: NonDAdaptiveSampling.hpp:259
virtual void sample_allocation_metric(Real &metric, Real power)
accumulate one of the level metrics for {RIP,RANK}_SAMPLING cases
Definition: NonDExpansion.cpp:2451
Real compute_probability_improvement(const RealVector &means, const RealVector &variances)
probability improvement (PI) function for the EGO PI acquisition function implementation
Definition: EffGlobalMinimizer.cpp:983
Derived class within the Constraints hierarchy which separates continuous and discrete variables (no ...
Definition: MixedVarConstraints.hpp:30
StringArray continuousAleatoryUncLabels
labels for all continuous aleatory uncertain variables (collected from nuv_descriptors,...
Definition: DataVariables.hpp:715
int numWorkersUsed
number of processors actively performing function evaluations
Definition: APPSEvalMgr.hpp:104
short corrType
type of correction: additive, multiplicative, or combined
Definition: SurrogateModel.hpp:199
StringMultiArray xCLabels
continuous variable labels
Definition: DirectApplicInterface.hpp:175
void configure_cost(unsigned short num_steps, short seq_type, RealVector &cost)
extract cost estimates from model hierarchy (forms or resolutions)
Definition: DakotaNonD.hpp:421
StringMultiArrayConstView inactive_discrete_int_variable_labels() const
return the inactive discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2533
void append_tabular_header(const Variables &vars)
append variables labels to the tabular header
Definition: OutputManager.cpp:461
void build_gp()
build initial GP approximations after initial sampling
Definition: EffGlobalMinimizer.cpp:303
const IntVector & get_iv(const String &entry_name) const
get an IntVector out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1555
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonDMultifidelitySampling.cpp:62
Utility used in derived write_core to write labels in tabular format.
Definition: DakotaVariables.hpp:82
IntVector allDiscreteIntUpperBnds
a discrete upper bounds array combining discrete design and discrete state variable types (all view).
Definition: DakotaConstraints.hpp:355
bool calModelDiscrepancy
flag to calculate model discrepancy
Definition: DataMethod.hpp:1257
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDExpansion.cpp:190
bool respScaling
option to scale response data prior to regression
Definition: SharedC3ApproxData.hpp:212
void unpack(u_int *data, const int num=1)
Unpack one or more unsigned int's.
void push_lower_triangle(const RealVector &vec, RealSymMatrix &mat, size_t offset=0)
push vector into lower triangle of symmetric matrix
Definition: NonDExpansion.hpp:799
void factorize(const MatrixXd &A) override
Perform the matrix factorization for the linear solver matrix.
Definition: UtilLinearSolvers.cpp:183
size_t maxFunctionEvals
maximum evals in refinement
Definition: DataModel.hpp:463
bool modelEvidLaplace
flag indicating use of Laplace approximation for evidence calc.
Definition: DataMethod.hpp:1219
void build()
builds the approximation from scratch
Definition: VPSApproximation.cpp:3245
std::shared_ptr< Surrogate > clone() const override
clone derived Surrogate class for use in cross-validation
Definition: SurrogatesPython.hpp:134
short secondOrderIntType
type of second-order integration: Breitung, Hohenbichler-Rackwitz, or Hong
Definition: NonDLocalReliability.hpp:339
size_t opt_darts_pick_candidate(size_t ifunc)
Choose the next trial iterate.
Definition: OptDartsOptimizer.cpp:464
void sort_vector(const RealVector &vec, RealVector &sort_vec, IntVector &indices)
Sort incoming vector with result and corresponding indices returned in passed arguments.
Definition: dakota_data_util.cpp:252
ActiveSubspaceModel(ProblemDescDB &problem_db)
Problem database constructor.
Definition: ActiveSubspaceModel.cpp:29
NCSUOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NCSUOptimizer.cpp:48
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDGlobalReliability.cpp:408
virtual void append_expansion()
generate numSamplesOnModel, append to approximation data, and update QoI expansions
Definition: NonDExpansion.cpp:1832
void print_evaluation_summary(std::ostream &s, bool minimal_header=false, bool relative_count=true) const
print the evaluation summary for the SimulationModel (request forwarded to userDefinedInterface)
Definition: SimulationModel.hpp:442
unsigned short importBuildFormat
tabular format for the build point import file
Definition: DataModel.hpp:172
void set_db_variables_node(const String &variables_tag)
set dataVariablesIter based on the variables identifier string
Definition: ProblemDescDB.cpp:721
IntArray fnValCounter
number of value evaluations by resp fn
Definition: DakotaInterface.hpp:393
void bcast_mi(int &data, size_t index=_NPOS)
broadcast an integer across a metaiterator-iterator intra communicator
Definition: ParallelLibrary.hpp:1830
void increment_specification_sequence()
increment the input specification sequence and assign values
Definition: NonDMultilevelStochCollocation.cpp:286
void eval_model(bool allow_asynch, const NOMAD::Eval_Point &x) const
evaluate the Dakota model (block or not, but don't collect response)
Definition: NomadOptimizer.cpp:514
void set_vector_vector_field(const String &dset_name, const T &data, const size_t length, const String &field_name)
Set a vector field on all elements of a 1D dataset of compound type using a ds name.
Definition: HDF5_IO.hpp:970
RecastModel(const Model &sub_model, const Sizet2DArray &vars_map_indices, const SizetArray &vars_comps_total, const BitArray &all_relax_di, const BitArray &all_relax_dr, bool nonlinear_vars_mapping, const ShortShortPair &recast_vars_view, void(*variables_map)(const Variables &recast_vars, Variables &sub_model_vars), void(*set_map)(const Variables &recast_vars, const ActiveSet &recast_set, ActiveSet &sub_model_set), const Sizet2DArray &primary_resp_map_indices, const Sizet2DArray &secondary_resp_map_indices, size_t recast_secondary_offset, short recast_resp_order, const BoolDequeArray &nonlinear_resp_mapping, void(*primary_resp_map)(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response), void(*secondary_resp_map)(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response))
standard (full) constructor; assumes provided sizes and map functions are final and constructs all me...
Definition: RecastModel.cpp:35
void average_online_cost(const RealVector &accum_cost, const SizetArray &num_cost, RealVector &seq_cost)
average costs once accumulations are complete
Definition: NonDHierarchSampling.hpp:99
void compute_intervals(RealRealPairArray &extreme_fns)
called by compute_statistics() to calculate min/max intervals using allResponses
Definition: NonDSampling.hpp:458
virtual void initialize_grid(const std::vector< Pecos::BasisPolynomial > &poly_basis)=0
initialize integration grid by drawing from polynomial basis settings
std::size_t GetNumberLinearConstraints() const
Returns the number of linear constraints for the problem.
Definition: JEGAOptimizer.cpp:326
RealVector gumbelUncBetas
beta factors for of the gumbel uncertain variables (from the betas specification in VarCAUV_Gumbel)
Definition: DataVariables.hpp:411
std::shared_ptr< Environment > environmentRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaEnvironment.hpp:174
BitArray active_to_all_mask(bool cdv, bool ddv, bool cauv, bool dauv, bool ceuv, bool deuv, bool csv, bool dsv) const
create a BitArray indicating the active subset of all {continuous,discrete {int,string,...
int requestedReducedRank
current approximation of system rank
Definition: RandomFieldModel.hpp:183
ListT::const_iterator find_if(const ListT &c, bool(*test_fn)(const typename ListT::value_type &, const std::string &), const std::string &test_fn_data)
return an iterator to the first list element satisfying the predicate test_fn w.r....
Definition: dakota_data_util.hpp:1536
const SharedResponseData & shared_data() const
return sharedRespData
Definition: DakotaResponse.hpp:526
static void squawk(const char *fmt,...)
print an error message and increment nerr, but continue
Definition: NIDRProblemDescDB.cpp:107
void output_startup_message(std::ostream &os=Cout) const
Output the startup header and time.
Definition: OutputManager.cpp:377
void allocate_workspace()
Allocates workspace for the optimizer.
Definition: CONMINOptimizer.cpp:174
bool dOptimal
whether to generate d-optimal point sets
Definition: NonDLHSSampling.hpp:159
bool hasBestCholFact
Flag for recomputation of the best Cholesky factorization.
Definition: SurrogatesGaussianProcess.hpp:402
boost::bimap< SCALER_TYPE, std::string > BimapScalertypeStr
alias for Boost Bimap scaler type <--> string
Definition: UtilDataScaler.cpp:21
void validate()
verify consistency of user settings (helpful for library mode especially)
Definition: ProgramOptions.cpp:485
bool resize()
reinitializes iterator based on new variable size
Definition: NonDIntegration.cpp:72
bool normalizedCoeffs
flag indicating the output of PCE coefficients corresponding to normalized basis polynomials
Definition: DataMethod.hpp:1047
bool exportSurrogate
Option to turn on surrogate model export (export_model)
Definition: DataMethod.hpp:1433
void all_discrete_real_upper_bound(Real a_d_u_bnd, size_t i)
set an upper bound within all discrete upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3328
RealVector continuousDesignVars
initial values for the continuous design variables array (from the continuous_design initial_point sp...
Definition: DataVariables.hpp:212
Real prediction_variance(const Variables &vars)
retrieve the variance of the predicted value for a given parameter set
Definition: GaussProcApproximation.cpp:211
void pop_approximation(bool save_surr_data, bool rebuild_flag=false)
remove the previous data set addition to a surrogate (e.g., due to a previous append_approximation() ...
Definition: DataFitSurrModel.cpp:874
WorkdirHelper()
default constructor
~MFSolutionData()
destructor
Definition: NonDNonHierarchSampling.hpp:147
~Python()
Default destructor.
Definition: SurrogatesPython.hpp:59
Real etaSequence
decreasing sequence of allowable constraint violation used in augmented Lagrangian updates (refer to ...
Definition: SurrBasedMinimizer.hpp:178
void pop_count(size_t count, size_t key_index)
appends to SurrogateData::popCountStack (number of entries to pop from end of SurrogateData::{vars,...
Definition: DakotaApproximation.hpp:559
Body class for model specification data.
Definition: DataModel.hpp:77
void add_name_to_method(const StrStrSizet &iterator_id)
Add the name (Dakota keyword) as metadata to a method group.
Definition: ResultsDBHDF5.cpp:199
static boost::random::mt19937 bootstrapRNG
Random number generator to use for sampling.
Definition: BootstrapSampler.hpp:100
unsigned short uses_method() const
return name of any enabling iterator used by this iterator
Definition: NonDLocalInterval.hpp:113
void refine_surrogate()
Refine the built surrogate until convergence criteria are met.
Definition: DataFitSurrModel.cpp:1360
StringMultiArrayConstView inactive_continuous_variable_labels() const
return the inactive continuous variable labels
Definition: DakotaVariables.hpp:1513
std::ofstream outputFS
file output stream for console text; only open if string non-empty
Definition: OutputManager.hpp:54
virtual void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: DakotaIterator.cpp:1123
void split_filenames(const char *filenames, std::string &input_filename, std::string &output_filename)
manage pre/run/post filenames
Definition: ProgramOptions.cpp:459
void init_map_optimizer()
initialize the MAP optimizer selection
Definition: NonDBayesCalibration.cpp:617
ParallelLibrary & parallelLib
reference to the parallel_lib object passed from main
Definition: ProblemDescDB.hpp:474
Eigen::MatrixXd MatrixXd
Eigen generic matrix of doubles in Dakota namespace.
Definition: util_data_types.hpp:51
void configure_nonlinear_eq_adapters(NONLINEAR_EQUALITY_FORMAT, const Constraints &)
Construct nonlinear equality maps needed to exchange data to/from Dakota and the TPL.
Definition: DakotaTPLDataTransfer.cpp:37
void recv_ie(int &recv_int, int source, int tag, MPI_Status &status)
blocking receive at the iterator-evaluation communication level
Definition: ParallelLibrary.hpp:1641
ROL::StdVector< double > RolStdVec
Dakota alias for ROL StdVector.
Definition: SurrogatesGPObjective.cpp:18
OutputWriter(std::ostream *output_stream)
ostream constructor; used to construct a writer to existing stream, e.g., std::cout
Definition: OutputManager.cpp:885
EvaluationStore & evaluationsDB
reference to the global evaluation database
Definition: DakotaIterator.hpp:529
bool ignoreBounds
option to ignore bounds when computing finite diffs
Definition: DakotaModel.hpp:1456
bool readFieldCoords
Field data related storage: whether to read simulation field coordinates.
Definition: DataResponses.hpp:246
unsigned short ssgLevelSpec
user request of sparse grid level
Definition: NonDPolynomialChaos.hpp:242
MatrixXd scaledBuildPoints
The scaled build points for the surrogate dataset.
Definition: SurrogatesGaussianProcess.hpp:345
bool noScramblingFlag
Flag to indicate scrambling of the digital net.
Definition: DataMethod.hpp:918
short polynomialOrder
polynomial order for model discrepancy calculations: either gaussian process trend order or polynomia...
Definition: DataMethod.hpp:1272
void unpack(unsigned long long &data)
Unpack a unsigned long long.
Definition: MPIPackBuffer.hpp:251
void pop_approximation(bool save_data)
Definition: ApproximationInterface.hpp:450
ForkApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: ForkApplicInterface.cpp:24
void clear_component_effects()
clear unused Sobol' indices
Definition: PecosApproximation.hpp:389
size_t tv() const
returns total number of vars
Definition: DakotaModel.hpp:1743
friend class boost::serialization::access
allow boost access to serialize this class
Definition: SharedResponseData.hpp:41
size_t numDACERuns
counter for number of executions for this object
Definition: DDACEDesignCompExp.hpp:111
virtual unsigned short uses_method() const
return name of any enabling iterator used by this iterator
Definition: DakotaIterator.cpp:1771
TKFactoryDIPC tk_factory_dipc("dakota_dipc_tk")
Static registration of RW TK with the QUESO TK factory.
void build() override
Do the build.
Definition: DakotaSurrogatesPython.cpp:65
RealVector continuousUpperBnds
the active continuous upper bounds array view
Definition: DakotaConstraints.hpp:396
size_t numVars
number of inputs
Definition: SensAnalysisGlobal.hpp:287
virtual void active_model_key(const Pecos::ActiveKey &sd_key)
activate an approximation state based on its multi-index key
Definition: DakotaApproximation.hpp:569
bool mainEffectsFlag
the main_effects specification for sampling methods in MethodDDACE)
Definition: DataMethod.hpp:763
std::shared_ptr< Surrogate > clone() const override
clone derived Surrogate class for use in cross-validation
Definition: SurrogatesGaussianProcess.hpp:274
void random_seed(int seed)
assign randomSeed
Definition: NonDSampling.hpp:519
const RealVector & function_values() const
return all function values
Definition: DakotaResponse.hpp:555
bool push_available()
queries availability of pushing data associated with a trial set
Definition: SharedPecosApproxData.hpp:210
const IntResponseMap & derived_synchronize()
Definition: DataFitSurrModel.cpp:1830
void read_scalar_sigma(std::ifstream &scalar_data_stream, RealVector &sigma_scalars, IntVector &scalar_map_indices)
read or default populate the scalar sigma
Definition: ExperimentData.cpp:730
pid_t analysisProcGroupId
the process group id used to identify a set of child analysis processes used by this interface instan...
Definition: ForkApplicInterface.hpp:100
std::string kernel_type
Kernel type.
Definition: SurrogatesGaussianProcess.hpp:420
IntSet optInterfGradIdAnalytic
analytic IDs for mixed gradients on the optional interface
Definition: NestedModel.hpp:329
virtual LINEAR_INEQUALITY_FORMAT linear_inequality_format()
Return the format used for linear inequality constraints.
Definition: DakotaTraitsBase.hpp:63
void inactive_into_all_variables(const Variables &vars)
insert the inactive cv/div/dsv/drv variables from vars into all arrays
SizetMultiArray allDiscreteIntIds
array of 1-based ids (into total variable set) for discrete int
Definition: SharedVariablesData.hpp:300
A version of TraitsBase specialized for NLSSOL nonlinear least squares library.
Definition: NLSSOLLeastSq.hpp:24
MPI_UNSIGNED MPI_UNSIGNED_LONG MPI_UNSIGNED_LONG_LONG MPI_UNSIGNED_SHORT MPI_UNSIGNED_CHAR MPI_FLOAT int MPIPackSize(const bool &, const int num)
return packed size of a bool
Definition: MPIPackBuffer.cpp:180
bool allowExistingResults
by default analysis code interfaces delete results files if they exist; user may override with this f...
Definition: ProcessApplicInterface.hpp:200
BitArray discreteIntervalUncCat
is each diu var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:570
OPTPP::OptNewton * optnewton
Newton optimizer pointer.
Definition: SNLLOptimizer.hpp:340
std::map< int, RealVector > functionList
map of APPS eval id to responses (for synchronous evaluations)
Definition: APPSEvalMgr.hpp:116
int processors_per_server() const
return procsPerServer
Definition: ParallelLibrary.hpp:327
void generate_reverse_dag(const UShortArray &approx_set, const UShortArray &dag)
for the given DAG and active approimation set, generate the sets of source nodes that point to given ...
Definition: NonDGenACVSampling.cpp:302
void check_usage(int argc, char **argv)
Verifies that DAKOTA is called with the correct command usage. Prints a descriptive message and exits...
Definition: CommandLineHandler.cpp:392
void bitreverse_generating_matrices()
Reverse the bits in the scrambled generating matrices.
Definition: DigitalNet.cpp:687
virtual void derived_auto_graphics(const Variables &vars, const Response &resp)
Update tabular/graphics data with latest variables/response data.
Definition: DakotaModel.cpp:3416
int batchSize
total batch size for parallel EGO
Definition: EffGlobalMinimizer.hpp:288
void append_scalar(const String &dset_name, const T &data)
Append a scalar to a 1D dataset.
Definition: HDF5_IO.hpp:1002
void(* secondaryRespMapping)(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
holds pointer for secondary response mapping function passed in ctor/initialize
Definition: RecastModel.hpp:622
void printTimingInfo(void) const
empty implementation of timing info needed to complete the interface
Definition: APPSEvalMgr.hpp:66
void overlay_response(Response &response)
convenience function for local test simulators which overlays response contributions from multiple an...
Definition: DirectApplicInterface.cpp:511
ConsoleRedirector coutRedirector
set of redirections for Dakota::Cout; stores any tagged filename when there are concurrent Iterators
Definition: OutputManager.hpp:395
void derived_parse_inputs(const std::string &dakota_input_file, const std::string &dakota_input_string, const std::string &parser_options)
parses the input file and populates the problem description database using NIDR.
Definition: NIDRProblemDescDB.cpp:132
static SCALER_TYPE scaler_type(const std::string &scaler_name)
Convert scaler name to enum type.
Definition: UtilDataScaler.cpp:32
size_t continuous_design()
return total number of design variables
Definition: DataVariables.hpp:920
bool advancement_available()
query for available advancements in approximation resolution controls
Definition: ApproximationInterface.hpp:558
Pecos::IntegrationDriver numIntDriver
Pecos utlity class for managing interface to tensor-product grids and VPISparseGrid utilities for Smo...
Definition: NonDIntegration.hpp:125
COLINTraits()
default constructor
Definition: COLINOptimizer.hpp:32
virtual void nested_variable_mappings(const SizetArray &c_index1, const SizetArray &di_index1, const SizetArray &ds_index1, const SizetArray &dr_index1, const ShortArray &c_target2, const ShortArray &di_target2, const ShortArray &ds_target2, const ShortArray &dr_target2)
set primaryA{CV,DIV,DRV}MapIndices, secondaryA{CV,DIV,DRV}MapTargets within derived Iterators; suppor...
Definition: DakotaIterator.cpp:1859
Contains the definition of the JEGAOptimizer class.
boost::bimap< SOLVER_TYPE, std::string > BimapSolvertypeStr
alias for Boost Bimap solver type <--> string
Definition: UtilLinearSolvers.cpp:21
const String & interface_id() const
returns the interface identifier
Definition: DakotaInterface.hpp:503
virtual void set_full_covariance(std::vector< RealMatrix > &matrices, std::vector< RealVector > &diagonals, RealVector &scalars, IntVector matrix_map_indices, IntVector diagonal_map_indices, IntVector scalar_map_indices)
method to set the full covariance matrices for ExperimentResponse
RealVectorArray ccPlausVal
Storage array to hold CCP response values.
Definition: NonDInterval.hpp:109
UShortArray linearIneqScaleTypes
scale flags for linear ineq
Definition: ScalingModel.hpp:188
OutputManager & output_manager()
return outputManager reference
Definition: ParallelLibrary.hpp:1039
bool approxImportActiveOnly
import active variables only
Definition: NonDGPMSABayesCalibration.hpp:122
size_t num_samples() const
Definition: DakotaAnalyzer.hpp:277
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDGPMSABayesCalibration.cpp:197
bool responses_id_compare(const Response &resp, const void *id)
global comparison function for Response
Definition: DakotaResponse.hpp:1030
void print_evaluation_summary(std::ostream &s, bool minimal_header=false, bool relative_count=true) const
print the evaluation summary for the RecastModel (request forwarded to subModel)
Definition: RecastModel.hpp:1174
static bool rank_sort(const int &x, const int &y)
sort algorithm to compute ranks for rank correlations
Definition: NonDLHSSampling.cpp:512
virtual size_t finalize_index(size_t i, const Pecos::ActiveKey &key)
return index of i-th trial set within restorable bookkeeping sets
Definition: SharedApproxData.cpp:388
void send(MPIPackBuffer &send_buff, int dest, int tag, const ParallelLevel &parent_pl, const ParallelLevel &child_pl)
blocking buffer send at the current communication level
Definition: ParallelLibrary.hpp:1395
virtual ~ROLTraits()
Destructor.
Definition: ROLOptimizer.hpp:139
virtual ~DakotaROLObjectiveHess()
Destructor.
Definition: ROLOptimizer.hpp:266
void response_modify_s2n(const Variables &native_vars, const Response &scaled_response, Response &native_response, int start_offset, int num_responses, bool response_unscale=true) const
map responses from scaled to native space
Definition: ScalingModel.cpp:1159
void compute_additive(const Response &truth_response, const Response &approx_response, int index, Real &discrep_fn, RealVector &discrep_grad, RealSymMatrix &discrep_hess)
internal convenience function for computing additive corrections between truth and approximate respon...
size_t drv_start() const
get start index of active discrete real vars
Definition: SharedVariablesData.hpp:1692
bool functionMomentsComputed
Function moments have been computed; used to determine whether to archive the moments.
Definition: NonDSampling.hpp:380
bool eifFlag
flag indicating use of maximized expected improvement for GP iterate selection
Definition: NonDGlobalInterval.hpp:151
int analysisCommSize
size of analysisComm
Definition: ApplicationInterface.hpp:224
void set_bounds(const RealVector &c_l_bnds, const RealVector &c_u_bnds, const IntVector &di_l_bnds, const IntVector &di_u_bnds, const RealVector &dr_l_bnds, const RealVector &dr_u_bnds)
set approximation lower and upper bounds (currently only used by graphics)
Definition: SharedApproxData.hpp:323
bool operator==(const ShortArray &dsa1, const ShortArray &dsa2)
equality operator for ShortArray
Definition: dakota_data_util.cpp:43
void pack(const long long &data)
Pack a long long.
Definition: MPIPackBuffer.hpp:97
void applyJacobian(std::vector< Real > &jv, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override
Function to return the result of applying the constraint gradient to an arbitrary vector to ROL.
Definition: ROLOptimizer.cpp:765
const RealVector & inactive_continuous_upper_bounds() const
return the inactive continuous upper bounds
Definition: DakotaConstraints.hpp:632
virtual const RealVector & error_estimates()
retrieve error estimates corresponding to the Model's response (could be surrogate error for Surrogat...
Definition: DakotaModel.cpp:4426
String proposalCovarType
approach for defining proposal covariance
Definition: NonDBayesCalibration.hpp:453
const RealMatrix & linear_ineq_constraint_coeffs() const
return the linear inequality constraint coefficients
Definition: DakotaConstraints.hpp:994
bool relative_allclose(const MatrixXd &A, const MatrixXd &B, const double tol)
Tests whether two Eigen MatrixXd objects relatively equal (element-wise) within a given tolerance.
Definition: util_common.cpp:61
~NonDQUESOBayesCalibration()
destructor
Definition: NonDQUESOBayesCalibration.cpp:103
std::shared_ptr< Iterator > iterator_rep() const
returns iteratorRep for access to derived class member functions that are not mapped to the top Itera...
Definition: DakotaIterator.hpp:782
static void Vchk_HistogramPtRealUnc(DataVariablesRep *dv, size_t offset, Var_Info *vi)
Check the histogram point integer real data, normalize the counts, and populate DataVariables::histog...
Definition: NIDRProblemDescDB.cpp:3618
Real singRadius
radius for singular convergence test
Definition: DataMethod.hpp:512
IntVector discreteIntLowerBnds
the active discrete lower bounds array view
Definition: DakotaConstraints.hpp:398
Derived class within the Variables hierarchy which separates continuous and discrete variables (no do...
Definition: MixedVariables.hpp:28
size_t numSamples
current number of samples to be evaluated
Definition: DDACEDesignCompExp.hpp:98
bool check_num_steps(int num_steps)
perform error checks on numSteps
Definition: ParamStudy.hpp:436
RealVector linearEqTargets
targets for the linear equality constraints (from the linear_equality_targets specification in Method...
Definition: DataVariables.hpp:829
StringMultiArrayView all_discrete_int_labels(size_t start, size_t num_items) const
get num_items discrete integer labels beginning at index start
Definition: SharedVariablesData.hpp:1416
virtual void test_local_evaluations(PRPQueue &prp_queue)
Python supports batch only, not true asynch, so this blocks.
Definition: Pybind11Interface.cpp:158
virtual void infer_pilot_sample(size_t num_steps, SizetArray &delta_N_l)
Definition: NonDExpansion.cpp:2417
int DAKOTA_DLL_FN dakota_readInput(int id, const char *dakotaInput)
command DakotaRunner instance id to read from file dakotaInput
Definition: dakota_dll_api.cpp:249
int local_eval_concurrency()
return optionalInterface asynchronous evaluation concurrency
Definition: NestedModel.hpp:513
static void save(const SurrHandle &surr_out, const std::string &outfile, const bool binary)
serialize Surrogate to file (typically through shared_ptr<Surrogate>, but Derived& or Derived* okay t...
void estimate_message_lengths()
estimate messageLengths for a model
Definition: DakotaModel.cpp:4958
size_t maxSolverIterations
maximum number of iterations for regression solver
Definition: SharedC3ApproxData.hpp:270
void truth_evaluation(short mode)
perform an evaluation of the actual model and store value,grad,Hessian data in X,U spaces
Definition: NonDLocalReliability.cpp:1858
Minimizer(std::shared_ptr< TraitsBase > traits=std::shared_ptr< TraitsBase >(new TraitsBase()))
default constructor
Definition: DakotaMinimizer.hpp:329
const RealVector & simulation_error() const
retrieve simulation variance
Definition: SharedResponseData.hpp:379
bool speculativeFlag
flag for use of speculative gradient approaches for maintaining parallel load balance during the line...
Definition: DataMethod.hpp:337
double(* userObjectiveEval)(const RealVector &x)
holds function pointer for objective function evaluator passed in for "user_functions" mode.
Definition: NCSUOptimizer.hpp:156
unsigned short methodName
name of the iterator (the user's method spec)
Definition: DakotaIterator.hpp:489
const RealVector & callback_linear_ineq_lower_bounds() const
return linear constraint lower bounds for this iterator (user-functions mode for which iteratedModel ...
Definition: NCSUOptimizer.hpp:189
OPTPP::NLF1 * nlf1
pointer to objective NLF for (analytic) gradient-based optimizers
Definition: SNLLOptimizer.hpp:323
VariablesList variablesList
list of variables objects, one for each variables specification
Definition: ProblemDescDB.hpp:496
Pecos::BasisApproximation & pecos_basis_approximation()
return pecosBasisApprox
Definition: PecosApproximation.hpp:725
size_t collocation_points() const
return specification for number of collocation points (may be part of a sequence specification)
Definition: NonDMultilevelFunctionTrain.hpp:134
virtual Real2DArray cv_diagnostics(const StringArray &metric_types, unsigned num_folds)
approximation cross-validation quality metrics per response function
Definition: DakotaInterface.cpp:1327
bool initialized() const
return initializedFlag
Definition: DiscrepancyCorrection.hpp:313
void assign_instance()
assign static pointer instance to this for use in static transformation functions
Definition: ActiveSubspaceModel.hpp:313
Definition: ROLOptimizer.hpp:180
const VectorXd & get_scaler_features_scale_factors() const
Get the vector of scaling factors.
Definition: UtilDataScaler.hpp:84
Response copy(bool deep_srd=false) const
return a deep response copy of the contained responseRep for use in history mechanisms (SharedRespons...
void push_c3_seed(int seed)
Publish random seed for internal C3 use.
Definition: NonDC3FunctionTrain.cpp:498
void active_model_key(const Pecos::ActiveKey &key)
assign active key in approxData and update_active_iterators()
Definition: PecosApproximation.hpp:357
List of valid names for iterator results.
Definition: ResultsManager.hpp:24
NOWPACOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NOWPACOptimizer.cpp:22
Sizet2DArray NLevAlloc
total number of allocated sample evaluations (prior to any faults) for each model form and discretiza...
Definition: NonDEnsembleSampling.hpp:176
boost::bimap< METRIC_TYPE, std::string > BimapMetrictypeStr
alias for Boost Bimap metric type <--> string
Definition: util_metrics.cpp:21
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: QMEApproximation.cpp:37
~MatlabInterface()
Destructor: close Matlab engine.
Definition: MatlabInterface.cpp:90
size_t numObjectiveFns
number of objective functions (iterator view)
Definition: DakotaOptimizer.hpp:525
void resolve_refinement()
assign c3AdvancementType based on user inputs for adapt_{rank,order} (fine-grained augmentation to re...
Definition: NonDC3FunctionTrain.cpp:183
int concurrentRandomJobs
number of random jobs to perform in the pareto_set and multi_start meta-iterators (from the random_st...
Definition: DataMethod.hpp:422
static double prior_density(int par_num, double zp[])
Compute the prior density at specified point zp.
Definition: NonDDREAMBayesCalibration.cpp:389
Sample derived interface class for testing serial simulator plug-ins using assign_rep().
Definition: SoleilDirectApplicInterface.hpp:34
virtual void declare_sources()
Declare a model's sources to the evaluationsDB.
Definition: DakotaModel.cpp:4851
size_t numDiscreteDesRangeVars
number of discrete design variables defined by an integer range (from the discrete_design_range speci...
Definition: DataVariables.hpp:107
const RealVector & error_estimates()
retrieve error estimates corresponding to the subIterator's response results (e.g....
Definition: NestedModel.hpp:484
int predator_prey()
3 model hierarchy with tunable hyper-parameter(s)
Definition: TestDriverInterface.cpp:2272
BoolDeque primaryRespFnSense
array of flags (one per primary function) for switching the sense to maximize the primary function (d...
Definition: DakotaModel.hpp:1537
int worldRank
output manager handles rank 0 only output when needed
Definition: OutputManager.hpp:385
void derived_init_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set up SimulationModel for parallel operations (request forwarded to userDefinedInterface)
Definition: SimulationModel.hpp:360
int first_seed() const
return first seed in sequence specification (defaults to random_seed())
Definition: NonDMultilevelPolynomialChaos.hpp:154
RealVector yModel
Surrogate function responses at the values corresponding to validationSet.
Definition: NonDAdaptiveSampling.hpp:113
void post_input()
read tabular data for post-run mode
Definition: DDACEDesignCompExp.cpp:133
size_t maxIterations
maximum number of iterations allowed for the method (from the max_iterations specification in MethodI...
Definition: DataMethod.hpp:322
virtual void combined_to_active(bool clear_combined=true)
promote the combined approximation into the active approximation
Definition: DakotaModel.cpp:4263
virtual bool is_derived()
A temporary query used in the refactor.
Definition: EffGlobalMinimizer.hpp:38
bool subspaceBuildSurrogate
Flag to build surrogate over active subspace.
Definition: DataModel.hpp:379
int mod_cantilever()
unscaled cantilever test function for UQ
Definition: TestDriverInterface.cpp:588
void compute_regression_coeffs(const RealMatrix &samples, const RealMatrix &resps, RealMatrix &rcoeffs, RealVector &cods)
Compute (non-standardized) linear regression coefficients and return R^2.
Definition: dakota_stat_util.cpp:43
size_t num_scalar_primary() const
retrieve the number of scalars (applies to all experiments)
Definition: ExperimentData.hpp:501
IntVector expOffsets
function index offsets for individual experiment data sets
Definition: ExperimentData.hpp:484
bool active_vars_compare(const Variables &vars, const Pecos::SurrogateDataVars &sdv) const
test for exact equality in values between active vars and sdv
Definition: DataFitSurrModel.hpp:601
static size_t noSpecIdNum
the last used method ID number for on-the-fly instantiations (increment before each use)
Definition: DakotaIterator.hpp:588
const RealVector & nonlinear_eq_constraint_targets() const
return the nonlinear equality constraint targets
Definition: DakotaConstraints.hpp:1122
RealVector allDiscreteRealLowerBnds
a discrete lower bounds array combining discrete design and discrete state variable types (all view).
Definition: DakotaConstraints.hpp:358
void set_db_responses_node(const String &responses_tag)
set dataResponsesIter based on the responses identifier string
Definition: ProblemDescDB.cpp:850
virtual size_t getDataSize()
Obatin the number of samples used in the empirical distribution.
Definition: BootstrapSampler.hpp:75
void compute_subspace()
sample the model's gradient, computed the SVD, and form the active subspace rotation matrix.
Definition: ActiveSubspaceModel.cpp:170
MetaDataValueType make_metadatavalue(StringMultiArrayConstView labels)
create MetaDataValueType from the passed strings
Definition: dakota_results_types.hpp:116
Real expected_feasibility(const RealVector &expected_values, const Variables &recast_vars)
expected feasibility function for the GP
Definition: NonDGlobalReliability.cpp:974
bool subspaceIdBingLi
Flag to use Bing Li method to identify active subspace dimension.
Definition: DataModel.hpp:370
virtual bool diagnostics_available()
check if diagnostics are available for this approximation type
Definition: DakotaApproximation.cpp:845
void(* invVarsMapping)(const Variables &sub_model_vars, Variables &recast_vars)
holds pointer for optional inverse variables mapping function passed in inverse_mappings()
Definition: RecastModel.hpp:629
ParLevLIter w_parallel_level_iterator() const
return miPLIters.front()
Definition: ParallelLibrary.hpp:583
void world_rank(int world_rank)
set the world rank to govern early conditional output
Definition: ProgramOptions.cpp:223
Wrapper class for the DDACE design of experiments library.
Definition: DDACEDesignCompExp.hpp:32
short correctionType
approximation correction approach to be used: NO_CORRECTION, ADDITIVE_CORRECTION, MULTIPLICATIVE_CORR...
Definition: DiscrepancyCorrection.hpp:124
std::shared_ptr< Constraints > get_constraints(const ProblemDescDB &problem_db, const SharedVariablesData &svd)
Used only by the constructor to initialize constraintsRep to the appropriate derived type.
Definition: DakotaConstraints.cpp:97
void write_annotated(std::ostream &s) const
write an active set object to an std::ostream in annotated format
Definition: DakotaActiveSet.hpp:255
void pack(const u_char &data)
Pack a unsigned char.
Definition: MPIPackBuffer.hpp:107
~NonDSampling()
destructor
Definition: NonDSampling.cpp:237
const int LARGE_SCALE
a (perhaps arbitrary) definition of large scale; choose a large-scale algorithm if numVars >= LARGE_S...
Definition: SNLLOptimizer.cpp:41
const IntVector & all_discrete_int_lower_bounds() const
return all discrete lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3205
void scramble()
Apply linear matrix scramble to this digital net.
Definition: DigitalNet.hpp:89
~SurrogatesGPApprox()
destructor
Definition: DakotaSurrogatesGP.hpp:40
bool initCommsBcastFlag
flag for determining need to bcast the max concurrency from init_communicators(); set from IteratorSc...
Definition: DakotaModel.hpp:1635
RealVectorArray requestedGenRelLevels
requested generalized reliability levels for all response functions
Definition: DakotaNonD.hpp:352
MPIPackBuffer * sendBuffers
array of pack buffers for evaluation jobs queued to a server
Definition: ApplicationInterface.hpp:546
void set_options(const ParameterList &options)
Set the Surrogate's configOptions.
Definition: SurrogatesBase.cpp:59
~SurrogateModel()
destructor
Definition: SurrogateModel.hpp:241
Derived model class which wraps call-back functions for solving minimization sub-problems.
Definition: AdapterModel.hpp:27
String execution_hdf5_link_name(const StrStrSizet &iterator_id)
Create an execution name (HDF5 link name) from iterator_id.
Definition: ResultsDBHDF5.cpp:54
Model iteratedModel
Shallow copy of the model on which COLIN will iterate.
Definition: COLINApplication.hpp:105
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: HierarchSurrBasedLocalMinimizer.hpp:58
IntShortMap failCountMap
map linking function evaluation id's to number of response read failures
Definition: GridApplicInterface.hpp:103
void free_ft()
free FT storage for value, gradient, and Hessian expansions
Definition: C3FnTrainData.hpp:238
String startupMessage
message to print at startup when proceeding to instantiate objects
Definition: OutputManager.hpp:407
const double betaBound
Large constant for polynomial coefficients upper/lower bounds.
Definition: SurrogatesGaussianProcess.hpp:426
void increment_order()
increments polynomial expansion order (PCE, FT)
Definition: SharedPecosApproxData.hpp:377
std::string tabularCntrLabel
label for counter used in first line comment w/i the tabular data file
Definition: OutputManager.hpp:428
int scalable_gerstner()
scalable versions of the Gerstner test family
Definition: TestDriverInterface.cpp:1687
~SharedResponseData()
destructor
Definition: SharedResponseData.hpp:323
RealVector correctedFieldVariances
matrix containing variances of model+discrepancy
Definition: NonDBayesCalibration.hpp:398
RealMatrixArray discreteDesignSetIntAdj
Adjacency matrices for each of the discrete design variables defined by an integer set (from the disc...
Definition: DataVariables.hpp:274
~SharedVariablesDataRep()
destructor must be public for shared_ptr
Definition: SharedVariablesData.hpp:324
String runOutput
filename for run output
Definition: ProgramOptions.hpp:260
static void Vgen_DSset(size_t num_v, StringSetArray &sets, StringArray &L, StringArray &U, StringArray &V, bool aggregate_LUV=false, size_t offset=0)
generate lower, upper, and initial point for string-valued sets
Definition: NIDRProblemDescDB.cpp:4530
static void Variances_objective_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
Variance formulation for primary.
Definition: EffGlobalMinimizer.cpp:962
int printControl
IPRINT from CONMIN manual (controls output verbosity)
Definition: CONMINOptimizer.hpp:145
Real trustRegionMinSize
minimum trust region size in the surrogate-based local method (from the minimum_size specification in...
Definition: DataMethod.hpp:447
Utility used in derived read_core to read in generic format.
Definition: DakotaVariables.hpp:26
const double near_zero
Double precision difference tolerance.
Definition: util_data_types.hpp:71
virtual Model & active_surrogate_model(size_t i=_NPOS)
return the i-th active approximation sub-model in surrogate models
Definition: DakotaModel.cpp:3555
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: COLINOptimizer.hpp:52
ProblemDescDB & probDescDB
class member reference to the problem description database
Definition: DakotaIterator.hpp:471
virtual void derived_free_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
portion of free_communicators() specific to derived model classes
Definition: DakotaModel.cpp:5124
virtual ~SharedApproxData()
destructor
Definition: SharedApproxData.cpp:267
void export_field_discrepancy(RealMatrix &pred_vars_mat)
print tabular files containing model+discrepancy responses and variances for field responses
Definition: NonDBayesCalibration.cpp:2192
RealVector discreteStateSetRealVars
initial values for the discrete state variables defined by a real set (from the discrete_state_set re...
Definition: DataVariables.hpp:641
short surrogate_response_mode() const
return response computation mode used in SurrogateModels for forming currentResponse
Definition: SurrogateModel.hpp:308
void generate_fullspace_samples(unsigned int diff_samples)
sample the derivative at diff_samples points and leave temporary in dace_iterator
Definition: ActiveSubspaceModel.cpp:392
void read(MPIUnpackBuffer &s)
read a DataResponsesRep object from a packed MPI buffer
Definition: DataResponses.cpp:65
short evalScheduling
user specification of evaluation scheduling algorithm: {DEFAULT,MASTER,PEER_DYNAMIC,...
Definition: ApplicationInterface.hpp:440
void get_best_sample()
determine current best solution from among sample data for expected imporovement function in Performa...
Definition: NonDGlobalReliability.cpp:1020
virtual void clear_inactive()
clear inactive approximations (finalization + combination completed)
Definition: DakotaModel.cpp:4276
Real constraint_penalty
Buffer to hold problem constraint_penalty parameter.
Definition: COLINOptimizer.hpp:180
void isend_mi(int &send_int, int dest, int tag, MPI_Request &send_req, size_t index=_NPOS)
nonblocking send at the metaiterator-iterator communication level
Definition: ParallelLibrary.hpp:1532
RealSymMatrixArray hessians_view(const RealSymMatrixArray &hessians, size_t experiment) const
Return a view (to allowing updaing in place) of the hessians associated with a given experiment,...
Definition: ExperimentData.cpp:828
virtual const IntResponseMap & synchronize()
recovers data from a series of asynchronous evaluations (blocking)
Definition: DakotaInterface.cpp:826
int gerstner()
the isotropic/anisotropic Gerstner test function family
Definition: TestDriverInterface.cpp:1610
void replace_approximation(const IntResponsePair &response_pr)
replace the response for a single point within an existing approximation
Definition: ApproximationInterface.cpp:580
void array_insert(const StrStrSizet &iterator_id, const std::string &data_name, size_t index, const StoredType &sent_data)
insert sent_data in specified position in previously allocated array
Definition: ResultsDBBase.hpp:197
unsigned short dagWidthLimit
width throttle for constraining set from generate_dags() (used only for MFMC with width = 1)
Definition: NonDGenACVSampling.hpp:257
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: EffGlobalMinimizer.hpp:41
std::map< Pecos::ActiveKey, size_t > maxRankMap
user specification for maximum rank used within adapt_rank; usually a scalar specification but can be...
Definition: SharedC3ApproxData.hpp:251
void schedule_iterators(MetaType &meta_object, Iterator &sub_iterator)
short convenience function for distributing control among master_dynamic_schedule_iterators(),...
Definition: IteratorScheduler.hpp:297
int sobol_rational()
Sobol SA rational test function.
Definition: TestDriverInterface.cpp:3047
const ConsoleRedirector & operator=(const ConsoleRedirector &)
assignment is disallowed
const IntVector & num_coords_per_field() const
return the number of coordinates each field has (from SharedResponseData)
Definition: DakotaResponse.hpp:849
Base class/interface for the bootstrap sampler.
Definition: BootstrapSampler.hpp:39
RealVector inactiveVars
current inactive variables
Definition: ActiveSubspaceModel.hpp:251
DirectApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: DirectApplicInterface.cpp:19
void initialize_ml_Ysums(IntRealMatrixMap &sum_Y, size_t num_lev, size_t num_mom=4)
initialize the ML accumulators for computing means, variances, and covariances across resolution leve...
Definition: NonDMultilevelSampling.cpp:632
SharedVariablesDataRep(const ShortShortPair &view, const SizetArray &vars_comps_totals, const BitArray &all_relax_di, const BitArray &all_relax_dr)
lightweight constructor providing variable count totals
static RandomFieldModel * rfmInstance
static pointer to this class for use in static callbacks
Definition: RandomFieldModel.hpp:223
void recv(MPIUnpackBuffer &recv_buff, int source, int tag, MPI_Status &status, const ParallelLevel &parent_pl, const ParallelLevel &child_pl)
blocking buffer receive at the current communication level
Definition: ParallelLibrary.hpp:1579
bool asynchEvalFlag
flags asynch evaluations (local or distributed)
Definition: DakotaModel.hpp:1501
String dataDistFile
file from which to read data distribution data (covariance or samples )
Definition: DataMethod.hpp:1335
UShortMultiArrayConstView all_continuous_variable_types() const
return all continuous variable types
Definition: DakotaVariables.hpp:1761
size_t adiv() const
total number of discrete integer vars
Definition: DakotaVariables.hpp:780
void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaLeastSq.hpp:113
void all_discrete_string_variable(const String &a_d_var, size_t i)
set a variable within the all discrete variables in currentVariables
Definition: DakotaModel.hpp:2228
bool homogeneous(const SizetArray &N_l) const
return true if N_l has consistent values
Definition: DakotaNonD.hpp:485
MatrixXd scale_samples(const MatrixXd &unscaled_samples)
Apply scaling to a set of unscaled samples.
Definition: UtilDataScaler.hpp:66
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NonlinearCGOptimizer.hpp:34
void singular_values(RealMatrix &matrix, RealVector &singular_vals)
compute the singular values without storing any singular vectors (A will be destroyed)
Definition: dakota_linear_algebra.cpp:72
const ScalingOptions & scaling_options() const
user-provided scaling options
Definition: DakotaModel.hpp:3694
std::vector< double > candidate_x
Candidate solution after solving sub-problem (also the bound)
Definition: PEBBLBranching.hpp:59
short solnCntlVarType
type of the discrete variable that controls the set/range of solution levels
Definition: SimulationModel.hpp:191
unsigned short distanceConvergeLimit
counter for number of successive iterations that the L_2 change in optimal solution is less than the ...
Definition: NonDGlobalInterval.hpp:165
int maxCrossIterations
maximum number of cross iterations
Definition: DataMethod.hpp:821
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: DLSolver.hpp:45
~SimulationResponse()
destructor
Definition: SimulationResponse.hpp:80
void wait_local_evaluations(Dakota::PRPQueue &prp_queue)
evaluate the batch of jobs contained in prp_queue
Definition: PluginParallelDirectApplicInterface.cpp:72
String subMethodPointer
the sub-method pointer from the nested model specification
Definition: NestedModel.hpp:289
void flush() const
Write data to file.
Definition: ResultsDBAny.cpp:56
const ParallelConfiguration & parallel_configuration() const
return the current ParallelConfiguration instance
Definition: ParallelLibrary.hpp:1079
StringArray discreteStrAleatoryUncVars
array of values for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:729
void check_sub_iterator_conflict()
detect any conflicts due to recursive use of the same Fortran solver
Definition: NonDLocalInterval.cpp:89
IntIntMap surrIdMap
map from approxInterface/lowFidelityModel evaluation ids to DataFitSurrModel/EnsembleSurrModel ids
Definition: DataFitSurrModel.hpp:437
Derived approximation class for TANA-3 two-point exponential approximation (a multipoint approximatio...
Definition: TANA3Approximation.hpp:27
void mpi_debug_hold()
Global function to hold Dakota processes to help with MPI debugging.
Definition: dakota_global_defs.cpp:163
const String2DArray & get_s2a(const String &entry_name) const
get a String2DArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2000
virtual Iterator & subordinate_iterator()
return the sub-iterator in nested and surrogate models
Definition: DakotaModel.cpp:3428
Iterator gpBuild
LHS iterator for building the initial GP.
Definition: NonDAdaptiveSampling.hpp:74
void GetBestSOSolutions(const JEGA::Utilities::DesignOFSortSet &from, const JEGA::Algorithms::GeneticAlgorithm &theGA, std::multimap< RealRealPair, JEGA::Utilities::Design * > &designSortMap)
Retreive the best Designs from a set of solutions assuming that they are generated by a single object...
Definition: JEGAOptimizer.cpp:1739
void read_challenge_points()
Load approximation test points from user challenge points file.
Definition: ApproximationInterface.cpp:959
Real linesearch_eval(const Real &trial_step, short req_val=1)
evaluate the objective function given a particular step size (public for use in boost_ls_eval functor...
Definition: NonlinearCGOptimizer.cpp:595
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: DLSolver.hpp:39
VectorXd value(const MatrixXd &eval_points)
Evaluate the Surrogate at a set of prediction points for QoI index 0.
Definition: SurrogatesBase.hpp:93
void parse_inputs(ProgramOptions &prog_opts, DbCallbackFunctionPtr callback=NULL, void *callback_data=NULL)
Parses the input file or input string if present and executes callbacks. Does not perform any validat...
Definition: ProblemDescDB.cpp:121
static int VLI_aleatory[NUM_UNC_INT_CONT]
which uncertain integer check array containers are aleatory (true = 1)
Definition: NIDRProblemDescDB.cpp:5228
unsigned short sparseGridLevel
the sparse_grid_level specification in MethodNonDPCE and MethodNonDSC
Definition: DataMethod.hpp:1001
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: TaylorApproximation.cpp:25
UShortArray approxSet
ACV uses all approximations with in numApprox; this array supports this case for functions that are g...
Definition: NonDACVSampling.hpp:241
virtual RealArray challenge_diagnostic(const StringArray &metric_types, const RealMatrix &challenge_points, const RealVector &challenge_responses)
compute requested diagnostics for user provided challenge pts
Definition: DakotaApproximation.cpp:888
virtual Real variance()
return the variance of the expansion, where all active vars are random
Definition: DakotaApproximation.cpp:524
H5::DataSet create_dataset(const H5::H5Location &loc, const std::string &name, const H5::DataType &type, const H5::DataSpace &space, const H5::DSetCreatPropList &create_plist=H5::DSetCreatPropList(), const H5::DSetAccPropList &access_plist=H5::DSetAccPropList()) const
Create a dataset with a custom CreatPropList.
Definition: HDF5_IO.cpp:316
Real equivHFEvals
equivalent number of high fidelity evaluations accumulated using samples across multiple model forms ...
Definition: NonDExpansion.hpp:462
RealVector noiseTols
noise tolerance for compressive sensing algorithms; vector form used in cross-validation
Definition: NonDPolynomialChaos.hpp:222
virtual void compute_expansion()
form the expansion by calling uSpaceModel.build_approximation()
Definition: NonDExpansion.cpp:803
size_t dsv_index_to_active_index(size_t dsv_index) const
convert index within active discrete string variables to index within aggregated active variables (ac...
void write(std::ostream &s) const
write a DataVariablesRep object to an std::ostream
Definition: DataVariables.cpp:235
RealSymMatrix approxHessian
Hessian of the approximation returned by hessian()
Definition: DakotaApproximation.hpp:403
~LeastSq()
destructor
Definition: DakotaLeastSq.hpp:109
virtual void derived_parse_inputs(const std::string &dakota_input_file, const std::string &dakota_input_string, const std::string &parser_options)
derived class specifics within parse_inputs()
Definition: ProblemDescDB.cpp:275
int cantilever_ml()
unscaled cantilever test function for UQ with levels
Definition: TestDriverInterface.cpp:719
int amPeriodNumSteps
AM period num steps.
Definition: NonDMUQBayesCalibration.hpp:139
ParallelLibrary & parallel_library() const
return the parallel library (parallelLib)
Definition: DakotaModel.hpp:3581
StringScale(const std::string &in_label, const std::vector< String > &in_items, const size_t first, const size_t num, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes indexes into a StringArray.
Definition: dakota_results_types.hpp:452
void print_evaluation_summary(std::ostream &s, bool minimal_header, bool relative_count) const
print an evaluation summary for the interface
Definition: DakotaInterface.cpp:433
unsigned short quadOrderSpec
scalar quadrature order, rendered anisotropic via dimPrefSpec
Definition: NonDQuadrature.hpp:173
void check_function_gradient()
differentiate the ft to form its gradient, if not previously performed
Definition: C3Approximation.cpp:1041
IntegerScale(const std::string &in_label, std::initializer_list< int > in_items, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes an initializer_list.
Definition: dakota_results_types.hpp:345
Adapted basis model for input (variable space) reduction.
Definition: AdaptedBasisModel.hpp:28
void read(MPIUnpackBuffer &s)
read a DataEnvironmentRep object from a packed MPI buffer
Definition: DataEnvironment.cpp:46
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: ParamStudy.cpp:155
void generalized_acv_pilot_projection()
Definition: NonDGenACVSampling.cpp:694
~ExecutableEnvironment()
destructor
Definition: ExecutableEnvironment.cpp:49
~SharedC3ApproxData()
destructor
Definition: SharedC3ApproxData.cpp:94
UShortArray startOrderSeqSpec
user specification for start_order_sequence
Definition: NonDMultilevelFunctionTrain.hpp:127
void pop_liar_responses()
delete all liar responses
Definition: EffGlobalMinimizer.hpp:406
void serve_run(ParLevLIter pl_iter, int max_eval_concurrency)
Service the offline and online phase job requests received from the master; completes when terminatio...
Definition: SubspaceModel.cpp:426
Dakota specialization of QUESO generic joint PDF.
Definition: QUESOImpl.hpp:37
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: JEGAOptimizer.hpp:635
static bool modeOverrideFlag
flags OPT++ mode override (for combining value, gradient, and Hessian requests)
Definition: SNLLBase.hpp:158
RealVector mappedErrorEstimates
mapping of subModel.error_estimates() through response mappings
Definition: RecastModel.hpp:605
static String no_spec_id()
return the next available interface ID for on-the-fly methods
Definition: DakotaInterface.cpp:1531
void apply_additive(const Variables &vars, Response &approx_response)
internal convenience function for applying additive corrections to an approximate response
Definition: DiscrepancyCorrection.cpp:670
const IntVector & field_lengths(size_t experiment) const
return the field lengths for specified experiment index
Definition: ExperimentData.hpp:519
bool leastSignificantBitFirst
Flag to indicate integers in generating matrices are stored with least significant bit first.
Definition: DataMethod.hpp:922
std::string pyprepro_input(const std::string &template_file, const std::string &preproc_cmd)
run pyprepro on the user-provided input file and return generated tmp output
Definition: dakota_preproc_util.cpp:26
Eigen::MatrixXd proposalCovMatrix
proposal covariance for MCMC
Definition: NonDMUQBayesCalibration.hpp:121
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: CONMINOptimizer.cpp:293
const Response & response_results() const
return the final statistics from the nondeterministic iteration
Definition: DakotaNonD.hpp:463
unsigned short calibrateErrorMode
calibration mode for observation error multipliers (CALIBRATE_*)
Definition: DataMethod.hpp:1247
void all_discrete_string_type(unsigned short dsv_type, size_t index)
set discrete string type at index
Definition: SharedVariablesData.hpp:1547
int size()
Returns the length of the buffer.
Definition: MPIPackBuffer.hpp:207
void store_vector(const std::string &dset_name, const std::vector< T > &array) const
Store vector (1D) information to a dataset.
Definition: HDF5_IO.hpp:531
short correction_type() const
return correctionType
Definition: DiscrepancyCorrection.hpp:289
Nonintrusive polynomial chaos expansion approaches to uncertainty quantification.
Definition: NonDMultilevelFunctionTrain.hpp:28
double regressRegParam
penalty parameter if regularized regression
Definition: SharedC3ApproxData.hpp:259
UShortMultiArrayConstView all_continuous_types(size_t start, size_t num_items) const
get num_items continuous types beginning at index start
Definition: SharedVariablesData.hpp:1485
const String & discrete_string_variable(size_t index) const
return an active discrete string variable
Definition: DakotaVariables.hpp:864
RealArray challenge_diagnostic(const StringArray &metric_types, const RealMatrix &challenge_points, const RealVector &challenge_responses) override
compute and print all requested diagnostics for user provided challenge pts
Definition: SurfpackApproximation.cpp:817
int log2MaxPoints
(log2 of) maximum number of points of low-discrepancy generator
Definition: DataMethod.hpp:901
const IntResponseMap & derived_synchronize_nowait()
portion of synchronize_nowait() specific to RecastModel (forward to subModel.synchronize_nowait())
Definition: SubspaceModel.cpp:371
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: FSUDesignCompExp.cpp:203
String importPointsFile
file name from import_build_points_file specification
Definition: DataFitSurrModel.hpp:452
~SurfpackApproximation()
destructor
Definition: SurfpackApproximation.hpp:56
const String & exit_mode() const
behavior of abort_handler (throw or exit)
Definition: ProgramOptions.cpp:139
An evaluator specialization that knows how to interact with Dakota.
Definition: JEGAOptimizer.cpp:181
Derived application interface class which spawns simulation codes using fork/execvp/waitpid.
Definition: ForkApplicInterface.hpp:25
RealVector weibullUncVars
initial values of the weibull uncertain variables (from the initial_point specification in VarCAUV_We...
Definition: DataVariables.hpp:432
StringArray discreteRealEpistemicUncLabels
labels for all discrete real epistemic uncertain variables
Definition: DataVariables.hpp:790
void synchronize_derivatives(const Variables &vars, const IntResponseMap &fd_responses, Response &new_response, const ShortArray &fd_grad_asv, const ShortArray &fd_hess_asv, const ShortArray &quasi_hess_asv, const ActiveSet &original_set)
combine results from an array of finite difference response objects (fd_grad_responses) into a single...
Definition: DakotaModel.cpp:2345
void deallocate_arrays()
Deallocates memory previously allocated by allocate_arrays().
Definition: SOLBase.cpp:134
void output_for_optimization(int dim)
This function will write an input deck for a multi-start global optimization run of DAKOTA by extract...
Definition: NonDAdaptiveSampling.cpp:1670
int synchronous_local_analysis(int analysis_id)
Definition: SysCallApplicInterface.hpp:110
bool recastSubProb
flag to indicate when approxSubProbModel involves a RecastModel recursion
Definition: SurrBasedLocalMinimizer.hpp:181
Data structure for storing int-valued dimension scale.
Definition: dakota_results_types.hpp:313
void truncate_subspace()
use the truncation methods to identify the size of an active subspace
Definition: ActiveSubspaceModel.cpp:533
~DirectApplicInterface()
destructor
Definition: DirectApplicInterface.cpp:58
Real expected_improvement(const RealVector &expected_values, const Variables &recast_vars)
expected improvement function for the GP
Definition: NonDGlobalReliability.cpp:926
RealMatrix primaryRespCoeffs
"primary" response_mapping matrix applied to the sub-iterator response functions. For OUU,...
Definition: NestedModel.hpp:420
Real delta_combined_z(bool cdf_flag, Real beta_bar)
return the change in response level (mapped from beta_bar) resulting from expansion refinement,...
Definition: PecosApproximation.hpp:654
TKFactoryDIPC(const std::string &name)
Constructor for Dakota RW transition kernel factory.
Definition: QUESOImpl.hpp:182
MatrixXd thetaHistory
Final hyperparameter values for each optimization run.
Definition: SurrogatesGaussianProcess.hpp:372
std::shared_ptr< SharedApproxData > get_shared_data(ProblemDescDB &problem_db, size_t num_vars)
Used only by the standard envelope constructor to initialize dataRep to the appropriate derived type.
Definition: SharedApproxData.cpp:150
void initialize_u_space_grid()
helper for initializing a numerical integration grid
Definition: NonDExpansion.cpp:590
size_t numUserPrimaryFns
number of objective functions or least squares terms in the inbound model; always initialize at Minim...
Definition: DakotaMinimizer.hpp:273
int numberRetained
the integer assignment to random, chc, or elitist in the replacement_type specification for GA/EPSA m...
Definition: DataMethod.hpp:621
void manage_linear_constraints(const ProblemDescDB &problem_db)
perform checks on user input, convert linear constraint coefficient input to matrices,...
Definition: DakotaConstraints.cpp:639
static bool id_compare(const DataInterface &di, const std::string &id)
compares the idInterface attribute of DataInterface objects
Definition: DataInterface.hpp:289
void response_combine(const Response &actual_response, const Response &approx_response, Response &combined_response)
overlays actual_response and approx_response to update combined_response
Definition: SurrogateModel.cpp:989
unsigned short problemType
ROL problem type.
Definition: ROLOptimizer.hpp:104
void map_labels_to_enum(StringMultiArrayConstView &src, std::vector< var_t > &dest)
map labels in src to var_t in dest
Definition: DirectApplicInterface.cpp:563
const String & interface_id() const
return the userDefinedInterface identifier
Definition: SimulationModel.hpp:417
Implementation of Efficient Global Optimization/Least Squares algorithms.
Definition: EffGlobalMinimizer.hpp:28
IntVector discStringStepVector
the n-dimensional discrete string set index increment
Definition: ParamStudy.hpp:220
int side_impact_cost()
the side_impact_cost UQ/OUU test function
Definition: TestDriverInterface.cpp:2744
void post_push()
clean up popped bookkeeping following push
Definition: SharedC3ApproxData.hpp:727
virtual void core_run()
Performs the iterations to determine the optimal set of solutions.
Definition: JEGAOptimizer.cpp:753
Class for using global nongradient-based optimization approaches to calculate interval bounds for epi...
Definition: NonDGlobalSingleInterval.hpp:32
void default_options() override
Construct and populate the defaultConfigOptions.
Definition: SurrogatesGaussianProcess.cpp:579
MatrixXd predMixedGramMatrix
Gram matrix for the mixed prediction/build points.
Definition: SurrogatesGaussianProcess.hpp:408
UShortArraySet::const_iterator activeDAGIter
the active instance from enumeration of UShortArraySets for each key in modelDAGs
Definition: NonDGenACVSampling.hpp:268
Real variance_variance_Qsum(const IntRealMatrixMap &sum_Ql, const IntRealMatrixMap &sum_Qlm1, const IntIntPairRealMatrixMap &sum_QlQlm1, const Sizet2DArray &N_l, const size_t step, const size_t qoi)
wrapper for var_of_var_ml
Definition: NonDMultilevelSampling.cpp:997
IntArray newFnHessRefPt
iteration reference point for newFnHessCounter
Definition: DakotaInterface.hpp:404
Model & iteratedModel
reference to the APPSOptimizer's model passed in the constructor
Definition: APPSEvalMgr.hpp:95
OPTPP::OptBCNewton * optbcnewton
Bound constrained Newton opt pointer.
Definition: SNLLOptimizer.hpp:343
void finalize_data()
finalize SurrogateData by applying all remaining trial sets
Definition: DakotaApproximation.cpp:326
void print_restart_pdb(StringArray pos_args, String print_dest)
print a restart file (PDB format)
Definition: restart_util.cpp:308
PebbldBranching * global() const
Returns a reference to the corresponding main Branching object.
Definition: PEBBLBranching.cpp:42
void unpack(long *data, const int num=1)
Unpack one or more long's.
const RealSetArray & get_rsa(const String &entry_name) const
get a RealSetArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1809
void output_helper(const std::string &message, std::ostream &os) const
output only on Dakota worldRank 0 if possible
Definition: CommandLineHandler.cpp:472
void update_linear_constraints(const Model &model)
update linear constraints from passed sub-model
Definition: RecastModel.hpp:1164
RealVector finalCVPoint
the continuous ending point for vector_parameter_study
Definition: ParamStudy.hpp:206
const Real & get_real(const String &entry_name) const
get a Real out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2163
Interface approxInterface
manages the building and subsequent evaluation of the approximations (required for both global and lo...
Definition: DataFitSurrModel.hpp:413
int initialSamples
initial number of samples at which to query the truth model
Definition: ActiveSubspaceModel.hpp:216
Pecos::SurrogateDataResp response_to_sdr(const Response &response, size_t fn_index)
create a SurrogateDataResp instance by extracting data for a particular QoI from a Response object
Definition: DakotaApproximation.cpp:1166
std::vector< Approximation > multCorrections
array of multiplicative corrections; surrogate models of a model discrepancy function (formed from mo...
Definition: DiscrepancyCorrection.hpp:219
bool resultsOutputFlag
flags use of results output to default file
Definition: DataEnvironment.hpp:89
void configuration_options(const Pecos::ExpansionConfigOptions &ec_options)
set the expansion configuration options within Pecos::SharedPolyApproxData
Definition: SharedPecosApproxData.hpp:394
static Minimizer * minimizerInstance
pointer to Minimizer used in static member functions
Definition: DakotaMinimizer.hpp:306
StringArray variable_labels(const Variables &vars) const
retrieve the active or all labels over which the surrogate was built
Definition: SharedSurfpackApproxData.cpp:161
StringScale(const std::string &in_label, std::vector< const char * > in_items, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes a vector of C-style strings.
Definition: dakota_results_types.hpp:428
virtual void approximation_function_indices(const SizetSet &approx_fn_indices)
set the (currently active) approximation function index set
Definition: DakotaInterface.cpp:1000
void discrepancy_emulation_mode(short mode)
set discrepancy emulation mode used for approximating response differences
Definition: ApproximationInterface.hpp:421
int addpoint(int, IntArray &added_index)
Adds a point to the effective training set. Returns 1 on success.
Definition: GaussProcApproximation.cpp:1166
void pull_level_mappings(RealVector &level_maps, size_t offset)
concatenate computed{Resp,Prob,Rel,GenRel}Levels into level_maps
Definition: DakotaNonD.cpp:357
std::shared_ptr< QUESO::GslVector > paramInitials
initial parameter values at which to start chain
Definition: NonDQUESOBayesCalibration.hpp:200
void LoadDakotaResponses(const JEGA::Utilities::Design &from, Variables &vars, Response &resp) const
Loads the JEGA-style Design class into equivalent Dakota-style Variables and Response objects.
Definition: JEGAOptimizer.cpp:934
const String & fd_hessian_step_type() const
return the finite difference Hessian step type (fdHessStepType)
Definition: DakotaModel.hpp:3663
MatrixXd eyeMatrix
Identity matrix for the build points space.
Definition: SurrogatesGaussianProcess.hpp:336
virtual void add_metadata_to_object(const StrStrSizet &iterator_id, const StringArray &location, const AttributeArray &attrs)=0
Associate key:value metadata with the object at the location.
bool adaptOrder
whether or not to adapt order by cross validation
Definition: DataMethod.hpp:835
size_t numWeibullUncVars
number of weibull uncertain variables (from the weibull_uncertain specification in VarAUV)
Definition: DataVariables.hpp:149
void build_views()
construct active/inactive views of all variables arrays
Definition: DakotaConstraints.hpp:1149
bool varyPattern
flag for continuing the random number sequence from a previous execution (e.g., for surrogate-based o...
Definition: DDACEDesignCompExp.hpp:115
UShortMultiArrayConstView inactive_discrete_int_variable_types() const
return the inactive discrete integer variable types
Definition: DakotaVariables.hpp:1585
size_t numPoissonUncVars
number of Poisson uncertain variables (from the poisson_uncertain specification in VarAUV)
Definition: DataVariables.hpp:155
void copy_matrix(const RealSymMatrix &rsm, SurfpackMatrix< Real > &surfpack_matrix)
copy RealSymMatrix to SurfpackMatrix (Real type only)
Definition: SharedSurfpackApproxData.cpp:139
RealVector residuals_view(const RealVector &residuals, size_t experiment) const
Return a view (to allowing updaing in place) of the residuals associated with a given experiment,...
Definition: ExperimentData.cpp:804
std::map< Pecos::ActiveKey, StringMultiArray > referenceIDSVars
stores a reference copy of the inactive discrete string variables when the approximation is built usi...
Definition: EnsembleSurrModel.hpp:442
String mcmcType
MCMC type ("dram" or "delayed_rejection" or "adaptive_metropolis" or "metropolis_hastings" or "multil...
Definition: NonDMUQBayesCalibration.hpp:112
C3Approximation()
default constructor
int graphicsCntr
used for x axis values in 2D graphics and for 1st column in tabular data
Definition: OutputManager.hpp:422
void order_to_dim_preference(const UShortArray &order, unsigned short &p, RealVector &dim_pref)
convert an isotropic/anisotropic expansion_order vector into a scalar plus a dimension preference vec...
Real wilksConfidenceLevel
Wilks confidence interval parameter.
Definition: DataMethod.hpp:892
size_t insert_response_start(size_t position)
compute start index for inserting response data into aggregated response
Definition: EnsembleSurrModel.hpp:765
RealVector histogramBinUncVars
initial values of the histogram bin uncertain variables (from the initial_point specification in VarC...
Definition: DataVariables.hpp:444
const String & command_line_run_input() const
runInput filename
Definition: ParallelLibrary.hpp:1354
virtual void derived_finite_solution_bounds(const RealVector &x0, RealVector &x_lb, RealVector &x_ub, Real budget)
portion of finite_solution_bounds() specific to derived class implementations
Definition: NonDNonHierarchSampling.cpp:1232
void initialize_counts()
initialize data based on variable counts
Definition: NonDExpansion.cpp:126
MatlabInterface(const ProblemDescDB &problem_db)
Constructor: start Matlab engine.
Definition: MatlabInterface.cpp:41
bool nonlinear_variables_mapping() const
return nonlinearVarsMapping
Definition: RecastModel.hpp:656
const IntVector & inactive_discrete_int_variables() const
return the inactive discrete variables in currentVariables
Definition: DakotaModel.hpp:2097
const std::set< UShortArray > & active_multi_index() const
returns SparseGridDriver::active_multi_index()
Definition: NonDSparseGrid.hpp:190
int maxHifiEvals
maximum number of high-fidelity model runs to be used for adaptive Bayesian experimental design
Definition: NonDBayesCalibration.hpp:339
int num_tpl_nonlin_ineq_constraints() const
Number of nonlinear inequality constraints from TPL perspective.
Definition: DakotaTPLDataTransfer.hpp:49
void active_variables(const Variables &vars)
set the active variables in currentVariables
Definition: DakotaModel.hpp:1823
unsigned short tabularFormat
format for tabular data files (see enum)
Definition: DataEnvironment.hpp:83
bool importApproxActive
whether to import active variables only
Definition: DataMethod.hpp:1414
size_t idsv() const
get number of inactive discrete string vars
Definition: SharedVariablesData.hpp:1712
size_t qoi() const
return number of unique response functions (managing any aggregations)
Definition: RecastModel.hpp:754
Container class for a set of ParallelLevel list iterators that collectively identify a particular mul...
Definition: ParallelLibrary.hpp:406
RealVector nonlinearIneqUpperBnds
vector of nonlinear inequality constraint upper bounds (from the nonlinear_inequality_upper_bounds sp...
Definition: DataResponses.hpp:118
void serialize(Archive &archive, const unsigned int version)
Serializer for save/load.
Definition: SurrogatesGaussianProcess.hpp:459
virtual bool returns_multiple_points() const
indicates if this iterator returns multiple final points. Default return is false....
Definition: DakotaIterator.cpp:1611
size_t startCAUV
starting index of continuous aleatory uncertain variables within active continuous variables (conveni...
Definition: DakotaNonD.hpp:312
BitArray div_to_all_mask(bool ddv, bool dauv, bool deuv, bool dsv) const
create a BitArray indicating the active discrete int subset of all {continuous,discrete {int,...
DiscrepancyCorrection & discrepancy_correction()
return the DiscrepancyCorrection object used by SurrogateModels
Definition: EnsembleSurrModel.hpp:1291
virtual void initialize_ml_regression(size_t num_lev, bool &import_pilot)
initializations for multilevel_regression()
Definition: NonDExpansion.cpp:1738
bool query_batch(bool rebuild)
perform nonblocking synchronization for parallel evaluation of truth responses and replace liar respo...
Definition: EffGlobalMinimizer.cpp:570
Variables prpVariables
the set of parameters for the function evaluation
Definition: ParamResponsePair.hpp:153
Real log_average_estvar(const RealVector &cd_vars)
flattens contours of average_estimator_variance() using std::log
Definition: NonDNonHierarchSampling.hpp:1645
size_t numLinearConstraints
total number of linear constraints
Definition: DakotaMinimizer.hpp:264
int numGenerations
number of generations
Definition: NonDDREAMBayesCalibration.hpp:98
static Real compute_wilks_alpha(unsigned short order, int nsamples, Real beta, bool twosided=false)
calculates the alpha paramter given number of samples using the Wilks formula Static so I can test wi...
Definition: NonDSampling.cpp:1488
void compute_delta_variance(bool update_ref, bool print_metric)
helper function to compute deltaRespVariance
Definition: NonDStochCollocation.cpp:471
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: COLINOptimizer.hpp:49
void initialize_scaling(Model &sub_model)
initialize scaling types, multipliers, and offsets; perform error checking
Definition: ScalingModel.cpp:278
short correction_type() const
retrieve subModel's correction type
Definition: RecastModel.hpp:911
Real solutionTarget
holds the solution target minimum to drive towards
Definition: NCSUOptimizer.hpp:153
PRPQueue asynchLocalActivePRPQueue
used by nonblocking asynchronous local schedulers to bookkeep active local jobs
Definition: ApplicationInterface.hpp:537
~MPIPackBuffer()
Desctructor.
Definition: MPIPackBuffer.hpp:50
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
reset sampling iterator to use at least min_samples
Definition: DDACEDesignCompExp.hpp:128
void find_scaled_coefficients()
compute TANA coefficients based on scaled inputs
Definition: QMEApproximation.cpp:127
virtual void build()
builds the approximation from scratch
Definition: DakotaApproximation.cpp:236
String exportDiscrepFile
filename for discrepancy calculations output
Definition: NonDBayesCalibration.hpp:357
virtual void set_cell_bounds()
set the optimization variable bounds for each cell
Definition: NonDLocalInterval.cpp:239
int random_seed() const
return specification for random seed (may be part of a sequence specification)
Definition: NonDMultilevelStochCollocation.hpp:94
TrackerHTTP: a usage tracking module that uses HTTP/HTTPS via the curl library.
Definition: TrackerHTTP.hpp:26
void collect_results()
Wait for and collect results from DAKOTA runs.
Definition: library_split.cpp:238
StringMultiArrayView all_discrete_real_variable_labels() const
returns a single array with all discrete variable labels
Definition: DakotaVariables.hpp:1746
std::shared_ptr< TPLDataTransfer > dataTransferHandler
Emerging helper class for handling data transfers to/from Dakota and the underlying TPL.
Definition: DakotaMinimizer.hpp:314
String convergenceType
The means by which this JEGA should converge.
Definition: DataMethod.hpp:693
void pop_coefficients(bool save_data)
removes entries from end of SurrogateData::{vars,resp}Data (last points appended, or as specified in ...
Definition: C3Approximation.cpp:498
RealMatrix NTargetQoI
Helper data structure to store intermedia sample allocations.
Definition: NonDMultilevelSampling.hpp:555
int randomSeed
the current seed
Definition: NonDSampling.hpp:303
const char * buf()
Returns a pointer to the internal buffer that has been packed.
Definition: MPIPackBuffer.hpp:53
void compute_trust_region_ratio(SurrBasedLevelData &tr_data, bool check_interior=false)
compute trust region ratio (for SBLM iterate acceptance and trust region resizing) and check for soft...
Definition: SurrBasedLocalMinimizer.cpp:547
RealVector discreteStateSetRealUpperBnds
discrete state real set upper bounds inferred from set values
Definition: DataVariables.hpp:803
void view_data(const RealMatrix &src_mat, Eigen::Map< MatrixXd > &mat_view)
Create a view of data in RealMatrix as an Eigen::MatrixXd.
Definition: dakota_data_util.cpp:412
String modelExportPrefix
the filename prefix for export_model
Definition: DataMethod.hpp:1436
void decrement_grid()
helper function to manage different grid decrement cases
Definition: NonDExpansion.cpp:1189
String quesoOptionsFilename
file containing advanced QUESO option overrides
Definition: DataMethod.hpp:1236
void extract_truth_key(const Pecos::ActiveKey &active_key, Pecos::ActiveKey &truth_key)
define truth and surrogate keys from incoming active key. In case of singleton, use responseMode to d...
Definition: EnsembleSurrModel.hpp:1011
void register_signal_handlers()
Tie various signal handlers to Dakota's abort_handler function.
Definition: dakota_global_defs.cpp:144
String runOutput
filename for run output
Definition: DataEnvironment.hpp:66
size_t numContinuousIntervalUncVars
number of continuous epistemic interval uncertain variables (from the continuous_interval_uncertain s...
Definition: DataVariables.hpp:179
std::map< Pecos::ActiveKey, IntVector > referenceDIUBnds
stores a reference copy of active discrete int upper bounds when the approximation is built; used to ...
Definition: EnsembleSurrModel.hpp:459
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: DataFitSurrBasedLocalMinimizer.hpp:57
void view_start_counts(short view, size_t &cv_start, size_t &div_start, size_t &dsv_start, size_t &drv_start, size_t &num_cv, size_t &num_div, size_t &num_dsv, size_t &num_drv) const
define start indices and counts for active variables based on view
virtual void clear_inactive_coefficients()
prune inactive coefficients following combination and promotion to active
Definition: DakotaApproximation.cpp:387
bool buildSurrogate
flag specifying whether or not a surrogate is built over the subspace
Definition: ActiveSubspaceModel.hpp:292
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NCSUOptimizer.hpp:33
virtual bool seed_updated()
detect whether the seed has been updated since the most recent sample set generation
Definition: NonDSampling.hpp:524
Real solverRoundingTol
Rounding tolerance for FT regression.
Definition: DataMethod.hpp:825
void append_columns(const T1 &new_cols, T2 &target)
Append columns of input matrix to existing matrix.
Definition: util_math_tools.hpp:64
size_t numNonlinearIneqConstraints
number of nonlinear inequality constraints (from the num_nonlinear_inequality_constraints specificati...
Definition: DataResponses.hpp:67
void u_truth_evaluation(const RealVector &c_vars_u, short mode)
evaluate uSpaceModel in BYPASS_SURROGATE mode to collect u-space truth data at specified point
Definition: NonDGlobalReliability.hpp:177
void correction_type(short corr_type)
update correctionType
Definition: DiscrepancyCorrection.hpp:285
Derived nondeterministic class that generates N-dimensional numerical quadrature points for evaluatio...
Definition: NonDQuadrature.hpp:39
int evalIdRefPt
iteration reference point for evalIdCntr
Definition: DakotaInterface.hpp:388
void resolve_top_method(bool set_model_nodes=true)
For a (default) environment lacking a top method pointer, this function is used to determine which of...
Definition: ProblemDescDB.cpp:475
int numVariables
Number of features/variables in the Surrogate's build samples.
Definition: SurrogatesBase.hpp:221
String costRecoveryMetadata
identifier for response metadata that returns the incurred cost of a simulation execution....
Definition: DataModel.hpp:135
Real combined_beta(bool cdf_flag, Real z_bar)
return the reliability index (mapped from z_bar), where all active variables are random
Definition: PecosApproximation.hpp:534
void centered_loop()
performs a number of plus and minus offsets for each parameter centered about an initial point
Definition: ParamStudy.cpp:486
void deactivate_distribution_parameter_derivatives()
deactivate derivative setting w.r.t. distribution parameters
Definition: SurrogateModel.hpp:254
int min_coefficients() const override
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: SurfpackApproximation.cpp:354
bool exists(const String location_name) const
Does a group or dataset exist?
Definition: HDF5_IO.cpp:80
virtual const IntResponseMap & derived_synchronize_nowait()
portion of synchronize_nowait() specific to derived model classes
Definition: DakotaModel.cpp:3370
Data origData
Original data defining the empirical distribution TODO: Consider if it should be const (breaks Teucho...
Definition: BootstrapSampler.hpp:113
String method_results_hdf5_link_name(const StrStrSizet &iterator_id)
Create a method results name (HDF5 link name) from iterator_id.
Definition: ResultsDBHDF5.cpp:35
unsigned short sampleType
the sample_type specification in MethodNonDMC, MethodNonDPCE, and MethodNonDSC
Definition: DataMethod.hpp:1066
static RealVector lastEvalVars
copy of variables from constraint evaluators
Definition: SNLLBase.hpp:168
void construct_sparse_grid(Iterator &u_space_sampler, Model &g_u_model, unsigned short ssg_level, const RealVector &dim_pref)
assign a NonDSparseGrid instance within u_space_sampler
Definition: NonDExpansion.cpp:455
void factorize(const MatrixXd &A) override
Perform the matrix factorization for the linear solver matrix.
Definition: UtilLinearSolvers.cpp:122
void print_intervals(std::ostream &s) const
prints the intervals computed in compute_intervals() with default qoi_type and moment_labels
Definition: NonDSampling.hpp:466
int paramsMsgLen
length of MPI buffer for parameter input instance(s)
Definition: IteratorScheduler.hpp:195
DataVariables()
constructor
Definition: DataVariables.cpp:334
Definition: ExperimentData.hpp:62
virtual const RealVector & callback_linear_ineq_lower_bounds() const
return linear constraint lower bounds for this iterator (user-functions mode for which iteratedModel ...
Definition: DakotaIterator.cpp:1576
bool corrComputed
flag indicatng whether correlations have been computed
Definition: SensAnalysisGlobal.hpp:274
void initialize_run()
utility function to perform common operations prior to pre_run(); typically memory initialization; se...
Definition: DakotaMinimizer.cpp:292
VectorXd get_objective_function_history()
Get the history of objective function values from MLE with restarts.
Definition: SurrogatesGaussianProcess.hpp:251
size_t simModelEvalCntr
counter for calls to derived_evaluate()/derived_evaluate_nowait()
Definition: SimulationModel.hpp:205
void write(std::ostream &s) const
write a DataVariables object to an std::ostream
Definition: DataVariables.hpp:1020
bool config_regression(const UShortArray &exp_orders, size_t colloc_pts, Real colloc_ratio_order, short regress_type, short ls_regress_type, const UShortArray &tensor_grid_order, unsigned short sample_type, int seed, const String &rng, const String &pt_reuse, Iterator &u_space_sampler, Model &g_u_model, String &approx_type)
configure u_space_sampler and approx_type based on regression specification
Definition: NonDPolynomialChaos.cpp:532
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: SNLLOptimizer.hpp:66
void transform_variables(const Variables &recast_vars, Variables &sub_model_vars)
perform transformation of Variables (recast --> sub-model)
Definition: RecastModel.cpp:603
size_t continuous_variables()
return total number of continuous variables
Definition: DataVariables.hpp:971
Derived model class which performs a complete sub-iterator execution within every evaluation of the m...
Definition: NestedModel.hpp:37
int buildSamples
number of samples of the simulation to construct the GP
Definition: NonDGPMSABayesCalibration.hpp:113
SizetArray complement1ADSVarMapIndices
"primary" variable mappings for inserting the complement of the active discrete string currentVariabl...
Definition: NestedModel.hpp:387
bool resize_pending() const
return true if a potential resize is still pending, such that sizing-based initialization should be d...
Definition: RandomFieldModel.hpp:231
std::ostream * output_stream()
a pointer to the stream, either cout/cerr or a file
Definition: OutputManager.cpp:904
void unpack(int &data)
Unpack a int.
Definition: MPIPackBuffer.hpp:241
void initialize_counters_limits()
initialize counters and limits used for assessing convergence
Definition: EffGlobalMinimizer.hpp:336
RealVector linearEqScaleMultipliers
scales for linear constraints
Definition: ScalingModel.hpp:193
short statsMetricMode
mode of computing statistics metrics used for convergence assessment of multilevel/multifidelity refi...
Definition: DataMethod.hpp:360
~MixedVariables()
destructor
Definition: MixedVariables.hpp:95
void extract_data(const boost::any &dataholder, std::ostream &os) const
determine the type of contained data and output it to ostream
Definition: ResultsDBAny.cpp:102
void prior_sample(Engine &rng, RealVector &prior_samples)
draw a multivariate sample from the prior distribution
Definition: NonDBayesCalibration.hpp:736
virtual void warm_start_flag(const bool flag)
set the warm start flag (warmStartFlag)
Definition: DakotaModel.cpp:4844
std::shared_ptr< QUESO::MhOptionsValues > calIpMhOptionsValues
MH-specific inverse problem options.
Definition: NonDQUESOBayesCalibration.hpp:216
void unsafe_get_points(const size_t nMin, const size_t nMax, RealMatrix &points)
Generates rank-1 lattice points without error checking.
Definition: Rank1Lattice.cpp:428
std::string resultsFileWritten
actual, qualified name of the results file written, possibly with workdir
Definition: ProcessApplicInterface.hpp:190
Class MPIManager to manage Dakota's MPI world, which may be a subset of MPI_COMM_WORLD.
Definition: MPIManager.hpp:37
void set_blocking_synch(const bool blockingSynchFlag)
publishes whether or not COLIN is operating synchronously
Definition: COLINApplication.hpp:55
std::shared_ptr< Surrogate > clone() const override
clone derived Surrogate class for use in cross-validation
Definition: SurrogatesPolynomialRegression.hpp:181
short uSpaceType
user requested expansion type
Definition: NonDPolynomialChaos.hpp:184
NonDPolynomialChaos(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDPolynomialChaos.cpp:35
NoDBBaseConstructor(int=0)
C++ structs can have constructors.
Definition: dakota_global_defs.hpp:172
APPSOptimizer()
alternate constructor for even more rudimentary on-the-fly instantiation
Definition: APPSOptimizer.hpp:141
int numSamples
the number of samples used in the surrogate
Definition: NonDGlobalInterval.hpp:144
RealVector continuousEpistemicUncUpperBnds
distribution upper bounds for all continuous epistemic uncertain variables
Definition: DataVariables.hpp:755
virtual void derived_map_asynch(const ParamResponsePair &pair)
Python supports batch only, not true asynch (this is no-op)
Definition: Pybind11Interface.cpp:118
RealVector continuousDesignScales
scales array for the continuous design variables (from the continuous_design scales specification in ...
Definition: DataVariables.hpp:224
const ScalarType & set_index_to_value(OrdinalType index, const std::set< ScalarType > &values)
retrieve the set value corresponding to the passed index
Definition: dakota_data_util.hpp:1201
Dakota linear algebra utilities.
void init_hyper_parameters()
initialize the hyper-parameter priors
Definition: NonDBayesCalibration.cpp:564
std::string MetaDataKeyType
Data type for metadata key.
Definition: dakota_results_types.hpp:54
bool dedicatedMasterFlag
signals dedicated master partitioning
Definition: ParallelLibrary.hpp:113
void run_queso_solver()
perform the MCMC process
Definition: NonDQUESOBayesCalibration.cpp:384
SCALER_TYPE
Enumeration for supported types of DataScalers.
Definition: UtilDataScaler.hpp:42
void push_approximation()
push a previous approximation data state; reverse of pop_approximation
Definition: RecastModel.hpp:973
void write_sdm_col(Archive &ar, int col, const Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > &sdm) const
write a column of a SerialDenseMatrix
Real convergence_tolerance() const
return the method convergence tolerance (convergenceTol)
Definition: DakotaIterator.hpp:713
static bfs::path rel_to_abs(const bfs::path &subdir_path)
get a valid absolute bfs::path to a subdirectory relative to rundir
Definition: WorkdirHelper.hpp:139
NonDMultilevelSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultilevelSampling.cpp:35
std::shared_ptr< QUESO::SipOptionsValues > calIpOptionsValues
general inverse problem options
Definition: NonDQUESOBayesCalibration.hpp:213
void weight_model()
Wrap iteratedModel in a RecastModel that weights the residuals.
Definition: DakotaLeastSq.cpp:119
void clear_current_active_data()
Definition: QMEApproximation.hpp:120
virtual void replace(const IntResponsePair &response_pr, size_t fn_index)
replace the response data
Definition: DakotaApproximation.cpp:281
SensAnalysisGlobal()
constructor
Definition: SensAnalysisGlobal.hpp:300
void dri_step(size_t di_index, int increment, Variables &vars)
helper function for performing a discrete step in an integer range variable
Definition: ParamStudy.hpp:670
void pack(const unsigned long long *data, const int num=1)
Pack one or more unsigned long long's.
void pop_output_tag(const ParallelLevel &pl)
pop the last output tag and rebind streams as needed; pl isn't yet used, but may be in the future whe...
Definition: ParallelLibrary.cpp:1135
bool resize()
reinitializes iterator based on new variable size
Definition: DakotaNonD.cpp:123
IntVector allDiscreteIntVars
array combining all of the discrete integer variables
Definition: DakotaVariables.hpp:609
Real relaxFixedFactor
fixed (under-)relaxation factor applied to sample increments computed in the latest ML/MF allocation ...
Definition: DataMethod.hpp:1126
RealMatrixArray discreteDesignSetStrAdj
Adjacency matrices for each of the discrete design variables defined by a string set (from the discre...
Definition: DataVariables.hpp:278
Environment corresponding to execution as an embedded library.
Definition: LibraryEnvironment.hpp:26
OPTPP::FDNLF1 * fdnlf1
pointer to objective NLF for (finite diff) gradient-based optimizers
Definition: SNLLOptimizer.hpp:327
static void flatten_int_intervals(const IntIntPairRealMapArray &iiprma, RealVector **probs, IntVector **lb, IntVector **ub)
Flatten integer-valued interval uncertain variable intervals and probabilities back into separate arr...
Definition: NIDRProblemDescDB.cpp:6106
const size_t dataSize
Size of the dataset defining the empirical distribution.
Definition: BootstrapSampler.hpp:109
SharedVariablesData & operator=(const SharedVariablesData &svd)
assignment operator
Definition: SharedVariablesData.hpp:1036
IteratorList iteratorList
list of iterator objects, one for each method specification
Definition: ProblemDescDB.hpp:490
RealMatrix impFactor
importance factors predicted by MV
Definition: NonDLocalReliability.hpp:346
void recover_results(const RealVector &cv_star, const RealVector &fn_star, MFSolutionData &soln)
post-process optimization final results to recover solution data
Definition: NonDGenACVSampling.cpp:1473
RealVector loguniformUncUpperBnds
distribution upper bounds for the loguniform uncertain variables (from the upper_bounds specification...
Definition: DataVariables.hpp:360
void write_aprepro(std::ostream &s) const
write a variables object to an std::ostream in aprepro format, e.g., a parameters file
Definition: RelaxedVariables.cpp:158
short responseLevelTargetReduce
the system series or parallel specification in MethodNonD
Definition: DataMethod.hpp:1166
const IntVector & all_discrete_int_variables() const
return all discrete variables in currentVariables
Definition: DakotaModel.hpp:2188
void x_truth_evaluation(short mode)
evaluate iteratedModel at current point to collect x-space truth data
Definition: NonDGlobalReliability.hpp:147
void get_points(const size_t nMin, const size_t nMax, RealMatrix &points)
Generates low-discrepancy points between given indices Returns the points with index nMin,...
Definition: LowDiscrepancySequence.hpp:79
short outputLevel
output verbosity level
Definition: ExperimentData.hpp:468
bool multifidelity() const
identify if 1D hierarchy can be defined across model forms
Definition: EnsembleSurrModel.hpp:563
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: DakotaAnalyzer.cpp:847
const ParamResponsePair & get_source_pair(const Variables &target_vars)
convenience function for the continuation approach in manage_failure() for finding the nearest succes...
Definition: ApplicationInterface.cpp:2813
void relax_noncategorical(const ProblemDescDB &problem_db)
populate allRelaxedDiscrete{Int,Real} from user specifications (relax variables that are not declared...
void print_partial_correlations(std::ostream &s, const StringArray &var_labels, const StringArray &resp_labels, bool rank) const
print partial (rank = false) or partial rank (rank = true) correlations
Definition: SensAnalysisGlobal.cpp:695
virtual void serve_run(ParLevLIter pl_iter, int max_eval_concurrency)
Service job requests received from the master. Completes when a termination message is received from ...
Definition: DakotaModel.cpp:4671
size_t drv_start() const
start index of active discrete real vars
Definition: DakotaVariables.hpp:737
ResultsManager()
default constructor: no databases active until they are added
Definition: ResultsManager.hpp:102
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDLocalReliability.cpp:537
unsigned short cubIntOrderRef
reference point for Pecos::CubatureDriver::cubIntOrder: the original user specification for the numbe...
Definition: NonDCubature.hpp:99
String trendOrder
scalar integer indicating the order of the Gaussian process mean (0= constant, 1=linear,...
Definition: DataModel.hpp:287
void derived_init_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag)
Definition: ActiveSubspaceModel.cpp:1363
const IntVector & num_coords_per_field() const
number of independent coordinates for each primary field
Definition: SharedResponseData.hpp:359
const RealVector & linear_ineq_constraint_upper_bounds() const
return the linear inequality constraint upper bounds
Definition: DakotaConstraints.hpp:1026
Real percentFold
percentage of data to withhold for cross validation process
Definition: DataModel.hpp:298
IntVector refineSamples
refinement samples to add in each batch
Definition: DataModel.hpp:363
virtual Real mean()
return the mean of the expansion, where all active vars are random
Definition: DakotaApproximation.cpp:457
short method_map(short view_spec, bool relaxed) const
infer domain from method selection
std::shared_ptr< SharedApproxData > data_rep() const
returns dataRep for access to derived class member functions that are not mapped to the top SharedApp...
Definition: SharedApproxData.hpp:347
bool check_inactive_variables(const Model &sub_model)
check sub_model for consistency in inactive variable counts
Definition: SurrogateModel.cpp:148
Real minMeshSize
the minMeshSize choice for NOMAD in MethodNOMADDC
Definition: DataMethod.hpp:803
Iterator pcePilotExpansion
low-order (linear or quadratic) PCE generator for computing rotation matrices A_i for each of the QoI...
Definition: AdaptedBasisModel.hpp:121
std::vector< std::shared_ptr< OutputWriter > > ostreamDestinations
stack of redirections to OutputWriters; shared pointers are used to potentially share the same ostrea...
Definition: OutputManager.hpp:101
virtual void increment_order()
increments polynomial expansion order (PCE, FT)
Definition: SharedApproxData.cpp:456
RealVector truthFnsCenter
truth function values at the current correction point
Definition: DiscrepancyCorrection.hpp:241
virtual bool advancement_available()
check if resolution advancement (e.g., order, rank) is available for this approximation instance
Definition: DakotaApproximation.cpp:838
virtual void compute_gram_derivs(const MatrixXd &gram, const std::vector< MatrixXd > &dists2, const VectorXd &theta_values, std::vector< MatrixXd > &gram_derivs)=0
Compute the derivatives of the Gram matrix with respect to the kernel hyperparameters.
size_t finalize_index(size_t i, const Pecos::ActiveKey &key)
return index of i-th trial set within restorable bookkeeping sets
Definition: SharedPecosApproxData.hpp:235
void write_field(const RealVector &field_prediction)
write a field realization to console and file
Definition: RandomFieldModel.cpp:586
virtual void increment_grid_weights()
increment SSG level/TPQ order and preserve anisotropy
Definition: NonDIntegration.cpp:242
void inactive_view(short view, bool recurse_flag=true)
update the Model's inactive view based on higher level (nested) context and optionally recurse into
Definition: EnsembleSurrModel.hpp:1213
short prevDSRView
previous view used in discrete_set_real_values(view): avoids recomputation of activeDiscSetRealValues
Definition: DakotaModel.hpp:1719
void compute_build_dists()
Compute squared distances between the scaled build points.
Definition: SurrogatesGaussianProcess.cpp:661
bool distribute(const Teuchos::SerialDenseVector< OrdinalType, ScalarTypeA > &all_data, Teuchos::SerialDenseVector< OrdinalType, ScalarTypeC > &c_data, Teuchos::SerialDenseVector< OrdinalType, ScalarTypeDI > &di_data, Teuchos::SerialDenseVector< OrdinalType, ScalarTypeDS > &ds_data, Teuchos::SerialDenseVector< OrdinalType, ScalarTypeDR > &dr_data)
distributes incoming all vector in standard variable ordering among continuous, discrete int,...
Definition: ParamStudy.hpp:269
RealVector initialDRVPoint
the discrete real start point for vector and centered parameter studies
Definition: ParamStudy.hpp:203
virtual ~Constraints()
destructor
Definition: DakotaConstraints.cpp:170
RealVector continuousStateLowerBnds
lower bounds array for the continuous state variables (from the continuous_state lower_bounds specifi...
Definition: DataVariables.hpp:610
size_t continuous_epistemic_uncertain()
return total number of epistemic uncertain variables
Definition: DataVariables.hpp:943
void pre_output()
Definition: DakotaAnalyzer.cpp:543
void size_level_index_vector(int num_dims, int level, MatrixXi &indices)
Compute a matrix of basis indices for given dimension and level. Each row of the matrix sums to level...
Definition: surrogates_tools.cpp:38
int worldRank
cache the world rank to help with conditional output
Definition: ProgramOptions.hpp:219
MatrixXd GramMatrix
Gram matrix for the build points.
Definition: SurrogatesGaussianProcess.hpp:375
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
Definition: DakotaOptimizer.cpp:199
const RealSymMatrix & response_error_estimates() const
return error estimates associated with each of the finalStatistics
Definition: NonDSampling.hpp:684
String exportDiscrepFile
specify the name of file to which discrepancy calculations are output
Definition: DataMethod.hpp:1284
static bool recursive_copy(const bfs::path &src_path, const bfs::path &dest_dir, bool overwrite)
Recrusive copy of src_path into dest_dir, with optional top-level overwrite (remove/recreate) of dest...
Definition: WorkdirHelper.cpp:789
Real signed_norm(const RealVector &mpp_u, const RealVector &fn_grad_u, bool cdf_flag)
convert norm of mpp_u (u-space solution) to a signed reliability index
Definition: NonDLocalReliability.hpp:364
void archive_input(const ProgramOptions &prog_opts) const
Archive the input file to the results database.
Definition: OutputManager.cpp:661
void send_ea(int &send_int, int dest, int tag)
blocking send at the evaluation-analysis communication level
Definition: ParallelLibrary.hpp:1486
String lipschitzType
the Lipschitz type specification in MethodNonDPOFDarts (e.g. either local or global estimation)
Definition: DataMethod.hpp:1245
~ScilabInterface()
Destructor: close Scilab engine.
Definition: ScilabInterface.cpp:56
IntVector refineSamples
Sequence of refinement samples, e.g., the size of the batch (e.g. number of supplemental points added...
Definition: DataMethod.hpp:1086
int asynchLocalEvalConcurrency
limits the number of concurrent evaluations in asynchronous local scheduling and specifies hybrid con...
Definition: ApplicationInterface.hpp:448
size_t levelCount
counter for which response/probability level is being analyzed
Definition: NonDReliability.hpp:96
void configure_indices(size_t group, size_t form, size_t lev, short seq_type)
configure response mode and active/truth/surrogate model keys within a hierarchical model....
Definition: NonDExpansion.cpp:1261
RealVector frechetUncVars
initial values of the frechet uncertain variables (from the initial_point specification in VarCAUV_Fr...
Definition: DataVariables.hpp:423
bool interpolate_flag() const
flag for interpolation. If 0, no interpolation. If 1, interpolate.
Definition: ExperimentData.hpp:601
Real singConvTol
singular convergence tolerance
Definition: DataMethod.hpp:511
MultiApproxOpts * multiApproxOpts
n-D approximation options, augmenting one-D options
Definition: SharedC3ApproxData.hpp:209
Real solverRoundingTol
Rounding tolerance for FT regression.
Definition: DataModel.hpp:422
int amStartingStep
AM staring step.
Definition: DataMethod.hpp:1366
NLSSOLLeastSqTraits()
default constructor
Definition: NLSSOLLeastSq.hpp:28
void nested_variable_mappings(const SizetArray &c_index1, const SizetArray &di_index1, const SizetArray &ds_index1, const SizetArray &dr_index1, const ShortArray &c_target2, const ShortArray &di_target2, const ShortArray &ds_target2, const ShortArray &dr_target2)
set primaryA{C,DI,DS,DR}VarMapIndices, secondaryA{C,DI,DS,DR}VarMapTargets (coming from a higher-leve...
Definition: DataFitSurrModel.hpp:511
virtual void get_best_sample(bool maximize, bool eval_approx)
determine truthFnStar and approxFnStar
Definition: NonDGlobalInterval.cpp:519
Real regressionL2Penalty
penalty parameter for regularized regression (FT_RLS2)
Definition: DataModel.hpp:414
RealVectorArray computedPDFOrdinates
response PDF densities computed from bin counts divided by (unequal) bin widths (vector lengths = num...
Definition: DakotaNonD.hpp:372
const Constraints & user_defined_constraints() const
return the user-defined constraints (userDefinedConstraints) as const reference (preferred)
Definition: DakotaModel.hpp:3559
unsigned short cubIntSpec
cubature integrand
Definition: NonDPolynomialChaos.hpp:187
int extract_id(IntVarsMCIter it, const IntVariablesMap &map)
manage special value when iterator has advanced to end
Definition: EffGlobalMinimizer.hpp:402
UShortArray startOrderSeq
starting polynomial order
Definition: DataMethod.hpp:852
const size_t maxIterations
Maximum number of times to refine the surrogate.
Definition: DataFitSurrModel.hpp:339
double actualValue(const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const
Actual value of the PDF (scalar function).
Definition: QUESOImpl.cpp:44
Real continuous_upper_bound(size_t i) const
return an active continuous upper bound from userDefinedConstraints
Definition: DakotaModel.hpp:2804
Model intervalOptModel
recast model which formulates the surrogate-based optimization subproblem (recasts as design problem;...
Definition: NonDGlobalInterval.hpp:101
bool failure_reported(std::istream &s)
Check for FAIL in stream.
void write(std::ostream &s) const
write a variable constraints object to an std::ostream
Definition: RelaxedVarConstraints.cpp:354
NonDC3FunctionTrain(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDC3FunctionTrain.cpp:41
MPIManager()
Default constructor; Dakota will not call MPI_Init.
Definition: MPIManager.cpp:19
bool backfillFailures
(inactive) option to backfill simulation failures by comparing targets against successful sample comp...
Definition: NonDEnsembleSampling.hpp:199
Model scalingModel
Shallow copy of the scaling transformation model, when present (cached in case further wrapped by oth...
Definition: DakotaMinimizer.hpp:303
Pecos::SharedBasisApproxData pecosSharedData
the Pecos shared approximation data
Definition: SharedPecosApproxData.hpp:166
unsigned short sampling_scheme() const
return sampling name
Definition: PSUADEDesignCompExp.hpp:131
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDPOFDarts.cpp:2260
StringArray priFieldLabels
labels for each primary response field
Definition: SharedResponseData.hpp:108
int numChains
number of concurrent chains
Definition: DataMethod.hpp:1311
void master_dynamic_schedule_evaluations()
blocking dynamic schedule of all evaluations in beforeSynchCorePRPQueue using message passing on a de...
Definition: ApplicationInterface.cpp:977
void copy_data_partial(const vecType1 &source, size_t source_start_idx, vecType2 &target, size_t target_start_idx, size_t len)
copy a portion arbitrary vector to all of another arbitrary vector
Definition: dakota_data_util.hpp:944
friend class boost::serialization::access
Allow serializers access to private class data.
Definition: SurrogatesPolynomialRegression.hpp:205
UShortArray nlnEqScaleTypes
nonlinear equality constraint scale types
Definition: ScalingOptions.hpp:48
int mf_rosenbrock()
alternate Rosenbrock formulations for multifidelity or model form studies
Definition: TestDriverInterface.cpp:1493
RealSymMatrix fnHessX
actual x-space Hessian for current function from most recent response evaluation
Definition: NonDLocalReliability.hpp:273
void print_statistics(std::ostream &s) const
prints the statistics computed in compute_statistics()
Definition: NonDSampling.cpp:1820
void check_key(int key1, int key2) const
check for consistency in response map keys
Definition: SurrogateModel.hpp:316
bool multi_proc_eval() const
returns a flag signaling the use of multiprocessor evaluation partitions
Definition: DakotaInterface.hpp:511
void increment_grid_preference()
increment SSG level/TPQ order and preserve anisotropy
Definition: NonDQuadrature.hpp:288
void build(const MatrixXd &samples, const MatrixXd &response) override
Build the python surrogate using specified build data.
Definition: SurrogatesPython.cpp:97
unsigned compute_folds()
compute number of folds from numFols/percentFold
DataVariables operator=(const DataVariables &)
assignment operator
Definition: DataVariables.cpp:343
std::map< int, int > tagList
map of DAKOTA eval id to APPS eval id (for asynchronous evaluations)
Definition: APPSEvalMgr.hpp:113
SizetArray randomIndices
indices for random subset when approximating in all-variables mode
Definition: SharedC3ApproxData.hpp:310
bool respScalingFlag
flag to indicate bounds-based scaling of current response data set prior to surrogate build; importan...
Definition: DataModel.hpp:226
int derived_evaluation_id() const
return the current evaluation id for the AdapterModel
Definition: AdapterModel.hpp:206
void write(std::ostream &s) const
write a DataResponsesRep object to an std::ostream
Definition: DataResponses.cpp:99
const RealVector & nonlinear_ineq_constraint_lower_bounds() const
return the nonlinear inequality constraint lower bounds
Definition: DakotaConstraints.hpp:1086
Real delta_combined_variance()
return the change in variance resulting from combined expansion refinement, where all active variable...
Definition: PecosApproximation.hpp:584
void sample_allocation_metric(Real &sparsity_metric, Real power)
accumulate one of the level metrics for {RIP,RANK}_SAMPLING cases
Definition: NonDPolynomialChaos.cpp:1207
pid_t evalProcGroupId
the process group id used to identify a set of child evaluation processes used by this interface inst...
Definition: ForkApplicInterface.hpp:96
Real augmented_lagrangian_merit(const RealVector &fn_vals, const BoolDeque &sense, const RealVector &primary_wts, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_tgts)
compute an augmented Lagrangian function from a set of function values
Definition: SurrBasedMinimizer.cpp:546
virtual void insert(const StrStrSizet &iterator_id, const std::string &data_name, const boost::any &result, const MetaDataType &metadata)=0
record addition with metadata map
pid_t wait_analysis(bool block_flag)
process all available completions within the analysis process group; if block_flag = true,...
Definition: ForkApplicInterface.hpp:112
unsigned short exportCorrModelFormat
format options for corrected model output
Definition: NonDBayesCalibration.hpp:361
int mogatest3()
Srinivas' from Van Veldhuizen, pp. B-5.
Definition: TestDriverInterface.cpp:3944
void close_streams()
helper to close streams during destructor or abnormal abort
Definition: OutputManager.cpp:218
size_t globalIterCount
global iteration counter corresponding to number of surrogate-based minimizations
Definition: SurrBasedMinimizer.hpp:153
void initialize(Model &surr_model, const SizetSet &surr_fn_indices, short corr_type, short corr_order, String approx_type="local_taylor", short approx_order=SHRT_MAX)
initialize the DiscrepancyCorrection data
Definition: DiscrepancyCorrection.cpp:28
void core_run()
Calls the OptDarts algorithm.
Definition: OptDartsOptimizer.cpp:57
StringArray discreteStateSetStrLowerBnds
discrete state string set lower bounds inferred from set values
Definition: DataVariables.hpp:797
ROL::Ptr< std::vector< double > > getVector(ROL::Vector< double > &vec)
Convert a ROL Vector to a ROL::Ptr<std::vector>
Definition: SurrogatesGPObjective.hpp:89
String output_file() const
output (user-provided or default) file base name (no tag)
Definition: ProgramOptions.cpp:133
ParamStudy(ProblemDescDB &problem_db, Model &model)
constructor
Definition: ParamStudy.cpp:28
SizetMultiArrayConstView initialize_x0_bounds(const SizetArray &original_dvv, bool &active_derivs, bool &inactive_derivs, RealVector &x0, RealVector &fd_lb, RealVector &fd_ub) const
Initialize data needed for computing finite differences (active/inactive, center point,...
Definition: DakotaModel.cpp:1099
void apply_nonlinear_constraints(const Model &model, CONSTRAINT_EQUALITY_TYPE etype, const VecT &in_vals, VecT &values, bool adjoint=false)
Definition: DakotaOptimizer.hpp:379
void active_model_key(const Pecos::ActiveKey &key)
activate an approximation state based on its multi-index key
Definition: C3Approximation.hpp:249
short response_type() const
return the response type: {BASE,SIMULATION,EXPERIMENT}_RESPONSE
Definition: SharedResponseData.hpp:367
void update_from_subordinate_model(size_t depth=SZ_MAX)
pass request to actualModel if recursing and then update from it
Definition: DataFitSurrModel.hpp:718
void output_version(std::ostream &os=Cout) const
Output the current Dakota version.
Definition: OutputManager.cpp:353
int batchSizeExploration
number of new sampling points defined from maximizing posterior variance
Definition: EffGlobalMinimizer.hpp:292
static void target_cost_objective_eval_npsol(int &mode, int &n, double *x, double &f, double *gradf, int &nstate)
NPSOL definition (Wrapper using OPTPP implementation above under the hood)
Definition: NonDMultilevelSampling.cpp:2171
void build_approx_interface()
build the approxInterface surrogate, passing variable bounds
Definition: DataFitSurrModel.cpp:1050
StringMultiArrayConstView continuous_variable_labels() const
return the active continuous variable labels
Definition: DakotaVariables.hpp:1090
void driver_argument_list(int analysis_id)
set argList for execution of the specified analysis driver
Definition: ProcessHandleApplicInterface.hpp:210
static SOLBase * solInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: SOLBase.hpp:158
void all_discrete_int_variable_label(const String &a_d_v_label, size_t i)
set a label within the all discrete labels in currentVariables
Definition: DakotaModel.hpp:2639
void archive_allocate_cps() const
specialized per-variable slice output for centered param study
Definition: ParamStudy.cpp:1086
void calibrate()
Definition: NonDQUESOBayesCalibration.cpp:108
static bool find_driver(const StringArray &source_items, const bfs::path &search_driver)
check whether the any of the passed source items (possibly including wildcards to be expanded) matche...
Definition: WorkdirHelper.cpp:738
RealVector linearIneqConLowerBnds
linear inequality constraint lower bounds
Definition: DakotaConstraints.hpp:383
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: COLINOptimizer.hpp:46
int numSamples
Number of samples in the Surrogate's build samples.
Definition: SurrogatesBase.hpp:219
Base class for common code between NonDLHSSampling, NonDAdaptImpSampling, and other specializations.
Definition: NonDSampling.hpp:32
NonDNonHierarchSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDNonHierarchSampling.cpp:45
size_t adiv() const
returns total number of discrete integer vars
Definition: DakotaModel.hpp:1802
void challenge_diagnostics(size_t fn_index, const RealMatrix &challenge_points, const RealVector &challenge_responses) override
compute and print all requested diagnostics for user provided challenge pts
Definition: SurfpackApproximation.cpp:776
size_t numCells
total number of interval combinations
Definition: NonDInterval.hpp:135
IntVector sequenceLeap
the sequenceLeap specification in MethodFSUDACE
Definition: DataMethod.hpp:780
UShortMultiArrayConstView discrete_int_variable_types() const
return the active discrete integer variable types
Definition: DakotaVariables.hpp:1315
Real threshDelta
the variable_tolerance specification for APPS/COBYLA/PS/SW methods in MethodAPPS, MethodSCOLIBCOB,...
Definition: DataMethod.hpp:611
SharedVariablesData()
default constructor
Definition: SharedVariablesData.hpp:999
void half_log_cov_det_hessian(const RealVector &multipliers, unsigned short multiplier_mode, size_t hyper_offset, RealSymMatrix &hessian) const
populated the passed Hessian with derivatives w.r.t. the hyper-parameter multipliers,...
Definition: ExperimentData.cpp:1669
IntVectorArray cellIntSetBounds
Storage array to hold cell values for discrete integer set variables.
Definition: NonDInterval.hpp:120
static void free_iterator(Iterator &sub_iterator, ParLevLIter pl_iter)
convenience function for deallocating comms after running an iterator
Definition: IteratorScheduler.cpp:455
int amPeriodNumSteps
AM period num steps.
Definition: DataMethod.hpp:1363
void state_counts(size_t &num_csv, size_t &num_dsiv, size_t &num_dssv, size_t &num_dsrv) const
compute state variables sums from SharedVariablesDataRep::variablesCompsTotals and SharedVariablesDat...
Definition: SharedVariablesData.hpp:1083
double Real
Dakota real floating point type.
Definition: util_data_types.hpp:58
size_t numHistogramPtRealUncVars
number of real-valued histogram point uncertain variables (from the histogram_point_uncertain specifi...
Definition: DataVariables.hpp:176
int configure_inequality_constraint_maps(const Model &model, Real big_real_bound_size, CONSTRAINT_TYPE ctype, IVecT &map_indices, RVecT &map_multipliers, RVecT &map_offsets, Real scaling=1.0)
Definition: DakotaOptimizer.hpp:216
virtual void pre_output()
write variables to file, following pre-run
Definition: DakotaIterator.cpp:1896
int scrambleSize
Number of rows in the linear scramble matrix.
Definition: DataMethod.hpp:926
OPTPP::NLF2 * nlf2
pointer to objective NLF for full Newton optimizers
Definition: SNLLOptimizer.hpp:331
RealVector relaxFactorSequence
a sequence of relaxation factors to use across ML/MF iterations (see DataMethod.hpp for usage notes)
Definition: NonDEnsembleSampling.hpp:233
static Real get_wilks_alpha_min()
Get the lower and upper bounds supported by Wilks bisection solves.
Definition: NonDSampling.hpp:164
void all_discrete_real_variable(Real adr_var, size_t index)
set a variable within the all discrete array
Definition: DakotaVariables.hpp:1696
std::ofstream exportVarianceFileStream
output file stream for export_approx_variance_file specification
Definition: DataFitSurrModel.hpp:466
short dataOrder
order of correction data in 3-bit format: overlay of 1 (value), 2 (gradient), and 4 (Hessian)
Definition: DiscrepancyCorrection.hpp:129
RealVector allContinuousUpperBnds
a continuous upper bounds array combining continuous design, uncertain, and continuous state variable...
Definition: DakotaConstraints.hpp:349
Model gpModel
GP model of response, one approximation per response function.
Definition: NonDAdaptiveSampling.hpp:80
bool hessFlag
signals use of fnHessians in direct simulator functions
Definition: DirectApplicInterface.hpp:152
ResponseList dbResponseList
transfers database captures from estimate_derivatives() to synchronize_derivatives()
Definition: DakotaModel.hpp:1659
std::vector< Approximation > & approximations()
retrieve the Approximations within an ApproximationInterface
Definition: ApproximationInterface.hpp:582
const StoredType * dbDataPtr
non-const pointer to const data we don't own in the core case
Definition: ResultsManager.hpp:375
Real H
the scalar Hessian value in the TANA-3 approximation
Definition: QMEApproximation.hpp:88
void multifidelity_mc_online_pilot()
Definition: NonDMultifidelitySampling.cpp:90
bool initLHS
flag to identify if initial points are generated from an LHS sample
Definition: NonDAdaptImpSampling.hpp:159
void update_response(const Variables &vars, Response &new_response, const ShortArray &fd_grad_asv, const ShortArray &fd_hess_asv, const ShortArray &quasi_hess_asv, const ActiveSet &original_set, Response &initial_map_response, const RealMatrix &new_fn_grads, const RealSymMatrixArray &new_fn_hessians)
overlay results to update a response object
Definition: DakotaModel.cpp:2622
void compute_Psi(const RealSymMatrix2DArray &cov_GG_inv, const RealVector &N_G, RealSymMatrixArray &Psi)
Definition: NonDMultilevBLUESampling.hpp:565
static bool check_equivalent(const bfs::path &src_path, const bfs::path &dest_dir, bool overwrite)
return true if the src and dest are filesystem equivalent
Definition: WorkdirHelper.cpp:854
void ifilter_argument_list()
set argList for execution of the input filter
Definition: ProcessHandleApplicInterface.hpp:194
size_t numGeometricUncVars
number of geometric uncertain variables (from the geometric_uncertain specification in VarAUV
Definition: DataVariables.hpp:164
Real constraint_penalty(const Real &constraint, const RealVector &c_variables)
calculate the penalty to be applied to the PMA constraint value
Definition: NonDGlobalReliability.cpp:1064
unsigned short subspaceNormalization
Normalization to use when forming a subspace with multiple response functions.
Definition: DataModel.hpp:386
const ParallelLevel & init_evaluation_communicators(int evaluation_servers, int procs_per_evaluation, int min_procs_per_eval, int max_procs_per_eval, int max_evaluation_concurrency, int asynch_local_evaluation_concurrency, short default_config, short evaluation_scheduling, bool peer_dynamic_avail)
split an iterator communicator into evaluation communicators
Definition: ParallelLibrary.hpp:1290
~PecosApproximation()
destructor
Definition: PecosApproximation.hpp:353
IntArray fnHessCounter
number of Hessian evaluations by resp fn
Definition: DakotaInterface.hpp:395
void post_process_run_results(bool maximize)
post-process an optimization execution: output results, update convergence controls,...
Definition: NonDGlobalInterval.cpp:411
BitArray hyperGeomUncCat
is each hypergeom var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:505
void initialize_solution_recovery(const String &cost_label)
process the solution level inputs to define solnCntlVarType, solnCntlCostMap, and solnCntl{AV,...
Definition: SimulationModel.cpp:47
void flatten_num_array(const std::vector< ContainerT > &input_array, IntArray **pia)
Free convenience function that flatten sizes of an array of std containers; takes an array of contain...
Definition: NIDRProblemDescDB.hpp:280
unsigned short max_cross_validation_order_candidates() const
return maxCVOrderCandidates
Definition: SharedC3ApproxData.hpp:437
bool pdiff(const std::vector< double > &pnew)
Compute the l2 norm of the difference between new and old parameter vectors.
Definition: SurrogatesGPObjective.cpp:55
double chiMeas
quality measure
Definition: DakotaPStudyDACE.hpp:84
void partition(int max_iterator_concurrency, IntIntPair &ppi_pr)
convenience function for initializing iterator communicators, setting parallel configuration attribut...
Definition: IteratorScheduler.cpp:147
void read_tabular(std::istream &s, unsigned short vars_part=ALL_VARS)
Definition: MixedVariables.cpp:102
IntSet optInterfHessIdAnalytic
analytic IDs for mixed Hessians on the optional interface
Definition: NestedModel.hpp:331
MatchesWC(const bfs::path &wild_card)
ctor that builds and stores the regular expression
Definition: WorkdirHelper.hpp:68
UShortArray linearEqScaleTypes
scale flags for linear eq.
Definition: ScalingModel.hpp:192
int seedValue
The seed of this low-discrepancy sequence.
Definition: LowDiscrepancySequence.hpp:126
~NonD()
destructor
Definition: DakotaNonD.hpp:416
unsigned short postRunInputFormat
tabular format for post_run input
Definition: ProgramOptions.hpp:265
virtual bool multifidelity() const
identify if 1D hierarchy can be defined across model forms
Definition: DakotaModel.cpp:3594
void write_tabular_partial(std::ostream &s, size_t start_index, size_t num_items) const
write range of variables in tabular format to an std::ostream
Definition: MixedVariables.cpp:125
void size_and_fill(const SharedVariablesData &svd, size_t array_size, VariablesArray &vars_array)
Reinitialize var_array to contain array_size freshly constructed Variables, sharing provided SVD.
Definition: DakotaVariables.hpp:2010
void compute_svd()
factor the derivative matrix and analyze singular values, assessing convergence and rank,...
Definition: ActiveSubspaceModel.cpp:506
size_t numExperiments
the total number of experiments
Definition: ExperimentData.hpp:426
size_t maximum_iterations() const
return the maximum iterations for this iterator
Definition: DakotaIterator.hpp:695
void get_field_data()
Source data generation: get the field data either from file or simulation by running the DACE Iterato...
Definition: RandomFieldModel.cpp:147
bool proceed_to_run() const
Whether steps beyond check are requested.
Definition: ProgramOptions.cpp:208
Sizet2DArray NGroupActual
counter for successful sample accumulations, per group and per QoI
Definition: NonDMultilevBLUESampling.hpp:260
const RealVector & continuous_upper_bounds() const
return the active continuous variable upper bounds
Definition: DakotaConstraints.hpp:475
Wrapper class for the NPSOL optimization library.
Definition: NPSOLOptimizer.hpp:50
SizetArray corrApproxSequence
tracks approximation ordering based on ascending rho2_LH; used to determine which analytic MFMC optio...
Definition: NonDMultifidelitySampling.hpp:176
const ParallelLevel & mi_parallel_level(size_t index=_NPOS) const
return the ParallelLevel corresponding to miPLIters[index]
Definition: ParallelLibrary.hpp:535
int numNomadNonlinearIneqConstr
Number of nonlinear constraints after put into Nomad format.
Definition: NomadOptimizer.hpp:209
void pre_finalize()
finalize the shared approximation data following a set of increments
Definition: SharedPecosApproxData.hpp:239
bool approxConverged
indicates convergence of approximation-based iterations
Definition: NonDReliability.hpp:91
String approxType
string indicating the discrepancy approximation type
Definition: DiscrepancyCorrection.hpp:205
int hub_server_communicator_size() const
return hubServerCommSize
Definition: ParallelLibrary.hpp:348
void all_continuous_variable_label(const String &a_c_v_label, size_t i)
set a label within the all continuous labels in currentVariables
Definition: DakotaModel.hpp:2611
void split_communicator_peer_partition(const ParallelLevel &parent_pl, ParallelLevel &child_pl)
split a parent communicator into num_servers peer child communicators (no dedicated master processor)
Definition: ParallelLibrary.cpp:734
void(* invPriRespMapping)(const Variables &recast_vars, const Variables &sub_model_vars, const Response &recast_resp, Response &sub_model_resp)
holds pointer for optional inverse primary response mapping function passed in inverse_mappings()
Definition: RecastModel.hpp:638
ProblemDescDB operator=(const ProblemDescDB &db)
assignment operator
Definition: ProblemDescDB.cpp:100
IntResponsePair response_pair() const
return evaluation id and response as a std::pair
Definition: ParamResponsePair.hpp:266
int length(const StringMultiArrayConstView &vec)
Return the length of a StringMultiArrayConstView.
Definition: HDF5_IO.cpp:35
bool restart_file(bool recurse_flag=true) const
if recurse_flag, return the subModel restart file usage
Definition: RecastModel.hpp:1148
bool calibrationDataFlag
whether the user specified a calibration data block
Definition: ExperimentData.hpp:423
Eigen::VectorXi VectorXi
Eigen generic vector of integers in Dakota namespace.
Definition: util_data_types.hpp:53
const RealVector & linear_ineq_constraint_lower_bounds() const
return the linear inequality constraint lower bounds
Definition: DakotaModel.hpp:3392
RealVector & continuous_variables_view()
return a mutable view of the active continuous variables
Definition: DakotaVariables.hpp:1068
RealMatrix field_coords_view(size_t response, size_t experiment) const
retrieve a view of the field data coordinates for the given response, for the given experiment
Definition: ExperimentData.hpp:582
bool allDataFlag
flag which triggers the update of allVars/allResponses for use by Iterator::all_variables() and Itera...
Definition: DDACEDesignCompExp.hpp:109
void write_core(std::ostream &s, Writer write_handler, unsigned short vars_part) const
Implementation for writing various formats using the specified write handler.
Definition: MixedVariables.cpp:265
virtual ~DLSolverTraits()
destructor
Definition: DLSolver.hpp:30
void compute_delta_covariance(bool update_ref, bool print_metric)
helper function to compute deltaRespCovariance
Definition: NonDStochCollocation.cpp:512
size_t solution_levels() const
return size of subModel::solnControlCostMap
Definition: RecastModel.hpp:862
bool is_null() const
function to check variablesRep (does this envelope contain a letter)
Definition: DakotaVariables.hpp:1810
void ml_blue_pilot_projection()
Definition: NonDMultilevBLUESampling.cpp:325
virtual void pull_candidate(RealVector &stats_star)
extract statistics from native stats arrays for a selected candidate
Definition: NonDExpansion.hpp:814
void pre_push()
push a previous state of the shared approximation data
Definition: SharedPecosApproxData.hpp:226
~SharedVariablesData()
destructor
Definition: SharedVariablesData.hpp:1044
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: NLSSOLLeastSq.hpp:43
virtual void assign_instance()
assign static pointer instance to this for use in static transformation functions
Definition: RecastModel.cpp:1540
size_t numDACERuns
counter for number of executions for this object
Definition: PSUADEDesignCompExp.hpp:89
Real value(const Variables &vars) override
retrieve the approximate function value for a given parameter vector
Definition: DakotaSurrogates.cpp:195
RealVector inactiveContinuousVars
the inactive continuous variables array view
Definition: DakotaVariables.hpp:630
RealVectorArray gpMeans
Vector to hold the current values of the current mean estimates for the sample values on the GP.
Definition: NonDGPImpSampling.hpp:101
Evaluator(GeneticAlgorithm &algorithm)
This constructor has no implementation and cannot be used.
unsigned short optSubProbSolver
the method used for solving an optimization sub-problem (e.g., pre-solve for the MAP point)
Definition: DataMethod.hpp:1090
void add_data(const SharedVariablesData &svd, const Variables &one_configvars, const Response &one_response)
Add one data point to the experimental data set. Used for Bayesian experimental design....
Definition: ExperimentData.cpp:277
double constraint_violation(const Response &tmpResponseHolder)
Compute constraint violation, based on nonlinear constraints in iteratedModel and provided Response d...
Definition: COLINOptimizer.cpp:1198
RealVector upper_bounds
Upper bounds for root node.
Definition: PEBBLBranching.hpp:32
void component_parallel_mode(short mode)
RecastModel only supports parallelism in subModel, so this virtual function redefinition is simply a ...
Definition: RecastModel.hpp:1036
RealVector indicator
IntVector to hold indicator for actual simulation values vs. threshold.
Definition: NonDGPImpSampling.hpp:113
void compute_delta_mean(bool update_ref)
helper function to compute deltaRespVariance
Definition: NonDStochCollocation.cpp:423
ResultsManager iterator_results_db
Global results database for iterator results.
Definition: dakota_global_defs.cpp:61
void setup_hyperparameter_bounds(VectorXd &sigma_bounds, MatrixXd &length_scale_bounds, VectorXd &nugget_bounds)
Initialize the hyperparameter bounds for MLE from values in configOptions.
Definition: SurrogatesGaussianProcess.cpp:529
void derived_evaluate_nowait(const ActiveSet &set)
generate a random field realization, then evaluate the submodel (asynch)
Definition: RandomFieldModel.cpp:495
String surrExportPrefix
base filename for exported surrogates
Definition: DakotaIterator.hpp:548
double * SCAL
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:237
void optimize_theta_global()
sets up and performs the optimization of the negative log likelihood to determine the optimal values ...
Definition: GaussProcApproximation.cpp:369
unsigned int numBestSamples
number of best samples (max log_posterior values) to keep
Definition: NonDMUQBayesCalibration.hpp:118
void function_gradient(const RealVector &assign_grad, int fn_index, const SizetArray &assign_dvv)
set a function gradient, managing dissimilar DVV
void post_finish(unsigned runtime=0)
post the completion of an analysis including elapsed time
Definition: UsageTracker.cpp:41
size_t cdsv_index_to_adsv_index(size_t dsv_index) const
convert index within complement of active discrete string variables to index within all discrete stri...
int realWorkSpaceSize
size of realWorkSpace
Definition: SOLBase.hpp:163
static void botch(const char *fmt,...)
print and error message and immediately abort
Definition: NIDRProblemDescDB.cpp:95
static std::string startupPWD
Value of $PWD var upon entry to dakota main()
Definition: WorkdirHelper.hpp:282
bool npsolFlag
flag representing the optimization MPP search algorithm selection (NPSOL SQP or OPT++ NIP)
Definition: NonDLocalReliability.hpp:326
void build_gradient_of_sum_square_residuals(const Response &resp, RealVector &ssr_gradient)
Build the gradient of the ssr from residuals and function gradients based on the response's active se...
Definition: ExperimentData.hpp:606
bool is_equal_vec(const RealVector &vec1, const VectorType &vec2)
equality function for RealVector and a vector of arbitrary type
Definition: dakota_data_util.hpp:189
int linConstraintArraySize
used for non-zero array sizing (linear constraints)
Definition: SOLBase.hpp:171
std::tuple< UInt32Vector, int > get_data(ProblemDescDB &problem_db)
Extract the generating vector and log2 of the maximum number of points from the given problem descrip...
Definition: Rank1Lattice.cpp:229
void setup(char *buf_, int size_, bool flag_=false)
Method that does the setup for the constructors.
Definition: MPIPackBuffer.cpp:97
SizetArray algebraicFnIndices
set of indices mapping AMPL algebraic objective functions to DAKOTA response functions
Definition: DakotaInterface.hpp:479
~NonDMultilevBLUESampling()
destructor
Definition: NonDMultilevBLUESampling.cpp:165
JEGAOptimizer(ProblemDescDB &problem_db, Model &model)
Constructs a JEGAOptimizer class object.
Definition: JEGAOptimizer.cpp:1874
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDExpansion.cpp:4177
void set_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set active parallel configuration for the model (set modelPCIter from modelPCIterMap)
Definition: DakotaModel.cpp:4858
static double * prior_sample(int par_num)
Sample the prior and return an array of parameter values.
Definition: NonDDREAMBayesCalibration.cpp:411
size_t numFieldNonlinearEqConstraints
number of field nonlinear equality constraints (from the num_scalar_nonlinear_equality_constraints sp...
Definition: DataResponses.hpp:100
bool boundConstraintFlag
convenience flag for denoting the presence of user-specified bound constraints. Used for method selec...
Definition: DakotaMinimizer.hpp:281
static EvalType lastFnEvalLocn
an enum used to track whether an nlf evaluator or a constraint evaluator was the last location of a f...
Definition: SNLLBase.hpp:162
int alternate_short_column_forms(int form)
helper fn for alternate forms
Definition: TestDriverInterface.cpp:2699
void samples(size_t samples)
set numSamples
Definition: NonDQuadrature.hpp:217
void build_designs(VariablesArray &design_matrix)
build matrix of candidate points
Definition: NonDBayesCalibration.cpp:1565
int N5
Size variable for CONMIN arrays. See CONMIN manual.
Definition: CONMINOptimizer.hpp:180
std::map< Pecos::ActiveKey, size_t > startRankMap
starting values for rank (note: adapt_rank currently covers refinement); for each model index key,...
Definition: SharedC3ApproxData.hpp:243
~NonDLocalSingleInterval()
destructor
Definition: NonDLocalSingleInterval.cpp:21
virtual Real compute_level_mappings_metric(bool revert, bool print_metric)
compute 2-norm of change in final statistics
Definition: NonDExpansion.cpp:2239
Real value(const std::vector< Real > &x, Real &tol) override
Function to return the objective value (response) to ROL.
Definition: ROLOptimizer.cpp:526
void ft_derived_functions_init_null()
initialize derived funtions pointers to NULL
Definition: C3FnTrainData.hpp:246
void allocate_matrix(const StrStrSizet &iterator_id, const StringArray &location, ResultsOutputType stored_type, const int &num_rows, const int &num_cols, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray()) override
Pre-allocate a matrix and (optionally) attach dimension scales and attributes. Insert rows or columns...
Definition: ResultsDBHDF5.cpp:87
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NOWPACOptimizer.hpp:160
void insert_row_vector(const std::vector< ScalarType > &row, RealMatrix::ordinalType i, RealMatrix &m)
Inserts a std::vector<Real> into a row of a Teuchos_SerialDenseMatrix<int,Real>
Definition: dakota_data_util.hpp:1142
unsigned short groupSizeThrottle
group size threshold for groupThrottleType == GROUP_SIZE_THROTTLE
Definition: NonDMultilevBLUESampling.hpp:257
void read(std::istream &s)
read a variable constraints object from an std::istream
Definition: MixedVarConstraints.cpp:138
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: NOWPACOptimizer.hpp:166
static SNLLOptimizer * snllOptInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: SNLLOptimizer.hpp:309
~EffGlobalMinimizer()
destructor
Definition: EffGlobalMinimizer.hpp:328
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: SNLLOptimizer.hpp:72
size_t statCount
counter for which final statistic is being computed
Definition: NonDReliability.hpp:98
short data_order() const
return dataOrder
Definition: DiscrepancyCorrection.hpp:305
IntVector discreteIntEpistemicUncUpperBnds
distribution upper bounds for all discrete integer epistemic uncertain variables
Definition: DataVariables.hpp:766
@ MandatoryValue
option with required value
Definition: CommandLineHandler.hpp:34
bool dedicated_master() const
return dedicatedMasterFlag
Definition: ParallelLibrary.hpp:309
std::vector< MatrixXd > cwiseDists2
Squared component-wise distances between points in the surrogate dataset.
Definition: SurrogatesGaussianProcess.hpp:387
bool check() const
Print status of check and return true if in a "check" mode, including version and help....
Definition: DakotaEnvironment.cpp:377
void declare_sources()
Declare this model's sources.
Definition: SimulationModel.cpp:503
void construct_cubature(Iterator &u_space_sampler, Model &g_u_model, unsigned short cub_int_order)
assign a NonDCubature instance within u_space_sampler
Definition: NonDExpansion.cpp:343
RealVector calcExpIndicator(const int respFnCount, const Real respThresh)
function to calculate the expected indicator probabilities
Definition: NonDGPImpSampling.cpp:518
Real aggregate_mse_Ysum(const Real *sum_Y, const Real *sum_YY, const SizetArray &N_l)
sum up Monte Carlo estimates for mean squared error (MSE) across QoI using discrepancy sums
Definition: NonDMultilevelSampling.hpp:847
int conminInfo
INFO from CONMIN manual.
Definition: CONMINOptimizer.hpp:134
unsigned short sampling_scheme() const
return sampling name
Definition: FSUDesignCompExp.hpp:156
virtual void write_tabular_labels(std::ostream &s, unsigned short vars_part=ALL_VARS) const
write the labels in input spec order to a std::ostream, optionally specifying which partition (all/ac...
void refine_sampler(RealVectorArray &imp_sampler_stats, RealRealPairArray &min_max_fns)
helper to refine the results from expansionSampler with importance sampling (for probability levels) ...
Definition: NonDExpansion.cpp:3522
int initialSamples
initial samples to build the subspace model
Definition: DataModel.hpp:357
int numSamples
the number of samples used
Definition: NonDLHSInterval.hpp:64
APPSEvalMgr(Optimizer &, Model &model)
constructor
Definition: APPSEvalMgr.cpp:23
void validate_inputs()
validate the build controls and set defaults
Definition: RandomFieldModel.cpp:95
IntVector inactiveDiscreteIntVars
the inactive discrete integer variables array view
Definition: DakotaVariables.hpp:632
static void extract_objective(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used to extract the active objective function when optimizing for an interval lower o...
Definition: NonDLocalInterval.cpp:271
void calcRhoDraw()
function to update the rhoDraw data, adding x values and rho draw values
Definition: NonDGPImpSampling.cpp:494
void archive_partial_correlations(const StrStrSizet &run_identifier, ResultsManager &iterator_results, const StringArray &var_labels, const StringArray &resp_labels, const size_t &inc_id, bool rank) const
archive partial (rank = false) or partial rank (rank = true) correlations
Definition: SensAnalysisGlobal.cpp:536
RealSymMatrix deltaRespCovariance
change in (FULL) response covariance induced by a refinement candidate
Definition: NonDStochCollocation.hpp:136
Real covariance_determinant() const override
covariance determinant for this experiment (default 1.0)
Definition: ExperimentResponse.cpp:135
Real FDstep1(Real x0_j, Real lb_j, Real ub_j, Real h_mag)
function returning finite-difference step size (affected by bounds)
Definition: DakotaModel.cpp:1582
int num_dakota_nonlin_ineq_constraints() const
Number of nonlinear inequality constraints from Dakota perspective.
Definition: DakotaTPLDataTransfer.hpp:45
bool crossValidNoiseOnly
flag to restrict cross-validation to only estimate the noise tolerance in order to manage computation...
Definition: NonDPolynomialChaos.hpp:194
String hybridLocalMethodName
local method name for embedded hybrids (from the local_method_name specification)
Definition: DataMethod.hpp:408
String logFile
The filename to use for logging.
Definition: DataMethod.hpp:741
Real mindistindx(const RealVector &x, const RealMatrix &xset, const IntArray &indx)
Definition: GaussProcApproximation.cpp:88
void pack(const float *data, const int num=1)
Pack one or more float's.
std::shared_ptr< ProblemDescDB > get_db(ParallelLibrary ¶llel_lib)
Used by the envelope constructor to instantiate the correct letter class.
Definition: ProblemDescDB.cpp:81
void randomize()
Randomize this digital net NOTE: required for 'unique' sampling in NonDLowDiscrepancySampling
Definition: DigitalNet.hpp:80
std::vector< std::shared_ptr< RestartWriter > > restartDestinations
Stack of active restart destinations; end is the last (active) redirection. All remain open until pop...
Definition: OutputManager.hpp:404
DataEnvironment()
constructor
Definition: DataEnvironment.cpp:74
bool graph2DFlag
whether user requested 2D graphics plots
Definition: OutputManager.hpp:350
void check_submodel_compatibility(const Model &sub_model)
verify compatibility between SurrogateModel attributes and attributes of the submodel (DataFitSurrMod...
Definition: DataFitSurrModel.cpp:360
void resolve_inputs(ParallelLevel &child_pl, int avail_procs, int min_procs_per_server, int max_procs_per_server, int max_concurrency, int capacity_multiplier, short default_config, short scheduling_override, bool peer_dynamic_avail, bool print_rank)
resolve user inputs into a sensible partitioning scheme
Definition: ParallelLibrary.cpp:201
void post_run(std::ostream &s)
generate statistics
Definition: NonDRKDDarts.cpp:116
void reset()
restore initial state for repeated sub-iterator executions
Definition: SNLLOptimizer.cpp:1238
NonDRKDDarts(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDRKDDarts.cpp:48
virtual void read(std::istream &s)
read a variable constraints object from an std::istream
Definition: DakotaConstraints.cpp:306
static void EIF_objective_max(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the objective function in the Expected Improvement Function (EIF) for maximiz...
Definition: NonDGlobalInterval.cpp:593
void print_multilevel_discrepancy_summary(std::ostream &s, const SizetArray &N_m)
print evaluation summary for multilevel sampling across 1D level profile for discrepancy across level...
Definition: DakotaNonD.cpp:1184
Base class for managing common aspects of verification studies.
Definition: DakotaVerification.hpp:24
bool eaDedMasterFlag
flag for dedicated master partitioning at ea level
Definition: ApplicationInterface.hpp:223
IteratorList & iterator_list()
return a list of all Iterator objects that have been instantiated
Definition: ProblemDescDB.hpp:549
Real refinementRate
rate of mesh refinement in Richardson extrapolation
Definition: DataMethod.hpp:1398
void all_discrete_string_variable_label(const String &a_d_v_label, size_t i)
set a label within the all discrete labels in currentVariables
Definition: DakotaModel.hpp:2669
Interface & derived_interface()
Return the "default" or maximal ActiveSet for the model.
Definition: SimulationModel.hpp:220
IntVector discIntStepsPerVariable
number of offsets in the plus and the minus direction for each discrete integer variable in a centere...
Definition: ParamStudy.hpp:240
RealVector linearEqScales
scaling factors for the linear equality constraints (from the linear_equality_scales specification in...
Definition: DataVariables.hpp:835
IntIntPair estimate_partition_bounds(int max_eval_concurrency)
estimate the minimum and maximum partition sizes that can be utilized by this Model
Definition: SimulationModel.hpp:349
bool commandLineArgs
flag indicating use of passing of filenames as command line arguments to the analysis drivers and inp...
Definition: ProcessApplicInterface.hpp:157
size_t test_local_backfill(PRPQueue &assign_queue, PRPQueueIter &assign_iter)
helper function for testing active asynch local jobs and then backfilling
Definition: ApplicationInterface.cpp:1460
bool randomizeOrderFlag
the stochastic specification for the PS method in MethodSCOLIBPS
Definition: DataMethod.hpp:638
static void flatten_real_intervals(const RealRealPairRealMapArray &rrprma, RealVector **probs, RealVector **lb, RealVector **ub)
Flatten real-valued interval uncertain variable intervals and probabilities back into separate arrays...
Definition: NIDRProblemDescDB.cpp:6077
bool supports_discrete_variables()
Return the flag indicating whether method supports continuous variables.
Definition: JEGAOptimizer.hpp:629
virtual void read(std::istream &s)
read a variables object from an std::istream
~NonDACVSampling()
destructor
Definition: NonDACVSampling.cpp:65
String modelExportPrefix
the filename prefix for export_model
Definition: DataModel.hpp:200
Definition: ROLOptimizer.hpp:425
String pointReuse
allows PCE construction to reuse points from previous sample sets or data import using the reuse_poin...
Definition: DataMethod.hpp:1051
ParallelConfiguration & operator=(const ParallelConfiguration &pl)
assignment operator
Definition: ParallelLibrary.hpp:523
void all_continuous_upper_bound(Real a_c_u_bnd, size_t i)
set an upper bound within all continuous upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3192
std::string get_hostname() const
get the system hostname
Definition: TrackerHTTP.cpp:297
void add_constraints_to_surfdata(const Pecos::SurrogateDataVars &anchor_vars, const Pecos::SurrogateDataResp &anchor_resp, short fail_code)
set the anchor point (including gradient and hessian if present) into surf_data
Definition: SurfpackApproximation.cpp:909
unsigned short daceMethod
oas, lhs, oa_lhs, random, box_behnken, central_composite, or grid
Definition: DDACEDesignCompExp.hpp:92
virtual ~Variables()
destructor
size_t num_linear_ineq_constraints() const
return the number of linear inequality constraints
Definition: DakotaConstraints.hpp:983
void post_run(std::ostream &s)
generate statistics for LHS runs in non-VBD cases
Definition: NonDLHSSampling.cpp:728
const IntResponseMap & synchronize_nowait()
Execute a nonblocking scheduling algorithm to collect all available results from a group of asynchron...
Definition: DakotaModel.cpp:1481
void update_from_specification(bool update_exp, bool update_sampler, bool update_from_ratio)
perform specification updates (shared code from
Definition: NonDMultilevelPolynomialChaos.cpp:718
Real nh_penalty_merit(const RealVector &c_vars, const RealVector &fn_vals)
compute a penalty merit function after an optimization solve
Definition: NonDNonHierarchSampling.cpp:1840
String trialType
the trial_type specification in MethodFSUDACE
Definition: DataMethod.hpp:790
void initialize_components_totals(const ProblemDescDB &problem_db)
populate variables{Components,CompsTotals} from user variable type and count specifications
int numCR
number of CR-factors
Definition: DataMethod.hpp:1313
IntIntMap rawEvalIdMap
maps from the raw evaluation ids returned by derived_synchronize() and derived_synchronize_nowait() t...
Definition: DakotaModel.hpp:1670
IntArray newFnValCounter
number of new value evaluations by resp fn
Definition: DakotaInterface.hpp:396
LibraryEnvironment()
default constructor
Definition: LibraryEnvironment.cpp:21
void allocate_nonlinear_arrays(int num_cv, size_t num_nln_con)
Allocates F77 nonlinear constraint arrays for the SOL algorithms.
Definition: SOLBase.cpp:105
size_t parallel_level_index(ParLevLIter pl_iter)
return the index within parallelLevels corresponding to pl_iter
Definition: ParallelLibrary.hpp:1203
RealScale(const std::string &in_label, std::initializer_list< Real > in_items, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes an initializer_list.
Definition: dakota_results_types.hpp:270
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDExpansion.cpp:174
ParallelDirectApplicInterface(const Dakota::ProblemDescDB &problem_db, const MPI_Comm &analysis_comm)
constructor
Definition: PluginParallelDirectApplicInterface.cpp:25
MPIManager dummy_mpi_mgr
dummy MPIManager for ref initialization
Definition: dakota_global_defs.cpp:69
void finalize_run()
performs cleanup, restores instances and calls parent finalize
Definition: SNLLOptimizer.cpp:1226
void assign_rep(std::shared_ptr< Iterator > iterator_rep)
replaces existing letter with a new one
Definition: DakotaIterator.cpp:840
StringMultiArray xDRLabels
discrete real variable labels
Definition: DirectApplicInterface.hpp:177
void push_level_mappings(const RealVector &level_maps, size_t offset)
update computed{Resp,Prob,Rel,GenRel}Levels from level_maps
Definition: DakotaNonD.cpp:387
short surrBasedLocalConstrRelax
SBL constraint relaxation method: NO_RELAX or HOMOTOPY.
Definition: DataMethod.hpp:478
size_t num_total_exppoints() const
retrieve the total number of experimental data points over all experiments
Definition: ExperimentData.hpp:554
OPTPP::OptPDS * optpds
PDS optimizer pointer.
Definition: SNLLOptimizer.hpp:337
RetT copy_array_to_pybind11(const ArrayT &src) const
copy Dakota arrays to pybind11 lists via std::vector<> copy
Definition: Pybind11Interface.cpp:186
void finalize_approximation()
finalize an approximation by applying all previous trial increments
Definition: RecastModel.hpp:981
VectorXd value(const MatrixXd &eval_points, const int qoi) override
Evaluate the python surrogate at a set of prediction points for a single QoI.
Definition: SurrogatesPython.cpp:122
virtual void write_tabular(std::ostream &s, unsigned short vars_part=ALL_VARS) const
write a variables object in tabular format to an std::ostream, optionally specifying which partition ...
ExperimentCovariance expDataCovariance
sigma terms...
Definition: ExperimentResponse.hpp:106
Base class for OPT++ optimization and least squares methods.
Definition: SNLLBase.hpp:41
unsigned short modelExportFormat
Format selection for export_model.
Definition: DataModel.hpp:202
IntResponse2DMap batchResponsesMap
alternate container for Response samples supporting evaluate_batch() and synchronize_batches(),...
Definition: DakotaAnalyzer.hpp:201
void clear_model_keys()
remove keys in subModel
Definition: RecastModel.hpp:774
Real final_probability()
returns the final probability calculated by the importance sampling
Definition: NonDAdaptImpSampling.hpp:217
void get_nonlinear_eq_constraints(const Model &model, VecT &values, Real scale, int offset=-1)
Definition: DakotaOptimizer.hpp:914
const RealMatrix & linear_eq_constraint_coeffs() const
return the linear equality constraint coefficients
Definition: DakotaModel.hpp:3430
const Pecos::SurrogateData & approximation_data(size_t fn_index)
retrieve the approximation data from the subModel
Definition: RecastModel.hpp:1032
void close()
Close the database, if supported. This removes it from the active list of databases.
Definition: ResultsManager.cpp:38
Real log_covariance_determinant() const override
log covariance determinant for this experiment (default 0.0)
Definition: ExperimentResponse.cpp:138
const RealVector & discrete_real_lower_bounds() const
return the active discrete variable lower bounds
Definition: DakotaConstraints.hpp:559
String batchSelectionType
the batch selection type specification in MethodNonDAdaptive
Definition: DataMethod.hpp:1242
Derived approximation class for global basis polynomials.
Definition: C3Approximation.hpp:44
int numberOfBits
Number of bits in each integer in the generating matrices.
Definition: DataMethod.hpp:924
Class for the Gaussian Process-based Importance Sampling method.
Definition: NonDGPImpSampling.hpp:30
virtual void execute()
the run function for the environment: invoke the iterator(s) on the model(s). Called from main....
Definition: DakotaEnvironment.cpp:339
Base class for the optimizer and least squares branches of the iterator hierarchy.
Definition: DakotaMinimizer.hpp:27
void set_mapping(const ActiveSet &mapped_set, ActiveSet &interface_set, bool &opt_interface_map, ActiveSet &sub_iterator_set, bool &sub_iterator_map)
define the evaluation requirements for the optionalInterface (interface_set) and the subIterator (sub...
Definition: NestedModel.cpp:1577
bool tabularDataFlag
whether user requested tabular data file
Definition: OutputManager.hpp:351
const String & filename()
output filename for this writer
Definition: OutputManager.cpp:1058
virtual void write(MPIPackBuffer &s) const
write a variables object to a packed MPI buffer
void reduce_sum(double *local_vals, double *sum_vals, int num_vals, const MPI_Comm &comm)
compute a sum over comm using MPI_Reduce
Definition: ParallelLibrary.hpp:1940
void select_increment_candidate()
promote selected refinement increment candidate into reference grid + expansion
Definition: NonDExpansion.cpp:1812
Real lmax0
initial trust-region radius (initial_trust_radius)
Definition: NL2SOLLeastSq.hpp:145
Sizet2DArray secondaryRespMapIndices
For each recast secondary function, identifies the indices of the subModel functions used to define i...
Definition: RecastModel.hpp:597
Class for multilevel-multifidelity optimization algorithm.
Definition: HierarchSurrBasedLocalMinimizer.hpp:33
~SurrBasedMinimizer()
destructor
Definition: SurrBasedMinimizer.cpp:112
void mode_counts(const Variables &vars, size_t &cv_start, size_t &num_cv, size_t &div_start, size_t &num_div, size_t &dsv_start, size_t &num_dsv, size_t &drv_start, size_t &num_drv) const
compute sampled subsets (all, active, uncertain) within all variables (acv/adiv/adrv) from samplingVa...
Definition: NonDSampling.cpp:670
void print_refinement_diagnostics(std::ostream &s)
print additional refinement diagnostics not covered by compute_*_metric()
Definition: NonDExpansion.cpp:4130
void check_input()
verifies that there is at least one of each of the required keywords in the dakota input file
Definition: ProblemDescDB.cpp:309
virtual void update_model(Model &model)
update model with data that could change per function evaluation (active variable values/bounds)
Definition: SurrogateModel.cpp:386
driver_t iFilterType
enum type of the direct function input filter
Definition: DirectApplicInterface.hpp:144
Model subModel
the sub-model underlying the transformations
Definition: RecastModel.hpp:538
Model surrModel
shallow copy of the surrogate model instance as returned by Model::surrogate_model() (the DataFitSurr...
Definition: DiscrepancyCorrection.hpp:224
const bool exportSurrogate
whether to export the surrogate to file
Definition: DataFitSurrModel.hpp:334
int numPushforwardSamples
number of samples from the prior that is pushed forward through the model
Definition: NonDWASABIBayesCalibration.hpp:82
unsigned short kickOrder
polynomial order increment when adapting
Definition: DataMethod.hpp:831
ParConfigLIter parallel_configuration_iterator() const
return modelPCIter
Definition: DakotaModel.hpp:3776
const ValueType & map_index_to_value(OrdinalType index, const std::map< KeyType, ValueType > &pairs)
retrieve the set value corresponding to the passed index
Definition: dakota_data_util.hpp:1253
virtual ~EffGlobalTraits()
destructor
Definition: EffGlobalMinimizer.hpp:35
void compute_sample_increment(const RealVector ®ress_metrics, const SizetArray &N_l, SizetArray &delta_N_l)
compute delta_N_l for {RIP,RANK}_SAMPLING cases
Definition: NonDMultilevelFunctionTrain.cpp:424
Real mutationRate
the mutation_rate specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:598
short output_level() const
return the outputLevel
Definition: DakotaModel.hpp:3750
const IntIntPairRealMapArray & get_iirma(const String &entry_name) const
get an IntIntPairRealMapArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1899
Handle for reference-counted pointer to C3FnTrainDataRep body.
Definition: C3FnTrainData.hpp:145
virtual void derived_map(const Variables &vars, const ActiveSet &set, Response &response, int fn_eval_id)
Called by map() and other functions to execute the simulation in synchronous mode....
Definition: ApplicationInterface.hpp:599
int multimodal()
multimodal UQ test function
Definition: TestDriverInterface.cpp:977
WorkdirHelper(const WorkdirHelper &)
copy constructor
void build_hessian_of_sum_square_residuals_from_response(const Response &resp, const ShortArray &asrv, int exp_ind, RealSymMatrix &ssr_hessian)
Update the hessian of ssr with the values from the hessian associated with a single experiment.
Definition: ExperimentData.cpp:1379
String preRunInput
filename for pre_run input
Definition: DataEnvironment.hpp:63
friend class boost::serialization::access
Allow serializers access to private class data.
Definition: SurrogatesGaussianProcess.hpp:451
void reset()
reset ssgDriver level and dimension preference back to {ssgLevel,dimPref}Spec for the active key,...
Definition: NonDSparseGrid.hpp:160
StringArray responseLabels
the response labels array (from the response_descriptors specification in RespLabels)
Definition: DataResponses.hpp:55
const StringArray & analysis_drivers() const
retrieve the analysis drivers specification for application interfaces
Definition: ProcessApplicInterface.hpp:270
void scale_model()
Wrap iteratedModel in a RecastModel that performs response scaling.
Definition: NonDBayesCalibration.cpp:3792
void insert_node(const DataEnvironment &data_env)
set the DataEnvironment object
Definition: ProblemDescDB.hpp:589
void wait_local_evaluation_sequence(PRPQueue &prp_queue)
version of wait_local_evaluations() managing of set of individual asynchronous evaluations
Definition: GridApplicInterface.hpp:64
IntRealMapArray histogramUncPointIntPairs
An array for each integer-valued point-based histogram uncertain variable. Each array entry is a map ...
Definition: DataVariables.hpp:512
void derived_set_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set active parallel configuration for the SimulationModel (request forwarded to userDefinedInterface)
Definition: SimulationModel.hpp:374
Approximation()
default constructor
Definition: DakotaApproximation.cpp:70
size_t numFieldObjectiveFunctions
field_objectives: number of objective functions which are field-valued
Definition: DataResponses.hpp:90
void sample_to_div(const Real *sample_vars, Variables &vars, size_t &adiv_index, size_t num_adiv, size_t &samp_index)
helper function to copy a range from sample_vars to discrete int variables
Definition: NonDSampling.hpp:599
RealVector continuousEpistemicUncVars
array of values for all continuous epistemic uncertain variables
Definition: DataVariables.hpp:751
virtual bool provides_best_parameters()
Return the flag indicating whether method provides best parameters result.
Definition: DakotaTraitsBase.hpp:103
const String & surrogate_type() const
return the surrogate type (surrogateType)
Definition: DakotaModel.hpp:3589
void active_view(short view1) const
set the active Variables view
Definition: SharedVariablesData.hpp:1636
int first_seed() const
return first seed in sequence specification (defaults to random_seed())
Definition: NonDMultilevelFunctionTrain.hpp:142
int newEvalIdCntr
new (non-duplicate) interface evaluation counter
Definition: DakotaInterface.hpp:387
void array_insert(const StrStrSizet &iterator_id, const std::string &data_name, size_t index, const StoredType &sent_data)
insert into a previously allocated array of StoredType at index specified; metadata must be specified...
Definition: ResultsManager.hpp:211
SharedApproxData()
default constructor
Definition: SharedApproxData.cpp:129
void construct_quadrature(Iterator &u_space_sampler, Model &g_u_model, unsigned short quad_order, const RealVector &dim_pref)
assign a NonDQuadrature instance within u_space_sampler based on a quad_order specification
Definition: NonDExpansion.cpp:360
size_t numTotalCalibTerms
number of total calibration terms (sum over experiments of number of experimental data per experiment...
Definition: DakotaMinimizer.hpp:294
RealVector rhoOne
rhoOne, original importance density
Definition: NonDGPImpSampling.hpp:123
struct FT1DArray * ft_gradient()
get pointer to the FunctionTrain gradient
Definition: C3FnTrainData.hpp:274
void set_y_labels2d(const char *y_label)
set y label for each plot equal to y_label
Definition: DakotaGraphics.cpp:346
T abort_handler_t(int code)
Definition: dakota_global_defs.hpp:195
void derived_init_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set up actualModel for parallel operations
Definition: DataFitSurrModel.cpp:465
String scalarDataFileName
name of experimental data file containing response data (with optional state variable and sigma data)...
Definition: DataResponses.hpp:170
RealVector rhoDraw
Vector to hold the rhoDraw values for the current GP samples.
Definition: NonDGPImpSampling.hpp:108
unsigned short obsErrorMultiplierMode
mode for number of observation error multipliers to calibrate (default none)
Definition: NonDBayesCalibration.hpp:412
short trendOrder
The number of variables in each X variable (number of dimensions of the problem).
Definition: GaussProcApproximation.hpp:248
const Pecos::RealVector & mean_gradient()
return the gradient of the expansion mean for a given parameter vector, where all active variables ar...
Definition: PecosApproximation.hpp:465
UInt64 reorder_gray_code(UInt64 k)
Position of the kth digital net point in DIGITAL_NET_GRAY_CODE_ORDERING.
Definition: DigitalNet.cpp:776
short correction_type() const
return the correction type from the DiscrepancyCorrection object used by SurrogateModels
Definition: SurrogateModel.hpp:326
virtual void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to derived model classes
Definition: DakotaModel.cpp:3343
ParallelLibrary & parallel_library() const
return the parallel library (parallelLib)
Definition: DakotaIterator.hpp:651
~NonDSparseGrid()
destructor
Definition: NonDSparseGrid.cpp:200
void compute_expansion()
form the expansion by calling uSpaceModel.build_approximation()
Definition: NonDPolynomialChaos.cpp:948
PythonInterface(const ProblemDescDB &problem_db)
constructor
Definition: PythonInterface.cpp:57
virtual const Pecos::SurrogateData & approximation_data(size_t fn_index)
retrieve a SurrogateData instance from a particular Approximation instance within the ApproximationIn...
Definition: DakotaModel.cpp:4440
bool nearbyDuplicateDetect
flag indicating optional usage of tolerance-based duplication detection (less efficient,...
Definition: ApplicationInterface.hpp:478
void boundComputation(double *controlParam)
Method that does the Bounding Operation. In other words, it calls the optimization algorithm on the r...
Definition: PEBBLBranching.cpp:82
size_t numObjFns
number of objective functions
Definition: DakotaAnalyzer.hpp:209
void applyAdjointHessian(std::vector< Real > &ahuv, const std::vector< Real > &u, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override
Function to return the result of applying the constraint adjoint Hessian to an arbitrary vector to RO...
Definition: ROLOptimizer.cpp:691
virtual void finalize_coefficients()
finalize approximation by applying all remaining trial sets
Definition: DakotaApproximation.cpp:373
const RealVectorArray & approximation_coefficients(bool normalized=false)
retrieve the approximation coefficients from the subModel
Definition: RecastModel.hpp:1016
Wrapper class for the NLSSOL nonlinear least squares library.
Definition: NLSSOLLeastSq.hpp:78
virtual void combine_coefficients()
combine all level approximations into a single aggregate approximation
Definition: DakotaApproximation.cpp:380
RealVector weibullUncBetas
beta factors for the weibull uncertain variables (from the betas specification in VarCAUV_Weibull)
Definition: DataVariables.hpp:429
int synchronous_local_analysis(int analysis_id)
Definition: ProcessHandleApplicInterface.hpp:156
void generate_ensembles_dags()
generate sets of DAGs for the relevant combinations of active approximations
Definition: NonDGenACVSampling.cpp:77
Data structure for a single Real, String, or int valued attribute.
Definition: dakota_results_types.hpp:510
ShortArray prevCumASVLev0
accumulation (using |=) of all previous design ASV's from requested finalStatistics....
Definition: NonDLocalReliability.hpp:322
unsigned short globalIterCount
counter for global iteration
Definition: EffGlobalMinimizer.hpp:324
The CholeskySolver class is used to solve linear systems with a symmetric matrix with a pivoted Chole...
Definition: UtilLinearSolvers.hpp:239
Derived application interface class which spawns simulation codes using spawnvp.
Definition: SpawnApplicInterface.hpp:25
IntVector negBinomialUncNumTrials
Number of trials (N) for the negative binomial uncertain variables from the num_trials specification ...
Definition: DataVariables.hpp:475
String parserOptions
Deprecated option for NIDR parser options.
Definition: ProgramOptions.hpp:235
void clear_model_keys()
reset initial state by removing all model keys for an approximation
Definition: C3Approximation.hpp:270
MPI_Request * recvRequests
array of requests for nonblocking evaluation receives
Definition: ApplicationInterface.hpp:550
void assign_constraints(const RealVector &cv_lower_bnds, const RealVector &cv_upper_bnds, const RealMatrix &lin_ineq_coeffs, const RealVector &lin_ineq_lower_bnds, const RealVector &lin_ineq_upper_bnds, const RealMatrix &lin_eq_coeffs, const RealVector &lin_eq_targets, const RealVector &nln_ineq_lower_bnds, const RealVector &nln_ineq_upper_bnds, const RealVector &nln_eq_targets)
initialize constraint bounds/targets after alternate construction
Definition: MinimizerAdapterModel.hpp:161
String exportCorrVarFile
filename for corrected model variance calculations
Definition: NonDBayesCalibration.hpp:359
const IntVector & all_discrete_int_lower_bounds() const
returns a single array with all discrete lower bounds
Definition: DakotaConstraints.hpp:762
void serialize(Archive &ar, const unsigned int version)
implementation of Boost serialize for ActiveSet
void init_model_mapped_variables(Model &model)
initialize model variables that corresponsd to nested mappings that could change once per set of eval...
Definition: EnsembleSurrModel.cpp:462
virtual void finalize_approximation()
finalizes the approximation by applying all trial increments
Definition: DakotaInterface.cpp:1245
StringArray location
Location used to create the dataset.
Definition: ResultsDBHDF5.hpp:144
std::map< UShortArray, UShortArraySet >::const_iterator bestModelSetIter
the best performing model graph among the set from generate_dags()
Definition: NonDGenACVSampling.hpp:277
virtual void numerical_solution_bounds_constraints(const MFSolutionData &soln, RealVector &x0, RealVector &x_lb, RealVector &x_ub, RealVector &lin_ineq_lb, RealVector &lin_ineq_ub, RealVector &lin_eq_tgt, RealVector &nln_ineq_lb, RealVector &nln_ineq_ub, RealVector &nln_eq_tgt, RealMatrix &lin_ineq_coeffs, RealMatrix &lin_eq_coeffs)
within ensemble_numerical_solution(), define initial values, coefficients, bounds,...
Definition: NonDNonHierarchSampling.cpp:1002
void resolve_inputs(short &u_space_type, short &data_order)
perform error checks and mode overrides
Definition: NonDStochCollocation.cpp:314
SizetArray resize_variable_totals()
Create a variables components totals array with the reduced space size for continuous variables.
Definition: SubspaceModel.cpp:206
void core_run()
perform a forward uncertainty propagation using PCE/SC methods
Definition: NonDMultilevelFunctionTrain.cpp:259
void active_set_request_vector(const ShortArray &asv)
return the default active set request vector (used by iterators that employ evaluate_parameter_sets()...
Definition: DakotaIterator.hpp:757
void init_communicators(ParLevLIter pl_iter)
initialize the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1204
UShortMultiArrayConstView all_discrete_real_variable_types() const
return all discrete variable types from currentVariables
Definition: DakotaModel.hpp:2286
Derived approximation class for global basis polynomials.
Definition: SharedC3ApproxData.hpp:28
SizetList nonlinIneqConMappingIndices
a list of indices for referencing the DAKOTA nonlinear inequality constraints used in computing the c...
Definition: NOWPACOptimizer.hpp:72
bool check_active_variables(const Model &sub_model)
check sub_model for consistency in active variable counts
Definition: SurrogateModel.cpp:69
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDPolynomialChaos.cpp:838
Real functionPrev
previous function value
Definition: NonlinearCGOptimizer.hpp:122
void negative_marginal_log_likelihood(bool compute_grad, bool compute_gram, double &obj_value, VectorXd &obj_gradient)
Evaluate the negative marginal loglikelihood and its gradient.
Definition: SurrogatesGaussianProcess.cpp:491
String responsesId
response identifier string from the input file
Definition: SharedResponseData.hpp:101
bool push_available()
query for whether a trial increment is restorable within a surrogate
Definition: DataFitSurrModel.hpp:797
void compute_mlmf_estimator_variance(const RealMatrix &var_Y, const Sizet2DArray &num_Y, const RealMatrix &Lambda, RealVector &mlmf_est_var)
compute the variance of the MLMF estimator
Definition: NonDMultilevControlVarSampling.hpp:404
DataMethod()
constructor
Definition: DataMethod.cpp:779
void build_gradient_of_sum_square_residuals_from_response(const Response &resp, const ShortArray &asrv, int exp_ind, RealVector &ssr_gradient)
Update the gradient of ssr with the values from the gradient associated with a single experiment.
Definition: ExperimentData.cpp:1322
unsigned int post_run_input_format() const
tabular format for post-run input
Definition: ProgramOptions.cpp:196
static void nlf0_evaluator(int n, const RealVector &x, double &f, int &result_mode)
objective function evaluator function for OPT++ methods which require only function values.
Definition: SNLLOptimizer.cpp:801
EvaluatorCreator * _theEvalCreator
A pointer to an EvaluatorCreator used to create the evaluator used by JEGA in Dakota (a JEGAEvaluator...
Definition: JEGAOptimizer.hpp:217
void initial_taylor_series()
convenience function for performing the initial limit state Taylor-series approximation
Definition: NonDLocalReliability.cpp:1040
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDLocalInterval.cpp:125
short solution_control_variable_type() const
return solnCntlVarType
Definition: SimulationModel.hpp:233
Class to manage in-core vs. file database lookups.
Definition: ResultsManager.hpp:340
void(* userConstraint0)(int n, const RealVector &x, RealVector &g, int &result_mode)
cache zeroth-order constraint call-back function
Definition: SNLLOptimizer.hpp:395
void continuous_variable_id(size_t cv_id, size_t i)
set an active continuous variable identifier in currentVariables
Definition: DakotaModel.hpp:2071
~ProblemDescDB()
destructor
Definition: ProblemDescDB.cpp:108
void compute_gram(const std::vector< MatrixXd > &dists2, const VectorXd &theta_values, MatrixXd &gram) override
Compute a Gram matrix given a vector of squared distances and kernel hyperparameters.
Definition: SurrogatesGPKernels.cpp:115
StringArray discreteStateSetRealLabels
labels array for the discrete state variables defined by a real set (from the discrete_state_set desc...
Definition: DataVariables.hpp:679
BitArray pdfComputed
Whether PDF was computed for function i; used to determine whether a pdf should be archived.
Definition: DakotaNonD.hpp:385
static size_t noSpecIdNum
the last used model ID number for on-the-fly instantiations (increment before each use)
Definition: DakotaModel.hpp:1731
void reshape_labels(StringArray &resp_labels, size_t num_fns)
reshape the response labels using inflation/deflation if possible
virtual short query_distribution_parameter_derivatives() const
calculate and return derivative composition of final results w.r.t. distribution parameters (none,...
Definition: DakotaModel.cpp:5174
const RealVector & numerical_integration_moments() const
return numerical moments from Pecos::PolynomialApproximation
Definition: PecosApproximation.hpp:683
static void print_model_resp(size_t num_pri_fns, const RealVector &best_fns, size_t num_best, size_t best_index, std::ostream &s)
print the original user model resp in the case of data transformations
Definition: DakotaMinimizer.cpp:1109
void post_refinement(Real &metric, bool reverted=false)
finalization of expansion refinement, if necessary
Definition: NonDExpansion.cpp:1119
virtual short interface_synchronization() const
return the user-specified interface synchronization
Definition: DakotaInterface.cpp:956
bool ea_parallel_level_defined() const
test current parallel configuration for definition of evaluation-analysis parallel level
Definition: ParallelLibrary.hpp:1192
void inverse_transform_response(const Variables &sub_model_vars, const Variables &recast_vars, const Response &recast_resp, Response &sub_model_resp)
perform inverse transformation of Response (recast --> sub-model)
Definition: RecastModel.cpp:822
void archive_tolerance_intervals(size_t inc_id=0)
archive the tolerance intervals statistics in results DB
Definition: NonDSampling.cpp:2040
void archive_sobol_indices(const StrStrSizet &run_identifier, ResultsManager &resultsDB, const StringArray &var_labels, const StringArray &resp_labels, const Real dropTol) const
archive VBD-based Sobol indices
Definition: SensAnalysisGlobal.cpp:1059
void compute_combined_off_diagonal_covariance()
calculate off diagonal terms in respCovariance(i,j) for j<i using the combined expansion coefficients
Definition: NonDExpansion.cpp:2645
size_t adsv() const
returns total number of discrete string vars
Definition: DakotaModel.hpp:1809
std::shared_ptr< DataMethodRep > data_rep()
return dataMethodRep
Definition: DataMethod.hpp:1533
const Model & algorithm_space_model() const
Definition: NonDBayesCalibration.hpp:563
static void optpp_fdnlf1_constraint(int n, const RealVector &x, RealVector &c, int &result_mode)
static FDNLF1 function used by OPT++ for the nonlinear constraints
Definition: NonDNonHierarchSampling.cpp:2216
SNLLLeastSq * prevSnllLSqInstance
pointer to the previously active object instance used for restoration in the case of iterator/model r...
Definition: SNLLLeastSq.hpp:175
Real avgEstVarRatio
average estimator variance ratio (1 - R^2) for model graph: the ratio of final estimator variance (op...
Definition: NonDNonHierarchSampling.hpp:118
Iterator importanceSampler
importance sampling instance used to compute/refine probabilities
Definition: NonDReliability.hpp:76
RealVector nicheVector
The discretization percentage along each objective.
Definition: DataMethod.hpp:716
RealVector solutionLevelCost
array of relative simulation costs corresponding to each of the solution levels (from solution_level_...
Definition: DataModel.hpp:130
int evaluationCapacity
capacity for concurrent evaluations supported by the Model
Definition: DakotaModel.hpp:1504
NonDCubature(Model &model, unsigned short cub_int_order)
Definition: NonDCubature.cpp:49
void reshape(size_t num_nln_ineq_cons, size_t num_nln_eq_cons, const SharedVariablesData &svd)
reshape the linear/nonlinear/bound constraint arrays arrays and the lower/upper bound arrays
Definition: DakotaConstraints.cpp:455
unsigned short mapOptAlgOverride
user setting of the MAP optimization algorithm type
Definition: NonDBayesCalibration.hpp:301
size_t regression_size()
return number of FT unknowns using start_rank(), max_rank(), start_orders(), max_order()
Definition: SharedC3ApproxData.hpp:495
RealVector krigingMinCorrelations
lower bound on kriging correlation vector
Definition: DataModel.hpp:242
size_t numPredConfigs
number of prediction configurations at which to calculate model discrepancy
Definition: NonDBayesCalibration.hpp:370
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: APPSOptimizer.hpp:73
int rosenbrock(const Dakota::RealVector &c_vars, short asv, Dakota::Real &fn_val, Dakota::RealVector &fn_grad, Dakota::RealSymMatrix &fn_hess)
Rosenbrock plug-in test function.
Definition: PluginSerialDirectApplicInterface.cpp:100
virtual short discrepancy_reduction() const
return the discrepancy type for approximations that support MLMF
Definition: SharedApproxData.cpp:320
DakotaROLIneqConstraintsHess(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:683
RealVector predictionConfigList
list of prediction configurations at which to calculate model discrepancy
Definition: DataMethod.hpp:1262
int numIteratorServers
number of concurrent iterator partitions
Definition: IteratorScheduler.hpp:166
void read(MPIUnpackBuffer &s)
read a DataModelRep object from a packed MPI buffer
Definition: DataModel.cpp:118
virtual Real combined_covariance(Approximation &approx_2)
return the covariance between two combined response expansions, where all active variables are random
Definition: DakotaApproximation.cpp:591
short surrBasedLocalSubProbObj
SBL approximate subproblem objective: ORIGINAL_PRIMARY, SINGLE_OBJECTIVE, LAGRANGIAN_OBJECTIVE,...
Definition: DataMethod.hpp:468
bool nipModeOverrideFlag
flag indicating the use of move overrides within OPT++ NIP
Definition: NonDLocalReliability.hpp:330
Real forward_grad_step(size_t num_deriv_vars, size_t xj_index, Real x0_j, Real lb_j, Real ub_j)
Compute the forward step for a finite difference gradient; updates shortStep.
Definition: DakotaModel.cpp:1175
int pybind11_run(const String &ac_name)
direct interface to Pybind11 via API
StringArray discreteStateSetStrUpperBnds
discrete state string set upper bounds inferred from set values
Definition: DataVariables.hpp:799
void clear_approx_interface()
clear current data from approxInterface
Definition: DataFitSurrModel.cpp:1028
NonD(ProblemDescDB &problem_db, Model &model)
constructor
Definition: DakotaNonD.cpp:29
String krigingOptMethod
optimization method to use in finding optimal correlation parameters: none, sampling,...
Definition: DataModel.hpp:236
const String & command_line_pre_run_output() const
preRunOutput filename
Definition: ParallelLibrary.hpp:1350
size_t num_experiments() const
retrieve the number of experiments
Definition: ExperimentData.hpp:112
size_t start_rank() const
return active start value for expansion rank
Definition: SharedC3ApproxData.hpp:401
virtual void init_metadata()
default clear metadata in Recasts; derived classes can override to no-op
Definition: RecastModel.cpp:1544
size_t numScalarNonlinearIneqConstraints
number of scalar nonlinear inequality constraints (from the num_scalar_nonlinear_inequality_constrain...
Definition: DataResponses.hpp:82
void init_fullspace_sampler(unsigned short sample_type)
initialize the native problem space Monte Carlo sampler
Definition: ActiveSubspaceModel.cpp:1411
virtual void file_cleanup() const
clean up any interface parameter/response files when aborting
Definition: DakotaInterface.cpp:1504
int bigIntBoundSize
cutoff value for discrete variable bounds
Definition: DakotaMinimizer.hpp:249
short precondRequestValue
the active set request value to use in proposal preconditioning
Definition: NonDQUESOBayesCalibration.hpp:174
RealVector expStdDeviations
list of 1 or num_calibration_terms observation standard deviations
Definition: DataResponses.hpp:166
void new_dataset(int i)
creates a separate line graphic for subsequent data points for a single window in the 2d graphics
Definition: DakotaGraphics.cpp:226
Derived approximation class for first- or second-order Taylor series (a local approximation).
Definition: TaylorApproximation.hpp:28
unsigned short adaptedBasisAdvancements
initial grid level for the ADAPTED_BASIS_EXPANDING_FRONT approach to defining the candidate basis for...
Definition: DataMethod.hpp:1044
std::list< ParallelConfiguration > parallelConfigurations
the set of parallel configurations which manage list iterators for indexing into parallelLevels
Definition: ParallelLibrary.hpp:1028
static Real compute_wilks_beta(unsigned short order, int nsamples, Real alpha, bool twosided=false)
calculates the beta parameter given number of samples using the Wilks formula Static so I can test wi...
Definition: NonDSampling.cpp:1531
virtual void trans_grad_X_to_S(const RealVector &fn_grad_x, RealVector &fn_grad_s, const RealVector &x_vars)
transform x-space gradient vector to gradient with respect to inserted distribution parameters
Definition: DakotaModel.cpp:5254
Lightweight class to manage conditionally active Curl-based HTTP tracker via PIMPL.
Definition: UsageTracker.hpp:27
StringArray ordered_labels() const
Return labels of all active variables in "input spec" order.
Definition: DakotaModel.hpp:2708
bool model_has_interface(const DataModelRep &model_rep) const
helper function for determining whether an interface specification should be active,...
Definition: ProblemDescDB.hpp:717
Environment operator=(const Environment &env)
assignment operator
Definition: DakotaEnvironment.cpp:182
ROL::OptimizationProblem< Real > & get_rol_problem()
Accessor for the underlying ROL Problem.
Definition: ROLOptimizer.hpp:79
void update_local_reference()
Updates fit arrays for local or multipoint approximations.
Definition: DataFitSurrModel.cpp:968
ScaleScope scope
Scale scope (whether the scaled is shared among responses)
Definition: dakota_results_types.hpp:487
RealVector init_point
initial guess (user-specified or default initial values)
Definition: NonDMUQBayesCalibration.hpp:127
StringMultiArrayConstView inactive_continuous_variable_labels() const
return the inactive continuous variable labels in currentVariables
Definition: DakotaModel.hpp:2513
double compute_metric(const VectorXd &p, const VectorXd &d, const std::string &metric_name)
Computes the difference between prediction and data vectors.
Definition: util_metrics.cpp:46
void vars_to_realarray(const Variables &vars, RealArrayType &ra)
aggregate {active,all} {continuous,discrete int,discrete real} variables into pre-sized array
Definition: SharedSurfpackApproxData.hpp:196
RealVectorArray gpVar
Vector to hold the current values of the current variance estimates for the sample values on the GP.
Definition: NonDAdaptiveSampling.hpp:102
RealMatrix derivativeMatrix
matrix of derivative data with numFns columns per fullspace sample; each column contains the gradient...
Definition: ActiveSubspaceModel.hpp:258
void push_output_tag(const String &iterator_tag, const ProgramOptions &prog_opts, bool force_cout_redirect, bool force_rst_redirect)
Update the tag to use on files and rebind any streams as needed.
Definition: OutputManager.cpp:280
void derived_synchronize_approx(bool block, IntResponseMap &approx_resp_map_rekey)
Common code for processing of approximate response maps shared by derived_synchronize() and derived_s...
Definition: DataFitSurrModel.cpp:2039
void set_ip_options()
Set inverse problem options calIpOptionsValues common to all solvers.
Definition: NonDQUESOBayesCalibration.cpp:885
StringMultiArrayConstView inactive_discrete_string_variables() const
return the inactive discrete string variables
Definition: DakotaVariables.hpp:1458
This class encapsulates scheduling operations for concurrent sub-iteration within an outer level cont...
Definition: IteratorScheduler.hpp:33
void initialize_constraints()
initialize userDefinedConstraints
Definition: MinimizerAdapterModel.hpp:134
IntResponseMapArray cachedRespMaps
maps of responses retrieved in derived_synchronize_nowait() that could not be returned since correspo...
Definition: EnsembleSurrModel.hpp:316
bool gradFlag
signals use of fnGrads in direct simulator functions
Definition: DirectApplicInterface.hpp:151
int data_size()
return the number of doubles active in response. Used for sizing double* response_data arrays passed ...
std::pair< boost::any, MetaDataType > ResultsValueType
Core data storage type: boost::any, with optional metadata (see other types in results_types....
Definition: ResultsDBBase.hpp:29
Derived approximation class for QMEA Quadratic Multipoint Exponential Approximation (a multipoint app...
Definition: QMEApproximation.hpp:27
bool fileSaveFlag
flags retention of parameter/results files
Definition: ProcessApplicInterface.hpp:154
Derived model class within the surrogate model branch for managing data fit surrogates (global and lo...
Definition: DataFitSurrModel.hpp:39
virtual void initialize_subspace()
helper for shared code between lightweight ctor and initialize_mapping()
Definition: SubspaceModel.cpp:94
StringMultiArray allDiscreteStringVars
array combining all of the discrete string variables
Definition: DakotaVariables.hpp:611
BitArray extraDRVarsData
flags for updating subModel discrete real bounds and labels, one for each active discrete real variab...
Definition: NestedModel.hpp:403
NonDPolynomialChaos * pcePilotExpRepPtr
BMA TODO: The initialization order of this Model, base RecastModel, and interdependence with PCE and ...
Definition: AdaptedBasisModel.hpp:116
RealVector sequenceCost
relative costs of model forms/resolution levels within a 1D sequence
Definition: NonDEnsembleSampling.hpp:169
virtual void clear_computed_bits()
clear tracking of computed moments, due to (expansion) change that invalidates previous results
Definition: DakotaApproximation.cpp:1091
int iteratorCommRank
processor rank in iteratorComm
Definition: IteratorScheduler.hpp:170
RealVector approxCUpperBnds
approximation continuous upper bounds (used by 3D graphics and Surfpack KrigingModel)
Definition: SharedApproxData.hpp:263
Real scale
Scale factor for rank-1 lattice points.
Definition: Rank1Lattice.hpp:95
void all_discrete_real_type(unsigned short drv_type, size_t index)
set discrete real type at index
Definition: SharedVariablesData.hpp:1570
void init_sizes(const ShortShortPair &recast_vars_view, const SizetArray &vars_comps_totals, const BitArray &all_relax_di, const BitArray &all_relax_dr, size_t num_recast_primary_fns, size_t num_recast_secondary_fns, size_t recast_secondary_offset, short recast_resp_order, bool &consistent_vars)
update recast sizes and size Variables and Response members after alternate construction
Definition: RecastModel.cpp:235
void pack(const unsigned long long &data)
Pack a unsigned long long.
Definition: MPIPackBuffer.hpp:99
Base class for managing common aspects of parameter studies and design of experiments methods.
Definition: DakotaPStudyDACE.hpp:26
unsigned short interfaceType
the interface type: enum for system, fork, direct, grid, or approximation
Definition: DakotaInterface.hpp:360
var_t
enumeration of possible variable types (to index to names)
Definition: DirectApplicInterface.hpp:26
RealVector normalUncMeans
means of the normal uncertain variables (from the means specification in VarCAUV_Normal)
Definition: DataVariables.hpp:308
int numCR
number of CR-factors
Definition: NonDDREAMBayesCalibration.hpp:100
int numTotalVars
Total across all types of variables.
Definition: APPSOptimizer.hpp:179
virtual IntIntPair estimate_partition_bounds(int max_eval_concurrency)
estimate the minimum and maximum partition sizes that can be utilized by this Model
Definition: DakotaModel.cpp:4593
void validate_metrics(const std::set< std::string > &allowed_metrics)
validate metric names and cross validation options
Definition: SharedSurfpackApproxData.cpp:198
String fitnessMetricType
the fitness metric type specification in MethodNonDAdaptive
Definition: DataMethod.hpp:1239
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDGPImpSampling.cpp:114
void check_surrogate()
check model definition (redirect function_train model to surr-based UQ)
Definition: NonDC3FunctionTrain.cpp:172
size_t div_start() const
get start index of active discrete int vars
Definition: SharedVariablesData.hpp:1676
void default_options() override
Construct and populate the defaultConfigOptions.
Definition: SurrogatesPolynomialRegression.cpp:166
virtual ~TKFactoryDIPCLogit()
Destructor for Dakota Logit RW transition kernel factory.
Definition: QUESOImpl.hpp:228
Real grThreshold
threshold for the Gelmin-Rubin statistic
Definition: NonDDREAMBayesCalibration.hpp:104
void DestroyAlgorithm(GeneticAlgorithm *theGA)
Deletes the supplied GA.
Definition: JEGAOptimizer.cpp:680
virtual bool Evaluate(DesignGroup &group)
Does evaluation of each design in group.
Definition: JEGAOptimizer.cpp:2092
bool variance_active() const
whether any variance type is active
Definition: ExperimentData.hpp:593
static void print_residuals(size_t num_terms, const RealVector &best_terms, const RealVector &weights, size_t num_best, size_t best_index, std::ostream &s)
print num_terms residuals and misfit for final results
Definition: DakotaMinimizer.cpp:1120
Derived application interface class which spawns simulation codes using system calls.
Definition: SysCallApplicInterface.hpp:26
void set_active_parameter(String var, const UShortArray &val)
set active UShortArray attribute value based on identifier string
Definition: SharedC3ApproxData.hpp:622
Wrapper class for experimental PebbldMinimizer.
Definition: PEBBLMinimizer.hpp:23
String importBuildPtsFile
the file name from the import_build_points_file specification in ModelSurrG
Definition: DataModel.hpp:170
void abort_handler(int code)
global function which handles serial or parallel aborts
Definition: dakota_global_defs.cpp:86
RealSymMatrix covMatrix
The covariance matrix where each element (i,j) is the covariance between points Xi and Xj in the init...
Definition: GaussProcApproximation.hpp:213
bool isReadyForWork() const
tells APPS whether or not there is a processor available to perform a function evaluation
Definition: APPSEvalMgr.cpp:35
Leaves the data unscaled.
Definition: UtilDataScaler.hpp:202
static NIDRProblemDescDB * pDDBInstance
Pointer to the active object instance used within the static kwhandler functions in order to avoid th...
Definition: NIDRProblemDescDB.hpp:69
String useSurrogate
the HAS_SGTE specification for NOMAD
Definition: DataMethod.hpp:815
std::vector< MatrixXd > cwisePredDists2
Component-wise distances between prediction points.
Definition: SurrogatesGaussianProcess.hpp:396
bool mpirunFlag
flag for a parallel mpirun/yod launch
Definition: MPIManager.hpp:68
RealVector linearEqScaleOffsets
offsets for linear constraints
Definition: ScalingModel.hpp:194
std::string get_username() const
get the username as reported by the environment
Definition: TrackerHTTP.cpp:291
void random_variables_key(const BitArray &random_vars_key)
assign key identifying a subset of variables that are to be treated as random for statistical purpose...
Definition: SharedC3ApproxData.hpp:655
Real initDelta
the initial_delta specification for APPS/COBYLA/PS/SW methods in MethodAPPS, MethodSCOLIBCOB,...
Definition: DataMethod.hpp:607
void rekey_response_map(MetaType &meta_object, IntIntMapArray &id_maps, IntResponseMapArray &resp_maps_rekey, bool deep_copy)
rekey returned jobs matched in array of id_maps into array of resp_maps_rekey; unmatched jobs can be ...
Definition: DakotaModel.hpp:3864
MPIUnpackBuffer * recvBuffers
array of unpack buffers for evaluation jobs returned by a server
Definition: ApplicationInterface.hpp:548
void derived_evaluate_nowait(const ActiveSet &set)
Definition: DataFitSurrModel.cpp:1729
virtual void challenge_diagnostics(size_t fn_index, const RealMatrix &challenge_points, const RealVector &challenge_responses)
compute and print all requested diagnostics for user provided challenge pts
Definition: DakotaApproximation.cpp:904
void update_callback_data(const RealVector &cv_initial, const RealVector &cv_lower_bnds, const RealVector &cv_upper_bnds, const RealMatrix &lin_ineq_coeffs, const RealVector &lin_ineq_l_bnds, const RealVector &lin_ineq_u_bnds, const RealMatrix &lin_eq_coeffs, const RealVector &lin_eq_targets, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_targets)
assign variable values and bounds and constraint coefficients and bounds for this iterator (user-func...
Definition: NCSUOptimizer.cpp:178
IntVector fieldLengths
number of entries in each field
Definition: DataResponses.hpp:242
bool estimateNugget
Bool for nugget estimation.
Definition: SurrogatesGaussianProcess.hpp:438
void flush() const
Flush data to the database or disk, if supported.
Definition: ResultsManager.cpp:32
void simple_corr(RealMatrix &total_data, const int &num_in, RealMatrix &corr_matrix)
computes simple correlations, populating corr_matrix
Definition: SensAnalysisGlobal.cpp:266
struct FT1DArray * ft_hessian()
get pointer to the FunctionTrain Hessian
Definition: C3FnTrainData.hpp:282
void dsr_step(size_t dr_index, int increment, const RealSet &values, Variables &vars)
helper function for performing a discrete step in a real set variable
Definition: ParamStudy.hpp:723
void metric_roll_up(short results_state=FINAL_RESULTS)
perform any required expansion roll-ups prior to metric computation
Definition: NonDExpansion.hpp:704
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NLSSOLLeastSq.hpp:37
const VariablesArray & all_variables()
return the complete set of evaluated variables
Definition: DakotaAnalyzer.hpp:281
bool returns_multiple_points() const
some COLIN methods can return multiple points
Definition: COLINOptimizer.cpp:468
void shape_bounds()
shape the lower/upper bound arrays based on sharedVarsData
Definition: DakotaConstraints.cpp:413
int extra_lf_rosenbrock()
an extra low fidelity version of the Rosenbrock function
Definition: TestDriverInterface.cpp:1439
void all_continuous_upper_bound(Real acu_bnd, size_t i)
set an upper bound within the all continuous upper bounds array
Definition: DakotaConstraints.hpp:755
RealVector gradCurr
current gradient
Definition: NonlinearCGOptimizer.hpp:125
std::map< Pecos::ActiveKey, bool > c3MaxRankAdvance
flag indicating availability of rank advancement (accumulated from C3Approximation::advancement_avail...
Definition: SharedC3ApproxData.hpp:294
bool allDataFlag
flags update of allResponses (allVariables or allSamples already defined)
Definition: NonDSampling.hpp:347
Real covariance(Approximation &approx_2)
return the covariance between two response expansions, treating all variables as random
Definition: PecosApproximation.hpp:491
virtual ~Model()
destructor
Definition: DakotaModel.cpp:355
void populateVectorsFromFile(const std::string &filename, std::vector< VectorXd > &R, int num_datasets, int num_samples)
Populate a collection of vectors read in a from a text file assuming data layout is one dataset per r...
Definition: util_common.cpp:82
short trConstraintRelax
type of trust region constraint relaxation for infeasible starting points: NO_RELAX or HOMOTOPY
Definition: SurrBasedLocalMinimizer.hpp:189
void set_mc_ptr_int(int ptr_int)
set the DAKOTA pointer to ModelCenter
Definition: dakota_dll_api.cpp:313
void prior_proposal_covariance()
use covariance of prior distribution for setting proposal covariance
Definition: NonDMUQBayesCalibration.cpp:622
RealVector mapSoln
solution for most recent MAP pre-solve; also serves as initial guess for initializing the first solve...
Definition: NonDBayesCalibration.hpp:323
Constraints userDefinedConstraints
Explicit constraints on variables are maintained in the Constraints class hierarchy....
Definition: DakotaModel.hpp:1413
void opt_darts_plot_hull_2d(size_t icandidate, size_t ifunc)
Convenience function for plotting convex hull.
Definition: OptDartsOptimizer.cpp:1310
void sampling_increment()
increment to next in sequence of refinement samples
Definition: NonDLHSSampling.cpp:186
RealVector paramMins
lower bounds on calibrated parameters
Definition: NonDWASABIBayesCalibration.hpp:112
void check_dMax()
Perform checks on dMax Checks if dMax is positive (> 0)
Definition: LowDiscrepancySequence.hpp:189
void build(const MatrixXd &samples, const MatrixXd &response) override
Build the polynomial surrogate using specified build data.
Definition: SurrogatesPolynomialRegression.cpp:76
Cell * last
last entry in option table
Definition: CommandLineHandler.hpp:116
IntIntPairRealMapArray discreteIntervalUncBasicProbs
Probability values per interval cell per epistemic interval uncertain variable (from the discrete_int...
Definition: DataVariables.hpp:565
std::vector< var_t > xDSMLabels
var_t enumerations corresponding to discrete string variable labels
Definition: DirectApplicInterface.hpp:200
BitArray geometricUncCat
is each geometric var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:489
String2DArray analysisComponents
Analysis components for interface types that support them.
Definition: DakotaInterface.hpp:434
virtual const String & interface_id() const
return the interface identifier
Definition: DakotaModel.cpp:3844
void serve_run(ParLevLIter pl_iter, int max_eval_concurrency)
Service the low and high fidelity model job requests received from the master; completes when termina...
Definition: EnsembleSurrModel.cpp:2009
Pecos::ActiveKey & key_from_index(size_t k_index)
return the key from {truthModel,surrModel}Key{,s} corresponding to k_index
Definition: EnsembleSurrModel.hpp:800
std::map< Pecos::ActiveKey, unsigned short > maxOrderMap
user specification for maximum order used within adapt_order; usually a scalar specification but can ...
Definition: SharedC3ApproxData.hpp:227
int numSamplesOnModel
number of truth samples performed on g_u_model to form the expansion
Definition: NonDExpansion.hpp:471
bool version() const
is version mode active?
Definition: ProgramOptions.cpp:155
void post_combine()
clean up stored data sets after aggregation
Definition: SharedPecosApproxData.hpp:255
~SharedResponseDataRep()
destructor must be public for shared_ptr
Definition: SharedResponseData.hpp:138
const Pecos::ActiveKey & active_model_key() const
return the active model key (used by surrogate data, grid driver, and approximation classes to suppor...
Definition: SurrogateModel.hpp:304
void clear_inactive_coefficients()
prune inactive coefficients following combination and promotion to active
Definition: C3Approximation.cpp:636
int side_impact_perf()
the side_impact_perf UQ/OUU test function
Definition: TestDriverInterface.cpp:2773
~SpawnApplicInterface()
destructor
Definition: SpawnApplicInterface.hpp:64
size_t get_db_method_node()
return the index of the active node in dataMethodList
Definition: ProblemDescDB.hpp:569
size_t numRelAnalyses
number of invocations of core_run()
Definition: NonDReliability.hpp:86
void numerical_solution_bounds_constraints(const MFSolutionData &soln, RealVector &x0, RealVector &x_lb, RealVector &x_ub, RealVector &lin_ineq_lb, RealVector &lin_ineq_ub, RealVector &lin_eq_tgt, RealVector &nln_ineq_lb, RealVector &nln_ineq_ub, RealVector &nln_eq_tgt, RealMatrix &lin_ineq_coeffs, RealMatrix &lin_eq_coeffs)
within ensemble_numerical_solution(), define initial values, coefficients, bounds,...
Definition: NonDGenACVSampling.cpp:1100
Container class encapsulating variables data that can be shared among a set of Response instances.
Definition: SharedResponseData.hpp:152
void read_core(std::istream &s, Reader read_handler, unsigned short vars_part)
Implementation of reading various formats using the specified read handler, accounting for reordering...
Definition: RelaxedVariables.cpp:245
static void Vgen_HistogramPtIntUnc(DataVariablesRep *dv, size_t offset)
Use the integer-valued point histogram data to initialize the lower, upper, and initial values of the...
Definition: NIDRProblemDescDB.cpp:3448
API for DLL interactions.
SharedResponseData sharedRespData
SharedResponseData of associated Response.
Definition: ApplicationInterface.hpp:487
RealVectorArray gpMeans
Vector to hold the current values of the current mean estimates for the sample values on the GP.
Definition: NonDAdaptiveSampling.hpp:99
IntSetArray activeDiscSetIntValues
aggregation of the admissible value sets for all active discrete set integer variables
Definition: DakotaModel.hpp:1694
bool advancement_available()
check if resolution advancement (e.g., order, rank) is available for this approximation instance
Definition: PecosApproximation.hpp:812
Real delta_combined_mean()
return the change in mean resulting from combined expansion refinement, where all active variables ar...
Definition: PecosApproximation.hpp:551
unsigned short exportSamplesFormat
format for exporting sample increments using tagged tabular files
Definition: NonDEnsembleSampling.hpp:222
Real grThreshold
threshold for the Gelmin-Rubin statistic
Definition: DataMethod.hpp:1317
void asynchronous_local_evaluations(PRPQueue &prp_queue)
perform all jobs in prp_queue using asynchronous approaches on the local processor
Definition: ApplicationInterface.cpp:1243
SizetArray active1ADIVarMapIndices
"primary" variable mappings for inserting active discrete int currentVariables within all discrete in...
Definition: NestedModel.hpp:348
void post_input()
read tabular data for post-run mode
Definition: NonDLHSSampling.cpp:648
const IntVector & all_discrete_int_upper_bounds() const
returns a single array with all discrete upper bounds
Definition: DakotaConstraints.hpp:784
virtual int num_constraints() const
return the number of constraints to be enforced via an anchor point
Definition: DakotaApproximation.cpp:995
RealMatrix gradNegLogLikTheta
matrix to hold the gradient of the negative log likelihood with respect to the theta correlation term...
Definition: GaussProcApproximation.hpp:222
SizetMultiArrayConstView all_discrete_string_ids(size_t start, size_t num_items) const
get num_items discrete string ids beginning at index start
Definition: SharedVariablesData.hpp:1589
const SizetArray & derivative_vector() const
return the derivative variables vector
Definition: DakotaActiveSet.hpp:223
Real gammaContract
trust region contraction factor
Definition: SurrBasedLocalMinimizer.hpp:208
Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: QMEApproximation.cpp:464
The DataScaler class computes the scaling coefficients and scales a 2D data matrix with dimensions nu...
Definition: UtilDataScaler.hpp:39
void pack(const float &data)
Pack a float.
Definition: MPIPackBuffer.hpp:111
virtual void increment_grid()=0
increment SSG level/TPQ order
short meritFunctionType
type of merit function used to penalize sample data
Definition: NonDGlobalReliability.hpp:121
void pop(bool save_surr_data)
back out the previous increment to the shared approximation data
Definition: SharedPecosApproxData.hpp:206
static void problem_value(std::string *chain_filename, std::string *gr_filename, double &gr_threshold, int &jumpstep, double limits[], int par_num, int &printstep, std::string *restart_read_filename, std::string *restart_write_filename)
Filename and data initializer for WASABI.
StringArray discreteDesignSetStrVars
initial values for the discrete design variables defined by a string set (from the discrete_design_se...
Definition: DataVariables.hpp:248
RealVector krigingMaxCorrelations
upper bound on kriging correlation vector
Definition: DataModel.hpp:240
SurrBasedMinimizer(ProblemDescDB &problem_db, Model &model, std::shared_ptr< TraitsBase > traits)
constructor
Definition: SurrBasedMinimizer.cpp:56
DakotaROLObjectiveGrad(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:539
bool vendorNumericalGradFlag
convenience flag for gradient_type == numerical && method_source == vendor
Definition: DakotaMinimizer.hpp:311
GeneticAlgorithm * ExtractAllData(const AlgorithmConfig &algConfig)
Reads all required data from the problem description database stored in the supplied algorithm config...
Definition: JEGAOptimizer.cpp:635
int verbosity
Verbosity level.
Definition: SurrogatesPython.hpp:161
PebbldBranchSub()
Constructor.
Definition: PEBBLBranching.cpp:35
Class for the LHS-based interval methods within DAKOTA/UQ.
Definition: NonDLHSInterval.hpp:26
int procsPerIterator
partition size request
Definition: IteratorScheduler.hpp:167
bool w_parallel_level_defined() const
test current parallel configuration for definition of world parallel level
Definition: ParallelLibrary.hpp:1171
void reset()
set Pecos::TensorProductDriver::quadOrder to dimension orders indicated by quadOrderSpec & dimPrefSpe...
Definition: NonDQuadrature.hpp:192
void discrete_int_variable_label(const String &div_label, size_t index)
set an active discrete integer variable label
Definition: DakotaVariables.hpp:1129
ParamResponsePair & operator=(const ParamResponsePair &pair)
assignment operator
Definition: ParamResponsePair.hpp:208
void active_bounds(const Constraints &cons)
copy active {cv,div,drv} {lower,upper} bounds from incoming object
Definition: DakotaConstraints.hpp:856
void aleatory_uncertain_counts(size_t &num_cauv, size_t &num_dauiv, size_t &num_dausv, size_t &num_daurv) const
compute aleatory uncertain variables sums from SharedVariablesDataRep::variablesCompsTotals and Share...
Definition: SharedVariablesData.hpp:1061
void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: NonDSparseGrid.cpp:204
double FDCHM
Absolute finite difference step size.
Definition: CONMINOptimizer.hpp:193
Real procVar
The process variance, the multiplier of the correlation matrix.
Definition: GaussProcApproximation.hpp:262
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
Definition: NonDQuadrature.cpp:350
SizetArray active1ACVarMapIndices
"primary" variable mappings for inserting active continuous currentVariables within all continuous su...
Definition: NestedModel.hpp:343
void print_restart(StringArray pos_args, String print_dest)
print a restart file
Definition: restart_util.cpp:205
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NomadOptimizer.hpp:70
std::shared_ptr< Eigen::LDLT< MatrixXd > > LDLT_Ptr
Cached LDL^T factorization.
Definition: UtilLinearSolvers.hpp:278
void init_communicators_checks(int max_eval_concurrency)
Definition: DirectApplicInterface.hpp:258
String replacementType
the replacement_type specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:643
void archive_acceptance_chain()
save the final x-space acceptance chain and corresponding function values
Definition: NonDDREAMBayesCalibration.cpp:459
RealVector gammaUncAlphas
alpha factors for the gamma uncertain variables (from the alphas specification in VarCAUV_Gamma)
Definition: DataVariables.hpp:399
unsigned short integrationRefinement
integration refinement type (NO_INT_REFINE, IS, AIS, or MMAIS) provided by refinement specification
Definition: NonDReliability.hpp:79
IntShortMap failCountMap
map linking function evaluation id's to number of response read failures
Definition: SysCallApplicInterface.hpp:86
short interfaceSynchronization
interface synchronization specification: synchronous (default) or asynchronous
Definition: ApplicationInterface.hpp:460
bool coreActive
whether the ResultsManager has an active in-core database
Definition: ResultsManager.hpp:369
NonDSurrogateExpansion(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDSurrogateExpansion.cpp:26
void center_matrix_cols(RealMatrix &mat)
center the incoming matrix columns by their means, in-place
Definition: dakota_data_util.cpp:330
void nonlinear_model_cost_gradient(const RealVector &r_and_N, RealVector &grad_c)
constraint gradient helper fn shared by NPSOL/OPT++ static evaluators
Definition: NonDGenACVSampling.cpp:1614
short ensemblePilotSolnMode
the solution_mode selection for ML/MF sampling methods
Definition: DataMethod.hpp:1099
String location
Link name of the HDF5 object to add attributes to.
Definition: ResultsDBHDF5.hpp:77
virtual void compute_statistics()
Compute final stats for MCMC chains.
Definition: NonDBayesCalibration.cpp:2620
bool mostSignificantBitFirst
Most significant bit comes first in generatingMatrices when true.
Definition: DigitalNet.hpp:122
int cyl_head()
the cylinder head constrained optimization test fn
Definition: TestDriverInterface.cpp:898
void set_surrogate_usage(std::string useSurrogate)
publishes surrogate usage
Definition: NomadOptimizer.hpp:280
std::list< DataInterface >::iterator dataInterfaceIter
iterator identifying the active list node in dataInterfaceList
Definition: ProblemDescDB.hpp:485
void insert_response(const Response &response, size_t position, Response &agg_response)
insert a single response into an aggregated response in the specified position
Definition: SurrogateModel.cpp:1116
String dataDistType
the type of data distribution: kde, or gaussian
Definition: DataMethod.hpp:1326
String responsesPointer
string pointer to the responses specification to be used by this model (from the responses_pointer sp...
Definition: DataModel.hpp:108
unsigned short exportApproxVarianceFormat
tabular format for the approx variance export file
Definition: DataModel.hpp:195
void clear_inactive()
clear inactive data stored in the approxInterface
Definition: DataFitSurrModel.hpp:801
void initialize_python()
Initialize python interpreter and callback module.
Definition: SurrogatesPython.cpp:37
void unpack(char &data)
Unpack a char.
Definition: MPIPackBuffer.hpp:257
bool subspaceIdBingLi
Boolean flag signaling use of Bing Li criterion to identify active subspace dimension.
Definition: ActiveSubspaceModel.hpp:220
virtual void post_process_final_results()
perform final post-processing
Definition: NonDLocalInterval.cpp:266
void increment_grid()
increment SSG level/TPQ order
Definition: NonDCubature.cpp:159
short modelSelectType
option specified for model_selection within search_model_graphs for generalized ACV methods
Definition: DataMethod.hpp:1118
RealVector origNonlinEqTargets
original nonlinear equality constraint targets (no relaxation)
Definition: SurrBasedMinimizer.hpp:168
size_t kickRank
rank increase increment
Definition: DataModel.hpp:438
bool matrix_equals(const MatrixXi &A, const MatrixXi &B)
Tests whether two Eigen MatrixXi objects are equal.
Definition: util_common.cpp:25
SizetArray active1ADSVarMapIndices
"primary" variable mappings for inserting active discrete string currentVariables within all discrete...
Definition: NestedModel.hpp:353
Real compute_rmspe()
Using the validationSet, compute the RMSE over the surface.
Definition: NonDAdaptiveSampling.cpp:1365
unsigned short adaptedBasisSparseGridLev
sparse grid level for low-order PCE used to compute rotation matrix within adapted basis approach to ...
Definition: DataModel.hpp:473
Real distanceTol
tolerance for L_2 change in optimal solution
Definition: NonDGlobalInterval.hpp:159
IntSetArray discreteDesignSetInt
complete set of admissible values for each of the discrete design variables defined by an integer set...
Definition: DataVariables.hpp:256
bool restartFileFlag
used to manage a user request to deactivate the restart file (i.e., insertions into write_restart).
Definition: ApplicationInterface.hpp:484
void fine_grained_evaluation_counters()
request fine-grained evaluation reporting within subModel
Definition: RecastModel.hpp:1160
int iteratorCommRank
processor rank within iteratorComm
Definition: ApplicationInterface.hpp:406
bool statsFlag
flags computation/output of statistics
Definition: NonDSampling.hpp:346
size_t numFunctions
number of response functions
Definition: DakotaAnalyzer.hpp:177
const String & read_restart_file() const
restart file base name (no tag)
Definition: ProgramOptions.cpp:142
void no_digital_shift()
Do not digitally shift this digital net.
Definition: DigitalNet.hpp:86
static int compute_wilks_sample_size(unsigned short order, Real alpha, Real beta, bool twosided=false)
calculates the number of samples using the Wilks formula Static so I can test without instantiating a...
Definition: NonDSampling.cpp:1447
Real bigRealBoundSize
cutoff value for inequality constraint and continuous variable bounds
Definition: DakotaMinimizer.hpp:247
const RealSymMatrix & hessian(const Variables &vars) override
retrieve the approximate function Hessian for a given parameter vector x
Definition: SurfpackApproximation.cpp:548
Real apply_covariance(const RealVector &residual) const override
method to compute the triple product v'*inv(C)*v.
Definition: ExperimentResponse.cpp:97
Real variance()
return the variance of the expansion, where all active vars are random
Definition: C3Approximation.hpp:350
H5::H5File h5File
HDF5 file object.
Definition: HDF5_IO.hpp:489
void enforce_unique_ids()
require user-specified block identifiers to be unique
Definition: ProblemDescDB.cpp:3292
void centered_header(const String &type, size_t var_index, int step, size_t hdr_index)
store a centered parameter study header within allHeaders
Definition: ParamStudy.hpp:754
void read(MPIUnpackBuffer &s)
read a DataEnvironment object from a packed MPI buffer
Definition: DataEnvironment.hpp:212
void print_estimator_performance(std::ostream &s, const MFSolutionData &soln)
helper function that supports virtual print_variance_reduction(s)
Definition: NonDNonHierarchSampling.cpp:2444
StringArray discreteRealAleatoryUncLabels
labels for all discrete real aleatory uncertain variables
Definition: DataVariables.hpp:748
size_t response_size() const
return (potentially aggregated) size of response vector in currentResponse
Definition: DakotaModel.hpp:2736
static std::string init_startup_path()
Initializes class member, startupPATH.
Definition: WorkdirHelper.cpp:147
static RealArray rawData
static data used by static rank_sort() fn
Definition: NonDLHSSampling.hpp:168
void calculate_kde()
calculate a Kernel Density Estimate (KDE) for the posterior samples
Definition: NonDBayesCalibration.cpp:2906
static double dakotaLogLikelihood(const QUESO::GslVector ¶mValues, const QUESO::GslVector *paramDirection, const void *functionDataPtr, QUESO::GslVector *gradVector, QUESO::GslMatrix *hessianMatrix, QUESO::GslVector *hessianEffect)
Log Likelihood function for call-back from QUESO to DAKOTA for evaluation.
Definition: NonDQUESOBayesCalibration.cpp:1061
virtual void update_samples_from_order_decrement()
update (restore previous) numSamplesOnModel after an order decrement
Definition: NonDExpansion.cpp:1913
size_t solution_level_cost_index() const
return active entry in subModel::solnControlCostMap
Definition: RecastModel.hpp:870
size_t numSymbols
current number of symbols to be used in generating the sample set (inversely related to number of rep...
Definition: DDACEDesignCompExp.hpp:101
~NonlinearCGOptimizer()
destructor
Definition: NonlinearCGOptimizer.cpp:62
std::map< size_t, ParConfigLIter > parallel_configuration_iterator_map() const
return methodPCIterMap
Definition: DakotaIterator.hpp:632
SurrogateModel(ProblemDescDB &problem_db)
constructor
Definition: SurrogateModel.cpp:26
int append_empty(const String &dset_name)
Append an empty "layer" to the 0th dimension and return its index.
Definition: HDF5_IO.cpp:255
IntVector discreteUncSetIntVars
initial values of the discrete uncertain set integer variables (from the initial_point specification ...
Definition: DataVariables.hpp:579
void initialize_products()
initialize covariance accumulators (also reinitialize after change in stats type)
Definition: PecosApproximation.hpp:441
int colPtr
Keep track of how many samples are already generated when using refinement samples.
Definition: NonDLowDiscrepancySampling.hpp:111
virtual void rebuild_approximation()
incremental rebuild of an existing SurrogateModel approximation
Definition: DakotaModel.cpp:4000
size_t idsv() const
returns number of inactive discrete string vars
Definition: DakotaModel.hpp:1782
IntVector discreteDesignRangeUpperBnds
upper bounds array for the discrete design variables defined by an integer range(from the discrete_de...
Definition: DataVariables.hpp:237
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDMultilevelStochCollocation.cpp:186
virtual bool restart_file(bool recurse_flag=true) const
Indicates the usage of a restart file by the Model.
Definition: DakotaModel.cpp:5960
VariablesArray allVariables
array of all variables to be evaluated in evaluate_parameter_sets()
Definition: DakotaAnalyzer.hpp:187
void run_chain()
short term option to restart the MCMC chain with updated proposal density computed from the emulator ...
Definition: NonDQUESOBayesCalibration.cpp:131
unsigned short vbdViaSamplingMethod
sampling method for computing variance-based decomposition indices
Definition: DakotaPStudyDACE.hpp:72
int numPushforwardSamples
Number of samples from the prior that is pushed forward through the model to obtain the initial set o...
Definition: DataMethod.hpp:1324
int discrete_int_upper_bound(size_t i) const
return an active discrete int upper bound from userDefinedConstraints
Definition: DakotaModel.hpp:2887
short discrepPolyOrder
specify polynomial or trend order for discrepancy correction
Definition: NonDBayesCalibration.hpp:367
RealVector prevSubProbSoln
previous solution to EIF approximation sub-problem
Definition: EffGlobalMinimizer.hpp:279
static WeightingModel * weightModelInstance
static pointer to this class for use in static callbacks
Definition: WeightingModel.hpp:66
bool actualModelCache
indicates usage of an evaluation cache by the actualModel
Definition: ApproximationInterface.hpp:255
bool stdRegressionCoeffs
flags computation/output of standardized regression coefficients
Definition: NonDSampling.hpp:330
int evalCommRank
processor rank within evalComm
Definition: ApplicationInterface.hpp:220
std::vector< double > constrMapMultipliers
multipliers for constraint transformations
Definition: NomadOptimizer.hpp:215
void parallel_interface_plugin(Dakota::LibraryEnvironment &env)
Convenience function to plug a library client's interface into the appropriate model,...
Definition: library_mode.cpp:413
void update()
propagate any numSamples updates and/or grid updates/increments
Definition: NonDQuadrature.hpp:235
Container class for the numerical solution for a given configuration (e.g. ensemble + DAG)
Definition: NonDNonHierarchSampling.hpp:39
NonDGenACVSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDGenACVSampling.cpp:29
unsigned short integrand_order() const
return cubIntOrder
Definition: NonDCubature.hpp:114
int qr_rsolve(const RealMatrix &q_r, bool transpose, RealMatrix &rhs)
Perform a multiple right-hand sides Rinv * rhs solve using the R from a qr factorization.
Definition: dakota_linear_algebra.cpp:112
virtual void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: DakotaAnalyzer.cpp:899
int barnes()
barnes test for SBO perforamnce from Rodriguez, Perez, Renaud, et al.
Definition: TestDriverInterface.cpp:4117
BitArray discreteStateRangeCat
is each dsr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:628
Weighting specialization of RecastModel.
Definition: WeightingModel.hpp:25
Rank1Lattice()
A constructor with no arguments.
Definition: Rank1Lattice.cpp:154
String posteriorSamplesImportFilename
The filename of the import file containing samples at which the posterior will be evaluated.
Definition: DataMethod.hpp:1344
const size_t NIDR_MAX_ERROR_LEN
maximum error length is roughly 100 lines at 80 char; using fixed error length instead of investing i...
Definition: NIDRProblemDescDB.cpp:77
MatrixXd gradient(const MatrixXd &eval_points)
Evaluate the gradient of the Gaussian process at a set of prediction points for QoI index 0.
Definition: SurrogatesGaussianProcess.hpp:145
IntVector sequenceStart
the sequenceStart specification in MethodFSUDACE
Definition: DataMethod.hpp:778
StringArray discreteStrEpistemicUncLowerBnds
distribution lower bounds for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:774
void index_to_var_step(const size_t study_idx, size_t &var_idx, size_t &step_idx) const
map an overall parameter study (zero-based) evaluation index to the (zero-based) variable index (amon...
Definition: ParamStudy.cpp:1310
Eigen::RowVectorXd RowVectorXd
Eigen generic row vector of doubles in Dakota namespace.
Definition: util_data_types.hpp:47
const RealSymMatrix & hessian(const Variables &vars)
retrieve the approximate function Hessian for a given parameter vector
Definition: TaylorApproximation.cpp:131
void evaluate_batch(bool rebuild)
evaluate batch in parallel and replace liar responses
Definition: EffGlobalMinimizer.cpp:522
void active_set_derivative_vector(SizetMultiArrayConstView asdv)
set the active set derivative vector and reshape functionGradients/functionHessians if needed
void waitsome(int num_sends, MPI_Request *&recv_requests, int &num_recvs, int *&index_array, MPI_Status *&status_array)
wait for at least one message from a series of nonblocking receives but complete all that are availab...
Definition: ParallelLibrary.hpp:1999
RealList linIneqConMappingMultipliers
a list of multipliers for mapping the DAKOTA linear inequality constraints to the corresponding NOWPA...
Definition: NOWPACOptimizer.hpp:85
void check_mi_index(size_t &index) const
process _NPOS default and perform error checks
Definition: ParallelLibrary.hpp:1434
boost::basic_regex< bfs::path::value_type > wildCardRegEx
archived RegEx; wchar-based on Windows
Definition: WorkdirHelper.hpp:96
String outputFilename
the name of the output file (empty when constructed from pointer)
Definition: OutputManager.hpp:51
void no_scrambling()
Do not apply linear matrix scramble to this digital net.
Definition: DigitalNet.hpp:92
IntSet completionSet
the set of completed fn_eval_id's populated by wait_local_evaluations() and test_local_evaluations()
Definition: ApplicationInterface.hpp:251
void ft_derived_functions_free()
deallocate derived funtions pointers
Definition: C3FnTrainData.hpp:262
virtual bool resize()
reinitializes iterator based on new variable size
Definition: DakotaIterator.cpp:303
DataResponsesRep()
constructor
Definition: DataResponses.cpp:17
short refinementType
refinement type for stochastic expansions from dimension refinement keyword group
Definition: DataMethod.hpp:962
Optimizer & dakOpt
reference to the DakotaOptimizer
Definition: APPSEvalMgr.hpp:92
bool trackEvalIds
flag to activate the tracking of evaluation ids within surrogate data
Definition: ApproximationInterface.hpp:233
virtual void print_sobol_indices(std::ostream &s)
print global sensitivity indices
Definition: NonDExpansion.cpp:3995
unsigned short exportVarianceFormat
file export format for variables and approximate response variance
Definition: DataFitSurrModel.hpp:464
virtual void create_tabular_datastream()
create a tabular output stream for automatic logging of vars/response data
Definition: DakotaModel.cpp:3403
Real calcExpIndPoint(const int respFnCount, const Real respThresh, const RealVector this_mean, const RealVector this_var)
function to calculate the expected indicator probabilities for one point
Definition: NonDGPImpSampling.cpp:554
size_t idiv_start() const
get start index of inactive discrete int vars
Definition: SharedVariablesData.hpp:1708
virtual ~COLINTraits()
destructor
Definition: COLINOptimizer.hpp:35
void derived_finite_solution_bounds(const RealVector &x0, RealVector &x_lb, RealVector &x_ub, Real budget)
portion of finite_solution_bounds() specific to derived class implementations
Definition: NonDMultilevBLUESampling.cpp:672
void approximate_control_variate_online_pilot()
Definition: NonDACVSampling.cpp:109
void build_hessian_of_sum_square_residuals(const Response &resp, RealSymMatrix &ssr_hessian)
Build the hessian of the ssr from residuals, function gradients and function hessians based on the re...
Definition: ExperimentData.hpp:616
std::string sysCommand
The command string that is constructed through one or more << insertions and then executed by flush.
Definition: CommandShell.hpp:65
SizetMultiArray allDiscreteStringIds
array of 1-based ids (into total variable set) for discrete string
Definition: SharedVariablesData.hpp:302
void set_communicators_checks(int max_eval_concurrency)
Definition: SysCallApplicInterface.hpp:130
void barrier_i(size_t index=_NPOS)
enforce MPI_Barrier on an iterator communicator
Definition: ParallelLibrary.hpp:1924
RandomFieldModel(ProblemDescDB &problem_db)
Problem database constructor.
Definition: RandomFieldModel.cpp:21
bool top_level()
Return whether the iterator is the top level iterator.
Definition: DakotaIterator.cpp:1250
std::string string_to_tmpfile(const std::string &dump_string)
utility to write an input string to a tmpfile in PWD
Definition: dakota_preproc_util.cpp:17
void increment_mlmf_equivalent_cost(size_t new_N_hf, Real hf_lev_cost, size_t new_N_lf, Real lf_lev_cost, Real hf_ref_cost, Real &equiv_hf)
increment the equivalent number of HF evaluations
Definition: NonDMultilevControlVarSampling.hpp:387
Real meritFnStar
minimum penalized response from among truth build data
Definition: EffGlobalMinimizer.hpp:276
BootstrapSampler(const MatType &orig_data, size_t block_size=1)
Constructor for the sampler.
Definition: BootstrapSampler.hpp:208
void check_sub_iterator_conflict()
detect any conflicts due to recursive use of the same Fortran solver
Definition: NLSSOLLeastSq.cpp:144
const VectorXd & get_scaler_features_offsets() const
Get the vector of offsets.
Definition: UtilDataScaler.hpp:76
void compute_level_mappings()
compute all analytic/numerical level mappings; this uses a lightweight approach for incremental stati...
Definition: NonDExpansion.cpp:2757
BitArray adiv_to_all_mask() const
create a BitArray indicating the all discrete int subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1309
void active_view(short view1)
overrides the active view
void initialize_ml_regression(size_t num_lev, bool &import_pilot)
initializations for multilevel_regression()
Definition: NonDMultilevelPolynomialChaos.cpp:816
bool modelEvidence
flag indicating calculation of the evidence of the model
Definition: DataMethod.hpp:1213
virtual int recommended_points(bool constraint_flag) const
returns the recommended number of points required to build a particular ApproximationInterface (used ...
Definition: DakotaInterface.cpp:974
String fitnessType
the fitness assessment operator to use.
Definition: DataMethod.hpp:689
void discrete_string_variable_label(const String &dsv_label, size_t index)
set an active discrete string variable label
Definition: DakotaVariables.hpp:1153
void size_all_labels()
size all{Continuous,DiscreteInt,DiscreteString,DiscreteReal}Labels, with or without discrete relaxati...
Definition: SharedVariablesData.hpp:525
void writeCovMat(char[])
Writes out the covariance matrix to a specified file.
Definition: GaussProcApproximation.cpp:1251
void increment_order()
increments polynomial expansion order (PCE, FT)
Definition: SharedC3ApproxData.cpp:256
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: PEBBLMinimizer.hpp:45
int numSteps
the num_steps specification in MethodPSVPS
Definition: DataMethod.hpp:1381
ResultsNames results_names
Copy of valid results names for when manager is passed around.
Definition: ResultsManager.hpp:192
void all_discrete_int_label(const String &div_label, size_t index)
set discrete integer label at index start
Definition: SharedVariablesData.hpp:1434
int rosenbrock(const Dakota::RealVector &c_vars, short asv, Dakota::Real &fn_val, Dakota::RealVector &fn_grad, Dakota::RealSymMatrix &fn_hess)
Rosenbrock plug-in test function.
Definition: SoleilDirectApplicInterface.cpp:113
BitArray binomialUncCat
is each binomial var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:467
A sample namespace for derived classes that use assign_rep() to plug facilities into DAKOTA.
Definition: PluginParallelDirectApplicInterface.cpp:19
short rbfMinPartition
minimum partition for radial basis function approximation
Definition: DataModel.hpp:256
SizetSet surrogateFnIndices
for mixed response sets, this array specifies the response function subset that is approximated
Definition: SurrogateModel.hpp:189
void trans_hess_X_to_U(const RealSymMatrix &fn_hess_x, RealSymMatrix &fn_hess_u, const RealVector &x_vars, const RealVector &fn_grad_x)
transform x-space Hessian matrix to u-space
Definition: RecastModel.hpp:748
bool manage_asv(const ActiveSet &original_set, ShortArray &map_asv_out, ShortArray &fd_grad_asv_out, ShortArray &fd_hess_asv_out, ShortArray &quasi_hess_asv_out)
Coordinates usage of estimate_derivatives() calls based on asv_in.
Definition: DakotaModel.cpp:3020
void initialize_run()
utility function to perform common operations prior to pre_run(); typically memory initialization; se...
Definition: DakotaNonD.hpp:448
Real continuous_lower_bound(size_t i) const
return an active continuous variable lower bound
Definition: DakotaConstraints.hpp:454
void uncertain_vars_to_subspace()
translate the characterization of uncertain variables in the native_model to the reduced space of the...
Definition: AdaptedBasisModel.cpp:566
double * conminDesVars
Array of design variables used by CONMIN (length N1 = numdv+2)
Definition: CONMINOptimizer.hpp:211
SizetArray primaryADSVarMapIndices
"primary" all discrete string variable mapping indices flowed down from higher level iteration
Definition: EnsembleSurrModel.hpp:326
The derived input file database utilizing the new IDR parser.
Definition: NIDRProblemDescDB.hpp:33
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
Definition: NonDCubature.cpp:130
void enforce_input_rules()
enforce sanity checks/modifications for the user input specification
Definition: PSUADEDesignCompExp.cpp:288
IntVector initialDIVPoint
the discrete int start point for vector and centered parameter studies
Definition: ParamStudy.hpp:199
int softConvergenceLimit
max number of iterations in refinement without improvement
Definition: DataModel.hpp:467
RealVector regressionNoiseTol
noise tolerance(s) for OMP, BPDN, LARS, and LASSO
Definition: DataMethod.hpp:1028
virtual void init_communicators_checks(int max_eval_concurrency)
perform construct-time error checks on the parallel configuration
Definition: ApplicationInterface.cpp:274
Model approxSubProbModel
recast model which assimilates either (a) mean and variance to solve the max(EIF) sub-problem (used b...
Definition: EffGlobalMinimizer.hpp:267
bool system_call_file_test(const bfs::path &root_file)
detect completion of a function evaluation through existence of the necessary results file(s); return...
Definition: SysCallApplicInterface.cpp:218
int numChains
number of concurrent chains
Definition: NonDDREAMBayesCalibration.hpp:96
Container class for a variables object, a response object, and an evaluation id.
Definition: ParamResponsePair.hpp:37
String advancedOptionsFilename
file containing advanced ROL option overrides
Definition: DataMethod.hpp:1234
const StringRealMapArray & get_srma(const String &entry_name) const
get an StringRealMapArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1843
void parse_tracking_string(const std::string &dt)
Populate serverList with tracker and proxy URLs from dt.
Definition: TrackerHTTP.cpp:132
EvaluationsDBState modelEvaluationsDBState
Whether to write model evals to the evaluations DB.
Definition: DakotaModel.hpp:1473
bool trackExtremeValues
flag for tracking min/max values encountered when evaluating samples
Definition: NonDAdaptImpSampling.hpp:165
size_t globalIterCntr
global iteration counter for number of surrogate-based min/max solves
Definition: NonDGlobalInterval.hpp:178
UShortMultiArrayConstView all_discrete_int_types(size_t start, size_t num_items) const
get num_items discrete integer types beginning at index start
Definition: SharedVariablesData.hpp:1507
StringArray primaryRespFnSense
optimization sense for each objective function: minimize or maximize
Definition: DataResponses.hpp:107
UShortArray discIntVarPartitions
number of partitions for each discrete integer variable in a multidim_parameter_study
Definition: ParamStudy.hpp:253
virtual Real covariance(Approximation &approx_2)
return the covariance between two response expansions, treating all variables as random
Definition: DakotaApproximation.cpp:569
void populateMatricesFromFile(const std::string &filename, std::vector< MatrixXd > &S, int num_datasets, int num_vars, int num_samples)
Populate a collection of matrices read in a from a text file assuming data layout is a "column-major"...
Definition: util_common.cpp:103
void evaluate_grid_increment()
computes a grid increment and evaluates the new parameter sets
Definition: NonDSparseGrid.hpp:239
void inverse_transform_set(const Variables &sub_model_vars, const ActiveSet &sub_model_set, ActiveSet &recast_set)
into sub_model_set for use with subModel.
Definition: RecastModel.cpp:718
NCSUTraits()
default constructor
Definition: NCSUOptimizer.hpp:27
virtual std::string GetDescription() const
Returns a full description of what this operator does and how.
Definition: JEGAOptimizer.cpp:416
bool scaleFlag
whether response scaling is active
Definition: NonDBayesCalibration.hpp:546
bool onlineCost
indicates use of online cost recovery rather than offline user-specified cost ratios
Definition: NonDEnsembleSampling.hpp:187
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NLSSOLLeastSq.hpp:34
void update_continuous_variables_active_complement_from_model(const Model &model)
update complement of active continuous variables/bounds/labels from subModel
Definition: RecastModel.cpp:1134
IntVector finalDIVPoint
the discrete int range value or set index ending point for vector_parameter_study
Definition: ParamStudy.hpp:209
IntVector approxDIUpperBnds
approximation continuous upper bounds
Definition: SharedApproxData.hpp:267
bool backfillFlag
the backfill option allows one to augment in LHS sample by enforcing the addition of unique discrete ...
Definition: DataMethod.hpp:880
void factorize(const MatrixXd &A) override
Perform the matrix factorization for the linear solver matrix.
Definition: UtilLinearSolvers.cpp:214
static GaussProcApproximation * GPinstance
pointer to the active object instance used within the static evaluator
Definition: GaussProcApproximation.hpp:189
bool derived_master_overload() const
flag which prevents overloading the master with a multiprocessor evaluation (request forwarded to use...
Definition: SimulationModel.hpp:341
py::dict params_to_dict() const
Translate Dakota parameters into returned Python dictionary in numpy or array format.
Definition: Pybind11Interface.cpp:203
The Graphics class provides a single interface to 2D (motif) and 3D (PLPLOT) graphics; there is only ...
Definition: DakotaGraphics.hpp:30
void pop_grid_increment()
removes a previously computed grid increment
Definition: NonDSparseGrid.hpp:251
Real delta_variance()
return the change in variance resulting from expansion refinement, where all active variables are ran...
Definition: PecosApproximation.hpp:576
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: DOTOptimizer.hpp:77
bool adaptPosteriorRefine
flag indicating adaptive refinement of the emulator in regions of high posterior probability
Definition: DataMethod.hpp:1193
void process_asynch_local(int fn_eval_id)
process a completed asynchronous local evaluation
Definition: ApplicationInterface.cpp:2976
RealVector linearEqConTargets
linear equality constraint targets
Definition: DakotaConstraints.hpp:387
void assign_key_index(size_t key_index)
extract and assign i-th embedded active key
Definition: DakotaApproximation.hpp:452
bool compactMode
switch for allSamples (compact mode) instead of allVariables (normal mode)
Definition: DakotaAnalyzer.hpp:184
Base class for the interface class hierarchy.
Definition: DakotaInterface.hpp:50
void merge_grid()
helper function to manage different grid merge cases
Definition: NonDExpansion.cpp:1244
virtual void randomize()=0
Randomize this low-discrepancy sequence NOTE: this function is required by NonDLowDiscrepancySampling...
void print_evaluation_summary(std::ostream &s, bool minimal_header=false, bool relative_count=true) const
print the evaluation summary for the DataFitSurrModel (request forwarded to approxInterface and actua...
Definition: DataFitSurrModel.hpp:1032
void fd_check_hessian(Surrogate &surr, const MatrixXd &sample, MatrixXd &fd_error, const int num_steps)
Perform a centered finite difference check of a Surrogate's Hessian method.
Definition: surrogates_tools.cpp:226
void update_model_distributions(Model &model)
update model with random variable distribution data
Definition: SurrogateModel.cpp:420
bool compute_step()
compute step: fixed, simple decrease, sufficient decrease
Definition: NonlinearCGOptimizer.cpp:221
int steady_state_diffusion_1d()
solve the 1d steady-state diffusion eqn with uncertain field diffusivity
Definition: TestDriverInterface.cpp:1962
PRPCacheOIter PRPCacheIter
default cache iterator <0>
Definition: PRPMultiIndex.hpp:175
UShortMultiArrayConstView all_discrete_string_variable_types() const
return all discrete variable types from currentVariables
Definition: DakotaModel.hpp:2278
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: PEBBLMinimizer.hpp:42
void evaluate_ml_sample_increment(String prepend, unsigned short step)
helper that consolidates sequence advancement, sample generation, sample export, and sample evaluatio...
Definition: NonDMultilevelSampling.cpp:609
void initialize_level_data()
convenience function for initializing/warm starting MPP search data for each response function prior ...
Definition: NonDLocalReliability.cpp:1225
SizetSizetPairArray costMetadataIndices
indices of cost data within response metadata, one per model form
Definition: NonDEnsembleSampling.hpp:189
void snll_post_instantiate(int num_cv, bool vendor_num_grad_flag, const String &finite_diff_type, const RealVector &fdss, size_t max_iter, size_t max_eval, Real conv_tol, Real grad_tol, Real max_step, bool bound_constr_flag, int num_constr, short output_lev, OPTPP::OptimizeClass *the_optimizer, OPTPP::NLP0 *nlf_objective, OPTPP::FDNLF1 *fd_nlf1, OPTPP::FDNLF1 *fd_nlf1_con)
convenience function for setting OPT++ options after the method instantiation
Definition: SNLLBase.cpp:114
void offset(const RealVector &x, RealVector &s)
based on minX, apply offset scaling to x to define s
Definition: QMEApproximation.cpp:365
void configure_pecos_options()
configure expansion and basis configuration options for Pecos polynomial approximations
Definition: NonDExpansion.cpp:568
static int objective_eval(int *n, double c[], double l[], double u[], int point[], int *maxI, int *start, int *maxfunc, double fvec[], int iidata[], int *iisize, double ddata[], int *idsize, char cdata[], int *icsize)
'fep' in Griffin-modified NCSUDirect: computes the value of the objective function (potentially at mu...
Definition: NCSUOptimizer.cpp:233
UShortMultiArrayConstView all_discrete_int_variable_types() const
return all discrete variable types
Definition: DakotaVariables.hpp:1766
void concatenate_restart(StringArray pos_args)
concatenate multiple restart files
Definition: restart_util.cpp:809
Definition: EffGlobalMinimizer.hpp:56
void field_lengths(const IntVector &field_lens)
set the field lengths (within SharedResponseData)
void print_configuration()
print the parallel level settings for a particular parallel configuration
Definition: ParallelLibrary.cpp:892
void trans_grad_X_to_U(const RealVector &fn_grad_x, RealVector &fn_grad_u, const RealVector &x_vars)
transform x-space gradient vector to u-space
Definition: SurrogateModel.hpp:269
void post_process_samples()
post-process the output from executing lhsSampler
Definition: NonDLHSEvidence.cpp:32
void derived_set_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set active parallel configuration within subModel
Definition: RecastModel.hpp:1087
void copy_data(const MatrixXd &src_mat, RealMatrix &dst_mat)
Copy data from Eigen::MatrixXd to RealMatrix.
Definition: dakota_data_util.cpp:388
Generic uncertainty quantification with Model-based stochastic expansions.
Definition: NonDSurrogateExpansion.hpp:25
DiscrepancyCorrection & discrepancy_correction()
return the DiscrepancyCorrection object used by SurrogateModels
Definition: DataFitSurrModel.hpp:569
unsigned short exportDiscrepFormat
tabular format for model discrepancy export file
Definition: DataMethod.hpp:1286
RealSymMatrixArray fnHessiansMeanX
response function Hessians evaluated at mean x
Definition: NonDLocalReliability.hpp:286
NonDGPImpSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDGPImpSampling.cpp:33
RealVector solution_level_costs() const
return cost estimates from subModel::solnControlCostMap
Definition: RecastModel.hpp:874
size_t div() const
get number of active discrete int vars
Definition: SharedVariablesData.hpp:1672
int recastModelEvalCntr
local evaluation id counter used for id mapping
Definition: RecastModel.hpp:541
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDMultilevelPolynomialChaos.cpp:296
ParLevLIter eaPLIter
list iterator identifying the evaluation-analysis parallelLevel (there can only be one)
Definition: ParallelLibrary.hpp:490
void print_level_mappings(std::ostream &s) const
prints the z/p/beta/beta* mappings reflected in {requested,computed}{Resp,Prob,Rel,...
Definition: DakotaNonD.hpp:471
Real augmented_linear_ineq_violations(const RealVector &cd_vars, const RealMatrix &lin_ineq_coeffs, const RealVector &lin_ineq_lb, const RealVector &lin_ineq_ub)
return quadratic constraint violation for augmented linear inequality constraints
Definition: NonDMultilevBLUESampling.cpp:717
void init_comms_bcast_flag(bool icb_flag)
set initCommsBcastFlag
Definition: DakotaModel.hpp:3728
double * conminUpperBnds
Array of upper bounds used by CONMIN (length N1 = numdv+2)
Definition: CONMINOptimizer.hpp:215
size_t drv_index_to_all_index(size_t drv_index, bool ddv, bool dauv, bool deuv, bool dsv) const
convert index within active discrete real variables (as identified by bools) to index within aggregat...
static void uncentered_to_centered(Real rm1, Real rm2, Real rm3, Real rm4, Real &cm1, Real &cm2, Real &cm3, Real &cm4)
convert uncentered (raw) moments to centered moments; unbiased estimators
Definition: NonDEnsembleSampling.hpp:535
short setUpType
controls iteration mode: SETUP_MODEL (normal usage) or SETUP_USERFUNC (user-supplied functions mode f...
Definition: NCSUOptimizer.hpp:147
unsigned short kickOrder
polynomial order increment when adapting
Definition: DataModel.hpp:430
Real shrinkagePercent
The minimum percentage of the requested number of selections that must take place on each call to the...
Definition: DataMethod.hpp:708
void push_approximation()
Definition: ApproximationInterface.hpp:466
short allocationTarget
the allocationTarget selection in MethodMultilevelMC
Definition: DataMethod.hpp:1135
size_t maxSolverIterations
maximum number of internal solver iterations allowed for the method (from the max_solver_iterations s...
Definition: DataMethod.hpp:329
void init_metadata() override
default clear metadata in Recasts; derived classes can override to no-op
Definition: WeightingModel.hpp:47
void ml_Y_raw_moments(const RealMatrix &sum_H1, const RealMatrix &sum_H2, const Sizet2DArray &N_l, size_t start, size_t end, RealMatrix &ml_raw_mom)
accumulate ML-only contributions (levels with no CV) to 2 raw moments
Definition: NonDMultilevelSampling.hpp:938
size_t numHistogramBinUncVars
number of histogram bin uncertain variables (from the histogram_bin_uncertain specification in VarAUV...
Definition: DataVariables.hpp:152
std::shared_ptr< Pecos::CubatureDriver > cubDriver
convenience pointer to the numIntDriver representation
Definition: NonDCubature.hpp:92
const Variables & variables_results() const
return the final environment solution (variables)
Definition: DakotaEnvironment.hpp:198
Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: C3Approximation.cpp:1075
OPTPP::NLF2 * nlf2
pointer to objective NLF for full Newton optimizers
Definition: SNLLLeastSq.hpp:184
void free(MPI_Request &request)
free an MPI_Request
Definition: ParallelLibrary.hpp:2010
const RealMatrix & linear_eq_constraint_coeffs() const
return the linear equality constraint coefficients
Definition: DakotaConstraints.hpp:1041
void sdv_to_realarray(const Pecos::SurrogateDataVars &sdv, RealArrayType &ra)
aggregate {continuous,discrete int,discrete real} variables from SurrogateDataVars into ra
Definition: SharedSurfpackApproxData.hpp:175
bool gpModelFlag
flag indicating use of GP surrogate emulation
Definition: NonDGlobalInterval.hpp:148
UShortSetArray reverseActiveDAG
reverse of active DAG: for each model, the set of models that point to it
Definition: NonDGenACVSampling.hpp:271
RealVector statsStar
stats of the best refinement candidate for the current model indices
Definition: NonDExpansion.hpp:530
void objective_reduction(const Response &full_response, const BoolDeque &sense, const RealVector &full_wts, Response &reduced_response) const
forward mapping: maps multiple primary response functions to a single weighted objective for single-o...
Definition: DakotaOptimizer.cpp:443
int min_coefficients() const override
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: DakotaSurrogatesGP.cpp:120
size_t vc_lookup(unsigned short key) const
retrieve the variables type count within svdRep->variablesComponents corresponding to (a fine-grain v...
Definition: SharedVariablesData.hpp:1632
virtual void initialize_final_statistics()
initializes finalStatistics for storing NonD final results
Definition: DakotaNonD.cpp:272
py::function py11CallBack
callback function for analysis driver
Definition: Pybind11Interface.hpp:71
short pointsManagement
configuration for points management in build_global()
Definition: DataFitSurrModel.hpp:446
size_t num_samples() const
Definition: NonDSparseGrid.hpp:259
const IntResponseMap & synchronize_nowait()
executes a nonblocking schedule for asynchronous evaluations in the beforeSynchCorePRPQueue and retur...
Definition: ApplicationInterface.cpp:822
int covreq
kind of covariance required (covariance): 1 or -1 ==> sigma^2 H^-1 J^T J H^-1 2 or -2 ==> sigma^2 H^-...
Definition: NL2SOLLeastSq.hpp:133
WeightingModel(Model &sub_model)
standard constructor
Definition: WeightingModel.cpp:18
bool estimateTrend
Bool for polynomial trend (i.e. semi-parametric GP) estimation.
Definition: SurrogatesGaussianProcess.hpp:429
DakotaROLObjective(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:520
Real value(const Variables &vars) override
Return the value of the Surfpack surface for a given parameter vector x.
Definition: SurfpackApproximation.cpp:518
UShortMultiArrayConstView discrete_int_variable_types() const
return the active discrete variable types from currentVariables
Definition: DakotaModel.hpp:1974
void initialize()
shared constructor initializations
Definition: SurrBasedLocalMinimizer.cpp:79
size_t numBetaUncVars
number of beta uncertain variables (from the beta_uncertain specification in VarAUV)
Definition: DataVariables.hpp:137
Utility functions for reading and writing tabular data files Emerging utilities for tabular file I/O....
bool computeMultiplicative
flag indicating the need for multiplicative correction calculations
Definition: DiscrepancyCorrection.hpp:202
bool crossValidateFlag
flag indicating the use of cross validation on the metrics specified
Definition: DataModel.hpp:294
bool adaptPosteriorRefine
flag indicating usage of adaptive posterior refinement; currently makes sense for unstructured grids ...
Definition: NonDBayesCalibration.hpp:450
void GPmodel_build()
Function to compute hyperparameters governing the GP.
Definition: GaussProcApproximation.cpp:215
SharedApproxData & shared_approximation()
retrieve the SharedApproxData within an ApproximationInterface
Definition: ApproximationInterface.hpp:578
size_t miPLIndex
the index of the active metaiterator-iterator parallelism level (corresponding to ParallelConfigurati...
Definition: SurrogateModel.hpp:221
void nested_response_mappings(const RealMatrix &primary_coeffs, const RealMatrix &secondary_coeffs)
set primaryResponseCoefficients, secondaryResponseCoefficients within derived Iterators; Necessary fo...
Definition: NonDMultilevelSampling.hpp:596
static Optimizer * optimizerInstance
pointer to Optimizer instance used in static member functions
Definition: DakotaOptimizer.hpp:531
IntVector discreteIntEpistemicUncVars
array of values for all discrete integer epistemic uncertain variables
Definition: DataVariables.hpp:760
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: TANA3Approximation.cpp:36
QMEApproximation()
default constructor
Definition: QMEApproximation.hpp:97
Definition: ROLOptimizer.hpp:298
const RealVectorArray & get_rva(const String &entry_name) const
get a RealVectorArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1705
short surrBasedLocalSubProbCon
SBL approximate subproblem constraints: NO_CONSTRAINTS, LINEARIZED_CONSTRAINTS, or ORIGINAL_CONSTRAIN...
Definition: DataMethod.hpp:471
StringArray hybridMethodPointers
array of methods for the sequential and collaborative hybrid meta-iterators (from the method_pointer_...
Definition: DataMethod.hpp:393
void write_tabular_partial_labels(std::ostream &s, size_t start_index, size_t num_items) const
write range of variable labels in input spec order to a std::ostream
Definition: MixedVariables.cpp:158
bool resetStep
whether to reset step with each linesearch
Definition: NonlinearCGOptimizer.hpp:103
void post_push()
clean up popped bookkeeping following push
Definition: SharedPecosApproxData.hpp:230
void copy_row_vector(const RealMatrix &m, RealMatrix::ordinalType i, VectorType &row)
Copies a row of a Teuchos_SerialDenseMatrix<int,Real> to std::vector<Real>
Definition: dakota_data_util.hpp:1129
size_t push_index(const Pecos::ActiveKey &key)
return index for restoring trial set within stored data sets
Definition: SharedC3ApproxData.hpp:712
bool user_modes() const
are any non-default, user-specified run modes active?
Definition: ProgramOptions.cpp:170
void all_discrete_string_variable_label(const String &adsv_label, size_t index)
set a label within the all discrete label array
Definition: DakotaVariables.hpp:1742
static void initialize()
initialize (at runtime) cached values for paths and environment
Definition: WorkdirHelper.cpp:66
Real dp2_dbeta_factor(Real beta, bool cdf_flag)
compute factor for derivative of second-order probability with respect to reliability index (from dif...
Definition: NonDLocalReliability.cpp:2391
double get_polynomial_intercept() const
Get the polynomial surrogate's intercept/offset.
Definition: SurrogatesPolynomialRegression.cpp:287
void penalty_gradient(const RealVector &fn_vals, const RealMatrix &fn_grads, const BoolDeque &sense, const RealVector &primary_wts, RealVector &pen_grad)
compute the gradient of the penalty function
Definition: SurrBasedMinimizer.cpp:724
bool adaptOrder
C3 FT can support CV over polynomial order in addition to adapt_rank.
Definition: SharedC3ApproxData.hpp:229
StringArray metaDataLabels
labels for optional metadata
Definition: DirectApplicInterface.hpp:182
Real mutationScale
the mutation_scale specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:600
virtual bool accepts_multiple_points() const
indicates if this iterator accepts multiple initial points. Default return is false....
Definition: DakotaIterator.cpp:1602
Setter setterMethod
Function to place a single sample into a Data object. Function should take a Data object and an unsig...
Definition: BootstrapSampler.hpp:317
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: NPSOLOptimizer.hpp:66
void open_tabular_datastream()
open the tabular datastream on iterator leaders
Definition: OutputManager.cpp:419
void advance_relaxation()
update relaxFactor based on iteration number
Definition: NonDEnsembleSampling.hpp:406
void iterator_error_estimation(const RealSymMatrix &sub_iterator_errors, RealVector &mapped_errors)
combine error estimates from the sub-iteration to define mappedErrorEstimates
Definition: NestedModel.cpp:1901
A version of TraitsBase specialized for OptDarts.
Definition: OptDartsOptimizer.hpp:28
RealList nonlinIneqConMappingMultipliers
a list of multipliers for mapping the DAKOTA nonlinear inequality constraints to the corresponding NO...
Definition: NOWPACOptimizer.hpp:75
size_t numCandidateDesigns
number of candidate designss in D-optimal design selection
Definition: DataMethod.hpp:1070
size_t adsv() const
total number of discrete string vars
Definition: DakotaVariables.hpp:787
size_t numHistogramPtIntUncVars
number of integer-valued histogram point uncertain variables (from the histogram_point_uncertain spec...
Definition: DataVariables.hpp:170
bool constantPenalty
the constant_penalty flag for COLINY methods in MethodSCOLIBPS and MethodSCOLIBSW
Definition: DataMethod.hpp:571
RealVector exponentialUncVars
initial values of the exponential uncertain variables (from the initial_point specification in VarCAU...
Definition: DataVariables.hpp:381
void read_gradients(std::istream &s, const ShortArray &asv, bool expect_metadata, std::ostringstream &error)
Read gradients from a freeform stream. Insert error messages.
const SizetArray & active_set_derivative_vector() const
return the active set derivative vector
Definition: DakotaResponse.hpp:955
void unpack(char *data, const int num=1)
Unpack one or more char's.
size_t numDSV
number of active discrete string variables
Definition: SharedVariablesData.hpp:267
size_t numHistogramPtStrUncVars
number of string-valued histogram point uncertain variables (from the histogram_point_uncertain speci...
Definition: DataVariables.hpp:173
void continuation(const Variables &target_vars, const ActiveSet &set, Response &response, const ParamResponsePair &source_pair, int failed_eval_id)
performs a 0th order continuation method to step from a successful "source" evaluation to the failed ...
Definition: ApplicationInterface.cpp:2856
virtual int synchronous_local_analysis(int analysis_id)
Execute a particular analysis (identified by analysis_id) synchronously on the local processor....
Definition: ApplicationInterface.hpp:634
virtual void construct_basis(const Pecos::MultivariateDistribution &mv_dist)
construct the shared basis for an expansion-based approximation
Definition: SharedApproxData.cpp:481
int drNumStages
DR num stages.
Definition: DataMethod.hpp:1354
Real convergenceTolerance
iteration convergence tolerance for the method (from the convergence_tolerance specification in Metho...
Definition: DataMethod.hpp:354
const String & input_file() const
Dakota input file base name (no tag)
Definition: ProgramOptions.cpp:112
unsigned linesearchType
type of line search (if any)
Definition: NonlinearCGOptimizer.hpp:99
int capacity()
the allocated size of Buffer.
Definition: MPIPackBuffer.hpp:57
~CholeskySolver()
Destructor.
Definition: UtilLinearSolvers.cpp:207
double solverTol
tolerance on regression solver
Definition: SharedC3ApproxData.hpp:261
IntArray messageLengths
length of packed MPI buffers containing vars, vars/set, response, and PRPair
Definition: DakotaModel.hpp:1479
unsigned short maxCVOrderCandidates
maximum number of cross-validation candidates for adaptOrder
Definition: DataModel.hpp:446
Base class for the variable constraints class hierarchy.
Definition: DakotaConstraints.hpp:40
~FSUDesignCompExp()
destructor
Definition: FSUDesignCompExp.cpp:173
StringMultiArrayConstView discrete_string_variables() const
return the active discrete string variables (Note: returns a view by const reference,...
Definition: DakotaVariables.hpp:873
void write_tabular(std::ostream &s, unsigned short tabular_format) const
write a ParamResponsePair object in tabular format (all variables active/inactive) to an std::ostream
double bestEstimatedNuggetValue
Best estimated nugget value from MLE with restarts.
Definition: SurrogatesGaussianProcess.hpp:363
int samplesIncrement
current increment in a sequence of samples
Definition: NonDSampling.hpp:325
size_t maxIterations
maximum number of iterations for the method
Definition: DakotaIterator.hpp:492
virtual void push_approximation()
retrieves approximation data from a previous state (negates pop)
Definition: DakotaInterface.cpp:1219
const String & variables_id() const
returns the variables identifier string
Definition: DakotaVariables.hpp:1802
void warm_start_flag(const bool flag)
set the warm start flag, including the orderedModels
Definition: RecastModel.hpp:1179
int intWorkSpaceSize
size of intWorkSpace
Definition: SOLBase.hpp:164
DLSolverTraits()
default constructor
Definition: DLSolver.hpp:27
size_t map_value_to_index(const ValueType &value, const std::map< KeyType, ValueType > &pairs)
calculate the map index corresponding to the passed value (not the key)
Definition: dakota_data_util.hpp:1300
~ExperimentResponse()
destructor
Definition: ExperimentResponse.hpp:114
int burnInSamples
number of MCMC samples to discard from acceptance chain
Definition: DataMethod.hpp:1253
int numEmulEval
the number of points evaluated by the GP each iteration
Definition: NonDGPImpSampling.hpp:94
void continuous_variable_id(size_t cv_id, size_t index)
set an active continuous variable position identifier
Definition: DakotaVariables.hpp:1399
The LinearSolverBase class serves as an API for derived solvers.
Definition: UtilLinearSolvers.hpp:25
VectorXd value(const MatrixXd &eval_points, const int qoi) override
Evaluate the polynomial surrogate at a set of prediction points for a single QoI.
Definition: SurrogatesPolynomialRegression.cpp:141
bool push_available()
query for whether a trial increment is restorable within a surrogate
Definition: RecastModel.hpp:977
RealMatrix rho2LH
squared Pearson correlations among approximations and truth
Definition: NonDMultifidelitySampling.hpp:182
unsigned short interfEvalsSelection
Interfaces selected to store their evaluations.
Definition: OutputManager.hpp:366
void compute_total_effects()
Performs global sensitivity analysis using Sobol' indices by computing total effects.
Definition: PecosApproximation.hpp:397
RealVector varH
variances for HF truth (length numFunctions)
Definition: NonDEnsembleSampling.hpp:209
~NonDGlobalReliability()
destructor
Definition: NonDGlobalReliability.cpp:345
void abort_helper(int code)
finalize MPI with correct communicator for abort
Definition: ParallelLibrary.cpp:1180
void transform_response(const Variables &recast_vars, const Variables &sub_model_vars, const Response &sub_model_resp, Response &recast_resp)
perform transformation of Response (sub-model --> recast)
Definition: RecastModel.cpp:787
String solutionLevelControl
(state) variable identifier that defines a set or range of solution level controls (space/time discre...
Definition: DataModel.hpp:125
IntSet idNumericalHessians
mixed Hessian numerical identifiers (from the id_numerical_hessians specification in RespHessMixed)
Definition: DataResponses.hpp:229
void get_common_stopping_criteria(int &max_fn_evals, int &max_iters, double &conv_tol, double &min_var_chg, double &obj_target)
Definition: DakotaOptimizer.hpp:436
RealScale(const std::string &label, const RealVector &in_items, ScaleScope scope=ScaleScope::UNSHARED)
Constructor that takes a RealVector.
Definition: dakota_results_types.hpp:241
void compute_variance(const VariablesArray &vars_array, RealMatrix &approx_variance, bool quiet_flag=false)
compute the variance of approx_response
Definition: DiscrepancyCorrection.cpp:816
String optionalInterfRespPointer
string pointer to the responses specification used by the optional interface in nested models (from t...
Definition: DataModel.hpp:323
virtual ~DakotaROLIneqConstraintsGrad()
Destructor.
Definition: ROLOptimizer.hpp:352
const Pecos::SurrogateData & approximation_data(size_t fn_index)
retrieve the approximation data from a particular Approximation within an ApproximationInterface
Definition: ApproximationInterface.hpp:587
RealScale(const std::string &label, const Real *in_items, const int len, ScaleScope scope=ScaleScope::UNSHARED)
Constructor that takes a pointer to Real and length.
Definition: dakota_results_types.hpp:260
virtual void finalize_ml_regression()
finalizations for multilevel_regression()
Definition: NonDExpansion.cpp:1760
void combine_coefficients()
combine all level approximations into a single aggregate approximation
Definition: C3Approximation.cpp:564
LowDiscrepancySequence(int mMax, int dMax, int seedValue, short outputLevel)
Default constructor.
Definition: LowDiscrepancySequence.hpp:33
Definition: ROLOptimizer.hpp:128
~NestedModel()
destructor
Definition: NestedModel.hpp:428
Real l2Penalty
L2 penalty for LASSO algorithm (elastic net variant)
Definition: NonDPolynomialChaos.hpp:224
void increment_grid_weights()
increment ssgDriver::ssgLevel based on existing anisotropic weighting
Definition: NonDSparseGrid.hpp:152
Wrapper class for the OPT++ optimization library.
Definition: SNLLOptimizer.hpp:108
RealVector initialPtU
stores the initial variables data in u-space
Definition: NonDExpansion.hpp:503
short multilevAllocControl
the allocation_control selection in MethodMultilevelPCE
Definition: DataMethod.hpp:1148
static void problem_size(int &chain_num, int &cr_num, int &gen_num, int &pair_num, int &par_num)
initializer for problem size characteristics in DREAM
Definition: NonDDREAMBayesCalibration.cpp:331
MatrixXd covariance(const MatrixXd &eval_points, const int qoi)
Evaluate the covariance matrix for the Gaussian Process at a set of prediction points for a single Qo...
Definition: SurrogatesGaussianProcess.cpp:425
int world_size() const
return MPIManager::worldSize
Definition: ParallelLibrary.hpp:1047
Real approxVariance
value of the approximation returned by prediction_variance()
Definition: VPSApproximation.hpp:188
void update_linear_constraints(const Constraints &cons)
copy linear constraint data between existing Constraints objects
Definition: DakotaConstraints.cpp:364
void merge_variable_arrays(const RealVector &cv, const IntVector &div, const RealVector &drv, RealArrayType &ra)
merge cv, div, and drv vectors into a single ra array
Definition: SharedSurfpackApproxData.hpp:161
Model & surrogate_model(size_t i=_NPOS)
return approxModels[i]
Definition: EnsembleSurrModel.hpp:894
Iterator gpEval
LHS iterator for sampling on the GP.
Definition: NonDGPImpSampling.hpp:83
JEGA::DoubleMatrix ToDoubleMatrix(const VariablesArray &variables) const
Converts the items in a VariablesArray into a DoubleMatrix whereby the items in the matrix are the de...
Definition: JEGAOptimizer.cpp:1819
Model & iterated_model()
return the iteratedModel (iterators & meta-iterators using a single model instance)
Definition: DakotaIterator.hpp:643
void integer_variable_mapping(int i_var, size_t av_index, short svm_target)
insert i_var into appropriate recipient
Definition: NestedModel.cpp:2717
A version of TraitsBase specialized for DLSolver.
Definition: DLSolver.hpp:23
RealVector nonlinIneqLowerBndsSlack
individual violations of nonlinear inequality constraint lower bounds
Definition: SurrBasedLocalMinimizer.hpp:231
size_t numDiscreteStringVars
number of active discrete string vars
Definition: DakotaAnalyzer.hpp:180
Iterator hifiSampler
LHS iterator to generate hi-fi model data.
Definition: NonDBayesCalibration.hpp:405
SizetArray ratioApproxSequence
tracks approximation ordering based on descending evaluation ratios, as required for estimator varian...
Definition: NonDMultifidelitySampling.hpp:179
~NonDInterval()
destructor
Definition: NonDInterval.cpp:80
void all_continuous_variable(Real ac_var, size_t index)
set a variable within the all continuous array
Definition: DakotaVariables.hpp:1628
void sample_to_drv(const Real *sample_vars, Variables &vars, size_t &adrv_index, size_t num_adrv, size_t &samp_index)
helper function to copy a range from sample_vars to discrete real vars
Definition: NonDSampling.hpp:624
size_t miPLIndex
the index of the active metaiterator-iterator parallelism level (corresponding to ParallelConfigurati...
Definition: SubspaceModel.hpp:179
const RealVector & all_discrete_real_variables() const
return all discrete variables in currentVariables
Definition: DakotaModel.hpp:2237
unsigned short randomFieldIdForm
Contains which type of random field model.
Definition: DataModel.hpp:487
A version of TraitsBase specialized for CONMIN optimizers.
Definition: CONMINOptimizer.hpp:23
const IntSet & gradient_id_analytic() const
return the mixed gradient analytic IDs (gradIdAnalytic)
Definition: DakotaModel.hpp:3639
int samplesSpec
initial specification of number of samples
Definition: PSUADEDesignCompExp.hpp:78
bool product_interpolants()
query whether product interpolants are defined (non-empty)
Definition: PecosApproximation.hpp:445
void update_basis_distribution_parameters(const Pecos::MultivariateDistribution &u_dist)
invoke Pecos::SharedPolyApproxData::update_basis_distribution_parameters()
Definition: SharedPecosApproxData.hpp:274
int numCols
Number of columns; equals length of scale when 1D.
Definition: dakota_results_types.hpp:366
virtual void pop(bool save_surr_data)
back out the previous increment to the shared approximation data
Definition: SharedApproxData.cpp:341
void initialize_graphics(int iterator_server_id=1)
initialize graphics customized for surrogate-based iteration
Definition: SurrBasedLocalMinimizer.cpp:314
RealVector continuousDesignLowerBnds
lower bounds array for the continuous design variables (from the continuous_design lower_bounds speci...
Definition: DataVariables.hpp:215
void initialize_active_start_counts()
initialize {c,di,ds,dr}vStart and num{D,DI,DS,DR}V
Definition: SharedVariablesData.hpp:549
Definition: Pybind11Interface.hpp:30
short numParallelLevels
number of parallel levels
Definition: ParallelLibrary.hpp:480
int outputPrecision
output precision for tabular and screen output
Definition: DataEnvironment.hpp:86
MatrixXd polynomialCoeffs
Vector of coefficients for the polynomial surrogate.
Definition: SurrogatesPolynomialRegression.hpp:198
const Pecos::SurrogateData & approximation_data(size_t fn_index)
return the approximation data from a particular Approximation (request forwarded to approxInterface)
Definition: DataFitSurrModel.hpp:884
const RealVector & inactive_continuous_variables() const
return the inactive continuous variables
Definition: DakotaVariables.hpp:1410
Model & dakotaModel
Dakota problem data provided by user.
Definition: ROLOptimizer.hpp:203
static bool check_set_keys(size_t num_v, size_t ds_len, const char *kind, IntArray *input_nds, int &avg_num_ds)
validate the number of set elements (values) given the number of variables and an optional apportionm...
Definition: NIDRProblemDescDB.cpp:4008
void construct_batch_acquisition(size_t new_acq, size_t new_batch)
construct a batch of points from performing acquisition cycles
Definition: EffGlobalMinimizer.cpp:378
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: NPSOLOptimizer.hpp:69
virtual SharedApproxData & shared_approximation()
retrieve the shared approximation data within the ApproximationInterface of a DataFitSurrModel
Definition: DakotaModel.cpp:4355
static bool check_equivalent_dest(const StringArray &source_items, const bfs::path &dest_dir)
check whether any of the passed source items are filesystem equivalent to the destination path,...
Definition: WorkdirHelper.cpp:731
RealVector randomShift
Random shift associated with this rank-1 lattice rule.
Definition: Rank1Lattice.hpp:89
MPI_Comm dakotaMPIComm
MPI_Comm on which DAKOTA is running.
Definition: MPIManager.hpp:65
std::list< ShortArray > asvList
if estimate_derivatives() is used, transfers ASVs from evaluate_nowait() to synchronize()
Definition: DakotaModel.hpp:1647
void pop(bool save_surr_data)
back out the previous increment to the shared approximation data
Definition: SharedC3ApproxData.hpp:693
QuesoJointPdf(const char *prefix, const QUESO::VectorSet< V, M > &domainSet, NonDQUESOBayesCalibration *nond_queso_ptr)
Default constructor.
Definition: QUESOImpl.cpp:17
void map_variable_labels(const Variables &vars)
validate imported labels and initialize map if needed
Definition: DakotaSurrogates.cpp:288
String fdHessStepType
type of finite difference step to use for numerical Hessian: relative - step length is relative to x ...
Definition: DakotaModel.hpp:1453
IntIntPair configure(ProblemDescDB &problem_db, Iterator &sub_iterator, Model &sub_model)
performs sufficient initialization to define partitioning controls (min and max processors per iterat...
Definition: IteratorScheduler.cpp:72
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDStochCollocation.cpp:379
UsageTracker()
default construction: no output
Definition: UsageTracker.cpp:18
unsigned short maxCVOrderCandidates
maximum number of expansion order candidates for cross-validation in regression-based PCE
Definition: NonDPolynomialChaos.hpp:197
String postRunInput
filename for post_run input
Definition: DataEnvironment.hpp:67
virtual short ensemble_precedence() const
return precedence for ensemble definition: model forms, resolution levels, or both
Definition: DakotaModel.cpp:3615
OPTPP::OptBCQNewton * optbcqnewton
Bnd constrained Quasi-Newton opt ptr.
Definition: SNLLOptimizer.hpp:344
~ProcessHandleApplicInterface()
destructor
Definition: ProcessHandleApplicInterface.hpp:148
NonDExpansion(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDExpansion.cpp:39
std::shared_ptr< Variables > get_variables(const SharedVariablesData &svd) const
Used by the alternate envelope constructors, by read functions, and by copy() to instantiate a new le...
Scaling specialization of RecastModel.
Definition: ScalingModel.hpp:23
void repair_restart(StringArray pos_args, String identifier_type)
repair a restart file by removing corrupted evaluations
Definition: restart_util.cpp:661
std::vector< RespMetadataT > metaData
metadata storage
Definition: DakotaResponse.hpp:416
virtual bool restart_file() const
return flag indicating usage of the restart file
Definition: DakotaInterface.cpp:1495
const String & command_line_post_run_output() const
postRunOutput fname
Definition: ParallelLibrary.hpp:1366
size_t numCV
number of active continuous variables
Definition: SharedVariablesData.hpp:265
int lenPRPairMessage
length of a MPIPackBuffer containing a ParamResponsePair object; computed in Model::init_communicator...
Definition: ApplicationInterface.hpp:435
The representation of a SharedResponseData instance. This representation, or body,...
Definition: SharedResponseData.hpp:33
Iterator minMaxOptimizer
local gradient-based optimizer
Definition: NonDLocalInterval.hpp:82
unsigned short exportFileFormat
Format of imported posterior samples and values file.
Definition: NonDWASABIBayesCalibration.hpp:104
ConsoleRedirector cerrRedirector
set of redirections for Dakota::Cerr; stores any tagged filename when there are concurrent Iterators ...
Definition: OutputManager.hpp:400
void initialize(const RealVectorArray &full_points, bool x_space_data, size_t resp_index, Real initial_prob, Real failure_threshold)
initializes data needed for importance sampling: an initial set of points around which to sample,...
Definition: NonDAdaptImpSampling.cpp:151
void core_run()
perform the GP importance sampling and return probability of failure
Definition: NonDGPImpSampling.cpp:147
void update(const Response &response, bool pull_metadata=false)
Used in place of operator= when only results data updates are desired (functionValues/functionGradien...
Definition: DakotaResponse.hpp:969
int solution_level_int_value() const
return a discrete int variable value corresponding to solnCntlADVIndex
Definition: SimulationModel.cpp:365
const ActiveSet & active_set() const
return the default active set (used by iterators that employ evaluate_parameter_sets())
Definition: DakotaIterator.hpp:753
RealVector nonlinEqTargetsSlack
individual violations of nonlinear equality constraint targets
Definition: SurrBasedLocalMinimizer.hpp:235
RelaxedVariables(const ProblemDescDB &problem_db, const ShortShortPair &view)
standard constructor
Definition: RelaxedVariables.cpp:29
short refineType
refinement type: NO_REFINEMENT, P_REFINEMENT, or H_REFINEMENT
Definition: NonDExpansion.hpp:506
RealMatrix qoiSamplesMatrix
Datastructure to store samples which can be used for bootstrapping.
Definition: NonDLHSSampling.hpp:183
size_t state()
return total number of state variables
Definition: DataVariables.hpp:969
void archive_pdf(size_t fn_index, size_t inc_id=0)
archive a single pdf histogram for specified function
Definition: DakotaNonD.cpp:1608
short emulatorType
the emulator specification in MethodNonDBayesCalib
Definition: DataMethod.hpp:1186
std::shared_ptr< ProblemDescDB > dbRep
pointer to the letter (initialized only for the envelope)
Definition: ProblemDescDB.hpp:519
bool importSurrogate
Option to turn on surrogate model import (import_model)
Definition: DataModel.hpp:205
Real avgEstVar
final estimator variance for targeted moment (usually mean), averaged across QoI
Definition: NonDHierarchSampling.hpp:83
String preRunOutput
filename for pre_run output
Definition: DataEnvironment.hpp:64
Real penalty_merit(const RealVector &fn_vals, const BoolDeque &sense, const RealVector &primary_wts)
compute a penalty function from a set of function values
Definition: SurrBasedMinimizer.cpp:715
void overlay(const Response &response)
add incoming response to functionValues/Gradients/Hessians
void archive_moments()
archive the central moments (numerical and expansion) to ResultsDB
Definition: NonDExpansion.cpp:3537
ParallelLibrary & parallel_library()
return parallelLib
Definition: DakotaEnvironment.hpp:190
const RealVector & gradient(const Variables &vars)
retrieve the approximate function gradient for a given parameter vector
Definition: TANA3Approximation.cpp:322
const Real * function_gradient(int i) const
return the i-th function gradient as a const Real*
Definition: DakotaResponse.hpp:670
double responseScaleFactor
Response scale factor.
Definition: SurrogatesBase.hpp:182
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: DDACEDesignCompExp.cpp:124
MatrixXd basisMatrix
Basis matrix for the sample points in polynomial regression.
Definition: SurrogatesGaussianProcess.hpp:339
std::shared_ptr< dakota::surrogates::Surrogate > model
The native surrogate model.
Definition: DakotaSurrogates.hpp:107
String writeRestartFile
e.g., "dakota.new.rst"
Definition: ProgramOptions.hpp:243
void create_empty_dataset(const String &dset_name, const IntArray &dims, ResultsOutputType stored_type, int chunk_size=0, const void *fill_val=NULL)
Create an empty dataset. Setting the first element of dims to 0 makes the dataset unlimited in that d...
Definition: HDF5_IO.cpp:360
const String & input_string() const
alternate Dakota input string literal; also set when input is read from stdin
Definition: ProgramOptions.cpp:115
NOWPACTraits()
default constructor
Definition: NOWPACOptimizer.hpp:154
DataModel & operator=(const DataModel &)
assignment operator
Definition: DataModel.cpp:227
void derived_init_serial()
set up SimulationModel for serial operations (request forwarded to userDefinedInterface).
Definition: SimulationModel.hpp:369
void multilevel_control_variate_mc_pilot_projection()
Qcorr approach projecting estimator performance from a pilot sample.
Definition: NonDMultilevControlVarSampling.cpp:786
void unpack(u_long &data)
Unpack a unsigned long.
Definition: MPIPackBuffer.hpp:247
String advancedOptionsFilename
file containing advanced surrogate option overrides
Definition: DataModel.hpp:313
std::string dakotaVersion
DAKOTA version.
Definition: TrackerHTTP.hpp:125
Eigen::MatrixXi MatrixXi
Eigen generic matrix of integers in Dakota namespace.
Definition: util_data_types.hpp:55
void evaluate_samples(const RealVectorArray &var_samples_u, RealVector &fn_samples)
evaluate the model at the sample points and store the responses
Definition: NonDAdaptImpSampling.cpp:661
virtual void verify()=0
verify the approximate iterate and update the trust region for the next approximate optimization cycl...
String marsInterpolation
interpolation type for MARS approximation
Definition: DataModel.hpp:260
void get_matrix(const std::string &dset_name, Teuchos::SerialDenseMatrix< int, T > &matrix, const int &index, const bool &transpose=false) const
Get the matrix (2D) at the index into the 0th dimension of the 3D dataset at dsetname....
Definition: HDF5_IO.hpp:1247
const String & pre_run_input() const
filename for pre-run input
Definition: ProgramOptions.cpp:174
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: APPSOptimizer.hpp:63
virtual void wait_local_evaluations(PRPQueue &prp_queue)
Python supports batch only, not true asynch (this does the work)
Definition: Pybind11Interface.cpp:122
bool pstudyFileActive
whether to import active variables only
Definition: DataMethod.hpp:1391
int min_procs_per_ie()
compute minimum iterator partition size based on lower level overrides
Definition: ProblemDescDB.cpp:1240
void serve_run(ParLevLIter pl_iter, int max_eval_concurrency)
Service optionalInterface and subModel job requests received from the master. Completes when a termin...
Definition: NestedModel.cpp:2065
RealVector initialPtUSpec
user specification or default initial guess for local optimization
Definition: NonDLocalReliability.hpp:300
StringMultiArrayConstView continuous_variable_labels() const
return the active continuous variable labels from currentVariables
Definition: DakotaModel.hpp:2443
void execute()
the run function for the environment: invoke the iterator(s) on the model(s). Called from main....
Definition: ExecutableEnvironment.cpp:58
void state_counts(size_t &num_csv, size_t &num_dsiv, size_t &num_dssv, size_t &num_dsrv) const
compute state variables sums from variablesCompsTotals
Definition: SharedVariablesData.hpp:481
Model operator=(const Model &model)
assignment operator
Definition: DakotaModel.cpp:348
std::vector< const char * > items
Pointers to the strings that make up the scale.
Definition: dakota_results_types.hpp:489
Real discrete_real_variable(size_t i) const
return an active discrete real variable from currentVariables
Definition: DakotaModel.hpp:1928
void print_multilevel_model_summary(std::ostream &s, const std::vector< ArrayType > &N_samp, String type, short seq_type, bool discrep_flag)
print evaluation summary for multilevel sampling across 2D model+level profile (allocations) or 3D mo...
Definition: DakotaNonD.hpp:812
std::shared_ptr< Model > model_rep() const
returns modelRep for access to derived class member functions that are not mapped to the top Model le...
Definition: DakotaModel.hpp:3797
virtual size_t solution_level_cost_index() const
return currently active level within the solution level control (SimulationModel)
Definition: DakotaModel.cpp:3716
void map_variables_by_view(const Variables &vars)
map from vars into the corresponding variables based on active views
Definition: DakotaVariables.hpp:1044
void stop_servers()
executed by the master to terminate userDefinedInterface server operations when SimulationModel itera...
Definition: SimulationModel.hpp:405
size_t adiv() const
accumulate all discrete int variables from variablesCompsTotals, allRelaxedDiscreteInt
Definition: SharedVariablesData.hpp:372
SizetMultiArrayConstView continuous_variable_ids() const
return the active continuous variable position identifiers
Definition: DakotaVariables.hpp:1385
bool wilksFlag
Flag to specify use of Wilks formula to calculate num samples.
Definition: DataMethod.hpp:888
std::list< DataResponses >::iterator dataResponsesIter
iterator identifying the active list node in dataResponsesList
Definition: ProblemDescDB.hpp:487
unsigned maxLinesearchIters
maximum evaluations in line search
Definition: NonlinearCGOptimizer.hpp:100
static void prepend_preferred_env_path(const std::string &extra_path)
Prepend cached preferredEnvPath with extra_path and update $PATH environment variable.
Definition: WorkdirHelper.cpp:115
UShortArraySet::const_iterator bestDAGIter
the best performing model graph among the set from generate_dags()
Definition: NonDGenACVSampling.hpp:279
bool standardizedSpace
flag indicating use of a variable transformation to standardized probability space for the model or e...
Definition: NonDBayesCalibration.hpp:425
static void constraint_eval(int mode, int n, const Teuchos::SerialDenseVector< int, double > &X, Teuchos::SerialDenseVector< int, double > &g, Teuchos::SerialDenseMatrix< int, double > &gradC, int &result_mode)
static function used by OPT++ as the constraint function in the optimization of the negative log like...
Definition: GaussProcApproximation.cpp:948
void pack(const char &data)
Pack a char.
Definition: MPIPackBuffer.hpp:105
unsigned short scalarDataFormat
tabular format of the scalar data file
Definition: DataResponses.hpp:172
void DAKOTA_DLL_FN dakota_destroy(int id)
delete Dakota runner instance id and remove from active list
Definition: dakota_dll_api.cpp:285
void update_secondary_response(const Model &model)
update only the secondary response data from subModel
Definition: RecastModel.cpp:1358
void push_output_tag(const ParallelLevel &pl)
conditionally append an iterator server id tag to the hierarchical output tag, manage restart,...
Definition: ParallelLibrary.cpp:1043
SharedVariablesData sharedVarsData
configuration data shared from a Variables instance
Definition: DakotaConstraints.hpp:342
Real relaxRecursiveFactor
a recursive relaxation factor (see DataMethod.hpp for usage notes)
Definition: NonDEnsembleSampling.hpp:235
Real probability(Real beta)
Convert reliability to probability using a first-order integration.
Definition: NonDLocalReliability.hpp:374
void check_zeros(const Real *ptr, int ptr_len) const
ensure zeros in removed columns when contracting linear constraints coeffs
Definition: DakotaConstraints.hpp:1153
std::map< pid_t, int > analysisProcessIdMap
map of fork process id's to analysis job id's for asynchronous analyses
Definition: ProcessHandleApplicInterface.hpp:124
int salinas_main(int argc, char *argv[], MPI_Comm *comm)
subroutine interface to SALINAS simulation code
RealVector minX
vector of minimum parameter values used in scaling
Definition: QMEApproximation.hpp:85
virtual void archive_model_variables(const Model &, size_t idx) const
archive model evaluation points
Definition: DakotaAnalyzer.hpp:150
unsigned short dagDepthLimit
depth throttle for constraining set from generate_dags()
Definition: NonDGenACVSampling.hpp:254
short refinementControl
refinement control for stochastic expansions from dimension refinement keyword group
Definition: DataMethod.hpp:965
std::shared_ptr< Constraints > constraintsRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaConstraints.hpp:443
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NCSUOptimizer.hpp:36
void expand_for_fields_stl(const SharedResponseData &srd, const T &src_array, const String &src_desc, bool allow_by_element, T &expanded_array)
expand primary response specs in STL containers, e.g. scale types, for fields no change on empty,...
Definition: SharedResponseData.hpp:485
bool varyPattern
flag for continuing the random number or QMC sequence from a previous execution (e....
Definition: FSUDesignCompExp.hpp:120
int steel_column_cost()
solve a predator prey population dynamics model
Definition: TestDriverInterface.cpp:2837
const SizetArray & components_totals() const
return variable type counts for {continuous,discrete integer,discrete real} {design,...
Definition: SharedVariablesData.hpp:1620
std::vector< std::string > argList
an array of strings for use with execvp(const char *, char * const *). These are converted to an arra...
Definition: ProcessHandleApplicInterface.hpp:128
void combine_approximation()
combine the current approximation with previously stored data sets
Definition: RecastModel.hpp:985
void core_run()
Performs the iterations to determine the optimal solution.
Definition: SNLLOptimizer.cpp:1179
void set_vector(const String &dset_name, const T &data, const int &index, const bool &row=true)
Set a row or column in a 2D dataset at index using its name.
Definition: HDF5_IO.hpp:689
Real annRange
range for artificial neural network approximation
Definition: DataModel.hpp:266
unsigned short exportCorrVarFormat
tabular format for corrected model variance export file
Definition: DataMethod.hpp:1282
void write(std::ostream &s, unsigned short vars_part=ALL_VARS) const
write a variables object to an std::ostream, e.g., the console, optionally specifying which partition...
Definition: RelaxedVariables.cpp:154
String method_hdf5_link_name(const StrStrSizet &iterator_id)
Create a method name (HDF5 link name) from iterator_id.
Definition: ResultsDBHDF5.cpp:41
virtual void post_finalize()
clean up popped bookkeeping following aggregation
Definition: SharedApproxData.cpp:408
bool help() const
is help mode active?
Definition: ProgramOptions.cpp:152
void init_evaluation_counters(size_t num_fns)
initialize fine grained evaluation counters, sizing if needed
Definition: DakotaInterface.cpp:387
void add_array(const RealMatrix &sample_vars, bool v_copy, const RealVector &sample_resp, bool r_copy, size_t key_index=_NPOS)
add surrogate data from the provided sample and response data, assuming continuous variables and func...
Definition: DakotaApproximation.cpp:1192
void resize_best_vars_array(size_t newsize)
Safely resize the best variables array to newsize taking into account the envelope-letter design patt...
Definition: DakotaMinimizer.cpp:1035
RealVectorArray requestedRelLevels
requested reliability levels for all response functions
Definition: DakotaNonD.hpp:350
void read_variables_responses(int num_evals, size_t num_vars)
convenience function for reading variables/responses (used in derived classes post_input)
Definition: DakotaAnalyzer.cpp:622
static const std::string & Name()
Returns the proper name of this operator.
Definition: JEGAOptimizer.cpp:208
virtual void track_evaluation_ids(bool track)
assigns a flag to track evaluation ids within surrogate data, enabling id-based lookups for data repl...
Definition: DakotaModel.cpp:4194
unsigned short tabularFormat
tabular format options; see enum
Definition: OutputManager.hpp:419
void relax_counts(size_t &num_cv, size_t &num_div, size_t &num_drv, size_t offset_di, size_t offset_dr) const
adjust counts based on allRelaxedDiscrete{Int,Real}
Definition: SharedVariablesData.hpp:396
int Index
The index into the current buffer.
Definition: MPIPackBuffer.hpp:272
StringArray discreteStateSetStrLabels
labels array for the discrete state variables defined by a string set (from the discrete_state_set de...
Definition: DataVariables.hpp:675
LeastSq * prevLSqInstance
pointer containing previous value of leastSqInstance
Definition: DakotaLeastSq.hpp:68
bool warmStartFlag
flag indicating the use of warm starts
Definition: NonDLocalReliability.hpp:328
void ofilter_argument_list()
set argList for execution of the output filter
Definition: ProcessHandleApplicInterface.hpp:202
Iterator approxSubProbMinimizer
the minimizer used on the surrogate model to solve the approximate subproblem on each surrogate-based...
Definition: SurrBasedMinimizer.hpp:149
Perform Approximate Control Variate Monte Carlo sampling for UQ.
Definition: NonDMultifidelitySampling.hpp:27
Model truthModel
the single truth reference model
Definition: EnsembleSurrModel.hpp:281
String outputDir
Temporary string for dumping validation files used in TopoAS visualization.
Definition: NonDAdaptiveSampling.hpp:123
const RealVector & nonlinear_ineq_constraint_upper_bounds() const
return the nonlinear inequality constraint upper bounds
Definition: DakotaModel.hpp:3505
bool restart_file(bool recurse_flag=true) const
return flag indicated usage of a restart file by the SimulationModel (request forwarded to userDefine...
Definition: SimulationModel.hpp:429
~NonDCubature()
destructor
Definition: NonDCubature.cpp:70
void update_constraints(const RealVector &fn_vals)
update constraint penalties and multipliers for a single response
Definition: EffGlobalMinimizer.hpp:367
void load_pilot_sample(const SizetArray &pilot_spec, size_t num_steps, SizetArray &delta_N_l)
distribute pilot sample specification across model forms or levels
Definition: DakotaNonD.cpp:551
struct C3SobolSensitivity * sobol()
get pointer to the Sobol' indices object
Definition: C3FnTrainData.hpp:294
RealVector normalUncVars
initial values of the normal uncertain variables (from the initial_point specification in VarCAUV_Nor...
Definition: DataVariables.hpp:320
virtual void build(const MatrixXd &samples, const MatrixXd &response)=0
Build the Surrogate using specified build data.
void error(const std::string &msg)
Throws a std::runtime_error based on the message argument.
Definition: util_common.cpp:21
void check_error(const String &err_source, int err_code)
check the MPI return code and abort if error
Definition: ParallelLibrary.hpp:1383
void set_constraint_map(int numNomadNonlinearIneqConstraints, int numNomadNonlinearEqConstraints, std::vector< int > constraintMapIndices, std::vector< double > constraintMapMultipliers, std::vector< double > constraintMapOffsets)
publishes constraint transformation
Definition: NomadOptimizer.hpp:268
Real threshStepLength
the threshStepLength choice for nonlinearly constrained APPS in MethodAPPSDC
Definition: DataMethod.hpp:552
Real solution_level_cost() const
return active cost estimate from subModel::solnControlCostMap
Definition: RecastModel.hpp:878
double * linConstraintMatrixF77
[A] matrix from NPSOL manual: linear constraint coefficients
Definition: SOLBase.hpp:189
RealMatrix field_coords_view(size_t i)
return a "view" of the i-th field's coordinates
Definition: DakotaResponse.hpp:589
short expansionBasisType
type of expansion basis: DEFAULT_BASIS or Pecos::{NODAL,HIERARCHICAL}_INTERPOLANT for SC or Pecos::{T...
Definition: NonDExpansion.hpp:410
void update_var_labels()
update variable labels
Definition: SubspaceModel.cpp:316
bool showAllEval
the DISPLAY_ALL_EVAL specification for NOMAD
Definition: DataMethod.hpp:813
String moduleFile
Python module filename.
Definition: DakotaSurrogatesPython.hpp:49
virtual void method_recourse(unsigned short method_name)
perform a method switch, if possible, due to a detected conflict with the simultaneous use of method_...
Definition: DakotaIterator.cpp:1780
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: C3Approximation.cpp:1029
RealVector referenceCLBnds
stores a reference copy of active continuous lower bounds when the approximation is built; used to de...
Definition: DataFitSurrModel.hpp:487
Model dummy_model
dummy Model object used for mandatory reference initialization or default virtual function return by ...
Definition: DakotaModel.cpp:42
~NonDLHSSingleInterval()
destructor
Definition: NonDLHSSingleInterval.cpp:25
predicate for comparing ONLY the interfaceId and Vars attributes of PRPair
Definition: PRPMultiIndex.hpp:136
void increment_sample_sequence(size_t new_samp, size_t total_samp, size_t step)
increment sequence in numSamplesOnModel for multilevel_regression()
Definition: NonDMultilevelPolynomialChaos.cpp:759
String decompCellType
type of local cell of domain decomp
Definition: DataModel.hpp:273
virtual void sampling_increment()
increment to next in sequence of refinement samples
Definition: DakotaIterator.cpp:1709
size_t adrv() const
total number of discrete real vars
Definition: DakotaVariables.hpp:794
void multilevel_mc_online_pilot()
Perform multilevel Monte Carlo across the discretization levels for a particular model form using QoI...
Definition: NonDMultilevelSampling.cpp:302
size_t numLeastSqTerms
number of least squares terms
Definition: DakotaLeastSq.hpp:63
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: COLINOptimizer.hpp:43
bool fineGrainEvalCounters
controls use of fn val/grad/hess counters for detailed evaluation report
Definition: DakotaInterface.hpp:385
RealMatrix inactiveBasis
basis for the inactive subspace
Definition: ActiveSubspaceModel.hpp:248
void config_approximation_type(String &approx_type)
define approx_type based on expansion settings
Definition: NonDStochCollocation.cpp:288
RealVector rhoDrawThis
rhoDrawThis, appended locally to hold the rhoDraw density for calculating draws
Definition: NonDGPImpSampling.hpp:119
Real sequence_cost(size_t step, const RealVector &cost)
return aggregate cost (one or more models) for a level sample
Definition: NonDExpansion.hpp:691
void get_process_variance()
Gets the estimate of the process variance given the values of beta and the correlation lengthscales
Definition: GaussProcApproximation.cpp:548
void add_tabular_data(const Variables &vars, const String &iface, const Response &response)
adds data to each window in the 2d graphics and adds a row to the tabular data file for the evaluatio...
Definition: OutputManager.cpp:494
void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: DDACEDesignCompExp.cpp:187
Real stepLenToBoundary
the steplength_to_boundary specification for nonlinear interior-point methods in MethodOPTPPDC
Definition: DataMethod.hpp:532
Definition: ScilabInterface.hpp:27
size_t numDiscreteStateSetStrVars
number of discrete state variables defined by a set of strings (from the discrete_state_set string sp...
Definition: DataVariables.hpp:203
bool retrievedIterPriFns
whether final primary iterator space functions have been retrieved (possibly by a derived class)
Definition: DakotaLeastSq.hpp:82
Model & dakotaModel
Dakota problem data provided by user.
Definition: ROLOptimizer.hpp:451
RealVector prevICVars
previous design vector. Used for warm-starting initialPtU within RBDO.
Definition: NonDLocalReliability.hpp:318
bool submit(const int apps_tag, const HOPSPACK::Vector &apps_xtrial, const HOPSPACK::EvalRequestType apps_request)
performs a function evaluation at APPS-provided x_in
Definition: APPSEvalMgr.cpp:47
MatrixXd hessian(const MatrixXd &eval_point)
Evaluate the Hessian of the polynomial surrogate at a single point for QoI index 0.
Definition: SurrogatesPolynomialRegression.hpp:164
Real tiConfidenceLevel
Confidence level parameter for the calculation of double sided tolerance interval equivalent normal.
Definition: DataMethod.hpp:945
void derived_map_asynch(const Dakota::ParamResponsePair &pair)
no-op hides base error; job batching occurs within wait_local_evaluations()
Definition: PluginParallelDirectApplicInterface.hpp:93
RealVector primaryRespFnScales
vector of primary response function scaling factors (from the objective_function_scales specification...
Definition: DataResponses.hpp:132
void initialize_sub_problem(const String &approx_type, int samples, int seed, bool use_derivs, const String &sample_reuse, const String &import_build_points_file=String(), unsigned short import_build_format=TABULAR_ANNOTATED, bool import_build_active_only=false, const String &export_approx_points_file=String(), unsigned short export_approx_format=TABULAR_ANNOTATED)
shared ctor code for initializing Models and Minimizers for solving an approximate sub-problem
Definition: EffGlobalMinimizer.cpp:145
CURL * curlPtr
pointer to the curl handler instance
Definition: TrackerHTTP.hpp:103
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDPolynomialChaos.cpp:848
size_t numSamples
current number of samples to be evaluated
Definition: FSUDesignCompExp.hpp:85
int sobol_ishigami()
Sobol SA transcendental test function.
Definition: TestDriverInterface.cpp:3129
bool diagnostics_available() override
check if the diagnostics are available (true for the Surfpack types)
Definition: SurfpackApproximation.hpp:189
void apply_matrix_transpose_partial(const RealMatrix &M, const VectorType &v1, VectorType &v2)
Applies transpose of a RealMatrix to a vector (or subset of vector) v1.
Definition: dakota_data_util.hpp:308
int iteratorCommSize
size of iteratorComm
Definition: ApplicationInterface.hpp:405
Real build_cv_surrogate(Model &cv_surr_model, RealMatrix training_x, IntResponseMap training_y, RealMatrix test_x, IntResponseMap test_y)
Build moving least squares surrogate over candidate active subspace.
Definition: ActiveSubspaceModel.cpp:1213
virtual void increment_specification_sequence()
increment the input specification sequence and assign values
Definition: NonDExpansion.cpp:2434
unsigned short optSubProblemSolver
SQP or NIP.
Definition: NonDNonHierarchSampling.hpp:672
RelaxedVarConstraints(const SharedVariablesData &svd)
lightweight constructor
Definition: RelaxedVarConstraints.hpp:68
NL2SOLLeastSq(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NL2SOLLeastSq.cpp:24
PRPQueue beforeSynchAlgPRPQueue
used to bookkeep vars/set/response of asynchronous algebraic evaluations. This is the queue of algebr...
Definition: ApplicationInterface.hpp:533
void init_constraints(bool consistent_vars, size_t num_recast_nln_ineq, size_t num_recast_nln_eq)
initialize userDefinedConstraints, sharing SVD with currentVariables
Definition: RecastModel.cpp:400
size_t miPLIndex
index for the active ParallelLevel within ParallelConfiguration::miPLIters
Definition: SurrBasedMinimizer.hpp:181
void add_metadata_to_study(const AttributeArray &attrs)
Associate key:value metadata with the object at the location.
Definition: ResultsManager.cpp:70
char * Buffer
The internal buffer for unpacking.
Definition: MPIPackBuffer.hpp:270
std::shared_ptr< Pecos::TensorProductDriver > tpqDriver
convenience pointer to the numIntDriver representation
Definition: NonDQuadrature.hpp:166
ShortShortPair get_view(const ProblemDescDB &problem_db) const
defines variablesView from problem_db attributes
virtual void write(std::ostream &s) const
write a variable constraints object to an std::ostream
Definition: DakotaConstraints.cpp:318
bool ignoreBounds
option to ignore bounds when doing finite differences (default is to honor bounds)
Definition: DataResponses.hpp:187
RealVector discreteRealUpperBnds
the active discrete upper bounds array view
Definition: DakotaConstraints.hpp:404
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NOWPACOptimizer.cpp:169
std::map< UShortArray, UShortArraySet > modelDAGs
mapping from a key of active model nodes to the set of admissible DAGs that define the control variat...
Definition: NonDGenACVSampling.hpp:263
bool subspaceCVIncremental
flag to use incremental dimension estimation in the cross validation metric
Definition: DataModel.hpp:404
int decompSupportLayers
number of support layers for each local basis function
Definition: DataModel.hpp:275
virtual void combine_approximation()
combine the current approximation with previously stored data sets
Definition: DakotaModel.cpp:4250
std::vector< std::string > strsplit(const std::string &input)
Trim then split a string on {space, tab} and return as vector of strings.
Definition: dakota_data_util.cpp:421
void core_run()
Definition: NonDRKDDarts.cpp:91
Real xftol
false-convergence tolerance (false_conv_tol)
Definition: NL2SOLLeastSq.hpp:131
size_t numLinearIneqCons
number of linear inequality constraints
Definition: DakotaConstraints.hpp:375
static void optpp_fdnlf1_objective(int n, const RealVector &x, double &f, int &result_mode)
static FDNLF1 function used by OPT++ for the objective function
Definition: NonDNonHierarchSampling.cpp:2207
void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to RecastModel (forward to subModel.evaluate_nowait())
Definition: RecastModel.cpp:538
void launch_batch()
launch all jobs in the variables map queues
Definition: EffGlobalMinimizer.cpp:621
void write_aprepro(std::ostream &s) const
write a variables object to an std::ostream in aprepro format, e.g., a parameters file
Definition: MixedVariables.cpp:110
virtual void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
reset sampling iterator to use at least min_samples
Definition: DakotaIterator.cpp:1689
Model & subordinate_model()
return subModel
Definition: RecastModel.hpp:762
unsigned short sampleType
the sample type: default, random, lhs, incremental random, or incremental lhs
Definition: NonDSampling.hpp:308
Real scalar_data(size_t response, size_t experiment)
retrieve the data value for the given response, for the given experiment
Definition: ExperimentData.hpp:566
void insert(const StrStrSizet &iterator_id, const StringArray &location, const StoredType &sent_data, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray(), const bool &transpose=false) const
Insert using dimension scales and attributes (DimScaleMap and AttributeArray in dakota_results_types....
Definition: ResultsManager.hpp:129
Real reliability_residual_derivative(const Real &p, const Real &beta, const RealVector &kappa)
compute the residual derivative for inversion of second-order probability corrections using Newton's ...
Definition: NonDLocalReliability.cpp:2627
virtual size_t solution_control_discrete_variable_index() const
return index of solution control variable within all discrete variables
Definition: DakotaModel.cpp:3775
void update_final_statistics()
update finalStatistics and (if MC sampling) finalStatErrors
Definition: NonDLHSSampling.cpp:765
virtual ~Approximation()
destructor
Definition: DakotaApproximation.cpp:229
bool estDerivsFlag
flags presence of estimated derivatives within a set of calls to evaluate_nowait()
Definition: DakotaModel.hpp:1625
static bfs::path concat_path(const bfs::path &p_in, const String &tag)
concatenate a string onto the end of a path
Definition: WorkdirHelper.cpp:893
void cache_acceptance_chain()
retrieve the chain from QUESO and populate acceptanceChain / acceptedFnVals
Definition: NonDGPMSABayesCalibration.cpp:593
void all_discrete_real_variable_label(const String &a_d_v_label, size_t i)
set a label within the all discrete labels in currentVariables
Definition: DakotaModel.hpp:2699
virtual void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1264
UShortArray tensorGridOrder
order of tensor-product grid points that are sub-sampled within orthogonal least interpolation PCE; b...
Definition: DataMethod.hpp:1059
RealVector discreteRealVars
the active discrete real variables array view
Definition: DakotaVariables.hpp:627
bool warmStartFlag
if in warm-start mode, don't reset accumulated data (e.g., quasiHessians)
Definition: DakotaModel.hpp:1460
std::multimap< Real, size_t > solnCntlCostMap
sorted array of relative costs associated with a set of solution levels
Definition: SimulationModel.hpp:199
const RealVectorArray & approximation_coefficients(bool normalized=false)
retrieve the approximation coefficients from each Approximation within an ApproximationInterface
Definition: ApproximationInterface.cpp:911
void GetBestMOSolutions(const JEGA::Utilities::DesignOFSortSet &from, const JEGA::Algorithms::GeneticAlgorithm &theGA, std::multimap< RealRealPair, JEGA::Utilities::Design * > &designSortMap)
Retreive the best Designs from a set of solutions assuming that they are generated by a multi objecti...
Definition: JEGAOptimizer.cpp:1658
void initialize_ml_regression(size_t num_lev, bool &import_pilot)
initializations for multilevel_regression()
Definition: NonDMultilevelFunctionTrain.cpp:374
bool grid_file_test(const String &root_file)
test file(s) for existence based on root_file name
Definition: GridApplicInterface.cpp:260
void compute_hyperbolic_indices(int num_dims, int level, double p, MatrixXi &indices)
Compute the hyperbolic cross indices for all levels up to level.
Definition: surrogates_tools.cpp:165
static void extract_objective(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used to extract the active objective function when optimizing for an interval lower o...
Definition: NonDGlobalInterval.cpp:536
int main(int argc, char *argv[])
A mock simulator main for testing Dakota in library mode.
Definition: library_mode.cpp:93
void active_to_all_variables(const Variables &vars)
copy the active cv/div/dsv/drv variables from incoming vars to all variables in this instance
Definition: DakotaVariables.hpp:961
int respFnCount
counter for which response function is being analyzed
Definition: NonDReliability.hpp:94
IntArray newFnGradCounter
number of new gradient evaluations by resp fn
Definition: DakotaInterface.hpp:397
int numEvalServers
current number of evaluation servers
Definition: ApplicationInterface.hpp:411
NonDMultifidelitySampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultifidelitySampling.cpp:36
virtual void operator()(Data &bootstrapped_sample)
Generate and store an dataSize out of dataSize bootstrap sample.
Definition: BootstrapSampler.hpp:81
bool advancement_available()
queries availability of advancing the approximation resolution
Definition: SharedC3ApproxData.cpp:224
bool backfillDuplicates
flags whether to use backfill to enforce uniqueness of discrete LHS samples
Definition: NonDSampling.hpp:372
void build_hessian_of_sum_square_residuals_from_function_data(const RealSymMatrixArray &func_hessians, const RealMatrix &func_gradients, const RealVector &residuals, RealSymMatrix &ssr_hessian, const ShortArray &asrv)
Construct the hessian of the sum of squares of residuals.
Definition: ExperimentData.cpp:1404
bool advancement_available()
query approxInterface for available advancements in order, rank, etc.
Definition: DataFitSurrModel.hpp:805
void compute_col_means(RealMatrix &matrix, RealVector &avg_vals)
Computes means of columns of matrix.
Definition: dakota_data_util.cpp:194
RealVector predictionConfigList
list of prediction configurations at which to calculate model discrepancy
Definition: NonDBayesCalibration.hpp:382
BootstrapSamplerBase(size_t data_size, Data orig_data)
Constructor for the bootstrap functor base.
Definition: BootstrapSampler.hpp:56
size_t numDiscreteIntVars
number of active discrete integer vars
Definition: DakotaMinimizer.hpp:240
const SizetArray & get_sza(const String &entry_name) const
get an SizetArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1648
size_t numIDIV
number of inactive discrete integer variables
Definition: SharedVariablesData.hpp:270
SharedResponseData & operator=(const SharedResponseData &srd)
assignment operator
Definition: SharedResponseData.hpp:315
void compute_gram(const std::vector< MatrixXd > &dists2, const VectorXd &theta_values, MatrixXd &gram) override
Compute a Gram matrix given a vector of squared distances and kernel hyperparameters.
Definition: SurrogatesGPKernels.cpp:21
void precondition_proposal(unsigned int chain_index)
use derivative information from the emulator to define the proposal covariance (inverse of misfit Hes...
Definition: NonDQUESOBayesCalibration.cpp:302
bool computeAdditive
flag indicating the need for additive correction calculations
Definition: DiscrepancyCorrection.hpp:200
StringArray ordered_labels(unsigned short vars_part=ALL_VARS) const
get all or active labels in input spec order
unsigned short dagDepthLimit
option specified for depth_limit in generalized ACV methods with partial graph recursion
Definition: DataMethod.hpp:1115
const String & command_line_post_run_input() const
postRunInput filename
Definition: ParallelLibrary.hpp:1362
bool variablesDBLocked
prevents use of get_<type> retrieval and set_<type> update functions prior to setting the list node f...
Definition: ProblemDescDB.hpp:510
bool identityRespMap
whether an identity response map is requested in lieu of explicit maps
Definition: DataModel.hpp:345
void pop_data(bool save_data)
removes entries from end of SurrogateData::{vars,resp}Data (last points appended, or as specified in ...
Definition: DakotaApproximation.cpp:294
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: NLPQLPOptimizer.hpp:86
void get_confidence_intervals(const Variables &native_vars, const Response &iter_resp)
Calculate confidence intervals on estimated parameters.
Definition: DakotaLeastSq.cpp:547
void reset_base()
reset last{FnEvalLocn,EvalMode,EvalVars}
Definition: SNLLBase.hpp:185
RealVector ranVarMeansX
vector of means for all uncertain random variables in x-space
Definition: NonDLocalReliability.hpp:292
std::map< Pecos::ActiveKey, RealVector > referenceICVars
stores a reference copy of the inactive continuous variables when the approximation is built using a ...
Definition: EnsembleSurrModel.hpp:434
void operator()(const IntegerScale &scale)
Called by boost::apply_vistitor to process an IntegerScale.
Definition: ResultsDBHDF5.hpp:128
std::shared_ptr< SurfpackModel > spModel
The native Surfpack approximation.
Definition: SurfpackApproximation.hpp:171
const Model & algorithm_space_model() const
Definition: EffGlobalMinimizer.hpp:332
void set_rol_parameters()
Convenience function to map Dakota input and power-user parameters to ROL.
Definition: ROLOptimizer.cpp:355
size_t numDiscSetRealUncVars
number of variables of type DISCRETE_UNCERTAIN_SET_REAL
Definition: NonDInterval.hpp:97
RealVector uniformUncUpperBnds
distribution upper bounds for the uniform uncertain variables (from the upper_bounds specification in...
Definition: DataVariables.hpp:351
virtual const RealMatrix & all_samples()
return the complete set of evaluated samples
Definition: DakotaIterator.cpp:1805
void initialize()
perform any required initialization
Definition: NonDLocalEvidence.cpp:30
virtual void init_serial()
reset certain defaults for serial interface objects.
Definition: DakotaInterface.cpp:937
static void check_descriptor_format(const StringArray &labels)
Validate format user-supplied descriptors.
Definition: NIDRProblemDescDB.cpp:6136
virtual bool evaluation_cache() const
return flag indicating usage of the global evaluation cache
Definition: DakotaInterface.cpp:1486
void multifidelity_individual_refinement()
separately refine each of the multifidelity reference expansions
Definition: NonDExpansion.cpp:1456
bool ownPython
true if this class created the interpreter instance
Definition: SurrogatesPython.hpp:146
const std::tuple< UInt32Vector, int > get_default_generating_vector(ProblemDescDB &problem_db)
Case III: a default generating vector has been selected.
Definition: Rank1Lattice.cpp:345
bool advancement_available()
check if resolution advancement (e.g., order, rank) is available for this approximation instance
Definition: C3Approximation.cpp:81
unsigned restartIter
iter at which to reset to steepest descent
Definition: NonlinearCGOptimizer.hpp:104
void computeDSTIEN(const IntResponseMap &resp_samples, const Real coverage, const Real alpha, size_t &num_valid_samples, RealVector &dstien_mus, Real &delta_mf, RealVector &sample_sigmas, RealVector &dstien_sigmas)
This routine computes the r averages and r standard deviations corresponding to the 'two sided tolera...
Definition: tolerance_intervals.cpp:75
GetLongOpt(const char optmark='-')
Constructor.
Definition: CommandLineHandler.cpp:22
const String & run_output() const
filename for run output
Definition: ProgramOptions.cpp:183
int subMethodProcs
number of processors for each concurrent sub-iterator partition
Definition: DataModel.hpp:349
static String recast_model_id(const String &root_id, const String &type)
Generate a model id for recast models.
Definition: RecastModel.cpp:315
StringArray hyperparam_labels(unsigned short multiplier_mode) const
generate variable labels for the covariance (error) multiplier hyperparams
Definition: ExperimentData.cpp:1945
const RealVector & all_discrete_real_upper_bounds() const
returns a single array with all discrete upper bounds
Definition: DakotaConstraints.hpp:832
void update_model(Model &model)
update model with data that could change per function evaluation (active variable values/bounds)
Definition: DataFitSurrModel.cpp:441
const Model & algorithm_space_model() const
Definition: NonDGlobalInterval.hpp:191
bool varyPattern
flag for generating a sequence of seed values within multiple get_parameter_sets() calls so that thes...
Definition: NonDSampling.hpp:363
unsigned short adaptedBasisExpOrder
expansion order for low-order PCE used to compute rotation matrix within adapted basis approach to di...
Definition: DataModel.hpp:476
int * IC
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:250
bool surrBasedGlobalReplacePts
user-specified method for adding points to the set upon which the next surrogate is based in the surr...
Definition: DataMethod.hpp:481
Real discrete_real_upper_bound(size_t i) const
return an active discrete variable upper bound
Definition: DakotaConstraints.hpp:594
Handle class for method specification data.
Definition: DataMethod.hpp:1481
IntResponseMap simResponseMap
map of simulation-based responses returned by derived_synchronize() and derived_synchronize_nowait()
Definition: SimulationModel.hpp:212
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the cumulative distribution functions for belief and plausibility
Definition: NonDInterval.cpp:565
Cell * table
option table
Definition: CommandLineHandler.hpp:110
size_t numHyperGeomUncVars
number of hypergeometric uncertain variables (from the hypergeometric_uncertain specification in VarA...
Definition: DataVariables.hpp:167
int n_choose_k(int n, int k)
Calculate Binomial coefficient n choose k.
Definition: util_math_tools.cpp:31
void operator()(std::istream &s, size_t start_index, size_t num_items, ArrayType &array_data, StringMultiArrayView label_array)
Definition: DakotaVariables.hpp:39
bool modelUseDerivsFlag
flags the use of derivatives in building global approximations (from the use_derivatives specificatio...
Definition: DataModel.hpp:222
RealVector confBoundsUpper
upper bounds for confidence intervals on calibration parameters
Definition: DakotaLeastSq.hpp:75
virtual ~NomadTraits()
destructor
Definition: NomadOptimizer.hpp:64
virtual int first_seed() const
return first seed in sequence specification (defaults to random_seed())
Definition: NonDExpansion.hpp:655
RealVector referenceCUBnds
stores a reference copy of active continuous upper bounds when the approximation is built; used to de...
Definition: DataFitSurrModel.hpp:490
Real cov_determinant(const RealVector &multipliers, unsigned short multiplier_mode) const
returns the determinant of (covariance block-scaled by the passed multipliers)
Definition: ExperimentData.cpp:1547
RealVector gumbelUncVars
initial values of the gumbel uncertain variables (from the initial_point specification in VarCAUV_Gum...
Definition: DataVariables.hpp:414
virtual bool resize_pending() const
return true if a potential resize is still pending, such that sizing-based initialization should be d...
Definition: DakotaModel.cpp:3963
void initialize_correction()
initialize deltaCorr[activeKey]
Definition: EnsembleSurrModel.hpp:700
void all_to_active_variables(const Variables &vars)
copy all cv/div/dsv/drv variables from incoming vars to active variables in this instance
Definition: DakotaVariables.hpp:982
void master_dynamic_schedule_iterators(MetaType &meta_object)
executed by the scheduler master to manage a dynamic schedule of iterator jobs among slave iterator s...
Definition: IteratorScheduler.hpp:332
const double BIG_REAL_BOUND
bound beyond which constraints are considered inactive
Definition: dakota_global_defs.hpp:27
Real malaStepSize
MALA step size (user-specified or default initial values)
Definition: NonDMUQBayesCalibration.hpp:148
void print_simple_correlations(std::ostream &s, const StringArray &var_labels, const StringArray &resp_labels, bool rank) const
print simple (rank = false) or simple rank (rank = true) correlations
Definition: SensAnalysisGlobal.cpp:648
int numFinalEmulEval
number of points evaluated on the final GP
Definition: NonDAdaptiveSampling.hpp:90
virtual void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: DakotaIterator.cpp:1133
UInt32 reorder_radical_inverse(UInt32 k)
Position of the kth lattice point in RANK_1_LATTICE_RADICAL_INVERSE_ORDERING.
Definition: Rank1Lattice.cpp:454
Derived nondeterministic class that generates N-dimensional numerical integration points for evaluati...
Definition: NonDIntegration.hpp:27
NonDACVSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDACVSampling.cpp:29
unsigned short eifConvergenceLimit
limit for EIF convergence counter
Definition: EffGlobalMinimizer.hpp:321
void save_rep(Archive &ar, const unsigned int version) const
write a Response letter object to an archive
MinimizerAdapterModel(const RealVector &cv_initial_pt, const RealVector &cv_lower_bnds, const RealVector &cv_upper_bnds, const RealMatrix &lin_ineq_coeffs, const RealVector &lin_ineq_lower_bnds, const RealVector &lin_ineq_upper_bnds, const RealMatrix &lin_eq_coeffs, const RealVector &lin_eq_targets, const RealVector &nonlin_ineq_lower_bnds, const RealVector &nonlin_ineq_upper_bnds, const RealVector &nonlin_eq_targets, void(*resp_map)(const Variables &vars, const ActiveSet &set, Response &response)=NULL)
standard full constructor with minimizer-specific bounds/targets; doubles as a partial constructor gi...
Definition: MinimizerAdapterModel.cpp:25
Predicate that returns true when the passed path matches the wild_card with which it was configured....
Definition: WorkdirHelper.hpp:62
IntVector stepsPerVariable
the deltas_per_variable specification in MethodPSCPS
Definition: DataMethod.hpp:1383
Approximation operator=(const Approximation &approx)
assignment operator
Definition: DakotaApproximation.cpp:222
BitArray discreteStateSetIntCat
is each dssi var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:657
NonDCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDCalibration.cpp:22
void all_continuous_variable_label(const String &acv_label, size_t index)
set a label within the all continuous label array
Definition: DakotaVariables.hpp:1713
bool formulation_updated() const
query whether the form of an approximation has been updated
Definition: SharedApproxData.cpp:501
void inflate_approx_samples(const ArrayType &N_l, bool multilev, size_t secondary_index, std::vector< ArrayType > &N_l_vec)
update the relevant slice of N_l_3D from the final 2D multilevel or 2D multifidelity sample profile
Definition: DakotaNonD.hpp:733
void write_tabular(std::ostream &s, unsigned short vars_part=ALL_VARS) const
write a variables object in tabular format to an std::ostream, optionally specifying which partition ...
Definition: RelaxedVariables.cpp:163
virtual ~HierarchSurrBasedLocalTraits()
destructor
Definition: HierarchSurrBasedLocalMinimizer.hpp:40
virtual int derived_map_if(const Dakota::String &if_name)
execute the input filter portion of a direct evaluation invocation
Definition: DirectApplicInterface.cpp:173
bool suppressOutput
flag for suppressing output on slave processors
Definition: ApplicationInterface.hpp:217
bool distribute_list_of_points(const RealVector &list_of_pts)
distributes list_of_pts coming from user spec among listCVPoints, listDIVPoints, listDSVPoints,...
Definition: ParamStudy.cpp:726
virtual void configuration_options(const Pecos::ExpansionConfigOptions &ec_options)
set ExpansionConfigOptions instance as a group specification
Definition: SharedApproxData.cpp:520
CommandLineHandler()
default constructor, requires check_usage() call for parsing
Definition: CommandLineHandler.hpp:188
SizetArray variablesCompsTotals
totals for variable type counts for {continuous,discrete integer,discrete string,discrete real} {desi...
Definition: SharedVariablesData.hpp:232
size_t test_local_analyses_send(int analysis_id)
test for asynchronous analysis completions on the local processor and return results for any completi...
Definition: ForkApplicInterface.cpp:87
void destruct()
Deallocate parallel partitioning for topLevelIterator.
Definition: DakotaEnvironment.cpp:394
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonDGlobalReliability.cpp:432
GaussianProcess()
Constructor that uses defaultConfigOptions and does not build.
Definition: SurrogatesGaussianProcess.cpp:22
void resize_response_mapping()
resize {primary,secondary}MapIndices and nonlinearRespMapping to synchronize with subModel sizes
Definition: RecastModel.cpp:1430
void copy_field_data(const RealVector &fn_vals, RealMatrix &fn_grad, const RealSymMatrixArray &fn_hess, size_t offset, size_t num_fns, Response &response)
Definition: ExperimentDataUtils.cpp:20
void uncertain_counts(size_t &num_cuv, size_t &num_duiv, size_t &num_dusv, size_t &num_durv) const
compute uncertain variables sums from variablesCompsTotals
Definition: SharedVariablesData.hpp:462
static void reset()
Resets the working directory "state" to its initial state when DAKOTA was launched.
Definition: WorkdirHelper.cpp:411
Body class for responses specification data.
Definition: DataResponses.hpp:34
virtual void build()
builds the shared approximation data from scratch
Definition: SharedApproxData.cpp:327
StringArray secondaryVarMaps
the secondary variable mappings used in nested models for identifying the (distribution) parameter ta...
Definition: DataModel.hpp:333
const String LEV_REF
levenshtein_distance computes the distance between its argument and this
Definition: TestDriverInterface.cpp:35
size_t cv_index_to_all_index(size_t cv_index, bool cdv, bool cauv, bool ceuv, bool csv) const
convert index within active continuous variables (as identified by bools) to index within aggregated ...
void print_moments(std::ostream &s)
override certain print functions
Definition: NonDC3FunctionTrain.cpp:668
size_t idrv() const
get number of inactive discrete real vars
Definition: SharedVariablesData.hpp:1720
RealVector yTrue
True function responses at the values corresponding to validationSet.
Definition: NonDAdaptiveSampling.hpp:111
void digital_shift()
Digitally shift this digital net.
Definition: DigitalNet.hpp:83
void export_final_surrogates(Model &data_fit_surr_model)
export final surrogates generated, e.g., GP in EGO and friends
Definition: DakotaIterator.cpp:1980
Container class for response functions and their derivatives. Response provides the enveloper base ...
Definition: DakotaResponse.hpp:44
void assign_key(size_t i)
assign the resolution level for the i-th model key
Definition: EnsembleSurrModel.hpp:977
void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: EffGlobalMinimizer.cpp:272
IntVector discreteIntUpperBnds
the active discrete upper bounds array view
Definition: DakotaConstraints.hpp:400
bool iterator_eval_dedicated_master() const
returns a flag signaling the use of a dedicated master processor at the iterator-evaluation schedulin...
Definition: DakotaInterface.hpp:515
const RealVector & all_continuous_variables() const
return all continuous variables in currentVariables
Definition: DakotaModel.hpp:2167
void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to AdapterModel
Definition: AdapterModel.cpp:157
int aniso_quad_form()
1-D function using a anisotropic quadratic form
Definition: TestDriverInterface.cpp:5153
unsigned short ssgLevelPrev
value of ssgDriver->level() prior to increment_grid(), for restoration in decrement_grid() since incr...
Definition: NonDSparseGrid.hpp:148
const String & interval_type() const
return the numerical gradient evaluation interval type (intervalType)
Definition: DakotaModel.hpp:3619
RealVector lognormalUncErrFacts
error factors for the lognormal uncertain variables (from the error_factors specification in VarCAUV_...
Definition: DataVariables.hpp:336
String hybridGlobalMethodPointer
global method pointer for embedded hybrids (from the global_method_pointer specification)
Definition: DataMethod.hpp:405
static std::string init_preferred_env_path()
Initializes class member, dakPreferredEnvPath.
Definition: WorkdirHelper.cpp:98
void construct_expansion_sampler(unsigned short sample_type, const String &rng, unsigned short integration_refine=NO_INT_REFINE, const IntVector &refine_samples=IntVector(), const String &import_approx_file=String(), unsigned short import_approx_format=TABULAR_ANNOTATED, bool import_approx_active_only=false)
construct the expansionSampler for evaluating samples on uSpaceModel
Definition: NonDExpansion.cpp:618
void serve_iterators(MetaType &meta_object, Iterator &sub_iterator)
executed on the slave iterator servers to perform iterator jobs assigned by the scheduler master
Definition: IteratorScheduler.hpp:502
void pack(const u_short &data)
Pack a unsigned short.
Definition: MPIPackBuffer.hpp:103
Real convergenceTolerance
convergence tolerance on build process
Definition: DataModel.hpp:367
virtual void copy_rep(std::shared_ptr< Response > source_resp_rep)
Implementation of data copy for Response letters (specialized by some derived letter types); pulls ba...
bool adaptRank
whether or not to adapt rank
Definition: DataMethod.hpp:843
RealMatrix covVector
The covariance vector where each element (j,0) is the covariance between a new point X and point Xj f...
Definition: GaussProcApproximation.hpp:216
Model & active_truth_model()
return the model corresponding to truthModelKey
Definition: EnsembleSurrModel.hpp:912
const RealVector & gradient(const Variables &vars)
retrieve the approximate function gradient for a given parameter vector
Definition: C3Approximation.cpp:1083
~GetLongOpt()
Destructor.
Definition: CommandLineHandler.cpp:30
std::string useSgte
defines use of surrogate in NOMAD
Definition: NomadOptimizer.hpp:221
void archive_allocate_sets() const
Allocate space to archive parameters and responses.
Definition: ParamStudy.cpp:322
std::list< DataResponses > dataResponsesList
list of responses specifications, one for each call to responses_kwhandler() or insert_node()
Definition: ProblemDescDB.hpp:394
bool formulation_updated() const
query for change in approximation formulation
Definition: ApproximationInterface.hpp:550
short discrepancy_reduction() const
return the discrepancy type for approximations that support MLMF
Definition: SharedPecosApproxData.hpp:194
unsigned short importPredConfigFormat
tabular format for prediction configurations import file
Definition: NonDBayesCalibration.hpp:387
void initialize_corrections()
internal convenience function shared by overloaded initialize() variants
Definition: DiscrepancyCorrection.cpp:73
BitArray negBinomialUncCat
is each negbinomial var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:480
void write_annotated(std::ostream &s) const
write a ParamResponsePair object in annotated format to an std::ostream
int validationSetSize
Number of points used in the validationSet.
Definition: NonDAdaptiveSampling.hpp:116
unsigned short approxImportFormat
build data import tabular format
Definition: NonDGPMSABayesCalibration.hpp:119
virtual void read_tabular(std::istream &s, unsigned short vars_part=ALL_VARS)
read a variables object in tabular format from an istream, optionally specifying which partition (all...
bool localObjectiveRecast
flag indicating whether local recasting to a single objective is used
Definition: DakotaOptimizer.hpp:528
bool modelIsImported
whether model serialized in from disk
Definition: SurfpackApproximation.hpp:181
BootstrapSampler(const Data &orig_data, size_t block_size=1)
Constructor for the sampler.
Definition: BootstrapSampler.hpp:141
SizetList linIneqConMappingIndices
a list of indices for referencing the DAKOTA linear inequality constraints used in computing the corr...
Definition: NOWPACOptimizer.hpp:82
exception class for function evaluation failures
Definition: dakota_global_defs.hpp:121
virtual void increment_sample_sequence(size_t new_samp, size_t total_samp, size_t step)
increment sequence in numSamplesOnModel for multilevel_regression()
Definition: NonDExpansion.cpp:2443
void print_system_mappings(std::ostream &s) const
print system series/parallel mappings for response levels
Definition: DakotaNonD.cpp:1120
size_t maximum_refinement_iterations() const
return maxRefineIterations
Definition: NonDExpansion.hpp:675
void parse_sigma_types(const StringArray &sigma_types)
parse user-provided sigma type strings and populate enums
Definition: ExperimentData.cpp:176
SizetMultiArrayConstView all_discrete_real_ids(size_t start, size_t num_items) const
get num_items discrete real ids beginning at index start
Definition: SharedVariablesData.hpp:1596
RealVector normConst
Vector to hold the normalization constant calculated for each point added.
Definition: NonDGPImpSampling.hpp:111
void map_keys_to_set(const std::map< KeyType, ValueType > &source_map, std::set< KeyType > &target_set)
calculate the map index corresponding to the passed key
Definition: dakota_data_util.hpp:1269
Variables(BaseConstructor, const SharedVariablesData &svd)
constructor initializes the base class part of letter classes (BaseConstructor overloading avoids inf...
std::ofstream restartOutputFS
Binary stream to which restart data is written.
Definition: OutputManager.hpp:161
MatrixXd hessian(const MatrixXd &eval_point)
Evaluate the Hessian of the python surrogate at a single point for QoI index 0.
Definition: SurrogatesPython.hpp:130
void compute_std_regression_coeffs(const RealMatrix &samples, const RealMatrix &resps, RealMatrix &std_reg_coeffs, RealVector &cods)
Compute standardized linear regression coefficients.
Definition: dakota_stat_util.cpp:86
Pybind11Interface(const ProblemDescDB &problem_db)
constructor
Definition: Pybind11Interface.cpp:22
void transform(Model &model, RealMatrix &sample_matrix)
Function to transform a given sample matrix from [0, 1) to the probability density functions given in...
Definition: NonDLowDiscrepancySampling.cpp:244
RealVector approxGradient
gradient of the approximation returned by gradient()
Definition: DakotaApproximation.hpp:401
size_t cdrv_index_to_adrv_index(size_t drv_index) const
convert index within complement of active discrete real variables to index within all discrete real v...
void push_approximation()
push a previous approximation data state; reverse of pop_approximation
Definition: DataFitSurrModel.cpp:897
Getter getterMethod
Function to obtain a single sample from a Data object. Function should take a Data object and an unsi...
Definition: BootstrapSampler.hpp:312
virtual ~SNLLTraits()
destructor
Definition: SNLLOptimizer.hpp:49
void get_responses(const Model &model, const RealVector &dak_fn_vals, const std::vector< int > constraint_map_indices, const std::vector< double > constraint_map_multipliers, const std::vector< double > constraint_map_offsets, vectorType &f_vec, vectorType &cEqs_vec, vectorType &cIneqs_vec)
Definition: DakotaOptimizer.hpp:880
void all_vars_to_realarray(const Variables &vars, RealArrayType &ra)
aggregate all {continuous,discrete int,discrete real} variables into pre-sized array
Definition: SharedSurfpackApproxData.hpp:226
MixedVarConstraints(const SharedVariablesData &svd)
lightweight constructor
Definition: MixedVarConstraints.hpp:66
StringSetArray discreteDesignSetStr
complete set of admissible values for each of the discrete design variables defined by a string set (...
Definition: DataVariables.hpp:260
Real variance_Ysum(Real sum_Y, Real sum_YY, size_t Nlq)
compute variance scalar from sum accumulators
Definition: NonDMultilevelSampling.hpp:651
Real delta_beta(bool cdf_flag, Real z_bar)
return the change in reliability index (mapped from z_bar) resulting from expansion refinement,...
Definition: PecosApproximation.hpp:627
RealVector dataDistMeans
raw list of real data for the data distribution gaussian means
Definition: DataMethod.hpp:1331
static String user_auto_id()
return the next available interface ID for no-ID user methods
Definition: DakotaInterface.cpp:1519
void print_densities(std::ostream &s) const
output the PDFs reflected in computedPDF{Abscissas,Ordinates} using default qoi_type and pdf_labels
Definition: DakotaNonD.hpp:477
void allocate_matrix(const StrStrSizet &iterator_id, const StringArray &location, ResultsOutputType stored_type, const int &num_rows, const int &num_cols, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray())
Pre-allocate a matrix and (optionally) attach dimension scales and attributes. Insert rows or columns...
Definition: ResultsManager.cpp:88
void truncate_rotation()
use the truncation methods to identify the size of a reduced subspace
Definition: AdaptedBasisModel.cpp:454
size_t cdsv_index_to_all_index(size_t dsv_index) const
convert index within complement of active discrete string variables to index within aggregated variab...
Definition: SharedVariablesData.hpp:1204
IntVector fieldLengths
column partitions of data matrix
Definition: RandomFieldModel.hpp:157
void resize_response(bool use_virtual_counts=true)
resize currentResponse based on responseMode
Definition: EnsembleSurrModel.cpp:1843
RealVector referenceDRLBnds
stores a reference copy of active discrete real lower bounds when the approximation is built; used to...
Definition: DataFitSurrModel.hpp:499
void kl_post_prior(RealMatrix &acceptanceChain)
Compute information metrics.
Definition: NonDBayesCalibration.cpp:3261
void clear_batches()
since synchronize returns the aggregation of all evaluated batches, we use a separate call to indicat...
Definition: DakotaAnalyzer.hpp:300
void filter_chain_by_conditioning() override
extract batchSize points from the MCMC chain and store final aggregated set within allSamples; unique...
Definition: NonDQUESOBayesCalibration.cpp:587
void compute_evidence_statistics()
method for computing belief and plausibility values for response levels or vice-versa
Definition: NonDInterval.cpp:436
SharedC3ApproxData()
default constructor
Definition: SharedC3ApproxData.hpp:325
SizetArray variables_resize()
Create a variables components totals array with the reduced space size for continuous variables.
Definition: RandomFieldModel.cpp:367
GridApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: GridApplicInterface.cpp:46
bool get_mixed_bounds(const MaskType &mask_set, const SetArray &source_set, const Teuchos::SerialDenseVector< OrdinalType, ScalarType > &lower_source, const Teuchos::SerialDenseVector< OrdinalType, ScalarType > &upper_source, VectorType2 &lower_target, VectorType2 &upper_target, ScalarType bigBoundSize, ScalarType no_value, int target_offset=0)
Definition: DakotaOptimizer.hpp:110
ModelList & subordinate_models(bool recurse_flag=true)
return the sub-models in nested and surrogate models
Definition: DakotaModel.cpp:3640
~NonDGlobalSingleInterval()
destructor
Definition: NonDGlobalSingleInterval.cpp:26
RealVectorArray gpCvars
Vector to hold the current values of the current sample inputs on the GP.
Definition: NonDAdaptiveSampling.hpp:96
Base class for Monte Carlo sampling across Model ensembles.
Definition: NonDEnsembleSampling.hpp:26
String setUpType
flag for iteration mode: "model" (normal usage) or "user_functions" (user-supplied functions mode for...
Definition: SNLLOptimizer.hpp:353
void solver_setup(unsigned short method_name)
convenience function for setting up the particular COLIN solver and appropriate Application
Definition: COLINOptimizer.cpp:489
static Minimizer * optLSqInstance
pointer to the active base class object instance used within the static evaluator functions in order ...
Definition: SNLLBase.hpp:132
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDGPImpSampling.cpp:136
void append_vector_matrix(const String &dset_name, const std::vector< Teuchos::SerialDenseMatrix< int, T > > &data, const bool &transpose=false)
Append a std::vector of SerialDenseMatrix's to a 4D dataset. The dataset will be expanded along the 0...
Definition: HDF5_IO.hpp:1113
Model & active_surrogate_model(size_t i=_NPOS)
return the model corresponding to surrModelKeys[i] (spanning either model forms or resolutions)
Definition: EnsembleSurrModel.cpp:1456
size_t secondaryIndex
setting for inactive model dimension not traversed by loop over numSteps
Definition: NonDHierarchSampling.hpp:79
ExperimentData expData
Container for experimental data to which to calibrate model using least squares or other formulations...
Definition: DakotaMinimizer.hpp:289
void update_projected_samples(const SizetArray &delta_N_l, SizetArray &N_alloc, const RealVector &cost, Real &delta_equiv_hf)
for pilot projection, advance the sample counts and aggregate cost based on projected rather than act...
Definition: NonDMultilevelSampling.hpp:992
void select_rep_points(const RealVectorArray &var_samples_u, const RealVector &fn_samples)
select representative points from a set of samples
Definition: NonDAdaptImpSampling.cpp:342
void initialize_run()
Definition: DakotaLeastSq.cpp:260
NONLINEAR_EQUALITY_FORMAT nonlinear_equality_format()
Return the format used for nonlinear equality constraints.
Definition: NomadOptimizer.hpp:79
int nopt
Number of optimization variables.
Definition: SurrogatesGPObjective.hpp:99
void push_increment()
helper function to manage different push increment cases
Definition: NonDC3FunctionTrain.cpp:508
ShortArray active2ADRVarMapTargets
"secondary" variable mappings for inserting active discrete real currentVariables into sub-parameters...
Definition: NestedModel.hpp:376
Model & truth_model()
return actualModel
Definition: DataFitSurrModel.hpp:669
Sample derived interface class for testing serial simulator plug-ins using assign_rep().
Definition: PluginSerialDirectApplicInterface.hpp:34
Evaluator(GeneticAlgorithm &algorithm, Model &model)
Constructs a Evaluator for use by algorithm.
Definition: JEGAOptimizer.cpp:456
bool useTargetVarianceOptimizationFlag
option to switch on numerical optimization for solution of sample alloation of allocationTarget Varia...
Definition: NonDMultilevelSampling.hpp:527
Model subModel
the sub-model used in sub-iterator evaluations
Definition: NestedModel.hpp:283
virtual void pack_parameters_buffer(MPIPackBuffer &send_buffer, int job_index)
used by IteratorScheduler to pack starting data for an iterator run
Definition: DakotaIterator.cpp:1363
virtual short solution_control_variable_type() const
return type of solution control variable
Definition: DakotaModel.cpp:3749
void copy_rep(std::shared_ptr< Variables > source_vars_rep)
copy attributes from source to target representation (shared code among copy() implementations)
const IntVector & discrete_int_lower_bounds() const
return the active discrete int lower bounds from userDefinedConstraints
Definition: DakotaModel.hpp:2837
void add_tabular_scalar(T val)
augments the data set for a row in the tabular data file
Definition: OutputManager.hpp:441
friend bool operator==(const Response &resp1, const Response &resp2)
equality operator
String posteriorDensityExportFilename
The filename of the export file containing an arbitrary set of samples and their corresponding densit...
Definition: DataMethod.hpp:1338
const RealVector & discrete_real_variables() const
return the active discrete real variables (Note: returns a view by const reference,...
Definition: DakotaVariables.hpp:908
virtual ~BootstrapSamplerBase()
Destructor.
Definition: BootstrapSampler.hpp:62
int evidenceSamples
number of samples to be used in model evidence calculation
Definition: NonDBayesCalibration.hpp:447
bool evaluation_cache(bool recurse_flag=true) const
if recurse_flag, return the actualModel evaluation cache usage
Definition: DataFitSurrModel.hpp:996
StringMultiArrayConstView all_discrete_string_variable_labels() const
return all discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2649
std::map< int, std::pair< PRPQueueHIter, Response > > beforeSynchDuplicateMap
used to bookkeep evalIdCntr, beforeSynchCorePRPQueue iterator, and response of asynchronous evaluatio...
Definition: ApplicationInterface.hpp:523
virtual bool compact_mode() const
returns Analyzer::compactMode
Definition: DakotaIterator.cpp:1831
Derived application interface class that spawns a simulation code using a separate process and commun...
Definition: ProcessApplicInterface.hpp:40
bool supportsEstimDerivs
whether model should perform or forward derivative estimation
Definition: DakotaModel.hpp:1462
void reshape(const SharedVariablesData &svd)
reshape an existing Variables object based on incoming SVD
RealVectorArray listCVPoints
array of continuous evaluation points for the list_parameter_study
Definition: ParamStudy.hpp:188
bool converged()
check convergence indicators to assess if EGO has converged
Definition: EffGlobalMinimizer.cpp:776
void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaOptimizer.hpp:650
int samplesOnEmulator
number of samples to perform on emulator
Definition: DataMethod.hpp:1182
void push_coefficients()
restores state prior to previous pop()
Definition: PecosApproximation.hpp:787
virtual void push_approximation()
push a previous approximation data state; reverse of pop_approximation
Definition: DakotaModel.cpp:4220
~DataMethod()
destructor
Definition: DataMethod.cpp:795
String tabularDataFile
the filename used for tabular data collection by the environment (from the tabular_graphics_file spec...
Definition: DataEnvironment.hpp:81
void write(MPIPackBuffer &s) const
helper function for writing some class data to MPI buffer
Definition: ProgramOptions.cpp:410
void fill_experiment_data()
populate the experiment data, applying scaling if needed
Definition: NonDGPMSABayesCalibration.cpp:533
void compute_main_effects()
builds a DDaceMainEffects::OneWayANOVA if mainEffectsFlag is set
Definition: DDACEDesignCompExp.cpp:502
IntIntMap numFDEvalsMap
tracks the number of evaluations used within estimate_derivatives(). Used in synchronize() as a key f...
Definition: DakotaModel.hpp:1666
const BitArray & get_ba(const String &entry_name) const
get a BitArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1615
void assign_default_keys(short mode)
initialize truth and surrogate model keys to default values
Definition: EnsembleSurrModel.cpp:82
int seedSpec
the user seed specification (default is 0)
Definition: NonDSampling.hpp:302
Model & dakotaModel
Dakota problem data provided by user.
Definition: ROLOptimizer.hpp:324
void init_metadata() override
default clear metadata in Recasts; derived classes can override to no-op
Definition: ScalingModel.hpp:74
~ParamStudy()
destructor
Definition: ParamStudy.hpp:263
DDACEDesignCompExp(ProblemDescDB &problem_db, Model &model)
primary constructor for building a standard DACE iterator
Definition: DDACEDesignCompExp.cpp:34
void send_mi(int &send_int, int dest, int tag, size_t index=_NPOS)
blocking send at the metaiterator-iterator communication level
Definition: ParallelLibrary.hpp:1452
void compute_numerical_statistics()
numerical portion of compute_statistics() from sampling on the expansion (used for FINAL_RESULTS)
Definition: NonDExpansion.cpp:3188
size_t qoi() const
return number of unique response functions (managing any aggregations)
Definition: EnsembleSurrModel.hpp:473
~SOLBase()
destructor
Definition: SOLBase.hpp:210
void get_parameter_sets(Model &model)
Uses lhsDriver to generate a set of samples from the distributions/bounds defined in the incoming mod...
Definition: NonDSampling.hpp:584
void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to NestedModel
Definition: NestedModel.cpp:1437
int randomSeed
seed controlling all samplers
Definition: SubspaceModel.hpp:167
bool is_factorized() const override
Query to determine if the matrix of the solver has been factored.
Definition: UtilLinearSolvers.cpp:209
Utility used in derived read_core to read values in tabular format.
Definition: DakotaVariables.hpp:36
Interface dummy_interface
dummy Interface object used for mandatory reference initialization or default virtual function return...
Definition: DakotaModel.cpp:38
void snll_post_run(OPTPP::NLP0 *nlf_objective)
convenience function for managing OPT++ results after method execution
Definition: SNLLBase.cpp:315
size_t continuous_aleatory_uncertain()
return total number of continuous aleatory uncertain variables
Definition: DataVariables.hpp:927
void update_projected_lf_samples(const MFSolutionData &soln, const SizetArray &N_H_actual, size_t &N_H_alloc, Real &delta_equiv_hf)
Definition: NonDMultifidelitySampling.cpp:289
H5::DataType h5_file_dtype(const short &)
Return the HDF5 datatype to store a short.
Definition: HDF5_IO.hpp:59
void reshape_rep(size_t num_fns, size_t num_params, bool grad_flag, bool hess_flag)
resizes the representation's containers
OPTPP::OptNewton * optnewton
Newton optimizer pointer.
Definition: SNLLLeastSq.hpp:192
std::unique_ptr< boost::archive::binary_oarchive > restartOutputArchive
Binary output archive to which data is written (pointer since no default ctor for oarchive and may no...
Definition: OutputManager.hpp:165
void pack(const char *data, const int num=1)
Pack one or more char's.
void archive_allocate_mappings()
allocate results array storage for distribution mappings
Definition: DakotaNonD.cpp:1402
Real objective(const RealVector &fn_vals, const BoolDeque &max_sense, const RealVector &primary_wts) const
compute a composite objective value from one or more primary functions
Definition: DakotaMinimizer.cpp:473
Definition: OutputManager.hpp:118
friend bool operator!=(const Model &m1, const Model &m2)
inequality operator (detect different letter instances)
Definition: DakotaModel.hpp:3975
int qr(RealMatrix &A)
Compute an in-place QR factorization A = QR.
Definition: dakota_linear_algebra.cpp:80
UShortMultiArray allDiscreteIntTypes
array of variable types for all of the discrete integer variables
Definition: SharedVariablesData.hpp:286
IntSet gradIdAnalytic
analytic id's for mixed gradients
Definition: DakotaModel.hpp:1466
void url_add_field(std::string &url, const char *keyword, const std::string &value, bool delimit=true) const
append keyword/value pair to url in GET style (with &keyword=value); set delimit = false to omit the ...
Definition: TrackerHTTP.cpp:207
void nested_variable_mappings(const SizetArray &c_index1, const SizetArray &di_index1, const SizetArray &ds_index1, const SizetArray &dr_index1, const ShortArray &c_target2, const ShortArray &di_target2, const ShortArray &ds_target2, const ShortArray &dr_target2)
set primaryA{C,DI,DS,DR}VarMapIndices, secondaryA{C,DI,DS,DR}VarMapTargets (coming from a higher-leve...
Definition: RecastModel.hpp:693
void eval_tag_prefix(const String &eval_id_str)
set the hierarchical eval ID tag prefix
Definition: RecastModel.hpp:1188
static Minimizer * optLSqInstance
pointer to the active base class object instance used within the static evaluator functions in order ...
Definition: SOLBase.hpp:161
Handle class for interface specification data.
Definition: DataInterface.hpp:276
short rbfBases
bases for radial basis function approximation
Definition: DataModel.hpp:250
Iterator daceIterator
LHS iterator for constructing initial GP for all response functions.
Definition: NonDGlobalInterval.hpp:91
virtual ~NPSOLTraits()
destructor
Definition: NPSOLOptimizer.hpp:57
Real centeringParam
value from centering_parameter specification
Definition: SNLLBase.hpp:150
void read(MPIUnpackBuffer &s)
read a DataModel object from a packed MPI buffer
Definition: DataModel.hpp:614
RealVector normalUncStdDevs
standard deviations of the normal uncertain variables (from the std_deviations specification in VarCA...
Definition: DataVariables.hpp:311
int numConminConstr
total number of linear and nonlinear constraints seen by CONMIN
Definition: CONMINOptimizer.hpp:161
virtual bool expects_nonlinear_inequalities_first()
Return the flag indicating whether method expects nonlinear inequality constraints followed by nonlin...
Definition: DakotaTraitsBase.hpp:82
RealVector nlnIneqScales
nonlinear inequality constraint scale values
Definition: ScalingOptions.hpp:46
short regressType
type of regression solver for forming FT approximation
Definition: SharedC3ApproxData.hpp:257
size_t numSubIterMappedEqCon
number of top-level equality constraints mapped from the sub-iteration results
Definition: NestedModel.hpp:303
const RealVector & primary_response_fn_weights() const
get the relative weightings for multiple objective functions or least squares terms
Definition: DakotaModel.hpp:3690
void compute_GG_covariance(const RealMatrixArray &sum_G, const RealSymMatrix2DArray &sum_GG, const Sizet2DArray &N_G, RealSymMatrix2DArray &cov_GG, RealSymMatrix2DArray &cov_GG_inv, bool update_prev=false)
Definition: NonDMultilevBLUESampling.cpp:1365
size_t numFieldLeastSqTerms
field_calibration_terms: number of calibration terms which are field-valued
Definition: DataResponses.hpp:93
const ResponseArray & response_array_results()
return multiple final iterator solutions (response). This should only be used if returns_multiple_poi...
Definition: DakotaAnalyzer.hpp:331
std::shared_ptr< DataMethodRep > dataMethodRep
pointer to the body (handle-body idiom)
Definition: DataMethod.hpp:1529
void compute_gram_derivs(const MatrixXd &gram, const std::vector< MatrixXd > &dists2, const VectorXd &theta_values, std::vector< MatrixXd > &gram_derivs) override
Compute the derivatives of the Gram matrix with respect to the kernel hyperparameters.
Definition: SurrogatesGPKernels.cpp:28
int iteratorCommSize
number of processors in iteratorComm
Definition: IteratorScheduler.hpp:171
std::shared_ptr< SharedApproxData > dataRep
pointer to the letter (initialized only for the envelope)
Definition: SharedApproxData.hpp:299
void check_parallelism()
function that checks if model supports asynchronous parallelism
Definition: EffGlobalMinimizer.cpp:283
bool initialize_mapping(ParLevLIter pl_iter)
Perform any global updates prior to individual evaluate() calls; returns true if the variables size h...
Definition: DataFitSurrModel.cpp:397
StringArray hybridModelPointers
array of models for the sequential and collaborative hybrid meta-iterators (from the model_pointer_li...
Definition: DataMethod.hpp:390
const RealMatrix & linear_ineq_constraint_coeffs() const
return the linear inequality constraint coefficients
Definition: DakotaModel.hpp:3373
void print_scaling(const String &info, const UShortArray &scale_types, const RealVector &scale_mults, const RealVector &scale_offsets, const StringArray &labels)
print scaling information for a particular response type in tabular form
Definition: ScalingModel.cpp:765
bool initialPtUserSpec
flag indicating user specification of (any portion of) initialPtU
Definition: NonDLocalReliability.hpp:298
int index_step(size_t start, size_t end, int num_steps) const
check for out of bounds and index remainder and return step
Definition: ParamStudy.hpp:646
boost::mt19937 rng
RNG to persist for varying pattern.
Definition: FSUDesignCompExp.hpp:110
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: NLPQLPOptimizer.hpp:92
void derived_map_asynch(const ParamResponsePair &pair)
Called by map() and other functions to execute the simulation in asynchronous mode....
Definition: ProcessApplicInterface.cpp:260
void DAKOTA_DLL_FN set_mc_ptr_int(int ptr_int)
set the DAKOTA pointer to ModelCenter
Definition: dakota_dll_api.cpp:313
void map_bookkeeping(pid_t pid, int fn_eval_id)
bookkeeping of process and evaluation ids for asynchronous maps
Definition: ProcessHandleApplicInterface.cpp:23
static void problem_value(std::string *chain_filename, std::string *gr_filename, double &gr_threshold, int &jumpstep, double limits[], int par_num, int &printstep, std::string *restart_read_filename, std::string *restart_write_filename)
Filename and data initializer for DREAM.
Definition: NonDDREAMBayesCalibration.cpp:346
void asynch_eval_store(const Interface &interface, const int &id, const Response &response)
Store the response portion of an interface evaluation. Called from rekey_response_map()
Definition: DakotaModel.cpp:6198
unsigned short preRunOutputFormat
tabular format for pre_run output
Definition: DataEnvironment.hpp:70
void push_c3_start_orders(const UShortArray &start_orders)
Publish configuration data for initial function train cores, prior to any adaptation.
Definition: NonDC3FunctionTrain.cpp:458
DataInterface & operator=(const DataInterface &)
assignment operator
Definition: DataInterface.cpp:97
unsigned short challengeFormat
tabular format of the challenge points file
Definition: ApproximationInterface.hpp:241
Interface()
default constructor
Definition: DakotaInterface.cpp:183
RealMatrix partialCorr
matrix to hold partial raw correlations
Definition: SensAnalysisGlobal.hpp:255
void hessVec(std::vector< Real > &hv, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override
Function to return Hessian-vector product needed by ROL when using user/Dakota-supplied Hessians.
Definition: ROLOptimizer.cpp:566
void compute_level_mappings(const IntResponseMap &samples)
called by compute_statistics() to calculate CDF/CCDF mappings of z to p/beta and of p/beta to z as we...
Definition: NonDSampling.cpp:1569
bool sameInterfaceInstance
flag indicating that the models identified by {low,high}FidelityKey employ the same interface instanc...
Definition: EnsembleSurrModel.hpp:298
void combine_discrete_ranks(const RealMatrix &initial_values, const RealMatrix &increm_values)
merge the discrete ranks into a submatrix of sampleRanks
Definition: NonDLHSSampling.cpp:478
unsigned short eifConvergenceCntr
counter for consecutive iterates with EIF value < convergenceTol
Definition: EffGlobalMinimizer.hpp:319
long startClock
start reference for local clock() timer measuring parent+child CPU
Definition: ParallelLibrary.hpp:1019
Rank1LatticeOrdering ordering
Order of the points of this rank-1 lattice rule.
Definition: Rank1Lattice.hpp:92
RealVectorArray probabilityLevels
the probability_levels specification in MethodNonD
Definition: DataMethod.hpp:1170
virtual void clear_inactive()
clear inactive approximation data
Definition: DakotaInterface.cpp:1258
void compute_hyperbolic_subdim_level_indices(int num_dims, int level, int num_active_dims, double p, MatrixXi &indices)
Compute a matrix of indices for a submatrix (i.e. up to the active dimensions column) of indices prod...
Definition: surrogates_tools.cpp:63
std::map< unsigned short, size_t > variablesComponents
map linking variable types to counts
Definition: SharedVariablesData.hpp:226
Real avgEstVar
average estimator variance for model graph
Definition: NonDNonHierarchSampling.hpp:114
SizetArray collocPtsSeqSpec
user specification of number of initial samples per model instance, including adaptive cases where an...
Definition: NonDExpansion.hpp:423
EnsembleSurrModel(ProblemDescDB &problem_db)
constructor
Definition: EnsembleSurrModel.cpp:21
std::shared_ptr< Approximation > get_approx(ProblemDescDB &problem_db, const SharedApproxData &shared_data, const String &approx_label)
Used only by the standard envelope constructor to initialize approxRep to the appropriate derived typ...
Definition: DakotaApproximation.cpp:91
void pack(const double &data)
Pack a double.
Definition: MPIPackBuffer.hpp:109
Pecos::LHSDriver lhsDriver
the C++ wrapper for the F90 LHS library
Definition: NonDSampling.hpp:327
RealVector stepVector
the step_vector specification in MethodPSVPS and MethodPSCPS
Definition: DataMethod.hpp:1379
void set_evaluation_reference()
set the evaluation counter reference points for the DataFitSurrModel (request forwarded to approxInte...
Definition: DataFitSurrModel.hpp:1010
bool force_rebuild()
determine whether a surrogate model rebuild should be forced based on changes in the inactive data
Definition: DataFitSurrModel.hpp:543
OPTPP::NLP * nlpConstraint
constraint NLP pointer
Definition: SNLLOptimizer.hpp:317
Real mean()
return the mean of the expansion, where all active vars are random
Definition: C3Approximation.hpp:342
Real termsOrder
exponent applied to number of expansion terms for computing number of regression points (usually 1)
Definition: NonDExpansion.hpp:429
void print_moments(std::ostream &s) const
prints the moments computed in compute_moments() with default qoi_type and moment_labels
Definition: NonDSampling.hpp:480
size_t num_fields() const
retrieve the number of fields (applies to all experiments)
Definition: ExperimentData.hpp:510
void reset_multipliers()
reset Lagrange multipliers to initial values for cases where they are accumulated instead of computed...
Definition: SurrBasedLocalMinimizer.hpp:273
size_t idrvStart
start index of inactive discrete real variables within allDiscreteRealVars
Definition: SharedVariablesData.hpp:264
size_t maxRank
maximum rank
Definition: DataMethod.hpp:841
SizetArray complement1ACVarMapIndices
"primary" variable mappings for inserting the complement of the active continuous currentVariables wi...
Definition: NestedModel.hpp:380
Real discrete_real_lower_bound(size_t i) const
return an active discrete variable lower bound
Definition: DakotaConstraints.hpp:566
static void constraint1_evaluator_gn(int mode, int n, const RealVector &x, RealVector &g, RealMatrix &grad_g, int &result_mode)
constraint evaluator function which provides constraint values and gradients to OPT++ Gauss-Newton me...
Definition: SNLLLeastSq.cpp:355
short annNodes
number of nodes for artificial neural network approximation
Definition: DataModel.hpp:264
void populate_matrices(unsigned int diff_samples)
populate the derivative and vars matrices with fullspaceSampler samples
Definition: ActiveSubspaceModel.cpp:419
Iterator & subordinate_iterator()
return subIterator
Definition: NestedModel.hpp:463
void reset_solver_options(const Teuchos::ParameterList &)
Support resetting ROL solver options.
Definition: ROLOptimizer.cpp:346
static void Vchk_HistogramPtStrUnc(DataVariablesRep *dv, size_t offset, Var_Info *vi)
Check the histogram point string input data, normalize the counts, and populate DataVariables::histog...
Definition: NIDRProblemDescDB.cpp:3495
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: CONMINOptimizer.hpp:55
DakotaROLObjectiveHess(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:559
void center_matrix()
center the matrix by scaling each column by its means
Definition: ReducedBasis.cpp:39
PRPCacheHIter hashedCacheBegin(PRPCache &prp_cache)
hashed definition of cache begin
Definition: PRPMultiIndex.hpp:183
virtual void trans_X_to_U(const RealVector &x_c_vars, RealVector &u_c_vars)
transform x-space variable values to u-space
Definition: DakotaModel.cpp:5200
int minimizeCycles
counter for number of minimization cycles that have accumulated prior to convergence at the minimizeI...
Definition: SurrBasedLocalMinimizer.hpp:193
const size_t maxFuncEvals
Maximum number of evaluations while refining a surrogate.
Definition: DataFitSurrModel.hpp:341
void increment_grid_preference()
Definition: NonDCubature.hpp:124
Real localBalanceParam
the local_balance_parameter for the DIRECT method in MethodSCOLIBDIR
Definition: DataMethod.hpp:577
bool update_filter(SurrBasedLevelData &tr_data, const RealVector &fn_vals)
update filter using a new set of function values
Definition: SurrBasedMinimizer.cpp:356
void load_parameters(Model &model)
Convenience function for Parameter loading.
Definition: OptDartsOptimizer.cpp:120
void initialize_response_map(void(*resp_map)(const Variables &vars, const ActiveSet &set, Response &response))
initialize map callbacks after alternate construction
Definition: AdapterModel.hpp:200
size_t num_samples() const
Definition: NonDQuadrature.hpp:315
IntVector binomialUncNumTrials
Number of trials (N) for the binomial uncertain variables from the num_trials specification in VarDAU...
Definition: DataVariables.hpp:462
void export_coefficients()
export the PCE coefficient array to expansionExportFile
Definition: NonDPolynomialChaos.cpp:1302
void bcast_hs(int &data, const ParallelLevel &pl)
broadcast an integer across the hubServerIntraComm of a ParallelLevel
Definition: ParallelLibrary.hpp:1790
size_t numVars
number of variables in the approximation
Definition: SharedApproxData.hpp:224
String preRunInput
filename for pre_run input
Definition: ProgramOptions.hpp:257
DiscrepancyCorrection()
default constructor
Definition: DiscrepancyCorrection.hpp:253
void specify_prior() override
initialize the MUQ parameter space, min, max, initial, domain, and prior define solver options,...
Definition: NonDMUQBayesCalibration.cpp:211
RealMatrix gradCovVector
A matrix, where each column is the derivative of the covVector with respect to a particular componene...
Definition: GaussProcApproximation.hpp:228
RealMatrix betaCoeffs
matrix to hold the beta coefficients for the trend function
Definition: GaussProcApproximation.hpp:210
virtual bool is_derived()
A temporary query used in the refactor.
Definition: COLINOptimizer.hpp:38
void resolve_map1(const String &map1, size_t &ac_index1, size_t &adi_index1, size_t &ads_index1, size_t &adr_index1, size_t curr_index, short &inactive_sm_view)
compute variable mapping indices corresponding to map1 and update inactive view if necessary
Definition: NestedModel.cpp:840
DataMethodRep()
constructor
Definition: DataMethod.cpp:20
UShortArray sparseGridLevelSeq
the sparse_grid_level_sequence specification in MethodNonDPCE and MethodNonDSC
Definition: DataMethod.hpp:988
bool is_null() const
function to check dbRep (does this envelope contain a letter)
Definition: ProblemDescDB.hpp:667
void set_variables(const VectorType &source, Model &model, Variables &vars)
Definition: DakotaOptimizer.hpp:801
int refineSamples
size of sample batch within each refinement iteration
Definition: NonDAdaptImpSampling.hpp:168
void update_final_statistics()
update finalStatistics::functionValues
Definition: NonDEnsembleSampling.cpp:252
int world_rank() const
return MPIManager::worldRank
Definition: ParallelLibrary.hpp:1043
ResultsOutputType
enum for setting type on allocted matrix for Results Output
Definition: dakota_results_types.hpp:527
VariablesList & variables_list()
return a list of all Variables objects that have been instantiated
Definition: ProblemDescDB.hpp:557
bool kuo
Predefined generating vectors.
Definition: DataMethod.hpp:907
void all_counts(size_t &num_acv, size_t &num_adiv, size_t &num_adsv, size_t &num_adrv) const
compute all variables sums from variablesCompsTotals
Definition: SharedVariablesData.hpp:337
SOLBase()
default constructor
Definition: SOLBase.hpp:204
Real collocationRatio
the collocation_ratio specification in MethodNonDPCE
Definition: DataMethod.hpp:1018
size_t adrv() const
accumulate all discrete real variables from variablesCompsTotals, allRelaxedDiscreteReal
Definition: SharedVariablesData.hpp:387
void unpack(long long &data)
Unpack a long long.
Definition: MPIPackBuffer.hpp:249
StringArray inactive_ordered_labels() const
Return labels of all inactive variables in "input spec" order.
Definition: DakotaModel.hpp:2717
Variables(const Variables &vars)
copy constructor
virtual ~BootstrapSampler()
Destructor.
Definition: BootstrapSampler.hpp:220
const int samplesSpec
initial specification of number of samples
Definition: NonDSampling.hpp:304
RealVector discreteRealAleatoryUncVars
array of values for all discrete real aleatory uncertain variables
Definition: DataVariables.hpp:740
String idVariables
string identifier for the variables specification data set (from the id_variables specification in Va...
Definition: DataVariables.hpp:92
String searchMethod
value_based_line_search, gradient_based_line_search, trust_region, or tr_pds
Definition: SNLLBase.hpp:136
bool check_final_point(const RealVector &final_pt)
perform error checks on finalPoint
Definition: ParamStudy.hpp:465
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDGlobalInterval.cpp:266
virtual void post_combine()
clean up stored data sets after aggregation
Definition: SharedApproxData.cpp:433
void setRootComputation()
Method that is called when declaring the current node as a root node.
Definition: PEBBLBranching.cpp:59
short subMethodScheduling
scheduling approach for concurrent sub-iterator parallelism: {DEFAULT,MASTER,PEER}_SCHEDULING
Definition: DataModel.hpp:352
DiscrepancyCorrection deltaCorr
manages construction and application of correction functions that are applied to a surrogate model (D...
Definition: DataFitSurrModel.hpp:426
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NOWPACOptimizer.hpp:163
RealVector nlnEqTargets
nonlinear equality constraint targets used in "user_functions" mode
Definition: NCSUOptimizer.hpp:179
IntVector discStringStepsPerVariable
number of offsets in the plus and the minus direction for each discrete string variable in a centered...
Definition: ParamStudy.hpp:243
void reset()
restore initial state for repeated sub-iterator executions
Definition: NonDCubature.hpp:105
void core_run()
Performs a gradient-based optimization to determine interval bounds for an entire function or interva...
Definition: NonDLocalInterval.cpp:158
void test_local_evaluation_batch(PRPQueue &prp_queue)
batch version of test_local_evaluations()
Definition: ProcessApplicInterface.cpp:371
void clear_inactive_coefficients()
prune inactive coefficients following combination and promotion to active
Definition: PecosApproximation.hpp:808
int numCols
Number of columns; equals length of scale when 1D.
Definition: dakota_results_types.hpp:307
Real tiCoverage
Coverage parameter for the calculation of double sided tolerance interval equivalent normal.
Definition: DataMethod.hpp:943
virtual ~DataFitSurrBasedLocalTraits()
destructor
Definition: DataFitSurrBasedLocalMinimizer.hpp:42
void parallel_configuration_iterator_map(std::map< size_t, ParConfigLIter > pci_map)
set methodPCIterMap
Definition: DakotaIterator.hpp:624
bool digitalNetFlag
Flag to indicate digital net sampling.
Definition: DataMethod.hpp:914
bool resize_pending() const
return true if a potential resize is still pending, such that sizing-based initialization should be d...
Definition: SubspaceModel.hpp:195
TaylorApproximation()
default constructor
Definition: TaylorApproximation.hpp:73
Real curvatureThresh
cut-off value for 1/sqrt() term in second-order probability corrections.
Definition: NonDLocalReliability.hpp:341
static void Vchk_HistogramBinUnc(DataVariablesRep *dv, size_t offset, Var_Info *vi)
Check the histogram bin input data, normalize the counts and populate the histogramUncBinPairs map da...
Definition: NIDRProblemDescDB.cpp:3074
int contractAfterFail
the contract_after_failure specification for the SW method in MethodSCOLIBSW
Definition: DataMethod.hpp:630
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: JEGAOptimizer.hpp:638
void all_discrete_int_lower_bound(int adil_bnd, size_t i)
set a lower bound within the all discrete lower bounds array
Definition: DakotaConstraints.hpp:777
int evidenceSamples
number of prior samples to use in model evidence calculation
Definition: DataMethod.hpp:1217
RealVector deltaRespVariance
change in (DIAGONAL) response variance induced by a refinement candidate
Definition: NonDStochCollocation.hpp:134
void add_lhs_hifi_data()
supplement high-fidelity data with LHS samples
Definition: NonDBayesCalibration.cpp:1447
MixedVariables(const ProblemDescDB &problem_db, const ShortShortPair &view)
standard constructor
Definition: MixedVariables.cpp:25
void initialize_inactive_components()
initialize the inactive components totals given inactive variable counts
Definition: SharedVariablesData.hpp:1381
void set_evaluation_communicators(const IntArray &message_lengths)
convenience function for updating the local evaluation partition data following ParallelLibrary::init...
Definition: ApplicationInterface.cpp:174
IntVector discreteIntAleatoryUncUpperBnds
distribution upper bounds for all discrete integer aleatory uncertain variables
Definition: DataVariables.hpp:724
String errorFile
file name for error redirection (overrides command-line)
Definition: DataEnvironment.hpp:51
RealMatrix trendFunction
matrix to hold the trend function
Definition: GaussProcApproximation.hpp:208
static Real unbiased_mean_product_pairpair(const Real sumQ1, const Real sumQ2, const Real sumQ1Q2, const Real sumQ1sq, const Real sumQ2sq, const Real sumQ1sqQ2, const Real sumQ1Q2sq, const Real sumQ1sqQ2sq, const size_t Nlq)
compute the unbiased product of two pairs of products of sampling means
Definition: NonDMultilevelSampling.hpp:1683
void print_usage(std::ostream &s)
print restart utility help message
Definition: restart_util.cpp:180
void nested_variable_mappings(const SizetArray &c_index1, const SizetArray &di_index1, const SizetArray &ds_index1, const SizetArray &dr_index1, const ShortArray &c_target2, const ShortArray &di_target2, const ShortArray &ds_target2, const ShortArray &dr_target2)
set primaryA{CV,DIV,DRV}MapIndices, secondaryA{CV,DIV,DRV}MapTargets within derived Iterators; suppor...
Definition: NonDExpansion.hpp:627
void update_all_variables(const Model &model)
update all variable values from passed sub-model
Definition: RecastModel.cpp:1012
RealMatrix filteredFnVals
cached filtered function values for printing (may be a view of acceptedFnVals)
Definition: NonDBayesCalibration.hpp:511
Evaluation manager class for APPSPACK.
Definition: APPSEvalMgr.hpp:30
static bfs::path which(const std::string &driver_name)
Returns the bfs::path for the analysis driver, supporting typical windows filename extensions,...
Definition: WorkdirHelper.cpp:225
void sample_to_dsv(const Real *sample_vars, Variables &vars, size_t &adsv_index, size_t num_adsv, size_t &samp_index, const StringSetArray &dss_values)
helper function to copy a range from sample_vars to discrete string vars
Definition: NonDSampling.hpp:609
MPIUnpackBuffer(char *buf_, int size_, bool flag_=false)
Constructor that sets the internal buffer to the given array.
Definition: MPIPackBuffer.hpp:197
size_t numDIV
number of active discrete integer variables
Definition: SharedVariablesData.hpp:266
void objective_gradient(const RealVector &fn_vals, const RealMatrix &fn_grads, const BoolDeque &max_sense, const RealVector &primary_wts, RealVector &obj_grad) const
compute the gradient of the composite objective function
Definition: DakotaMinimizer.cpp:519
~ParallelLevel()
destructor
Definition: ParallelLibrary.hpp:150
SizetArray algebraicACVIndices
set of indices mapping AMPL algebraic variables to DAKOTA all continuous variables
Definition: DakotaInterface.hpp:467
pebbl::solution * extractSolution()
Method that returns a PEBBL-based solution.
Definition: PEBBLBranching.cpp:133
Real average_estimator_variance(const RealVector &cd_vars)
helper function that supports optimization APIs passing design variables
Definition: NonDMultilevBLUESampling.hpp:769
~NonDStochCollocation()
destructor
Definition: NonDStochCollocation.cpp:194
size_t regression_size()
return the regression size used for different refinement options
Definition: NonDC3FunctionTrain.cpp:148
void recast_model_view(const ShortShortPair &view_override)
layer a RecastModel on top of iteratedModel to enact a view override
Definition: DakotaAnalyzer.cpp:108
virtual void build_approximation(const RealVector &c_l_bnds, const RealVector &c_u_bnds, const IntVector &di_l_bnds, const IntVector &di_u_bnds, const RealVector &dr_l_bnds, const RealVector &dr_u_bnds)
builds the approximation
Definition: DakotaInterface.cpp:1125
std::ostream * outputStream
pointer to the stream for this writer
Definition: OutputManager.hpp:57
size_t total_variables()
return total number of variables
Definition: DataVariables.hpp:979
Real2DArray cv_diagnostics(const StringArray &metrics, unsigned num_folds)
approximation cross-validation quality metrics per response function
Definition: ApproximationInterface.cpp:879
NonDSparseGrid(Model &model, unsigned short ssg_level, const RealVector &dim_pref, short exp_coeffs_soln_approach, short driver_mode, short growth_rate=Pecos::MODERATE_RESTRICTED_GROWTH, short refine_control=Pecos::NO_CONTROL, bool track_uniq_prod_wts=true)
Definition: NonDSparseGrid.cpp:140
void copy_gsl(const QUESO::GslVector &qv, RealVector &rv)
local copy_data utility from GslVector to RealVector
Definition: NonDQUESOBayesCalibration.cpp:1112
void update_projected_samples(const MFSolutionData &soln, const SizetArray &N_H_actual, size_t &N_H_alloc, size_t &delta_N_H_actual, Real &delta_equiv_hf)
Definition: NonDMultifidelitySampling.cpp:316
DakotaROLIneqConstraints(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:602
size_t miPLIndex
index for the active ParallelLevel within ParallelConfiguration::miPLIters
Definition: DakotaNonD.hpp:381
RealVectorArray cellFnLowerBounds
Storage array to hold cell min.
Definition: NonDInterval.hpp:124
SizetArray startRankSeq
starting rank
Definition: DataMethod.hpp:854
void response_modify_n2s(const Variables &scaled_vars, const Response &native_response, Response &scaled_response, int start_offset, int num_responses) const
map reponses from native to scaled variable space
Definition: ScalingModel.cpp:987
void add_metadata_to_object(const StrStrSizet &iterator_id, const StringArray &location, const AttributeArray &attrs) override
Associate key:value metadata with the object at the location.
Definition: ResultsDBAny.hpp:106
Real rel_change_L2(const RealVector &curr_rv, const RealVector &prev_rv)
Computes relative change between RealVectors using Euclidean L2 norm.
Definition: dakota_data_util.cpp:79
void assign_rep(std::shared_ptr< Model > model_rep)
replaces existing letter with a new one
Definition: DakotaModel.cpp:372
void compute_best_sample()
determine meritFnStar from among the GP build data for use in EIF
Definition: EffGlobalMinimizer.cpp:700
virtual QUESO::SharedPtr< QUESO::BaseTKGroup< QUESO::GslVector, QUESO::GslMatrix > >::Type build_tk() override
build and return the custom TK
Definition: QUESOImpl.hpp:237
void apply_covariance_inv_sqrt(const RealVector &residuals, RealVector &weighted_residuals) const override
method to compute (v'*inv(C)^1/2), to compute weighted residual
Definition: ExperimentResponse.cpp:103
bool naturalOrdering
Ordering of the lattice points.
Definition: DataMethod.hpp:910
short primaryFnType
data set type for primary response: generic, objective, calibration
Definition: SharedResponseData.hpp:98
size_t acv() const
get total number of continuous vars
Definition: SharedVariablesData.hpp:1728
void nested_variable_mappings(const SizetArray &c_index1, const SizetArray &di_index1, const SizetArray &ds_index1, const SizetArray &dr_index1, const ShortArray &c_target2, const ShortArray &di_target2, const ShortArray &ds_target2, const ShortArray &dr_target2)
set primaryA{CV,DIV,DRV}MapIndices, secondaryA{CV,DIV,DRV}MapTargets within derived Iterators; suppor...
Definition: NonDAdaptImpSampling.hpp:194
StringArray all_ordered_labels() const
Return labels of all variables in "input spec" order.
Definition: DakotaModel.hpp:2726
void set_db_interface_node(const String &interface_tag)
set dataInterfaceIter based on the interface identifier string
Definition: ProblemDescDB.cpp:781
Model uSpaceModel
Model representing the approximate response function in u-space, after u-space recasting and polynomi...
Definition: NonDExpansion.hpp:394
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: DOTOptimizer.hpp:61
std::vector< int > constraintMapIndices
map from Dakota constraint number to APPS constraint number
Definition: DakotaOptimizer.hpp:539
void write(std::ostream &s) const
write a ParamResponsePair object to an std::ostream
Definition: ParamResponsePair.hpp:287
void DAKOTA_DLL_FN dakota_stop(int *id)
command DakotaRunner instance id to stop execution
Definition: dakota_dll_api.cpp:291
virtual void clear_model_keys()
reset initial state by removing all model keys for an approximation
Definition: DakotaApproximation.hpp:576
int random_seed() const
return specification for random seed (may be part of a sequence specification)
Definition: NonDMultilevelPolynomialChaos.hpp:150
String final_batch_id_tag()
form and return the final batch ID tag
Definition: ApplicationInterface.cpp:371
Iterator gpBuild
LHS iterator for building the initial GP.
Definition: NonDGPImpSampling.hpp:81
dakota (lowercase) namespace for new Dakota modules
Definition: DakotaSurrogates.hpp:18
void converge_statistics(bool cov_flag)
iteratively generate samples and select representative points until probability and (optionally) coef...
Definition: NonDAdaptImpSampling.cpp:502
UShortArray expansionOrderSeq
the expansion_order_sequence specification in MethodNonDPCE
Definition: DataMethod.hpp:990
Real lmaxs
radius for singular-convergence test (singular_radius)
Definition: NL2SOLLeastSq.hpp:130
bool fileTagFlag
flags tagging of parameter/results files
Definition: ProcessApplicInterface.hpp:152
virtual void numerical_solution_counts(size_t &num_cdv, size_t &num_lin_con, size_t &num_nln_con)
within ensemble_numerical_solution(), define the number of solution variables and constraints
Definition: NonDNonHierarchSampling.cpp:978
Response optInterfaceResponse
the response object resulting from optional interface evaluations
Definition: NestedModel.hpp:313
void operator()(const RealScale &scale)
Called by boost::apply_vistitor to process a RealScale.
Definition: ResultsDBHDF5.hpp:100
const IntVector & inactive_discrete_int_upper_bounds() const
return the inactive discrete upper bounds
Definition: DakotaConstraints.hpp:666
RealVector beta
vector of QMEA reduced space diagonal Hessian coefficients
Definition: QMEApproximation.hpp:89
void recover_paired_online_cost(RealVector &seq_cost, size_t step)
accumulate cost and counts and then perform averaging
Definition: NonDHierarchSampling.hpp:114
Real constraintTol
optimizer/least squares constraint tolerance
Definition: DakotaMinimizer.hpp:244
Class for the Dempster-Shafer Evidence Theory methods within DAKOTA/UQ.
Definition: NonDLocalEvidence.hpp:32
void compute_active_diagonal_variance()
calculate the diagonal response variance of the active expansion
Definition: NonDExpansion.cpp:2573
bool resize()
reinitializes iterator based on new variable size
Definition: DakotaVerification.cpp:48
void augmented_lagrangian_hessian(const RealVector &fn_vals, const RealMatrix &fn_grads, const RealSymMatrixArray &fn_hessians, const BoolDeque &sense, const RealVector &primary_wts, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_tgts, RealSymMatrix &alag_hess)
compute the Hessian of the augmented Lagrangian function
Definition: SurrBasedMinimizer.cpp:647
void compute_mf_correlation(Real sum_L, Real sum_H, Real sum_LL, Real sum_LH, Real sum_HH, size_t N_shared, Real &var_H, Real &rho2_LH)
compute scalar variance and correlation parameters for control variates
Definition: NonDMultilevControlVarSampling.hpp:427
void create_softlink(const String &link_location, const String &source_location)
Create a soft link.
Definition: HDF5_IO.cpp:481
Real constraintTolerance
tolerance for controlling the amount of infeasibility that is allowed before an active constraint is ...
Definition: DataMethod.hpp:345
ActiveSet()
default constructor
Definition: DakotaActiveSet.hpp:131
void update_field_labels()
update functionLabels with unrolled field labels based on fieldLabels and group lengths
Performs LHS and Monte Carlo sampling for uncertainty quantification.
Definition: NonDLHSSampling.hpp:43
friend bool operator==(const ActiveSet &set1, const ActiveSet &set2)
equality operator
int synchronous_local_analysis(int analysis_id)
Definition: GridApplicInterface.hpp:76
short outputLevel
The output verbosity level, can be one of {SILENT, QUIET, NORMAL, VERBOSE, DEBUG}_OUTPUT.
Definition: LowDiscrepancySequence.hpp:130
const ShortArray & active_set_request_vector() const
return the default active set request vector (used by iterators that employ evaluate_parameter_sets()...
Definition: DakotaIterator.hpp:764
int randomSeed
random seed for MCMC process
Definition: NonDBayesCalibration.hpp:311
std::vector< int > requestedEvals
Evaluations queued for asynch evaluation.
Definition: COLINApplication.hpp:114
std::vector< std::string > responseLabels
Names of the responses/QoIs; need not be populated.
Definition: SurrogatesBase.hpp:230
friend bool operator!=(const Response &resp1, const Response &resp2)
inequality operator
Definition: DakotaResponse.hpp:1056
void free_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
deallocate communicator partitions for a model
Definition: DakotaModel.cpp:4921
String postRunInput
filename for post_run input
Definition: ProgramOptions.hpp:261
void load_rep(Archive &ar, const unsigned int version)
read a Response letter object from an archive
void build_hi2lo_xmatrix(RealMatrix &Xmatrix, int i, const RealMatrix &mi_chain, RealMatrix &sim_error_matrix)
build matrix to calculate mutual information for calibrate_to_hifi
Definition: NonDBayesCalibration.cpp:1609
virtual ~QuesoVectorRV()
Virtual destructor.
Definition: QUESOImpl.cpp:105
std::vector< var_t > varTypeDVV
var_t enumerations corresponding to DVV components
Definition: DirectApplicInterface.hpp:192
RealMatrix simpleCorr
matrix to hold simple raw correlations
Definition: SensAnalysisGlobal.hpp:251
bool ownCommFlag
signals Comm ownership for deallocation
Definition: ParallelLibrary.hpp:111
bool allVars
flag for combined variable expansions which include a non-probabilistic subset (design,...
Definition: NonDExpansion.hpp:445
void insert(const StrStrSizet &iterator_id, const std::string &data_name, const boost::any &result, const MetaDataType &metadata) override
record addition with metadata map
Definition: ResultsDBAny.cpp:27
~CONMINOptimizer()
destructor
Definition: CONMINOptimizer.cpp:128
const String & interface_id() const
return the approxInterface identifier
Definition: DataFitSurrModel.hpp:992
void get_linear_constraints(Model &model, Real big_real_bound_size, typename AdapterT::VecT &lin_ineq_lower_bnds, typename AdapterT::VecT &lin_ineq_upper_bnds, typename AdapterT::VecT &lin_eq_targets, typename AdapterT::MatT &lin_ineq_coeffs, typename AdapterT::MatT &lin_eq_coeffs)
Definition: DakotaOptimizer.hpp:305
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDAdaptiveSampling.cpp:187
void all_discrete_real_variable(Real a_d_var, size_t i)
set a variable within the all discrete variables in currentVariables
Definition: DakotaModel.hpp:2253
Real logCovarianceDeterminant
cached sum of each experiment covariance's log determinant
Definition: ExperimentData.hpp:439
void active_vars_to_realarray(const Variables &vars, RealArrayType &ra)
aggregate active {continuous,discrete int,discrete real} variables into pre-sized array
Definition: SharedSurfpackApproxData.hpp:215
String interfacePointer
string pointer to the interface specification to be used by this model (from the interface_pointer sp...
Definition: DataModel.hpp:105
Nonintrusive stochastic collocation approaches to uncertainty quantification.
Definition: NonDMultilevelStochCollocation.hpp:29
String pstudyFilename
the import_points_file spec for a file-based parameter study
Definition: DataMethod.hpp:1387
RealMatrix priorCovCholFactor
the Cholesky factor of the prior covariance
Definition: NonDBayesCalibration.hpp:408
SharedResponseData simulationSRD
archived shared data for use in sizing fields, total functions (historically we read all functions,...
Definition: ExperimentData.hpp:463
bool weightFlag
flag indicating whether weighted least squares is active
Definition: DakotaLeastSq.hpp:71
void read(std::istream &s)
read a ParamResponsePair object from an std::istream
Definition: ParamResponsePair.hpp:283
unsigned short max_order() const
return active maximum value for basis order
Definition: SharedC3ApproxData.hpp:385
void add_tabular_solution_level_value(Model &model)
helper to select among Model::solution_level_{int,string,real}_value() for exporting a scalar solutio...
Definition: EnsembleSurrModel.cpp:2092
void build()
builds the shared approximation data from scratch
Definition: SharedC3ApproxData.hpp:682
BitArray extraDIVarsData
flags for updating subModel discrete int bounds and labels, one for each active discrete int variable...
Definition: NestedModel.hpp:397
bool message_pass() const
return messagePass
Definition: ParallelLibrary.hpp:318
void generate_pca_gp_realization()
generate a PCA/GP realization and write to file
Definition: RandomFieldModel.cpp:565
StringArray discreteDesignSetRealLabels
labels array for the discrete design variables defined by a real set (from the discrete_design_set re...
Definition: DataVariables.hpp:302
stop_grid_computing_t stop_grid_computing
handle to dynamically linked stop_grid_computing function
Definition: GridApplicInterface.hpp:112
RealVector xC
continuous variables used within direct simulator fns
Definition: DirectApplicInterface.hpp:171
RealVector discreteRealAleatoryUncLowerBnds
distribution lower bounds for all discrete real aleatory uncertain variables
Definition: DataVariables.hpp:743
RealVector expObservations
list of num_calibration_terms observation data
Definition: DataResponses.hpp:164
void default_instantiate_q_newton(void(*obj_eval)(int mode, int n, const RealVector &x, double &f, RealVector &grad_f, int &result_mode))
instantiate an OPTPP_Q_NEWTON solver using standard settings
Definition: SNLLOptimizer.cpp:654
void user_proposal_covariance(const String &input_fmt, const RealVector &cov_data, const String &cov_filename)
Set proposal covariance from user-provided diagonal or matrix.
Definition: NonDQUESOBayesCalibration.cpp:754
bool plugin_interface(const String &model_type, const String &interf_type, const String &an_driver, Interface *plugin_iface)
DEPRECATED raw pointer version: transfers memory ownership to Dakota Plug-in the passed interface int...
Definition: LibraryEnvironment.cpp:96
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: NLPQLPOptimizer.hpp:95
size_t idsvStart
start index of inactive discrete string vars within allDiscreteStringVars
Definition: SharedVariablesData.hpp:262
TraitsBase()
default constructor
Definition: DakotaTraitsBase.cpp:23
size_t numLinearIneqConstraints
number of linear inequality constraints
Definition: DakotaMinimizer.hpp:257
int serverCommSize
size of serverIntraComm
Definition: ParallelLibrary.hpp:128
std::shared_ptr< QUESO::FullEnvironment > quesoEnv
top-level QUESO Environment
Definition: NonDQUESOBayesCalibration.hpp:189
void increment_order_from_grid()
define an expansion order that is consistent with an advancement in structured/unstructured grid leve...
Definition: NonDPolynomialChaos.cpp:1133
Real getRmax(const RealMatrix &xset)
Definition: GaussProcApproximation.cpp:110
void resize_final_statistics_gradients()
resizes finalStatistics::functionGradients based on finalStatistics ASV
Definition: DakotaNonD.cpp:624
Iterator subNLPSolver
Solver used for sub-problems.
Definition: PEBBLBranching.hpp:57
void evaluate_nowait()
Spawn an asynchronous job (or jobs) that computes the value of the Response at currentVariables (defa...
Definition: DakotaModel.cpp:1289
void accumulate_group_sums(IntRealMatrixArrayMap &sum_G, Sizet2DArray &num_G, const IntResponse2DMap &batch_resp_map)
Definition: NonDNonHierarchSampling.cpp:2372
void clear()
deallocate the communicators in this ParallelLevel
Definition: ParallelLibrary.hpp:171
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
reset sampling iterator to use at least min_samples
Definition: FSUDesignCompExp.hpp:140
BitArray cdiv_to_all_mask() const
create a BitArray indicating the complement discrete int subset of all {continuous,...
Definition: SharedVariablesData.hpp:1301
int matlab_engine_run(const Dakota::String &ac_name)
Helper function supporting derived_map_ac. Sends data to Matlab, executes analysis,...
Definition: MatlabInterface.cpp:133
int serve_init_mapping(ParLevLIter pl_iter)
called from IteratorScheduler::init_iterator() for iteratorComm rank != 0 to balance resize() calls o...
Definition: SubspaceModel.cpp:441
void dg_ds_eval(const RealVector &x_vars, const RealVector &fn_grad_x, RealVector &final_stat_grad)
convenience function for evaluating dg/ds
Definition: NonDLocalReliability.cpp:2180
bool chainDiagnosticsCI
flag indicating calculation of confidence intervals as a chain diagnositc
Definition: NonDBayesCalibration.hpp:439
static void primary_resp_reducer(const Variables &full_vars, const Variables &reduced_vars, const Response &full_response, Response &reduced_response)
Recast callback to reduce multiple objectives or residuals to a single objective, with gradients and ...
Definition: DakotaOptimizer.cpp:413
Real truncationTolerance
Truncation tolerance for eigenvalue energy subspace identification.
Definition: ActiveSubspaceModel.hpp:275
void pre_combine()
aggregate the shared approximation data from current and stored states
Definition: SharedPecosApproxData.hpp:251
static void problem_size(int &chain_num, int &cr_num, int &gen_num, int &pair_num, int &par_num)
initializer for problem size characteristics in WASABI
Real nearbyTolerance
tolerance value for tolerance-based duplication detection
Definition: ApplicationInterface.hpp:480
void operator&(const T &data_out)
serialize the passed data_out to the restart file
Definition: OutputManager.hpp:141
void peer_static_schedule_evaluations()
blocking static schedule of all evaluations in beforeSynchCorePRPQueue using message passing on a pee...
Definition: ApplicationInterface.cpp:1064
bool duplication_detect(const Variables &vars, Response &response, bool asynch_flag)
checks data_pairs and beforeSynchCorePRPQueue to see if the current evaluation request has already be...
Definition: ApplicationInterface.cpp:593
const RealVector & inactive_discrete_real_variables() const
return the inactive discrete real variables
Definition: DakotaVariables.hpp:1487
size_t mi_parallel_level_index() const
return subModel's MI parallel level index
Definition: RecastModel.hpp:1052
RealVector continuousStateUpperBnds
upper bounds array for the continuous state variables (from the continuous_state upper_bounds specifi...
Definition: DataVariables.hpp:613
virtual void append_approximation(bool rebuild_flag)
append to the existing approximation data within a surrogate based on data updates propagated elsewhe...
Definition: DakotaModel.cpp:4093
~NonDC3FunctionTrain()
destructor
Definition: NonDC3FunctionTrain.cpp:144
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: GaussProcApproximation.cpp:160
short expansionBasisType
enumeration for type of basis in sparse grid interpolation (Pecos::{NODAL,HIERARCHICAL}_INTERPOLANT) ...
Definition: DataMethod.hpp:981
std::vector< Approximation > & approximations()
retrieve the set of Approximations from approxInterface
Definition: DataFitSurrModel.hpp:821
unsigned short quadOrderSpec
user request of quadrature order
Definition: NonDPolynomialChaos.hpp:240
bool w_parallel_level_defined() const
test for definition of world parallel level
Definition: ParallelLibrary.hpp:562
RealVector negBinomialUncProbPerTrial
probabilities per each trial (p) for the negative binomial uncertain variables from the prob_per_tria...
Definition: DataVariables.hpp:472
bool seed_updated()
Definition: NonDEnsembleSampling.hpp:306
virtual bool derived_master_overload() const
Return a flag indicating the combination of multiprocessor evaluations and a dedicated master iterato...
Definition: DakotaModel.cpp:3384
void master_dynamic_schedule_evaluations_nowait()
execute a nonblocking dynamic schedule in a master-slave partition
Definition: ApplicationInterface.cpp:1527
void inflate(const StringArray &labels, size_t num_replicates, StringArray &new_labels) const
replicate a label array when resizing a response
Definition: EnsembleSurrModel.hpp:486
std::string oFilterName
the name of the output filter (output_filter user specification)
Definition: ProcessApplicInterface.hpp:170
void assign(const ParallelConfiguration &pl)
assign the attributes of the incoming pl to this object
Definition: ParallelLibrary.hpp:507
size_t numADRV
total number of discete real variables
Definition: DirectApplicInterface.hpp:158
bool lf_perform_samples(size_t iter, size_t lev)
parameter set definition and evaluation for LF sample increment
Definition: NonDMultilevControlVarSampling.cpp:1162
Iterator mppOptimizer
Iterator which optimizes the mppModel.
Definition: NonDReliability.hpp:68
bool joe_kuo
Predefined generating matrices.
Definition: DataMethod.hpp:932
size_t wait_local_analyses()
wait for asynchronous analyses on the local processor, completing at least one job
Definition: SpawnApplicInterface.cpp:181
size_t adiv() const
get total number of discrete int vars
Definition: SharedVariablesData.hpp:1732
int asynchLocalAnalysisConcurrency
limits the number of concurrent analyses in asynchronous local scheduling and specifies hybrid concur...
Definition: ApplicationInterface.hpp:237
~EnsembleSurrModel()
destructor
Definition: EnsembleSurrModel.hpp:469
Variables operator=(const Variables &vars)
assignment operator
void unpack(u_char *data, const int num=1)
Unpack one or more unsigned char's.
Real finalProb
the final calculated probability (p)
Definition: NonDGPImpSampling.hpp:96
void assign_instance()
assign static pointer instance to this for use in static transformation functions
Definition: WeightingModel.hpp:70
void clear_inactive()
clear inactive approximation data
Definition: SharedPecosApproxData.hpp:247
bool transformVars
boolean flag to determine if variables should be transformed to u-space before active subspace initia...
Definition: ActiveSubspaceModel.hpp:236
bool consistent(const Variables &vars) const
test if inactive state is consistent
Definition: DataFitSurrModel.cpp:1443
void mixed_add(const Variables &vars, const IntResponsePair &response_pr, bool anchor)
add variables/response data to functionSurfaces using a mixture of shallow and deep copies
Definition: ApproximationInterface.cpp:738
UInt32 reorder_natural(UInt32 k)
Position of the kth lattice point in RANK_1_LATTICE_NATURAL_ORDERING.
Definition: Rank1Lattice.cpp:446
void fine_grained_evaluation_counters()
request fine-grained evaluation reporting within optionalInterface and subModel
Definition: NestedModel.hpp:683
const String & interface_id() const
return the optionalInterface identifier
Definition: NestedModel.hpp:659
Real hybridLSProb
local search probability for embedded hybrids (from the local_search_probability specification)
Definition: DataMethod.hpp:417
void active_view(short view, bool recurse_flag=true)
update the Model's active view based on higher level context and optionally recurse into subModel
Definition: RecastModel.hpp:1124
void bcast_a(int &data)
broadcast an integer across an analysis communicator
Definition: ParallelLibrary.hpp:1826
StrStrSizet iteratorID
Iterator ID for the method and execuation.
Definition: ResultsDBHDF5.hpp:142
void clear_covariance_pointers()
clear covariance pointers to other QoI
Definition: PecosApproximation.hpp:437
bool firstUpdate
boolean to trigger one-time updates on first call to update_sub_model()
Definition: NestedModel.hpp:259
Bayesian inference using the QUESO library from UT Austin.
Definition: NonDQUESOBayesCalibration.hpp:46
virtual void select_refinement_points(const RealVectorArray &candidate_samples, unsigned short batch_size, RealMatrix &best_samples)
evaluate allSamples for inclusion in the (PCE regression) approximation and retain the best set (well...
Definition: NonDExpansion.cpp:1822
unsigned short preRunOutputFormat
tabular format for pre_run output
Definition: ProgramOptions.hpp:264
void truncate_to_cell_bounds(RealVector &initial_pt)
truncate initial_pt to respect current cell lower/upper bounds
Definition: NonDLocalEvidence.cpp:58
void all_discrete_int_variable(int adi_var, size_t index)
set a variable within the all discrete array
Definition: DakotaVariables.hpp:1649
std::map< int, IntSizetPair > msgPassRunningMap
used by nonblocking message passing schedulers to bookkeep which jobs are running remotely
Definition: ApplicationInterface.hpp:540
BitArray idsv_to_all_mask() const
create a BitArray indicating the inactive discrete string subset of all {continuous,...
Definition: SharedVariablesData.hpp:1321
void compute_mf_control(Real sum_L, Real sum_H, Real sum_LL, Real sum_LH, size_t N_shared, Real &beta)
compute scalar control variate parameters
Definition: NonDEnsembleSampling.hpp:480
void interface_response_overlay(const Response &opt_interface_response, Response &mapped_response)
assign the response from the optional interface evaluation within the total response for the model
Definition: NestedModel.cpp:1705
~SurrBasedGlobalMinimizer()
destructor
Definition: SurrBasedGlobalMinimizer.cpp:87
Real aggregate_variance_Qsum(const Real *sum_Ql, const Real *sum_Qlm1, const Real *sum_QlQl, const Real *sum_QlQlm1, const Real *sum_Qlm1Qlm1, const SizetArray &N_l, const size_t lev)
sum up variances across QoI for given level
Definition: NonDMultilevelSampling.hpp:792
UShortArray linIneqScaleTypes
linear inequality constraint scale types
Definition: ScalingOptions.hpp:52
RealVector mostProbPointU
location of MPP in u-space
Definition: NonDLocalReliability.hpp:306
void check_support(Pecos::MultivariateDistribution &mv_dist)
Check if this multivariate distribution is supported by low-discrepancy sampling methods.
Definition: NonDLowDiscrepancySampling.cpp:329
exception thrown when data read truncated
Definition: dakota_global_defs.hpp:104
size_t maxFunctionEvals
maximum number of fn evaluations for the method
Definition: DakotaIterator.hpp:493
The database containing information parsed from the DAKOTA input file.
Definition: ProblemDescDB.hpp:44
Real statsRoundingTol
arithmetic (rounding) tolerance for FT sums and products
Definition: DataModel.hpp:424
void build_default_data(std::string &url, std::time_t &rawtime, const std::string &mode) const
construct URL with shared information for start/finish
Definition: TrackerHTTP.cpp:194
virtual void perform_evaluation_impl(const utilib::Any &domain, const colin::AppRequest::request_map_t &requests, utilib::seed_t &seed, colin::AppResponse::response_map_t &colin_responses)
Perform a function evaluation at t given point.
Definition: COLINApplication.cpp:280
void build_approximation(const RealVector &c_l_bnds, const RealVector &c_u_bnds, const IntVector &di_l_bnds, const IntVector &di_u_bnds, const RealVector &dr_l_bnds, const RealVector &dr_u_bnds)
Definition: ApproximationInterface.cpp:607
std::map< Pecos::ActiveKey, bool > formUpdated
tracker for changes in order,rank configuration since last build (used by DataFitSurrModel::rebuild_a...
Definition: SharedApproxData.hpp:275
IntegerScale(const std::string &label, const int *in_items, const int len, ScaleScope scope=ScaleScope::UNSHARED)
Constructor that takes a pointer to int and length.
Definition: dakota_results_types.hpp:335
const String & error_file() const
error file base name (no tag)
Definition: ProgramOptions.cpp:136
RealArray realWorkSpace
real work space for NPSOL/NLSSOL
Definition: SOLBase.hpp:165
void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to AdapterModel
Definition: AdapterModel.cpp:164
void update_quasi_hessians(const Variables &vars, Response &new_response, const ActiveSet &original_set)
perform quasi-Newton Hessian updates
Definition: DakotaModel.cpp:2764
std::shared_ptr< QUESO::GPMSAOptions > gpmsaOptions
Configuration options for the GPMSA solver.
Definition: NonDGPMSABayesCalibration.hpp:146
virtual const RealSymMatrix & hessian(const Variables &vars)
retrieve the approximate function Hessian for a given parameter vector
Definition: DakotaApproximation.cpp:434
virtual void pre_push()
push a previous state of the shared approximation data
Definition: SharedApproxData.cpp:372
const Model & get_model()
retrieve an existing Model, if it exists, or instantiate a new one
Definition: ProblemDescDB.cpp:1040
bool operator==(const SharedResponseDataRep &other)
experimental operator== for use in unit testing
void principal_curvatures(const RealVector &mpp_u, const RealVector &fn_grad_u, const RealSymMatrix &fn_hess_u, RealVector &kappa_u)
Compute the kappaU vector of principal curvatures from fnHessU.
Definition: NonDLocalReliability.cpp:2665
String hessianType
type of Hessian data: analytic, numerical, quasi, mixed, or none
Definition: DakotaModel.hpp:1429
void archive_from_resp(size_t fn_index, size_t inc_id=0)
archive the mappings from specified response levels for specified fn
Definition: DakotaNonD.cpp:1470
void parallel_configuration_iterator(ParConfigLIter pc_iter)
set the current ParallelConfiguration node
Definition: ParallelLibrary.hpp:1070
ParConfigLIter parallel_configuration_iterator() const
return methodPCIter
Definition: DakotaIterator.hpp:619
UInt32 kuo_d3600_m20[]
Recommended generating vector from Kuo's website https://web.maths.unsw.edu.au/~fkuo/lattice/index....
Definition: low_discrepancy_data.cpp:17
void inactive_variables(const Variables &vars)
set the inactive variables in currentVariables
Definition: DakotaModel.hpp:1830
void generalized_acv_offline_pilot()
Definition: NonDGenACVSampling.cpp:610
void allocate_arrays(int num_cv, size_t num_nln_con, const RealMatrix &lin_ineq_coeffs, const RealMatrix &lin_eq_coeffs)
Allocates F77 arrays for the SOL algorithms.
Definition: SOLBase.cpp:118
std::vector< Variables > allConfigVars
Vector of numExperiments configurations at which data were gathered; empty if no configurations speci...
Definition: ExperimentData.hpp:479
void check_response_map(const ShortArray &mapped_asv)
check function counts for the mapped_asv
Definition: NestedModel.cpp:1990
void initialize_active_components()
initialize the active components totals given active variable counts
Definition: SharedVariablesData.hpp:1377
int scilabEngine
identifier for the running Scilab enginer
Definition: ScilabInterface.hpp:42
int dakotaWorldSize
size of MPI_Comm in which DAKOTA is running
Definition: MPIManager.hpp:67
RealVector lower_bounds
Lower bounds for root node.
Definition: PEBBLBranching.hpp:30
VectorXd variance(const MatrixXd &eval_points, const int qoi)
Evaluate the variance of the Gaussian Process at a set of prediction points for a given QoI index.
Definition: SurrogatesGaussianProcess.cpp:475
std::shared_ptr< HDF5IOHelper > hdf5Stream
Instance of HDF5IOHelper.
Definition: ResultsDBHDF5.hpp:150
void derived_evaluate_nowait(const ActiveSet &set)
Definition: EnsembleSurrModel.cpp:731
OPTPP::NLP0 * nlfConstraint
constraint NLF base class pointer
Definition: SNLLOptimizer.hpp:316
OPTPP::SearchStrategy searchStrat
enum: LineSearch, TrustRegion, or TrustPDS
Definition: SNLLBase.hpp:139
static void cache_chain(const double *const z)
Callback to archive the chain from DREAM, potentially leaving it in u-space.
Definition: NonDDREAMBayesCalibration.cpp:437
unsigned short sampling_scheme() const
return sampleType
Definition: NonDSampling.hpp:532
size_t numGammaUncVars
number of gamma uncertain variables (from the gamma_uncertain specification in VarAUV)
Definition: DataVariables.hpp:140
Real solverTol
optimization tolerance for FT regression
Definition: DataModel.hpp:420
const SizetArray & nested_acv1_indices() const
return primaryACVarMapIndices
Definition: EnsembleSurrModel.hpp:527
RealVector stdRegressCODs
vector to hold coefficients of determination, eg R^2 values
Definition: SensAnalysisGlobal.hpp:262
void increment_sums(Real *sum_l, const Real *incr, size_t len)
increment samples array with a shared scalar
Definition: NonDEnsembleSampling.hpp:388
ShortArray requestVector
the vector of response requests
Definition: DakotaActiveSet.hpp:123
void all_discrete_int_lower_bound(int a_d_l_bnd, size_t i)
set a lower bound within all discrete lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3226
void convert_moments(const RealMatrix &raw_mom, RealMatrix &final_mom)
convert uncentered raw moments (multilevel expectations) to standardized moments
Definition: NonDEnsembleSampling.cpp:391
void configure_nonlinear_ineq_adapters(NONLINEAR_INEQUALITY_FORMAT, const Constraints &, bool split_eqs)
Construct nonlinear inequality maps needed to exchange data to/from Dakota and the TPL.
Definition: DakotaTPLDataTransfer.cpp:62
Definition: library_mode.cpp:57
int * MS1
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:234
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: SNLLOptimizer.hpp:60
size_t numSamples
the current number of samples to evaluate
Definition: NonDSampling.hpp:306
RealMatrix field_gradients_view(size_t i) const
return a view of the gradients of each element of the i-th field
Definition: DakotaResponse.hpp:993
std::shared_ptr< TrackerHTTP > pTrackerHTTP
posts usage data to Web server; using shared_ptr due to potentially incomplete type and requirements ...
Definition: UsageTracker.hpp:51
const String & function_label(size_t i) const
return a response function identifier string
Definition: SharedResponseData.hpp:385
int scoringMethod
the type of scoring metric to use for sampling
Definition: NonDAdaptiveSampling.hpp:92
void rebuild_global()
Rebuilds a global approximation by generating new data using daceIterator and appending to approxInte...
Definition: DataFitSurrModel.cpp:1271
virtual std::shared_ptr< Surrogate > clone() const =0
clone derived Surrogate class for use in cross-validation
int crossoverChainPairs
number of crossover chain pairs
Definition: NonDDREAMBayesCalibration.hpp:102
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: CONMINOptimizer.hpp:42
void push_coefficients()
restores state prior to previous pop()
Definition: C3Approximation.cpp:519
ResponseList responseList
list of response objects, one for each responses specification
Definition: ProblemDescDB.hpp:500
void scale_residuals(const Response &residual_response, RealVector &scaled_residuals) const
Apply the experiment data covariance to the residual data (scale functions by Gamma_d^{-1/2}),...
Definition: ExperimentData.cpp:1201
unsigned short analyticCovIdForm
Contains which type of analytic covariance function.
Definition: DataModel.hpp:490
SizetMultiArrayConstView continuous_variable_ids() const
return the active continuous variable identifiers from currentVariables
Definition: DakotaModel.hpp:2055
Model actualModel
the truth model which provides evaluations for building the surrogate (optional for global,...
Definition: DataFitSurrModel.hpp:417
bool adaptRank
internal C3 adaptation that identifies the best rank representation for a set of sample data based on...
Definition: SharedC3ApproxData.hpp:254
void initialize_active_components()
initialize activeVarsCompsTotals given {c,di,dr}vStart and num{C,DI,DR}V
RealVector linearIneqConUpperBnds
linear inequality constraint upper bounds
Definition: DakotaConstraints.hpp:385
PRPQueue subIteratorPRPQueue
job queue for asynchronous execution of subIterator jobs
Definition: NestedModel.hpp:285
Real * r
residual r = r(x)
Definition: NL2SOLLeastSq.cpp:117
RealVector trainMeans
The mean of the input columns of trainPoints.
Definition: GaussProcApproximation.hpp:202
virtual ~NOWPACTraits()
destructor
Definition: NOWPACOptimizer.hpp:157
void unpack(short &data)
Unpack a short.
Definition: MPIPackBuffer.hpp:253
void init_model(Model &model)
initialize model with data that could change once per set of evaluations (e.g., an outer iterator exe...
Definition: EnsembleSurrModel.cpp:451
Base class for the model class hierarchy.
Definition: DakotaModel.hpp:61
virtual int derived_map_of(const Dakota::String &of_name)
execute the output filter portion of a direct evaluation invocation
Definition: DirectApplicInterface.cpp:243
void finite_solution_bounds(const RealVector &x0, RealVector &x_lb, RealVector &x_ub)
When looping through a minimizer sequence/competition, this function enables per-minimizer updates to...
Definition: NonDNonHierarchSampling.cpp:1183
DakotaROLEqConstraintsHess(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:811
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: SurrBasedLocalMinimizer.cpp:344
~TPLDataTransfer()
destructor
Definition: DakotaTPLDataTransfer.hpp:31
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDPolynomialChaos.cpp:897
int vbdViaSamplingNumBins
number of bins for using with the Mahadevan sampling method for computing variance-based decompositio...
Definition: NonDLHSSampling.hpp:174
bool empty_queues() const
helper for checking queued jobs in vars{Acquisition,Exploration}Map
Definition: EffGlobalMinimizer.hpp:397
short outputLevel
output verbosity level: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT
Definition: DakotaInterface.hpp:373
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: PEBBLMinimizer.hpp:36
RealMatrix pceGradsMeanX
derivative of the PCE with respect to the x-space variables evaluated at the means (used as uncertain...
Definition: NonDPolynomialChaos.hpp:246
bmi::multi_index_container< Dakota::ParamResponsePair, bmi::indexed_by< bmi::ordered_unique< bmi::tag< ordered >, bmi::const_mem_fun< Dakota::ParamResponsePair, int, &Dakota::ParamResponsePair::eval_id > >, bmi::hashed_non_unique< bmi::tag< hashed >, bmi::identity< Dakota::ParamResponsePair >, partial_prp_hash, partial_prp_equality > > > PRPMultiIndexQueue
Boost Multi-Index Container for locally queueing ParamResponsePairs.
Definition: PRPMultiIndex.hpp:208
Real variance_mean_Qsum(const IntRealMatrixMap &sum_Ql, const IntRealMatrixMap &sum_Qlm1, const IntIntPairRealMatrixMap &sum_QlQlm1, const Sizet2DArray &N_l, const size_t step, const size_t qoi)
wrapper for variance_Qsum
Definition: NonDMultilevelSampling.cpp:985
static void Vchk_DiscreteIntervalUnc(DataVariablesRep *dv, size_t offset, Var_Info *vi)
Check the discrete interval uncertain input data and populate DataVariables::discreteIntervalUncBasic...
Definition: NIDRProblemDescDB.cpp:3884
H5::Group create_groups(const std::string &name, bool includes_dset=true) const
Create a group hierarchy (final token optionally a dataset name)
Definition: HDF5_IO.cpp:283
~PebbldBranching()
Destructor.
Definition: PEBBLBranching.cpp:22
bool finalize_mapping()
Definition: DataFitSurrModel.cpp:416
ScalarType sum(const ScalarType *ptr, OrdinalType ptr_len)
compute sum of a set of observations
Definition: dakota_stat_util.hpp:40
virtual const RealSymMatrix & response_error_estimates() const
return error estimates associated with the final iterator solution
Definition: DakotaIterator.cpp:1478
void build_global()
Builds a global approximation using daceIterator.
Definition: DataFitSurrModel.cpp:1128
~GridApplicInterface()
destructor
Definition: GridApplicInterface.cpp:87
SizetArray primaryACVarMapIndices
"primary" all continuous variable mapping indices flowed down from higher level iteration
Definition: EnsembleSurrModel.hpp:320
A version of TraitsBase specialized for NL2SOL nonlinear least squares library.
Definition: NL2SOLLeastSq.hpp:26
BoolList dbCaptureList
transfers db_capture flag values from estimate_derivatives() to synchronize_derivatives()
Definition: DakotaModel.hpp:1656
void iterated_model(const Model &model)
set the iteratedModel (iterators and meta-iterators using a single model instance)
Definition: DakotaIterator.hpp:636
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NL2SOLLeastSq.hpp:36
void write_parameters_file(const Variables &vars, const ActiveSet &set, const Response &response, const std::string &prog, const std::vector< String > &an_comps, const std::string ¶ms_fname, const bool file_mode_out=true)
write the variables, active set vector, derivative variables vector, and analysis components to the s...
Definition: ProcessApplicInterface.cpp:609
int pointsTotal
total points the user specified to construct the surrogate
Definition: DataFitSurrModel.hpp:444
BitArray cv_to_all_mask(bool cdv, bool cauv, bool ceuv, bool csv) const
create a BitArray indicating the active continuous subset of all {continuous,discrete {int,...
static void PMA_constraint_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the constraint function in the first-order Performance Measure Approach (PMA)...
Definition: NonDLocalReliability.cpp:2038
MatrixXd compute_second_deriv_pred_gram(const MatrixXd &pred_gram, const std::vector< MatrixXd > &mixed_dists, const VectorXd &theta_values, const int index_i, const int index_j) override
Compute the second derivatve of the prediction matrix for a pair of components.
Definition: SurrogatesGPKernels.cpp:103
void trans_U_to_X(const RealVector &u_c_vars, RealVector &x_c_vars)
transform u-space variable values to x-space
Definition: SurrogateModel.hpp:264
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NL2SOLLeastSq.hpp:39
virtual const IntResponseMap & synchronize_nowait()
recovers data from a series of asynchronous evaluations (nonblocking)
Definition: DakotaInterface.cpp:839
C3FnTrainData prevC3FTData
the previous approximation, cached for restoration
Definition: C3Approximation.hpp:230
void derived_set_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set active parallel configuration within subModel
Definition: NestedModel.cpp:628
size_t drv() const
number of active discrete real vars
Definition: DakotaVariables.hpp:733
IntVector discreteStateRangeLowerBnds
lower bounds array for the discrete state variables defined by an integer range (from the discrete_st...
Definition: DataVariables.hpp:622
RealVector fnVals
response fn values within direct simulator fns
Definition: DirectApplicInterface.hpp:207
void exit_mode(const String &mode="exit")
allow environment clients to set Dakota exit behavior (throw vs. exit)
Definition: DakotaEnvironment.cpp:198
void run_point_selection()
Runs the point selection algorithm, which will choose a subset of the training set with which to cons...
Definition: GaussProcApproximation.cpp:955
void check_num_samples(const size_t num_var_samples, const size_t num_response_samples, const char *method_name)
Checks there are a nonzero number of samples and that the number of samples agree between variables a...
Definition: SensAnalysisGlobal.cpp:187
virtual size_t num_samples() const
get the current number of samples
Definition: DakotaIterator.cpp:1679
PRPQueue beforeSynchCorePRPQueue
used to bookkeep vars/set/response of nonduplicate asynchronous core evaluations. This is the queue o...
Definition: ApplicationInterface.hpp:528
void peer_static_schedule_evaluations_nowait()
execute a nonblocking static schedule in a peer partition
Definition: ApplicationInterface.cpp:1661
Iterator & subordinate_iterator()
return daceIterator
Definition: DataFitSurrModel.hpp:618
UShortMultiArrayConstView all_discrete_real_variable_types() const
return all discrete variable types
Definition: DakotaVariables.hpp:1776
Interface & derived_interface()
return subModel interface
Definition: RecastModel.hpp:858
size_t numSubIterMappedIneqCon
number of top-level inequality constraints mapped from the sub-iteration results
Definition: NestedModel.hpp:300
void reshape_metadata(size_t num_meta)
rehapes response metadata arrays
void combined_to_active(bool clear_combined=true)
promote the combined approximation into the active one
Definition: DataFitSurrModel.cpp:958
const std::vector< RespMetadataT > & metadata() const
get the (possibly empty) response metadata; (get labels through shared_data())
Definition: DakotaResponse.hpp:879
Real failThresh
the failure threshold (z-bar) for the problem.
Definition: NonDAdaptImpSampling.hpp:185
void assign_value(vecType &target, valueType val)
assign a value to an arbitrary vector
Definition: dakota_data_util.hpp:402
std::tuple< UInt64Matrix, int, int > get_data(ProblemDescDB &problem_db)
Extract the generating matrices, corresponding log2 of the maximum number of points and number of bit...
Definition: DigitalNet.cpp:341
void reset_all()
blow away all data for all keys
Definition: NonDSparseGrid.hpp:180
void calibrate()
Definition: NonDDREAMBayesCalibration.cpp:154
void peer_static_schedule_iterators(MetaType &meta_object, Iterator &sub_iterator)
executed on iterator peers to manage a static schedule of iterator jobs
Definition: IteratorScheduler.hpp:408
IntResponseMap recastResponseMap
map of recast responses used by RecastModel::derived_synchronize() and RecastModel::derived_synchroni...
Definition: RecastModel.hpp:556
void store(const char *name, const char *value)
Store a specified option value.
Definition: CommandLineHandler.cpp:313
int get_mc_ptr_int()
get the DAKOTA pointer to ModelCenter
Definition: dakota_dll_api.cpp:304
Real gradDotGrad_init
initial gradient norm squared
Definition: NonlinearCGOptimizer.hpp:140
VectorXd grad_old
Previously computed gradient of the objective function.
Definition: SurrogatesGPObjective.hpp:103
Wrapper class for the FSUDace QMC/CVT library.
Definition: FSUDesignCompExp.hpp:30
Iterator operator=(const Iterator &iterator)
assignment operator
Definition: DakotaIterator.cpp:816
bool interpolateFlag
whether one should interpolate between the experiment and simulation field data
Definition: DataResponses.hpp:160
void print_level_map(std::ostream &s, size_t fn_index, const String &qoi_label) const
Print level mapping for a single response function to ostream.
Definition: DakotaNonD.cpp:1080
Derived approximation class for Surrogates Polynomial approximation classes.
Definition: DakotaSurrogatesPoly.hpp:22
size_t adsv() const
get total number of discrete string vars
Definition: SharedVariablesData.hpp:1736
RealVector function_values_view()
return all function values as a view for updating in place
Definition: DakotaResponse.hpp:610
size_t miPLIndex
index of active parallel level (corresponding to ParallelConfiguration::miPLIters) to use for paralle...
Definition: IteratorScheduler.hpp:181
void clear_inactive()
clear inactive approximation data
Definition: ApproximationInterface.hpp:522
virtual const String2DArray & analysis_components() const
retrieve the analysis components, if available
Definition: DakotaInterface.cpp:1470
RealVector invGammaBetas
alphas for inverse gamma distribution on hyper-params
Definition: NonDBayesCalibration.hpp:419
unsigned short softConvLimit
number of consecutive iterations within tolerance required to indicate soft convergence
Definition: NonDExpansion.hpp:521
void build_local_multipoint()
Builds a local or multipoint approximation using actualModel.
Definition: DataFitSurrModel.cpp:1083
std::shared_ptr< Interface > get_interface(ProblemDescDB &problem_db)
Used by the envelope to instantiate the correct letter class.
Definition: DakotaInterface.cpp:202
int derived_evaluation_id() const
return the current evaluation id (simModelEvalCntr)
Definition: SimulationModel.hpp:421
int populationSize
the population_size specification for GA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:744
double CTLMIN
Minimum value of CTL used during optimization.
Definition: CONMINOptimizer.hpp:202
DataMethod & operator=(const DataMethod &)
assignment operator
Definition: DataMethod.cpp:788
NonDReliability(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDReliability.cpp:20
boost::filesystem::path dataPathPrefix
path to prepend to any data file names
Definition: ExperimentData.hpp:442
int min_coefficients() const override
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: DakotaSurrogatesPython.cpp:55
ActiveSet(size_t num_fns, size_t num_deriv_vars)
standard constructor
char optmarker
option marker
Definition: CommandLineHandler.hpp:113
size_t numIterPrimaryFns
number of objective functions or least squares terms in iterator's view, after transformations; alway...
Definition: DakotaMinimizer.hpp:277
void accumulate_mlmf_Qsums(IntRealMatrixMap &sum_Ql, IntRealMatrixMap &sum_Qlm1, size_t lev, SizetArray &num_Q)
update running QoI sums for one model at two levels (sum_Ql, sum_Qlm1) using set of model evaluations...
Definition: NonDMultilevControlVarSampling.cpp:1488
void refinement_statistics_mode(short stats_mode)
update statsMetricMode, here and in Pecos::ExpansionConfigOptions
Definition: NonDExpansion.cpp:2011
const RealSymMatrixArray & function_hessians() const
return all function Hessians
Definition: DakotaResponse.hpp:782
bool method_in_cache(const StrStrSizet &iterator_id) const
Check whether the name has already been added to a method group.
Definition: ResultsDBHDF5.cpp:261
const std::tuple< UInt32Vector, int > get_generating_vector_from_file(ProblemDescDB &problem_db)
Case I: the generating vector is provided in an external file.
Definition: Rank1Lattice.cpp:285
void create_tabular_header(const Variables &vars, const Response &resp)
output a complete header to the tabular datastream
Definition: OutputManager.cpp:442
IntResponseMap cachedResponseMap
Set of available asynchronous responses completed within a blocking or nonblocking scheduler that can...
Definition: DakotaInterface.hpp:414
Model get_sub_model(ProblemDescDB &problem_db)
retrieve the sub-Model from the DB to pass up the constructor chain
Definition: RandomFieldModel.cpp:43
String build_output_tag() const
return the full output tag
Definition: OutputManager.cpp:319
virtual void write_annotated(std::ostream &s) const
write a variables object in annotated format to an std::ostream
void clear_inactive_data()
clear inactive approximation data
Definition: DakotaApproximation.hpp:610
void multidim_loop()
performs a full factorial combination for all intersections defined by a set of multidimensional part...
Definition: ParamStudy.cpp:576
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: NPSOLOptimizer.hpp:72
void get_cov_vector()
calculates the covariance vector between a new point x and the set of inputs upon which the GP is bas...
Definition: GaussProcApproximation.cpp:569
int vbdViaSamplingNumBins
number of bins for using with the Mahadevan sampling method for computing variance-based decompositio...
Definition: DakotaPStudyDACE.hpp:75
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: NLSSOLLeastSq.hpp:46
virtual void variables_to_sample(const Variables &vars, Real *sample_c_vars)
convert the active continuous variables into a column of allSamples
Definition: DakotaAnalyzer.cpp:462
~APPSOptimizer()
destructor
Definition: APPSOptimizer.hpp:144
bool operator==(const SharedResponseData &other)
experimental operator== for use in unit testing
IteratorList iteratorByNameList
list of iterator objects, one for each lightweight instantiation by name
Definition: ProblemDescDB.hpp:492
RealVector & discrete_real_variables_view()
return a mutable view of the active discrete real variables
Definition: DakotaVariables.hpp:1086
RealVector fnGradU
u-space gradient for current function updated from fnGradX and Jacobian dx/du
Definition: NonDLocalReliability.hpp:270
virtual bool evaluation_cache(bool recurse_flag=true) const
Indicates the usage of an evaluation cache by the Model.
Definition: DakotaModel.cpp:5947
Standardizes the data so the each feature has zero mean and unit variance.
Definition: UtilDataScaler.hpp:176
bool useDerivs
flag for use_derivatives specification, indicating usage of derivative data (with respect to expansio...
Definition: NonDExpansion.hpp:500
UShortMultiArray allContinuousTypes
array of variable types for all of the continuous variables
Definition: SharedVariablesData.hpp:284
virtual ~PebbldTraits()
destructor
Definition: PEBBLMinimizer.hpp:30
NonDLHSSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDLHSSampling.cpp:45
const RealVector & discrete_real_variables() const
return the active discrete real variables from currentVariables
Definition: DakotaModel.hpp:1921
bool push_available()
queries the approximation for the ability to retrieve a previous increment
Definition: ApproximationInterface.hpp:482
bool suppress_output_flag() const
get the suppressOutputFlag
Definition: CommandShell.hpp:114
std::set< String > methodIdCache
Cached method Ids; used to know which methods have already had their method_name attribute set....
Definition: ResultsDBHDF5.hpp:272
size_t div() const
returns number of active discrete integer vars
Definition: DakotaModel.hpp:1751
~ActiveSubspaceModel()
destructor
Definition: ActiveSubspaceModel.cpp:114
virtual ~TKFactoryDIPC()
Destructor for Dakota RW transition kernel factory.
Definition: QUESOImpl.hpp:187
virtual void resize_from_subordinate_model(size_t depth=SZ_MAX)
resize vars/resp if needed from the bottom up
Definition: DakotaModel.cpp:3660
size_t numCandidateDesigns
number of candidate designs to generate for classical D-optimal designs
Definition: NonDLHSSampling.hpp:162
size_t num_scalar_responses() const
number of scalar responses: primary_scalar + nonlinear constraints; note that these are non-contiguou...
Definition: SharedResponseData.hpp:327
Pecos::SurrogateData approxData
contains the variables/response data for constructing a single approximation model (one response func...
Definition: DakotaApproximation.hpp:398
void archive_best_objective_functions() const
archive the index'th set of objective functions
Definition: DakotaMinimizer.cpp:912
short discrepancy_reduction() const
return the discrepancy type for approximations that support MLMF
Definition: SharedC3ApproxData.hpp:365
~PolynomialRegression()
Default destructor.
Definition: SurrogatesPolynomialRegression.cpp:57
void archive_moment_confidence_intervals(size_t inc_id=0)
archive moment confidence intervals in results DB
Definition: NonDSampling.cpp:1388
void pre_combine()
aggregate the shared approximation data from current and stored states
Definition: SharedC3ApproxData.cpp:417
virtual bool evaluation_available()
Check to see if there are any function values ready to be collected.
Definition: COLINApplication.cpp:301
const Pecos::UShortArray & quadrature_order() const
return Pecos::TensorProductDriver::quadOrder
Definition: NonDQuadrature.hpp:204
RealArray cv_diagnostic(const StringArray &metric_types, unsigned num_folds) override
retrieve diagnostic metrics for the diagnostic types specified, applying
Definition: DakotaSurrogates.cpp:66
void requested_levels(const RealVectorArray &req_resp_levels, const RealVectorArray &req_prob_levels, const RealVectorArray &req_rel_levels, const RealVectorArray &req_gen_rel_levels, short resp_lev_tgt, short resp_lev_tgt_reduce, bool cdf_flag, bool pdf_output)
set requestedRespLevels, requestedProbLevels, requestedRelLevels, requestedGenRelLevels,...
Definition: DakotaNonD.cpp:141
void update_chain_size(unsigned int size)
update MH-specific inverse problem options calIpMhOptionsValues
~NonDGlobalInterval()
destructor
Definition: NonDGlobalInterval.cpp:232
void launch_single(const Variables &vars_star)
launch a single job
Definition: EffGlobalMinimizer.cpp:640
unsigned short sub_optimizer_select(unsigned short requested_sub_method, unsigned short default_sub_method=SUBMETHOD_NPSOL)
utility for vetting sub-method request against optimizers within the package configuration
Definition: DakotaNonD.cpp:1268
virtual void initial_points(const VariablesArray &pts)
sets the multiple initial points for this iterator. This should only be used if accepts_multiple_poin...
Definition: DakotaIterator.cpp:1512
void validate_inputs()
validate the build controls and set defaults
Definition: AdaptedBasisModel.cpp:176
int text_book(const Dakota::RealVector &c_vars, const Dakota::ShortArray &asv, Dakota::RealVector &fn_vals, Dakota::RealMatrix &fn_grads, Dakota::RealSymMatrixArray &fn_hessians)
demo evaluator function for parallel plug-ins
Definition: PluginParallelDirectApplicInterface.cpp:103
RealVector relaxFactorSequence
sequence of (under-)relaxation factors that are applied to sample increments computed in the latest M...
Definition: DataMethod.hpp:1122
int proposalCovUpdatePeriod
number of samples after which to update the proposal covariance from misfit Hessian (using residual v...
Definition: DataMethod.hpp:1226
int numPtsTotal
the total number of points
Definition: NonDGPImpSampling.hpp:92
RealVector nonlinearIneqScales
vector of nonlinear inequality constraint scaling factors (from the nonlinear_inequality_scales speci...
Definition: DataResponses.hpp:138
RealMatrix momentCIs
Matrix of confidence internals on moments, with rows for mean_lower, mean_upper, sd_lower,...
Definition: NonDSampling.hpp:423
unsigned short maxOrderSpec
scalar specification for maximum basis order (bounds uniform refinement)
Definition: NonDC3FunctionTrain.hpp:125
virtual void active_set_mapping()
in the case of sub-iteration, map from finalStatistics.active_set() requests to activeSet used in eva...
Definition: NonDSampling.cpp:889
std::shared_ptr< DataModelRep > dataModelRep
pointer to the body (handle-body idiom)
Definition: DataModel.hpp:588
String modelPointer
string pointer to the model specification to be used by this method (from the model_pointer specifica...
Definition: DataMethod.hpp:313
void get_genz_coefficients(int num_dims, Real factor, int c_type, RealVector &c, RealVector &w)
define coefficients needs for genz model
Definition: TestDriverInterface.cpp:1802
int trialType
Trial type in CVT. Specifies where the points are placed for consideration relative to the centroids....
Definition: FSUDesignCompExp.hpp:130
RealVector lognormalUncLambdas
lambdas (means of the corresponding normals) of the lognormal uncertain variables (from the lambdas s...
Definition: DataVariables.hpp:323
VectorXd scalerFeaturesOffsets
Vector of offsets - (num_features)
Definition: UtilDataScaler.hpp:115
void init_algebraic_mappings(const Variables &vars, const Response &response)
Define algebraicACVIndices, algebraicACVIds, and algebraicFnIndices.
Definition: DakotaInterface.cpp:514
size_t kickRank
user specification for increment in rank used within adapt_rank
Definition: SharedC3ApproxData.hpp:245
double hMeas
quality measure
Definition: DakotaPStudyDACE.hpp:88
void resolve_string_variable_mapping(const String &map1, const String &map2, size_t curr_index, short &inactive_sm_view)
for a named string mapping, resolve primary index and secondary target
Definition: NestedModel.cpp:1256
short solverType
COLIN solver sub-type as enumerated in COLINOptimizer.cpp.
Definition: COLINOptimizer.hpp:161
void distributionMean(V &meanVector) const
Mean value of underlying random variable.
Definition: QUESOImpl.cpp:66
std::map< Pecos::ActiveKey, RealVector > referenceIDRVars
stores a reference copy of the inactive discrete real variables when the approximation is built using...
Definition: EnsembleSurrModel.hpp:446
size_t blockSize
Size of the block defining a sample.
Definition: BootstrapSampler.hpp:185
bool haveNlnConst
Whether or not problem has nonlinear equality constraints.
Definition: ROLOptimizer.hpp:454
void wait_local_evaluations(Dakota::PRPQueue &prp_queue)
evaluate the batch of jobs contained in prp_queue
Definition: SoleilDirectApplicInterface.cpp:74
RealVector scX2
vector of scaled and/or offset x2 values
Definition: TANA3Approximation.hpp:85
int numPolyTerms
Number of terms in polynomial trend.
Definition: SurrogatesGaussianProcess.hpp:432
size_t numScalarPrimary
number of scalar primary reponses (secondary computed from difference)
Definition: SharedResponseData.hpp:117
virtual std::vector< Approximation > & approximations()
retrieve the Approximations within an ApproximationInterface
Definition: DakotaInterface.cpp:1386
bool pcaFlag
Flag to specify the calculation of principal components when using LHS.
Definition: DataMethod.hpp:883
Real percentFold
percentage of data for CV
Definition: SharedSurfpackApproxData.hpp:145
void initialize_model()
initialize emulator model and probability space transformations
Definition: NonDBayesCalibration.cpp:832
void read(MPIUnpackBuffer &s)
read a DataInterface object from a packed MPI buffer
Definition: DataInterface.hpp:351
struct FunctionTrain * function_train()
get pointer to the FunctionTrain approximation
Definition: C3FnTrainData.hpp:266
void secondary_resp_scaled2native(const RealVector &scaled_nln_cons, const ShortArray &asv, size_t num_native_primary, RealVector &native_fns) const
Use scaled nonlinear constraints (sized total functions) to update the nonlinear constraints portion ...
Definition: ScalingModel.cpp:224
short varsView
user selection/override of variables view: {DEFAULT,ALL,DESIGN, UNCERTAIN,ALEATORY_UNCERTAIN,...
Definition: DataVariables.hpp:95
void primary_diagnostics(size_t fn_index) override
compute and print all requested diagnostics and cross-validation
Definition: SurfpackApproximation.cpp:714
std::map< Pecos::ActiveKey, std::deque< C3FnTrainData > > poppedLevelApprox
bookkeeping for previously evaluated FT approximations that may be restored
Definition: C3Approximation.hpp:233
int numTPLNonlinearEqConstraints
number of nonlinear equality constraints from TPL perspective
Definition: DakotaTPLDataTransfer.hpp:151
void get_trend()
Gets the trend (basis) functions for the calculation of the mean of the GP If the order = 0,...
Definition: GaussProcApproximation.cpp:337
virtual void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1334
ParallelConfiguration()
default constructor
Definition: ParallelLibrary.hpp:498
Real functionCurr
current function value
Definition: NonlinearCGOptimizer.hpp:119
IntSet idAnalyticHessians
mixed Hessian analytic identifiers (from the id_analytic_hessians specification in RespHessMixed)
Definition: DataResponses.hpp:235
size_t numContinuousStateVars
number of continuous state variables (from the continuous_state specification in VarSV)
Definition: DataVariables.hpp:194
int maximum_evaluation_concurrency() const
return the maximum evaluation concurrency supported by the iterator
Definition: DakotaIterator.hpp:684
void recover_function_train_orders(const std::vector< OneApproxOpts * > &a_opts)
Definition: C3Approximation.cpp:62
void calc_score_topo_alm_hybrid(int respFnCount)
Function to comptue the Hybrid scores for the candidate points Hybrid score is computed the same as A...
Definition: NonDAdaptiveSampling.cpp:1099
virtual void archive_best_results()
top-level archival method
Definition: DakotaMinimizer.cpp:1144
void core_run()
perform a forward uncertainty propagation using PCE/SC methods
Definition: NonDMultilevelPolynomialChaos.cpp:474
const int refineCVFolds
Number of cross validation folds for surrogate refinement.
Definition: DataFitSurrModel.hpp:349
void challenge_diagnostics(size_t fn_index, const RealMatrix &challenge_points, const RealVector &challenge_responses) override
compute and print all requested diagnostics for user provided challenge pts
Definition: DakotaSurrogates.cpp:128
size_t subIterMappedPri
number of sub-iterator results functions mapped to nested model primary functions (cached for use wit...
Definition: NestedModel.hpp:412
static double negloglikNCSU(const RealVector &x)
function used by NCSUOptimizer to optimize negloglik objective
Definition: GaussProcApproximation.cpp:789
String hessianType
Hessian type: none, numerical, quasi, analytic, or mixed (from the no_hessians, numerical_hessians,...
Definition: DataResponses.hpp:184
RealVector modify_n2s(const RealVector &native_vars, const UShortArray &scale_types, const RealVector &multipliers, const RealVector &offsets) const
general RealVector mapping from native to scaled variables vectors:
Definition: ScalingModel.cpp:941
void get_parameter_sets(Model &model)
Use the distributions and/or bounds in the given model to generate the rank-1 lattice points.
Definition: NonDLowDiscrepancySampling.cpp:49
StringArray functionLabels
fine-grained (unrolled) set of response function identifiers used to improve output readability; leng...
Definition: SharedResponseData.hpp:105
MPIUnpackBuffer(int size_)
Constructor that specifies the size of the buffer.
Definition: MPIPackBuffer.hpp:194
short ensemble_precedence() const
return precedence for ensemble definition: model forms, resolution levels, or both
Definition: EnsembleSurrModel.hpp:591
RealArray metaData
real-valued metadata
Definition: DirectApplicInterface.hpp:181
short ruleNestingOverride
user override of default rule nesting: NO_NESTING_OVERRIDE, NESTED, or NON_NESTED
Definition: NonDExpansion.hpp:483
bool server_master() const
return serverMasterFlag
Definition: ParallelLibrary.hpp:315
RealScale(const std::string &in_label, const RealVectorArray &in_items, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes a RealVectorArray.
Definition: dakota_results_types.hpp:285
void calc_score_topo_highest_persistence(int respFnCount)
Function to compute the Highest Persistence scores for the candidate points Highest Persistence score...
Definition: NonDAdaptiveSampling.cpp:1132
void update_approximation(const Variables &vars, const IntResponsePair &response_pr)
Definition: ApproximationInterface.cpp:329
StringMultiArray referenceIDSVars
stores a reference copy of the inactive discrete string variables when the approximation is built usi...
Definition: DataFitSurrModel.hpp:479
double CT
Constraint thickness parameter.
Definition: CONMINOptimizer.hpp:196
size_t maxRefineIterations
maximum number of uniform/adaptive refinement iterations (specialization of maxIterations)
Definition: NonDExpansion.hpp:612
const bool autoRefine
whether to automatically refine the surrogate during the build phase
Definition: DataFitSurrModel.hpp:337
const StringArray & field_group_labels()
return the user-provided field group labels instead of the unrolled labels available through function...
Definition: DakotaResponse.hpp:870
double * constraintJacMatrixF77
[CJAC] matrix from NPSOL manual: nonlinear constraint Jacobian
Definition: SOLBase.hpp:194
void setGlobalInfo(PebbldBranching *global_)
Method that sets up the main Branching object.
Definition: PEBBLBranching.cpp:53
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonDGenACVSampling.cpp:498
virtual bool force_rebuild()
determine whether a surrogate model rebuild should be forced based on changes in the inactive data
Definition: DakotaModel.cpp:4346
BitArray extraDSVarsData
flags for updating subModel discrete string labels, one for each active discrete string variable in c...
Definition: NestedModel.hpp:400
IntVector hyperGeomUncTotalPop
Size of total populations (N) for the hypergeometric uncertain variables from the total_population sp...
Definition: DataVariables.hpp:493
bool noRandomShiftFlag
Flag to indicate randomization of rank-1 lattice rule.
Definition: DataMethod.hpp:899
virtual void evaluate_grid_increment()
computes a grid increment and evaluates the new parameter sets
Definition: NonDIntegration.cpp:161
bool recastings() const
return true if recastFlags is defined
Definition: DakotaModel.hpp:1739
virtual ~DOTTraits()
destructor
Definition: DOTOptimizer.hpp:52
RealVector modelGroupCost
aggregate cost of a sample for each of a set of model groupings (i.e. modelGroups)
Definition: NonDNonHierarchSampling.hpp:666
bool responsesDBLocked
prevents use of get_<type> retrieval and set_<type> update functions prior to setting the list node f...
Definition: ProblemDescDB.hpp:516
Real solverTol
optimization tolerance for FT regression
Definition: DataMethod.hpp:823
COLINApplication()
Default constructor. Rrequired by COLIN's ApplicationHandle creation.
Definition: COLINApplication.hpp:40
const RealVector & inactive_continuous_lower_bounds() const
return the inactive continuous lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3005
IntVector & discrete_int_variables_view()
return a mutable view of the active discrete integer variables
Definition: DakotaVariables.hpp:1072
void cov_std_deviation(RealVectorArray &std_deviation) const
get the standard deviation of the observation error process, one vector per experiment
Definition: ExperimentData.cpp:932
size_t numUncertainQuant
number of invocations of core_run()
Definition: NonDExpansion.hpp:533
void update_from_subordinate_model(size_t depth=SZ_MAX)
update currentVariables using non-active data from the passed model (one of {approxModels,...
Definition: EnsembleSurrModel.hpp:1138
SurrogatesBaseApprox()
default constructor
Definition: DakotaSurrogates.hpp:39
RealVector allDiscreteRealUpperBnds
a discrete upper bounds array combining discrete design and discrete state variable types (all view).
Definition: DakotaConstraints.hpp:361
NonDMultilevBLUESampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultilevBLUESampling.cpp:30
size_t solnCntlAVIndex
index of solution control variable within all variables
Definition: EnsembleSurrModel.hpp:300
size_t maxRankSpec
scalar specification for maximum rank (bounds adapt_rank)
Definition: NonDC3FunctionTrain.hpp:121
sigtype
special values for sigmaType
Definition: ExperimentData.hpp:29
PrefixingLineFilter(const std::string &prefix_in)
Constructor.
Definition: ROLOptimizer.hpp:567
ParLevLIter iePLIter
list iterator identifying the iterator-evaluation parallelLevel (there can only be one)
Definition: ParallelLibrary.hpp:487
void serialize(Archive &ar, const unsigned int version)
serialize through the pointer, which requires object tracking: write and read are symmetric for this ...
void combined_to_active(bool clear_combined=true)
promote aggregated data sets to active state
Definition: SharedPecosApproxData.hpp:259
~MPIManager()
destructor: calls finalize if Dakota owns MPI
Definition: MPIManager.cpp:78
String topMethodPointer
method identifier for the environment (from the top_method_pointer specification
Definition: DataEnvironment.hpp:100
void add_metadata_to_object(const StrStrSizet &iterator_id, const StringArray &location, const AttributeArray &attrs) override
Associate key:value metadata with the object at the location.
Definition: ResultsDBHDF5.cpp:218
void print_tolerance_intervals_statistics(std::ostream &s) const
prints the tolerance intervals stastics
Definition: NonDSampling.cpp:2005
MatrixXd compute_first_deriv_pred_gram(const MatrixXd &pred_gram, const std::vector< MatrixXd > &mixed_dists, const VectorXd &theta_values, const int index) override
Compute the first derivatve of the prediction matrix for a given component.
Definition: SurrogatesGPKernels.cpp:141
void asv_combine(const ShortArray &actual_asv, const ShortArray &approx_asv, ShortArray &combined_asv)
reconstitutes a combined_asv from actual_asv and approx_asv
Definition: SurrogateModel.cpp:972
void augment_linear_ineq_constraints(RealMatrix &lin_ineq_coeffs, RealVector &lin_ineq_lb, RealVector &lin_ineq_ub)
augment linear inequality constraints as required by derived algorithm
Definition: NonDMultilevBLUESampling.cpp:692
void augmented_lagrangian_gradient(const RealVector &fn_vals, const RealMatrix &fn_grads, const BoolDeque &sense, const RealVector &primary_wts, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_tgts, RealVector &alag_grad)
compute the gradient of the augmented Lagrangian function
Definition: SurrBasedMinimizer.cpp:589
Variables actualModelVars
copy of the actualModel variables object used to simplify conversion among differing variable views
Definition: ApproximationInterface.hpp:253
std::string iFilterName
the name of the input filter (input_filter user specification)
Definition: ProcessApplicInterface.hpp:168
virtual void augment_linear_ineq_constraints(RealMatrix &lin_ineq_coeffs, RealVector &lin_ineq_lb, RealVector &lin_ineq_ub)
augment linear inequality constraints as required by derived algorithm
Definition: NonDNonHierarchSampling.cpp:1127
Derived nondeterministic class that generates N-dimensional numerical cubature points for evaluation ...
Definition: NonDCubature.hpp:32
IntResponseMap nestedResponseMap
used to return a map of nested responses (including subIterator and optionalInterface contributions) ...
Definition: NestedModel.hpp:264
virtual bool is_derived()
A temporary query used in the refactor.
Definition: SurrBasedGlobalMinimizer.hpp:39
MPI_Comm serverIntraComm
intracomm. for each server partition
Definition: ParallelLibrary.hpp:126
Verification(ProblemDescDB &problem_db, Model &model)
constructor
Definition: DakotaVerification.cpp:20
std::vector< Approximation > functionSurfaces
list of approximations, one per response function
Definition: ApproximationInterface.hpp:218
virtual void deactivate_distribution_parameter_derivatives()
deactivate derivative setting w.r.t. distribution parameters
Definition: DakotaModel.cpp:5191
void build_field_labels(const StringArray &labels_per_group)
populate functionLabels with scalar and unrolled field labels based on fieldLabels and group lengths
int numTPLNonlinearIneqConstraints
number of nonlinear inequality constraints actually used ... based conditionally on lower bounds usin...
Definition: DakotaTPLDataTransfer.hpp:167
void all_bounds(const Constraints &cons)
copy all {cv,div,drv} {lower,upper} bounds from incoming object
Definition: DakotaConstraints.hpp:880
pid_t create_analysis_process(bool block_flag, bool new_group)
spawn a child process for an analysis component within an evaluation
Definition: SpawnApplicInterface.cpp:150
friend class boost::serialization::access
allow boost access to serialize this class
Definition: ParamResponsePair.hpp:50
void scale_curvature(Real beta, bool cdf_flag, const RealVector &kappa, RealVector &scaled_kappa)
scale copy of principal curvatures by -1 if needed; else take a view
Definition: NonDLocalReliability.hpp:413
MatrixXd hessian(const MatrixXd &eval_point, const int qoi) override
Evaluate the Hessian of the python surrogate at a single point for a single QoI.
Definition: SurrogatesPython.cpp:169
DataResponses & operator=(const DataResponses &)
assignment operator
Definition: DataResponses.cpp:141
bool numericalIssuesRaw
flag indicating numerical issues in partial raw correlation calculations
Definition: SensAnalysisGlobal.hpp:269
void print_hi2lo_file(std::ostream &out_file, int num_it, const VariablesArray &optimal_config_matrix, const RealVector &MI_vec, RealMatrix &resp_matrix)
print calibrate_to_hifi progress to file
Definition: NonDBayesCalibration.cpp:1318
void compute_numerical_stat_refinements(RealVectorArray &imp_sampler_stats, RealRealPairArray &min_max_fns)
refinements to numerical probability statistics from importanceSampler
Definition: NonDExpansion.cpp:3295
bool volQualityFlag
flag which specifies evaluation of volumetric quality measures
Definition: DakotaPStudyDACE.hpp:69
void random_seed(int seed)
set randomSeed, if present
Definition: NonDQuadrature.hpp:231
DigitalNetOrdering ordering
Order of the points of this digital net.
Definition: DigitalNet.hpp:119
Real gradientTol
value from gradient_tolerance specification
Definition: SNLLBase.hpp:144
void increment_samples(SizetArray &N_l, size_t incr)
increment samples array with a shared scalar
Definition: NonDEnsembleSampling.hpp:348
PRPQueueHIter hashedQueueBegin(PRPQueue &prp_queue)
hashed definition of queue begin
Definition: PRPMultiIndex.hpp:223
void assign_modes()
verify supported and define default correction / emulation modes
Definition: NonDExpansion.cpp:1292
Real tiConfidenceLevel
confidence interval to be used in the calculation of the double sided tolerance interval equivalent n...
Definition: NonDSampling.hpp:337
NonDLocalInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLocalInterval.cpp:31
ResultsEntry()
return a reference to the stored data, whether from core or file
~CommandLineHandler()
destructor
Definition: CommandLineHandler.hpp:199
void write(std::ostream &s) const
write a response object to a std::ostream
size_t num_functions() const
return the number of response functions
Definition: DakotaResponse.hpp:534
void augment_hessian_with_log_prior(MatrixType &log_hess, const VectorType &vec)
compute the (approximate) Hessian of the negative log posterior by augmenting the (approximate) Hessi...
Definition: NonDBayesCalibration.hpp:852
void initial_increm_lhs_set(int new_samples, RealMatrix &full_samples, IntMatrix &full_ranks)
Populate the first new_samples columns of allSamples with an LHS design and update the stored ranks.
Definition: NonDLHSSampling.cpp:292
IntVectorArray listDIVPoints
array of discrete int evaluation points for the list_parameter_study
Definition: ParamStudy.hpp:190
ParConfigLIter parallel_configuration_iterator() const
return the current ParallelConfiguration node
Definition: ParallelLibrary.hpp:1074
RealVector prevCVStar
stores previous optimal point for continuous variables; used for assessing convergence
Definition: NonDGlobalInterval.hpp:168
C3FnTrainData & active_ftd()
return the active C3FnTrainData instance in levelApprox
Definition: C3Approximation.hpp:279
void print_multilevel_row(std::ostream &s, const SizetArray &N_j)
print an set of aggregated QoI sample counts for a level
Definition: DakotaNonD.cpp:1243
const RealVector & all_continuous_lower_bounds() const
returns a single array with all continuous lower bounds
Definition: DakotaConstraints.hpp:719
virtual pid_t create_analysis_process(bool block_flag, bool new_group)=0
spawn a child process for an analysis component within an evaluation
void serialize(Archive &archive, const unsigned int version)
Serializer for base class data (call from dervied with base_object)
Definition: UtilDataScaler.hpp:129
void pack(const long long *data, const int num=1)
Pack one or more long long's.
virtual void combined_to_active_coefficients(bool clear_combined=true)
promote combined approximation into active approximation
Definition: DakotaApproximation.cpp:403
Nonintrusive uncertainty quantification with the C3 library ...
Definition: NonDC3FunctionTrain.hpp:24
RealVector searchDirection
current aggregate search direction
Definition: NonlinearCGOptimizer.hpp:134
Environment()
default constructor: empty envelope
Definition: DakotaEnvironment.cpp:108
void compute_numerical_level_mappings()
compute only numerical level mappings; this uses a lightweight approach for incremental statistics (n...
Definition: NonDExpansion.cpp:2851
void update_response_from_model(const Model &model)
update labels and nonlinear constraint bounds/targets from subModel
Definition: RecastModel.cpp:1321
virtual void fine_grained_evaluation_counters()
Request fine-grained evaluation reporting within the Model.
Definition: DakotaModel.cpp:5981
static const char parallel_input[]
Default Dakota input string for parallel case (text_book)
Definition: library_mode.cpp:168
size_t idrv_start() const
get start index of inactive discrete real vars
Definition: SharedVariablesData.hpp:1724
static void nlf2_evaluator_gn(int mode, int n, const RealVector &x, double &f, RealVector &grad_f, RealSymMatrix &hess_f, int &result_mode)
objective function evaluator function which obtains values and gradients for least square terms and c...
Definition: SNLLLeastSq.cpp:239
bool posteriorStatsMutual
flag indicating the calculation of mutual information between prior and posterior in Bayesian methods
Definition: DataMethod.hpp:1203
const Response & response() const
return the response object
Definition: ParamResponsePair.hpp:254
StringMultiArrayView all_continuous_labels(size_t start, size_t num_items) const
get num_items continuous labels beginning at index start
Definition: SharedVariablesData.hpp:1394
void assign_surrogate_response_mode()
define the surrogate response mode for an ensemble model in multilevel/multifidelity expansions
Definition: NonDExpansion.cpp:1312
RealVector proposalCovarData
data from user input of proposal covariance
Definition: NonDBayesCalibration.hpp:455
void augment_gradient_with_log_prior(VectorType1 &log_grad, const VectorType2 &vec)
compute the (approximate) gradient of the negative log posterior by augmenting the (approximate) grad...
Definition: NonDBayesCalibration.hpp:834
RealMatrix linEqCoeffs
linear equality constraint coefficients used in "user_functions" mode
Definition: SNLLOptimizer.hpp:371
virtual ~AppsTraits()
destructor
Definition: APPSOptimizer.hpp:81
size_t max_order_regression_size()
return number of FT unknowns using start_rank(), max_rank(), and maximum basis order
Definition: SharedC3ApproxData.hpp:521
void optimize_gaussian_process()
construct the GP using EGO/SKO
Definition: NonDGlobalReliability.cpp:447
virtual bool accepts_multiple_points() const
Overridden to return true since JEGA algorithms can accept multiple initial points.
Definition: JEGAOptimizer.cpp:898
size_t div() const
number of active discrete int vars
Definition: DakotaVariables.hpp:717
size_t scalarSigmaPerRow
number of sigma values to read from each row in simple data file format (calculated from variance typ...
Definition: ExperimentData.hpp:455
short krigingMaxTrials
maximum number of trials in optimization of kriging correlations
Definition: DataModel.hpp:238
OptDartsOptimizer(ProblemDescDB &problem_db, Model &model)
Constructor.
Definition: OptDartsOptimizer.cpp:30
RealMatrix momentGrads
gradients of standardized or central moments of response functions, as determined by finalMomentsType...
Definition: NonDSampling.hpp:319
Real compute_mlmf_equivalent_cost(const SizetArray &raw_N_hf, const RealVector &hf_cost, const SizetArray &raw_N_lf, const RealVector &lf_cost)
compute the equivalent number of HF evaluations (includes any sim faults)
Definition: NonDMultilevControlVarSampling.hpp:366
UShort2DArray modelGroups
the set of model groupings used by the estimator, e.g. ML BLUE
Definition: NonDNonHierarchSampling.hpp:663
RealVector secondaryMoments
secondary (numerical) moments: inactive
Definition: C3Approximation.hpp:238
~JEGAOptimizer()
Destructs a JEGAOptimizer.
Definition: JEGAOptimizer.cpp:1956
bool haveNlnConst
Whether or not problem has nonlinear inequality constraints.
Definition: ROLOptimizer.hpp:327
bool messagePass
flag for message passing among iterator servers
Definition: IteratorScheduler.hpp:174
const IntSet & hessian_id_numerical() const
return the mixed Hessian analytic IDs (hessIdNumerical)
Definition: DakotaModel.hpp:3671
void irecv_ie(int &recv_int, int source, int tag, MPI_Request &recv_req)
nonblocking receive at the iterator-evaluation communication level
Definition: ParallelLibrary.hpp:1730
RealVector betaUncUpperBnds
distribution upper bounds for the beta uncertain variables (from the upper_bounds specification in Va...
Definition: DataVariables.hpp:393
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDGPMSABayesCalibration.cpp:179
StringArray metadataLabels
descriptors for each metadata field
Definition: DataResponses.hpp:252
VectorXd bestBetaValues
Vector of best polynomial coefficients from MLE with restarts.
Definition: SurrogatesGaussianProcess.hpp:360
static const std::string outputVersion
Version of the output file. See comments near the definition in ResultsDBHDF5.cpp.
Definition: ResultsDBHDF5.hpp:253
void set_scalar(const String &dset_name, const T &data, const int &index)
Set a scalar in a 1D dataset at index using its name.
Definition: HDF5_IO.hpp:652
RealVector correctedFieldResponses
array containing predicted of model+discrepancy
Definition: NonDBayesCalibration.hpp:396
void set_vector_matrix(const String &dset_name, const std::vector< Teuchos::SerialDenseMatrix< int, T > > &data, const int &index, const bool &transpose=false)
Set a 3D slab in a 4D dataset at the index into the 0th dimension by name. The length of the vector m...
Definition: HDF5_IO.hpp:852
void push_c3_max_rank(size_t max_rank)
Publish configuration data for initial function train cores, prior to any adaptation.
Definition: NonDC3FunctionTrain.cpp:488
void reset()
Resets the index of the internal buffer.
Definition: MPIPackBuffer.hpp:211
void extract_best_sample()
extract best solution from among the GP build data for final results
Definition: EffGlobalMinimizer.cpp:730
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: DLSolver.hpp:36
void calculate_statistics(const RealVectorArray &var_samples_u, const RealVector &fn_samples, size_t total_samples, Real &sum_prob, Real &prob, bool compute_cov, Real &sum_var, Real &cov)
calculate the probability of exceeding the failure threshold and the coefficent of variation (if requ...
Definition: NonDAdaptImpSampling.cpp:713
virtual void unpack_parameters_initialize(MPIUnpackBuffer &recv_buffer, int job_index)
used by IteratorScheduler to unpack starting data and initialize an iterator run
Definition: DakotaIterator.cpp:1389
int server_communicator_rank() const
return serverCommRank
Definition: ParallelLibrary.hpp:336
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
Definition: SurrBasedMinimizer.cpp:817
void configure_equality_constraint_maps(Model &model, CONSTRAINT_TYPE ctype, IVecT &indices, size_t index_offset, RVecT &multipliers, RVecT &values, bool make_one_sided)
Definition: DakotaOptimizer.hpp:262
void opt_darts_plot_discs_2d(size_t icandidate)
Convenience function for plotting iterates.
Definition: OptDartsOptimizer.cpp:963
size_t kickRank
rank increment when adapting
Definition: DataMethod.hpp:839
size_t adsv() const
accumulate all discrete string variables from variablesCompsTotals
Definition: SharedVariablesData.hpp:380
ExperimentData()
default constructor
Definition: ExperimentData.cpp:17
int synchronous_local_analysis(int analysis_id)
Definition: DirectApplicInterface.hpp:243
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: CONMINOptimizer.hpp:36
BitArray acv_to_all_mask() const
create a BitArray indicating the all continuous subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1281
void initialize_response()
initialize currentResponse
Definition: MinimizerAdapterModel.hpp:138
Model surrogateModel
model containing a surrogate built over the active subspace
Definition: ActiveSubspaceModel.hpp:289
bool fixedSequenceFlag
flag for fixing the sequence for Halton or Hammersley QMC sample sets. This results in the use of the...
Definition: DataMethod.hpp:867
Data structure for storing string-valued dimension scale.
Definition: dakota_results_types.hpp:374
Real diagnostic(const String &metric_type) override
retrieve a single diagnostic metric for the diagnostic type specified on the primary model and data
Definition: SurfpackApproximation.cpp:682
Iterator daceIterator
selects parameter sets on which to evaluate actualModel in order to generate the necessary data for b...
Definition: DataFitSurrModel.hpp:421
RealVector loguniformUncLowerBnds
distribution lower bounds for the loguniform uncertain variables (from the lower_bounds specification...
Definition: DataVariables.hpp:357
MPIManager mpiManager
the MPI manager instance
Definition: DakotaEnvironment.hpp:148
void snll_pre_instantiate(bool bound_constr_flag, int num_constr)
convenience function for setting OPT++ options prior to the method instantiation
Definition: SNLLBase.cpp:65
size_t numParents
The number of parents to use in a crossover operation.
Definition: DataMethod.hpp:683
RealVector thetaParams
Theta is the vector of covariance parameters for the GP. We determine the values of theta by optimiza...
Definition: GaussProcApproximation.hpp:260
void filter_matrix_cols(const RealMatrix &orig_matrix, int start_index, int stride, RealMatrix &filtered_matrix)
return a newly allocated filtered matrix including start_index and every stride-th index after; for b...
Definition: NonDBayesCalibration.cpp:2708
size_t discrete_epistemic_uncertain()
return total number of epistemic uncertain variables
Definition: DataVariables.hpp:946
int verbosity
Verbosity level.
Definition: SurrogatesGaussianProcess.hpp:441
Model get_sub_model(ProblemDescDB &problem_db)
retrieve the sub-Model from the DB to pass up the constructor chain
Definition: AdaptedBasisModel.cpp:53
virtual void nonlinear_model_cost_gradient(const RealVector &r_and_N, RealVector &grad_c)
constraint gradient helper fn shared by NPSOL/OPT++ static evaluators
Definition: NonDNonHierarchSampling.cpp:2035
UShortArray ssgLevelSeqSpec
user request of sparse grid level
Definition: NonDMultilevelPolynomialChaos.hpp:139
const MPIManager & mpiManager
reference to the MPI manager with Dakota's MPI options
Definition: ParallelLibrary.hpp:1008
void component_parallel_mode(short mode)
update component parallel mode for supporting parallelism in the offline and online phases
Definition: SubspaceModel.cpp:384
bool gpmsaNormalize
whether to apply GPMSA-internal variable and data normalization
Definition: NonDGPMSABayesCalibration.hpp:131
Real contractStepLength
the contractStepLength choice for nonlinearly constrained APPS in MethodAPPSDC
Definition: DataMethod.hpp:549
void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: NonDCubature.cpp:106
~COLINOptimizer()
destructor
Definition: COLINOptimizer.hpp:95
const char * FIELD_NAMES[]
Definition: MatlabInterface.cpp:29
String scalarDataFilename
the user-specied scalar data filename
Definition: ExperimentData.hpp:447
void import_points(unsigned short tabular_format, bool use_var_labels, bool active_only)
optionally read surrogate data points from provided file
Definition: DataFitSurrModel.cpp:2170
void all_discrete_string_label(const String &dsv_label, size_t index)
set discrete string label at index start
Definition: SharedVariablesData.hpp:1457
Real delta_combined_covariance(Approximation &approx_2)
return the change in covariance resulting from expansion refinement, where all active variables are r...
Definition: PecosApproximation.hpp:610
void archive_correlations(const StrStrSizet &run_identifier, ResultsManager &iterator_results, const StringArray &var_labels, const StringArray &resp_labels, const size_t &inc_id=0) const
save correlations to database
Definition: SensAnalysisGlobal.cpp:477
void active_to_all_labels(const Variables &vars)
copy the active cv/div/dsv/drv variable labels from incoming vars to all variables in this instance
Definition: DakotaVariables.hpp:1226
Real variance()
return the variance of the expansion, where all active vars are random
Definition: PecosApproximation.hpp:474
std::ostream * defaultOStream
initial stream to reset to when redirections are done (typically std::cout or std::cerr)
Definition: OutputManager.hpp:97
void decrement_grid()
decrement SSG level/TPQ order
Definition: NonDCubature.cpp:163
Class for pure interval propagation using LHS.
Definition: NonDLHSSingleInterval.hpp:27
ParameterList configOptions
Key/value options to configure the surrogate - will override defaultConfigOptions.
Definition: SurrogatesBase.hpp:235
bool find_truth_response(const Variables &search_vars, Response &search_resp)
locate a truth response with the data_pairs cache
Definition: SurrBasedLocalMinimizer.hpp:256
const RealMatrix & callback_linear_ineq_coefficients() const
return linear constraint coefficients for this iterator (user-functions mode for which iteratedModel ...
Definition: NCSUOptimizer.hpp:184
DataInterface()
constructor
Definition: DataInterface.cpp:88
void solve(const MatrixXd &A, const MatrixXd &b, MatrixXd &x) override
Find the solution to Ax = b.
Definition: UtilLinearSolvers.cpp:127
RealVector lagrangeMult
Lagrange multipliers for basic Lagrangian calculations.
Definition: SurrBasedMinimizer.hpp:156
void write(std::ostream &s) const
write a DataMethod object to an std::ostream
Definition: DataMethod.hpp:1551
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: SurrBasedGlobalMinimizer.hpp:51
static VLint VLUncertainInt[NUM_UNC_INT_CONT]
Variables labels/bounds/values check array for integer-valued uncertain variables; one array entry pe...
Definition: NIDRProblemDescDB.cpp:5193
void core_run()
perform POFDart analysis and return probability of failure
Definition: NonDPOFDarts.cpp:103
void compute(const Variables &vars, const Response &truth_response, const Response &approx_response, bool quiet_flag=false)
compute the correction required to bring approx_response into agreement with truth_response and store...
Definition: DiscrepancyCorrection.cpp:119
Dummy struct for overloading constructors used in on-the-fly instantiations without ProblemDescDB sup...
Definition: dakota_global_defs.hpp:171
size_t numDiscreteStateRangeVars
number of discrete state variables defined by an integer range (from the discrete_state_range specifi...
Definition: DataVariables.hpp:197
IntVector referenceDILBnds
stores a reference copy of active discrete int lower bounds when the approximation is built; used to ...
Definition: DataFitSurrModel.hpp:493
virtual bool advancement_available()
queries availability of advancing the approximation resolution
Definition: SharedApproxData.cpp:449
const StringArray & get_sa(const String &entry_name) const
get a StringArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1916
Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > MatType
Convenience definition.
Definition: BootstrapSampler.hpp:203
bool resize()
reinitializes iterator based on new variable size
Definition: DDACEDesignCompExp.cpp:96
void compute_gram_derivs(const MatrixXd &gram, const std::vector< MatrixXd > &dists2, const VectorXd &theta_values, std::vector< MatrixXd > &gram_derivs) override
Compute the derivatives of the Gram matrix with respect to the kernel hyperparameters.
Definition: SurrogatesGPKernels.cpp:72
RealVectorArray gpVar
Vector to hold the current values of the current variance estimates for the sample values on the GP.
Definition: NonDGPImpSampling.hpp:104
AdapterModel(const Variables &initial_pt, const Constraints &cons, const Response &resp, void(*resp_map)(const Variables &vars, const ActiveSet &set, Response &response)=NULL)
standard full constructor with minimizer-specific bounds/targets; doubles as a partial constructor gi...
Definition: AdapterModel.cpp:41
virtual void finalize_approximation()
finalize an approximation by applying all previous trial increments
Definition: DakotaModel.cpp:4237
RealMatrix acceptedFnVals
cached function values corresponding to acceptanceChain for final statistics reporting
Definition: NonDBayesCalibration.hpp:469
RealMatrix fnGradsPrev
previous gradient vectors used in computing y for quasi-Newton updates
Definition: DakotaModel.hpp:1675
void replace_approximation(const IntResponsePair &response_pr, bool rebuild_flag)
replace the response for a single point (based on eval id from response_pr) within an existing surrog...
Definition: DataFitSurrModel.cpp:837
boost::bimap< unsigned short, std::string > UShortStrBimap
bimaps to convert from enums <--> strings
Definition: DakotaIterator.cpp:847
void bcast_e(int &data)
broadcast an integer across an evaluation communicator
Definition: ParallelLibrary.hpp:1822
void archive_equiv_hf_evals(const Real equiv_hf_evals)
archive the equivalent number of HF evals (used by ML/MF methods)
Definition: DakotaNonD.cpp:1634
StringArray discreteStrEpistemicUncUpperBnds
distribution upper bounds for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:777
void initialize_active_start_counts()
initialize start index and counts for active variables
Definition: SharedVariablesData.hpp:1369
bool initialize_mapping(ParLevLIter pl_iter)
Definition: SubspaceModel.cpp:71
size_t cdrv_index_to_all_index(size_t drv_index) const
convert index within complement of active discrete real variables to index within aggregated variable...
Definition: SharedVariablesData.hpp:1236
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: HierarchSurrBasedLocalMinimizer.hpp:49
const RealVector & inactive_continuous_upper_bounds() const
return the inactive continuous upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3027
Random field model, capable of generating and then forward propagating.
Definition: RandomFieldModel.hpp:32
size_t get_db_model_node()
return the index of the active node in dataModelList
Definition: ProblemDescDB.hpp:579
T value
Value for the attribute.
Definition: dakota_results_types.hpp:517
const RealMatrix & get_right_singular_vector_transpose() const
the num_responses p x num_responses p orthogonal matrix V'; the right singular vectors are the first ...
Definition: ReducedBasis.hpp:83
virtual void post_process_response_fn_results()
post-process the interval computed for a response function
Definition: NonDGlobalInterval.cpp:527
ProgramOptions & programOptions
programOptions is non-const due to updates from broadcast
Definition: ParallelLibrary.hpp:1010
void archive_moments(size_t inc_id=0)
archive moment statistics in results DB
Definition: NonDSampling.cpp:1347
int amStartingStep
AM staring step.
Definition: NonDMUQBayesCalibration.hpp:142
static void Vgen_HistogramPtRealUnc(DataVariablesRep *dv, size_t offset)
Use the real-valued point histogram data to initialize the lower, upper, and initial values of the va...
Definition: NIDRProblemDescDB.cpp:3693
void serialize(Archive &archive, const unsigned int version)
Serializer for base class data (call from dervied with base_object)
Definition: SurrogatesBase.hpp:327
void write(std::ostream &s) const
write a DataModel object to an std::ostream
Definition: DataModel.hpp:610
static std::string dakPreferredEnvPath
Dakota preferred search PATH/Path = ".:startupPWD:startupPATH", omitting any leading PATH= or Path=.
Definition: WorkdirHelper.hpp:290
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDGlobalInterval.cpp:236
short quadMode
point generation mode: FULL_TENSOR, FILTERED_TENSOR, RANDOM_TENSOR
Definition: NonDQuadrature.hpp:181
int stopRestart
record at which to stop reading restart
Definition: DataEnvironment.hpp:55
~GaussianProcess()
Default destructor.
Definition: SurrogatesGaussianProcess.cpp:59
void gradient(ROL::Vector< double > &g, const ROL::Vector< double > &p, double &tol)
Get the gradient of the objective function at a point.
Definition: SurrogatesGPObjective.cpp:41
RealMatrix scalarizationCoeffs
"scalarization" response_mapping matrix applied to the mlmc sample allocation when a scalarization,...
Definition: NonDMultilevelSampling.hpp:552
std::map< Pecos::ActiveKey, UShortArray > startOrdersMap
starting values for polynomial order (prior to adaptive refinement); for each model key,...
Definition: SharedC3ApproxData.hpp:219
StringMultiArrayView all_continuous_variable_labels() const
returns a single array with all continuous variable labels
Definition: DakotaVariables.hpp:1703
bool write_partial_core(std::ostream &s, Writer write_handler, size_t start_index, size_t end_index, size_t &acv_offset, size_t &adiv_offset, size_t &adsv_offset, size_t &adrv_offset, size_t &av_cntr, size_t num_cv, size_t num_div, size_t num_dsv, size_t num_drv) const
Implementation for partial writing in various formats using the specified write handler.
Definition: MixedVariables.cpp:336
unsigned short modelImportFormat
Format selection for import_model.
Definition: DataModel.hpp:209
virtual void post_input()
read tabular data for post-run mode
Definition: DakotaIterator.cpp:1919
ProblemDescDB & problem_description_db()
return probDescDB
Definition: DakotaEnvironment.hpp:194
int lf_poly_prod()
modified low fidelity Rosenbrock to test SBO with hierarchical approximations
Definition: TestDriverInterface.cpp:1521
A version of Dakota::Optimizer for instantiation of John Eddy's Genetic Algorithms (JEGA).
Definition: JEGAOptimizer.hpp:186
String truthModelPointer
pointer to the model specification for constructing the truth model used in constructing surrogates
Definition: DataModel.hpp:147
void write(std::ostream &s) const
write a DataModelRep object to an std::ostream
Definition: DataModel.cpp:168
RealVector fdHessByFnStepSize
relative finite difference step size for numerical Hessians estimated using second-order differences ...
Definition: DakotaModel.hpp:1448
virtual size_t cost_metadata_index() const
return index of online cost estimates within metadata
Definition: DakotaModel.cpp:3828
MatrixXd hessian(const MatrixXd &eval_point, const int qoi) override
Evaluate the Hessian of the polynomial surrogate at a single point for a single QoI.
Definition: SurrogatesPolynomialRegression.cpp:223
Teuchos::RCP< std::vector< Real > > rolX
Handle to ROL's solution vector.
Definition: ROLOptimizer.hpp:107
RealMatrix varsMatrix
matrix of fullspace variable points samples size numContinuousVars * (numSamples)
Definition: ActiveSubspaceModel.hpp:268
~LUSolver()
Destructor.
Definition: UtilLinearSolvers.cpp:115
void ReCreateTheParameterDatabase()
Destroys the current parameter database and creates a new empty one.
Definition: JEGAOptimizer.cpp:1017
virtual String final_eval_id_tag(int fn_eval_id)
form and return the final evaluation ID tag, appending iface ID if needed
Definition: DakotaInterface.cpp:796
void assign_rule(const Pecos::MultivariateDistribution &mvd)
define cubIntRule from random variable type
Definition: NonDCubature.cpp:75
void set(const String &entry_name, const RealVector &rv)
set a RealVector within the database based on an identifier string
Definition: ProblemDescDB.cpp:2807
MatrixXd create_uniform_random_double_matrix(const int num_rows, const int num_cols)
Generate a real-valued matrix of uniformly distributed random values.
Definition: util_math_tools.cpp:90
unsigned short postRunInputFormat
tabular format for post_run input
Definition: DataEnvironment.hpp:71
StringMultiArrayView all_discrete_string_labels(size_t start, size_t num_items) const
get num_items discrete string labels beginning at index start
Definition: SharedVariablesData.hpp:1439
void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDLocalEvidence.cpp:75
Container class for response functions and their derivatives. ExperimentResponse provides the body ...
Definition: ExperimentResponse.hpp:43
size_t qoi() const
return number of unique response functions (managing any aggregations)
Definition: DataFitSurrModel.hpp:552
Response(const Response &response)
copy constructor
size_t num_samples() const
Definition: PSUADEDesignCompExp.hpp:110
virtual ~TraitsBase()
destructor
Definition: DakotaTraitsBase.hpp:115
virtual void factorize(const MatrixXd &A)
Perform the matrix factorization for the linear solver matrix.
Definition: UtilLinearSolvers.cpp:92
virtual bool is_factorized() const
Query to determine if the matrix of the solver has been factored.
Definition: UtilLinearSolvers.cpp:90
const String & id() const
return the user-provided or default Variables identifier
Definition: SharedVariablesData.hpp:1616
void active_model_key(const Pecos::ActiveKey &key)
activate an approximation state based on its key
Definition: ApproximationInterface.hpp:298
IntArray algebraicFnTypes
function type: > 0 = objective, < 0 = constraint |value|-1 is the objective (constraint) index when m...
Definition: DakotaInterface.hpp:476
LinearSolverBase()
Constructor.
Definition: UtilLinearSolvers.cpp:86
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: DakotaPStudyDACE.cpp:97
std::string tabularInterfLabel
label for interface used in first line comment w/i the tabular data file
Definition: OutputManager.hpp:430
void run_dakota_data()
Run a Dakota LibraryEnvironment, mode 2: from C++ API inserted data.
Definition: library_mode.cpp:217
int burnInSamples
number of MCMC samples to discard from acceptance chain
Definition: NonDBayesCalibration.hpp:476
Wrapper class for HOPSPACK.
Definition: APPSOptimizer.hpp:127
MFSolutionData mfmcSolnData
final solution data for MFMC (default DAG = 1,2,...,numApprox)
Definition: NonDMultifidelitySampling.hpp:190
static void recursive_remove(const bfs::path &rm_path, short fileop_option)
Remove a path (file, directory, or symlink) without regard to its type. Only error if existed and the...
Definition: WorkdirHelper.cpp:573
The GaussianProcess constructs a Gaussian Process regressor surrogate given a matrix of data.
Definition: SurrogatesGaussianProcess.hpp:49
std::vector< std::string > get_pathext()
Definition: WorkdirHelper.cpp:199
short c3AdvanceType
quantity to increment (start rank, start order, max rank, max order, max rank + max order) for FT (un...
Definition: DataMethod.hpp:850
int newSolnsGenerated
the new_solutions_generated specification for GA/EPSA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:617
SharedResponseDataRep(const ActiveSet &set)
alternate on-the-fly constructor
virtual ~Response()
destructor
PRPQueueHIter hashedQueueEnd(PRPQueue &prp_queue)
hashed definition of queue end
Definition: PRPMultiIndex.hpp:226
String expansionExportFile
filename for export of chaos coefficients
Definition: NonDPolynomialChaos.hpp:207
get_jobs_completed_t get_jobs_completed
handle to dynamically linked get_jobs_completed grid function
Definition: GridApplicInterface.hpp:110
const RealVector & discrete_real_upper_bounds() const
return the active discrete variable upper bounds
Definition: DakotaConstraints.hpp:587
SizetSet surrogateFnIndices
for mixed response sets, this array specifies the response function subset that is approximated
Definition: DiscrepancyCorrection.hpp:116
void resize_communicators(ParLevLIter pl_iter, bool reinit_comms)
Resize the communicators. This is called from the letter's resize()
Definition: DakotaIterator.cpp:1172
ParLevLIter ea_parallel_level_iterator() const
return eaPLIter
Definition: ParallelLibrary.hpp:599
int offlineEvalConcurrency
Concurrency to use when building subspace.
Definition: SubspaceModel.hpp:184
unsigned short modelExportFormat
Format selection for export_model.
Definition: DataMethod.hpp:1439
~NonDRKDDarts()
destructor
Definition: NonDRKDDarts.cpp:62
bool method_locked() const
return methodDBLocked
Definition: ProblemDescDB.hpp:647
void build() override
Do the build.
Definition: DakotaSurrogatesPoly.cpp:66
Variables currentVariables
the set of current variables used by the model for performing function evaluations
Definition: DakotaModel.hpp:1392
bool expansionCoeffFlag
flag indicating need to build a fn train approximation for this QoI
Definition: C3Approximation.hpp:243
void expand_for_fields_sdv(const SharedResponseData &srd, const T &src_array, const String &src_desc, bool allow_by_element, T &expanded_array)
expand primary response specs in SerialDenseVectors, e.g. scales, for fields no change on empty,...
Definition: SharedResponseData.hpp:439
String failureMessage
base message for managing failed evals; will be followed with more details in screen output
Definition: ApplicationInterface.hpp:255
bool initialize_mapping(ParLevLIter pl_iter)
for KL models, the model is augmented with the random coeffs of the KL
Definition: RandomFieldModel.cpp:111
short dataOrder
order of the data used for surrogate construction, in ActiveSet request vector 3-bit format; user may...
Definition: NonDGlobalInterval.hpp:187
void factorize(const MatrixXd &A) override
Perform the matrix factorization for the linear solver matrix.
Definition: UtilLinearSolvers.cpp:152
int numPtsAdd
the number of points added to the original set of LHS samples
Definition: NonDGPImpSampling.hpp:90
OPTPP::OptBCNewton * optbcnewton
Bound constrained Newton optimizer ptr.
Definition: SNLLLeastSq.hpp:193
~NonDWASABIBayesCalibration()
destructor
Definition: NonDWASABIBayesCalibration.cpp:52
void numerical_solution_counts(size_t &num_cdv, size_t &num_lin_con, size_t &num_nln_con)
within ensemble_numerical_solution(), define the number of solution variables and constraints
Definition: NonDMultilevBLUESampling.cpp:567
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: EffGlobalMinimizer.hpp:47
std::map< var_t, Real > xDRM
map from var_t enum to discrete real value
Definition: DirectApplicInterface.hpp:188
void initialize_inactive_components()
initialize inactiveVarsCompsTotals given i{c,di,dr}vStart and numI{C,DI,DR}V
virtual ~NCSUTraits()
destructor
Definition: NCSUOptimizer.hpp:30
void update_basis()
update oneApproxOpts with active basis orders after an order change
Definition: SharedC3ApproxData.hpp:361
const IntVector & field_lengths() const
return the field lengths (from SharedResponseData)
Definition: DakotaResponse.hpp:842
OutputManager outputManager
(tagged) output stream manager
Definition: DakotaEnvironment.hpp:150
ProgramOptions dummy_prg_opt
dummy ProgramOptions for ref initialization
Definition: dakota_global_defs.cpp:70
static void Vchk_HistogramPtIntUnc(DataVariablesRep *dv, size_t offset, Var_Info *vi)
Check the histogram point integer input data, normalize the counts, and populate DataVariables::histo...
Definition: NIDRProblemDescDB.cpp:3371
String surrogateType
the selected surrogate type: local_taylor, multipoint_tana, global_(neural_network,...
Definition: DataModel.hpp:144
T & get(const std::string &context_msg, const std::map< std::string, T DataEnvironmentRep::* > &env_map, const std::map< std::string, T DataMethodRep::* > &met_map, const std::map< std::string, T DataModelRep::* > &mod_map, const std::map< std::string, T DataVariablesRep::* > &var_map, const std::map< std::string, T DataInterfaceRep::* > &int_map, const std::map< std::string, T DataResponsesRep::* > &res_map, const std::string &entry_name, const std::shared_ptr< ProblemDescDB > &db_rep) const
Encapsulate lookups across Data*Rep types: given lookup tables mapping strings to pointers to Data*Re...
Definition: ProblemDescDB.cpp:1316
void stop_init_mapping(ParLevLIter pl_iter)
called from IteratorScheduler::init_iterator() for iteratorComm rank 0 to terminate serve_init_mappin...
Definition: SubspaceModel.cpp:476
void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: FSUDesignCompExp.cpp:248
std::vector< var_t > xDIMLabels
var_t enumerations corresponding to discrete integer variable labels
Definition: DirectApplicInterface.hpp:196
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: APPSOptimizer.hpp:66
bool is_scale(const H5::DataSet dset) const
Is the dataset a dimenions scale?
Definition: HDF5_IO.cpp:466
void compute_col_variances(RealMatrix &matrix, RealVector &avg_vals, RealVector &variances)
Computes variances of columns of matrix.
Definition: dakota_data_util.cpp:232
long reference_count() const
how many handles (including this) are sharing this representation (body); for debugging/testing only
IntVectorArray cellIntRangeLowerBounds
Storage array to hold cell lower bounds for discrete int range variables.
Definition: NonDInterval.hpp:116
RealVector predictionErrors
Vector to hold the RMSE after each round of adaptively fitting the model.
Definition: NonDAdaptiveSampling.hpp:106
std::vector< size_t > varsMapIndices
If populated, reorder variables when evaluating surrogate these are indices into the Model's vars so ...
Definition: SharedSurfpackApproxData.hpp:127
String drScaleType
DR scale type.
Definition: NonDMUQBayesCalibration.hpp:133
size_t numFinalSolutions
number of solutions to retain in best variables/response arrays
Definition: DakotaIterator.hpp:505
String advancedOptionsFile
advanced options file name (GPMSA only); settings from this file override any C++ / Dakota input file...
Definition: NonDQUESOBayesCalibration.hpp:231
void half_log_cov_det_gradient(const RealVector &multipliers, unsigned short multiplier_mode, size_t hyper_offset, RealVector &gradient) const
populated the passed gradient with derivatives w.r.t. the hyper-parameter multipliers,...
Definition: ExperimentData.cpp:1634
size_t num_nonlinear_eq_constraints() const
return the number of nonlinear equality constraints
Definition: DakotaConstraints.hpp:1078
void random_permutation(const int num_pts, const unsigned int seed, VectorXi &permutations)
Random permutation of int array.
Definition: util_math_tools.cpp:41
size_t dsv() const
number of active discrete string vars
Definition: DakotaVariables.hpp:725
bool command_line_user_modes() const
return userModesFlag
Definition: ParallelLibrary.hpp:1342
size_t dsv_index_to_all_index(size_t dsv_index, bool ddv, bool dauv, bool deuv, bool dsv) const
convert index within active discrete string variables (as identified by bools) to index within aggreg...
virtual Model & truth_model()
return the truth sub-model in surrogate models
Definition: DakotaModel.cpp:3516
void read(MPIUnpackBuffer &s)
read a DataResponses object from a packed MPI buffer
Definition: DataResponses.hpp:370
size_t numLinearEqCons
number of linear equality constraints
Definition: DakotaConstraints.hpp:377
size_t numNegBinomialUncVars
number of negative binomial uncertain variables (from the negative_binomial_uncertain specification i...
Definition: DataVariables.hpp:161
virtual void write_tabular_partial_labels(std::ostream &s, size_t start_index, size_t num_items) const
write range of variable labels in input spec order to a std::ostream
static bfs::path po_which(const std::string &driver_name)
Returns the bfs::path for the analysis driver - POSIX-style implementation, returns empty if not foun...
Definition: WorkdirHelper.cpp:355
bool ie_parallel_level_defined() const
test for definition of iterator-evaluation parallel level
Definition: ParallelLibrary.hpp:575
unsigned short improvementConvergeCntr
counter for number of successive iterations that the iteration improvement is less than the convergen...
Definition: NonDGlobalInterval.hpp:154
Evaluator(const NOMAD::Parameters &p, Model &model)
Constructor.
Definition: NomadOptimizer.cpp:359
short covarianceControl
restrict the calculation of a full response covariance matrix for high dimensional outputs: {DEFAULT,...
Definition: DataMethod.hpp:957
virtual short correction_type() const
return the correction type from the DiscrepancyCorrection object used by SurrogateModels
Definition: DakotaModel.cpp:4517
IntResponseMap responseMap
used to return a map of responses for asynchronous evaluations in final concatenated form....
Definition: DakotaModel.hpp:1684
RealVector pExp
vector of exponent values
Definition: TANA3Approximation.hpp:82
void coefficients_norms_flag(bool flag)
invoke Pecos::SharedOrthogPolyApproxData::coefficients_norms_flag()
Definition: SharedPecosApproxData.hpp:336
virtual int derived_map_ac(const String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: MatlabInterface.cpp:105
SizetMultiArrayConstView all_continuous_ids(size_t start, size_t num_items) const
get num_items continuous ids beginning at index start
Definition: SharedVariablesData.hpp:1575
TKFactoryDIPCLogit(const std::string &name)
Constructor for Dakota Logit RW transition kernel factory.
Definition: QUESOImpl.hpp:223
const int seedSpec
the user seed specification for the random number generator (allows repeatable results)
Definition: PSUADEDesignCompExp.hpp:97
UInt32 cools_kuo_nuyens_d250_m20[]
Generating vector from Cools, Kuo and Nuyens (2006)
Definition: low_discrepancy_data.cpp:15
IntVariablesMap rawVarsMap
map of raw continuous variables used by apply_correction(). Model::varsList cannot be used for this p...
Definition: SurrogateModel.hpp:205
void reshape_active_derivs(size_t num_deriv_vars)
reshape function{Gradients,Hessians} if needed to sync with DVV
unsigned int pre_run_output_format() const
tabular format for pre-run output
Definition: ProgramOptions.cpp:193
void echo_input_file(const std::string &dakota_input_file, const std::string &dakota_input_string, const std::string &tmpl_qualifier="")
echo the (potentially) specified input file or string to stdout
Definition: ProblemDescDB.cpp:3235
void assign_surrogate_key(size_t i)
synchronize the LF model's solution level control with surrModelKey
Definition: EnsembleSurrModel.hpp:957
ResponseArray bestResponseArray
collection of N best solution responses found during the study; always in context of Model originally...
Definition: DakotaIterator.hpp:513
void construct_map_model()
construct the negative log posterior RecastModel (negLogPostModel)
Definition: NonDBayesCalibration.cpp:663
StringArray fnLabels
response function descriptors (used in print_evaluation_summary() and derived direct interface classe...
Definition: DakotaInterface.hpp:420
const ExperimentCovariance & experiment_covariance() const override
retrieve the ExperimentCovariance structure
Definition: ExperimentResponse.cpp:94
IntVector hyperGeomUncVars
initial values of the hypergeometric uncertain variables (from the initial_point specification in Var...
Definition: DataVariables.hpp:503
UShortMultiArrayConstView all_discrete_real_types(size_t start, size_t num_items) const
get num_items discrete real types beginning at index start
Definition: SharedVariablesData.hpp:1552
Iterator(std::shared_ptr< TraitsBase > traits=std::shared_ptr< TraitsBase >(new TraitsBase()))
default constructor
Definition: DakotaIterator.cpp:263
void write_data(double *response_data)
write to an incoming double* array
~NL2SOLLeastSq()
destructor
Definition: NL2SOLLeastSq.cpp:95
virtual void derived_set_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
portion of set_communicators() specific to derived model classes
Definition: DakotaModel.cpp:5113
static StringStringPairIntMap recastModelIdCounters
Counters for naming RecastModels.
Definition: RecastModel.hpp:560
void derived_map_asynch(const ParamResponsePair &pair)
Called by map() and other functions to execute the simulation in asynchronous mode....
Definition: DirectApplicInterface.cpp:277
Real probEstimate
the probability estimate that is iteratively refined by importance sampling
Definition: NonDAdaptImpSampling.hpp:183
void synchronize_surrogate_data()
update surrData to define aggregated data from raw data, when indicated by an active aggregated key
Definition: C3Approximation.cpp:675
Iterator expansionSampler
Iterator used for sampling on the uSpaceModel to generate approximate probability/reliability/respons...
Definition: NonDExpansion.hpp:399
const int NUMBER_OF_FIELDS
Definition: MatlabInterface.cpp:37
void derived_subordinate_models(ModelList &ml, bool recurse_flag)
return actualModel (and optionally its sub-models)
Definition: DataFitSurrModel.hpp:678
IntVector discreteStateSetIntLowerBnds
discrete state integer set lower bounds inferred from set values
Definition: DataVariables.hpp:793
void all_counts(size_t &num_acv, size_t &num_adiv, size_t &num_adsv, size_t &num_adrv) const
compute all variables sums from SharedVariablesDataRep::variablesCompsTotals and SharedVariablesDataR...
Definition: SharedVariablesData.hpp:1049
size_t numScalarResponses
number of scalar responses (scalar primary + scalar constraints)
Definition: SharedResponseData.hpp:114
void compute_statistics() override
Compute final stats for MCMC chains.
Definition: NonDWASABIBayesCalibration.hpp:65
void init_maps(const Sizet2DArray &vars_map_indices, bool nonlinear_vars_mapping, void(*variables_map)(const Variables &recast_vars, Variables &sub_model_vars), void(*set_map)(const Variables &recast_vars, const ActiveSet &recast_set, ActiveSet &sub_model_set), const Sizet2DArray &primary_resp_map_indices, const Sizet2DArray &secondary_resp_map_indices, const BoolDequeArray &nonlinear_resp_mapping, void(*primary_resp_map)(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response), void(*secondary_resp_map)(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response))
initialize recast indices and map callbacks after alternate construction
Definition: RecastModel.cpp:263
IntArray newFnGradRefPt
iteration reference point for newFnGradCounter
Definition: DakotaInterface.hpp:403
std::shared_ptr< Iterator > iteratorRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaIterator.hpp:601
void fill_simulation_data()
populate the simulation data, calculating and applying scaling if needed
Definition: NonDGPMSABayesCalibration.cpp:491
void derived_map(const Variables &vars, const ActiveSet &set, Response &response, int fn_eval_id)
Called by map() and other functions to execute the simulation in synchronous mode....
Definition: ProcessApplicInterface.cpp:212
void init_model_labels(Model &model)
initialize model with active/inactive variable label data that could change once per set of evaluatio...
Definition: SurrogateModel.cpp:264
RealVector designVars
current decision variables in the major iteration
Definition: NonlinearCGOptimizer.hpp:113
BitArray allRelaxedDiscreteReal
array of booleans to indicate relaxation (promotion from DiscreteReal to Continuous) for all specifie...
Definition: SharedVariablesData.hpp:313
void build()
builds the approximation from scratch
Definition: PecosApproximation.hpp:756
RealVector lognormalUncLowerBnds
distribution lower bounds for the lognormal uncertain variables (from the lower_bounds specification ...
Definition: DataVariables.hpp:339
RealSymMatrixArray quasiHessians
quasi-Newton Hessian approximations
Definition: DakotaModel.hpp:1678
void read_write_restart(bool restart_requested, bool read_restart_flag, const String &read_restart_filename, size_t stop_restart_eval, const String &write_restart_filename)
conditionally import evaluations from restart file, then always create or overwrite restart file
Definition: OutputManager.cpp:687
NonDGlobalReliability(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDGlobalReliability.cpp:63
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDGlobalInterval.cpp:253
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDMultilevelPolynomialChaos.cpp:887
void check_seedValue()
Perform checks on seedValue Checks if seedValue is positive or zero (>= 0)
Definition: LowDiscrepancySequence.hpp:216
void stop_servers()
Executed by the master to terminate all server operations for a particular model when iteration on th...
Definition: EnsembleSurrModel.hpp:719
UShortMultiArrayConstView discrete_real_variable_types() const
return the active discrete real variable types
Definition: DakotaVariables.hpp:1362
bool showMiscOptions
the show_misc_options specification in MethodSCOLIBDC
Definition: DataMethod.hpp:590
HOPSPACK::ParameterList * citizenParams
Pointer to APPS citizen/algorithm parameter sublist.
Definition: APPSOptimizer.hpp:194
void resize(const int newsize)
Resizes the internal buffer.
Definition: MPIPackBuffer.cpp:86
void read(std::istream &s)
read a variables object from an std::istream
Definition: MixedVariables.cpp:92
virtual void serve_evaluations()
evaluation server function for multiprocessor executions
Definition: DakotaInterface.cpp:877
Real deltaEquivHF
for sample projections, the calculated increment in equivHFEvals that would be incurred if full itera...
Definition: NonDEnsembleSampling.hpp:206
UShortArray quadratureOrderSeq
the quadrature_order_sequence specification in MethodNonDPCE and MethodNonDSC
Definition: DataMethod.hpp:985
virtual void filter_chain_by_conditioning()
Filter mcmc chain for PCE adaptive emulator. extract batchSize points from the MCMC chain and store f...
Definition: NonDBayesCalibration.hpp:147
bool null(const MPI_Comm &comm)
test comm for MPI_COMM_NULL
Definition: ParallelLibrary.hpp:168
static Var_icheck var_mp_drange[]
This is used in check_variables_node(): Var_IntBoundIPCheck() is applied to validate bounds and initi...
Definition: NIDRProblemDescDB.cpp:5319
Derived approximation class for VPS implementation.
Definition: VPSApproximation.hpp:29
void pack(const int &data)
Pack a int.
Definition: MPIPackBuffer.hpp:89
NonDLowDiscrepancySampling(ProblemDescDB &problem_db, Model &model)
Default constructor.
Definition: NonDLowDiscrepancySampling.cpp:24
virtual void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDGlobalInterval.cpp:523
bool preRunFlag
flags invocation with command line option -pre_run
Definition: DataEnvironment.hpp:59
bool calibrationDataFlag
flag indicating whether user-supplied calibration data is active
Definition: DakotaMinimizer.hpp:286
void derived_map(const Variables &vars, const ActiveSet &set, Response &response, int fn_eval_id)
Called by map() and other functions to execute the simulation in synchronous mode....
Definition: DirectApplicInterface.cpp:63
void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: DakotaMinimizer.cpp:355
int verbosity
Verbosity level.
Definition: SurrogatesPolynomialRegression.hpp:202
void warm_start_flag(const bool flag)
set the warm start flag, including for the subordinate models {approxModels,truthModel}
Definition: EnsembleSurrModel.hpp:1279
int numCVTTrials
specifies the number of sample points taken at internal CVT iteration
Definition: FSUDesignCompExp.hpp:122
SensAnalysisGlobal pStudyDACESensGlobal
initialize statistical post processing
Definition: DakotaPStudyDACE.hpp:66
double priorPropCovMult
optional multiplier to scale prior-based proposal covariance
Definition: NonDMUQBayesCalibration.hpp:124
void declare_sources()
Declare sources to the evaluations database.
Definition: NCSUOptimizer.cpp:458
int DAKOTA_DLL_FN dakota_start(int id)
command DakotaRunner instance id to start (plugin interface and run strategy)
Definition: dakota_dll_api.cpp:273
void get_nonlinear_bounds(Model &model, VecT &nonlin_ineq_lower, VecT &nonlin_ineq_upper, VecT &nonlin_eq_targets)
Would like to combine the previous adapter with this one (based on APPSOptimizer and COLINOptimizer) ...
Definition: DakotaOptimizer.hpp:968
void init_communicators_checks(int max_eval_concurrency)
Definition: SysCallApplicInterface.hpp:121
IntVector discreteIntVars
the active discrete integer variables array view
Definition: DakotaVariables.hpp:622
static int min_procs_per_level(int min_procs_per_server, int pps_spec, int num_serv_spec)
compute minimum partition size for a parallel level based on lower level overrides
Definition: ProblemDescDB.hpp:672
OPTPP::FDNLF1 * fdnlf1Con
pointer to constraint NLF for (finite diff) gradient-based optimizers
Definition: SNLLOptimizer.hpp:329
wrapper to delegate to the ParamResponsePair hash_value function
Definition: PRPMultiIndex.hpp:129
virtual const Pecos::SurrogateData & approximation_data(size_t fn_index)
retrieve the approximation data from a particular Approximation within an ApproximationInterface
Definition: DakotaInterface.cpp:1400
static bfs::path system_tmp_file(const std::string &prefix)
generate a valid temporary file name prefix_%%%%%%%%
Definition: WorkdirHelper.cpp:448
void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to SimulationModel (invokes an asynchronous map() on userDefine...
Definition: SimulationModel.hpp:274
short outputLevel
output level (for debugging only; not passed in)
Definition: OutputManager.hpp:433
std::list< ParallelLevel > parallelLevels
the complete set of parallelism levels for managing multilevel parallelism among one or more configur...
Definition: ParallelLibrary.hpp:1024
size_t epistemic_uncertain()
return total number of epistemic uncertain variables
Definition: DataVariables.hpp:964
bool get_variable_bounds_from_dakota(typename AdapterT::VecT &lower, typename AdapterT::VecT &upper)
Definition: DakotaOptimizer.hpp:456
void inflate_sequence_samples(const ArrayType &N_l, bool multilev, size_t secondary_index, std::vector< ArrayType > &N_l_vec)
update the relevant slice of N_l_3D from the final 2D multilevel or 2D multifidelity sample profile
Definition: DakotaNonD.hpp:774
~SubspaceModel()
destructor
Definition: SubspaceModel.cpp:47
void primary_diagnostics(size_t fn_index) override
compute and print all requested diagnostics and cross-validation
Definition: DakotaSurrogates.cpp:80
bool push_available()
queries availability of pushing data associated with a trial set
Definition: SharedC3ApproxData.hpp:704
int crossMaxIter
maximum number of iterations for (future) cross iteration solver
Definition: SharedC3ApproxData.hpp:272
UInt64Matrix get_linear_scrambling_matrices(int seed)
Returns a set of linear scrambling matrices for this digital net.
Definition: DigitalNet.cpp:634
String exportCorrModelFile
specify the name of file to which corrected model (model+discrepancy) calculations are output
Definition: DataMethod.hpp:1275
const String & responses_id() const
return the response identifier
Definition: SharedResponseData.hpp:363
size_t adrv() const
returns total number of discrete real vars
Definition: DakotaModel.hpp:1816
void parse_options()
constructor helper function to parse misc_options from ProblemDescDB
Definition: NonlinearCGOptimizer.cpp:611
static void npsol_objective(int &mode, int &n, double *x, double &f, double *grad_f, int &nstate)
static function used by NPSOL for the objective function
Definition: NonDNonHierarchSampling.cpp:2057
bool is_null() const
function to check modelRep (does this envelope contain a letter)
Definition: DakotaModel.hpp:3793
const size_t SZ_MAX
special value returned by index() when entry not found
Definition: dakota_global_defs.hpp:24
bool readSimFieldCoords
whether to read coordinate data files for simulation fields
Definition: ExperimentData.hpp:458
void coefficient_labels(std::vector< std::string > &coeff_labels) const
print the coefficient array computed in build()/rebuild()
Definition: PecosApproximation.hpp:832
size_t solution_levels(bool lwr_bnd=true) const
return size of solnCntlCostMap, optionally enforcing lower bound of 1 solution level
Definition: SimulationModel.hpp:226
String tabularDataFile
filename for tabulation of graphics data
Definition: OutputManager.hpp:360
StringArray algebraicFnTags
set of function tags from AMPL stub.row
Definition: DakotaInterface.hpp:472
RealVector bestIterPriFns
storage for iterator best primary functions (which shouldn't be stored in bestResponseArray when ther...
Definition: DakotaLeastSq.hpp:79
static void Vchk_ContinuousIntervalUnc(DataVariablesRep *dv, size_t offset, Var_Info *vi)
Check the continuous interval uncertain input data and populate DataVariables::continuousIntervalUncB...
Definition: NIDRProblemDescDB.cpp:3741
void applyAdjointHessian(std::vector< Real > &ahuv, const std::vector< Real > &u, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override
Function to return the result of applying the constraint adjoint Hessian to an arbitrary vector to RO...
Definition: ROLOptimizer.cpp:819
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDGPImpSampling.cpp:125
void read_flexible_fn_vals(std::istream &s, const ShortArray &asv, size_t num_metadata, std::ostringstream &errors)
Read function values from a stream in a "flexible" way – ignoring any labels. Insert error messages i...
virtual bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: DakotaTraitsBase.hpp:94
unsigned int cvMaxRank
maximum subspace size to consider using cross validation
Definition: ActiveSubspaceModel.hpp:286
short expansionType
enumeration for u-space type that defines u-space variable targets for probability space transformati...
Definition: DataMethod.hpp:975
unsigned short maxCVOrderCandidates
maximum number of cross-validation candidates for adaptOrder
Definition: DataMethod.hpp:847
void set_mh_options()
Set MH-specific inverse problem options calIpMhOptionsValues.
Definition: NonDQUESOBayesCalibration.cpp:906
void all_continuous_label(const String &cv_label, size_t index)
set continuous label at index start
Definition: SharedVariablesData.hpp:1411
void parse_options()
Parse misc_options specified in a user input deck.
Definition: NonDAdaptiveSampling.cpp:1376
bool is_factorized() const override
Query to determine if the matrix of the solver has been factored.
Definition: UtilLinearSolvers.cpp:178
~NonDPOFDarts()
destructor
Definition: NonDPOFDarts.cpp:88
ProblemDescDB & problem_description_db() const
return the problem description database (probDescDB)
Definition: DakotaModel.hpp:3577
static void RIA_objective_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the objective function in the Reliability Index Approach (RIA) problem formul...
Definition: NonDLocalReliability.cpp:1897
int eval_id() const
return the evaluation identifier
Definition: ParamResponsePair.hpp:222
VectorXd bestThetaValues
Vector of best hyperparameters from MLE with restarts.
Definition: SurrogatesGaussianProcess.hpp:357
void increment_order_and_grid()
uniformly increment the expansion order and structured/unstructured grid (PCE and FT)
Definition: NonDExpansion.cpp:1861
String hybridLocalModelPointer
local model pointer for embedded hybrids (from the local_model_pointer specification)
Definition: DataMethod.hpp:411
static void vars_mapping(const Variables &recast_xi_vars, Variables &sub_model_x_vars)
map the active continuous recast variables to the active submodel variables (linear transformation)
Definition: RandomFieldModel.cpp:440
bool check_multiprocessor_analysis(bool warn)
checks on multiprocessor analysis configuration
Definition: ApplicationInterface.cpp:285
const ActiveSet & active_set() const
return the active set object from the response object
Definition: ParamResponsePair.hpp:270
bool crossValidateFlag
whether to perform cross validation
Definition: SharedSurfpackApproxData.hpp:141
const Response & get_response(short type, const Variables &vars)
retrieve an existing Response, if it exists, or instantiate a new one
Definition: ProblemDescDB.cpp:1167
void import_model(const ProblemDescDB &problem_db)
construct-time only import of serialized surrogate
Definition: DakotaSurrogates.cpp:256
std::shared_ptr< QUESO::BoxSubset< QUESO::GslVector, QUESO::GslMatrix > > paramDomain
QUESO parameter domain: hypercube based on min/max values.
Definition: NonDQUESOBayesCalibration.hpp:197
void x_y_pairs_to_x_set(const Teuchos::SerialDenseVector< OrdinalType, ScalarType > &xy_pairs, std::set< ScalarType > &x_set)
convert a SerialDenseVector of head-to-tail (x,y) pairs into a std::set of (x), discarding the y valu...
Definition: dakota_data_util.hpp:1329
void asynch_flag(const bool flag)
set the asynchFlag
Definition: CommandShell.hpp:105
virtual void add_metadata_to_study(const AttributeArray &attrs)=0
Associate key:value metadata to the study.
void add_metadata_to_method(const StrStrSizet &iterator_id, const AttributeArray &attrs) override
Add key:value metadata to method.
Definition: ResultsDBAny.hpp:94
short optSubProblemForm
formulation for optimization sub-problem that minimizes R^2 subject to different variable sets and di...
Definition: NonDNonHierarchSampling.hpp:670
bool lead_rank() const
determines if current processor is rank 0 of the parent comm
Definition: IteratorScheduler.hpp:551
size_t solnCntlAVIndex
index of the discrete variable (within all variables / RandomVariables array) that controls the set/r...
Definition: SimulationModel.hpp:197
char * pname
program basename
Definition: CommandLineHandler.hpp:112
void construct_basis(const Pecos::MultivariateDistribution &mv_dist)
construct the shared basis for an expansion-based approximation
Definition: SharedPecosApproxData.hpp:269
RealMatrix correctedVariances
matrix containing variances of model+discrepancy
Definition: NonDBayesCalibration.hpp:380
void write_tabular_labels(std::ostream &s, bool eol=true) const
write the response labels in tabular format to a std::ostream
BOOST_SERIALIZATION_SPLIT_MEMBER() String variablesId
variables identifier string from the input file
NonDGPMSABayesCalibration(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDGPMSABayesCalibration.cpp:115
BitArray drv_to_all_mask(bool ddv, bool dauv, bool deuv, bool dsv) const
create a BitArray indicating the active discrete real subset of all {continuous,discrete {int,...
void free_all()
augment free_ft() with derived functions and global sensitivities
Definition: C3FnTrainData.hpp:242
A version of TraitsBase specialized for NOWPAC optimizers.
Definition: NOWPACOptimizer.hpp:150
~TANA3Approximation()
destructor
Definition: TANA3Approximation.hpp:108
const String & model_type() const
return the model type (modelType)
Definition: DakotaModel.hpp:3585
bool calModelEvidence
flag indicating calculation of the evidence of the model
Definition: NonDBayesCalibration.hpp:441
Derived model class which wraps call-back functions for solving minimization sub-problems.
Definition: MinimizerAdapterModel.hpp:27
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: DLSolver.hpp:42
void rebuild()
rebuilds the approximation incrementally
Definition: PecosApproximation.hpp:766
virtual void response_results_active_set(const ActiveSet &set)
set the requested data for the final iterator response results
Definition: DakotaIterator.cpp:1469
BitArray discreteDesignSetIntCat
is each ddsi var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:267
void derivative_start_value(size_t dvv_start_val)
set the derivative variables vector values
Definition: DakotaActiveSet.hpp:239
RealVector truthFnsPrevCenter
copy of truth function values at center of previous correction cycle
Definition: DiscrepancyCorrection.hpp:247
void test_local_evaluations(Dakota::PRPQueue &prp_queue)
invokes wait_local_evaluations() (no special nowait support)
Definition: PluginParallelDirectApplicInterface.hpp:106
void convert_surrogate_data(dakota::MatrixXd &vars, dakota::MatrixXd &resp)
convert Pecos surrogate data to reshaped Eigen vars/resp matrices
Definition: DakotaSurrogates.cpp:166
void log_best()
log at most batchSize best chain points into bestSamples
Definition: NonDMUQBayesCalibration.cpp:385
void initialize()
perform any required initialization
Definition: NonDLocalSingleInterval.cpp:25
virtual void estimator_variance_ratios(const RealVector &r_and_N, RealVector &estvar_ratios)
compute estimator variance ratios from HF samples and oversample ratios
Definition: NonDNonHierarchSampling.cpp:1910
void map_dvv_indices(const SizetArray &assign_dvv, SizetArray &assign_indices, SizetArray &curr_indices)
define source and target indices for updating derivatives by matching assign_dvv against the current ...
void set_x_labels2d(const char *x_label)
set x label for each plot equal to x_label
Definition: DakotaGraphics.cpp:334
LightWtBaseConstructor(int=0)
C++ structs can have constructors.
Definition: dakota_global_defs.hpp:181
pid_t create_evaluation_process(bool block_flag)
Definition: ProcessHandleApplicInterface.cpp:95
void build_label(String &label, const String &root_label, size_t tag, const String &separator="")
create a label by appending a numerical tag to the root_label, o
Definition: dakota_data_util.hpp:360
void set_communicators(ParLevLIter pl_iter)
set the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1273
Real linesearchTolerance
approximate accuracy of absissca in LS
Definition: NonlinearCGOptimizer.hpp:98
void derived_init_serial()
set up optionalInterface and subModel for serial operations.
Definition: NestedModel.hpp:565
static void EIF_objective_min(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the objective function in the Expected Improvement Function (EIF) for minimiz...
Definition: NonDGlobalInterval.cpp:552
void finalize_approximation()
finalize an approximation by applying all previous trial increments
Definition: DataFitSurrModel.cpp:921
virtual void assign_specification_sequence()
assign the current values from the input specification sequence
Definition: NonDExpansion.cpp:2425
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: CONMINOptimizer.hpp:39
virtual void insert_into(const StrStrSizet &iterator_id, const StringArray &location, const boost::any &data, const int &index, const bool &row)=0
Insert a row or column into a pre-allocated matrix.
BitArray cv_to_all_mask() const
create a BitArray indicating the active continuous subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1257
Definition: OutputManager.hpp:67
virtual void trans_grad_U_to_X(const RealVector &fn_grad_u, RealVector &fn_grad_x, const RealVector &x_vars)
transform u-space gradient vector to x-space
Definition: DakotaModel.cpp:5240
int text_book2()
portion of text_book() evaluating constraint 1
Definition: TestDriverInterface.cpp:3329
void declare_sources()
Declare a model's sources to the evaluationsDB.
Definition: NestedModel.cpp:548
size_t increment_sets(Real &delta_star, bool revert, bool print_metric)
perform an adaptive refinement increment using generalized sparse grids
Definition: NonDExpansion.cpp:2065
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonDMultilevBLUESampling.cpp:169
static bool id_compare(const DataResponses &dr, const std::string &id)
compares the idResponses attribute of DataResponses objects
Definition: DataResponses.hpp:309
~NonDGPImpSampling()
destructor
Definition: NonDGPImpSampling.cpp:98
Real gradDotGrad_prev
gradPrev dot gradPrev
Definition: NonlinearCGOptimizer.hpp:146
size_t numIntegrations
counter for number of integration executions for this object
Definition: NonDIntegration.hpp:128
static NonD * nondInstance
pointer to the active object instance used within static evaluator functions in order to avoid the ne...
Definition: DakotaNonD.hpp:306
String optInterfGradientType
Gradient type for the optional interface.
Definition: NestedModel.hpp:333
const IntResponseMap & derived_synchronize_nowait()
Definition: EnsembleSurrModel.cpp:946
~DataEnvironmentRep()
destructor (public for shared_ptr)
Definition: DataEnvironment.hpp:129
size_t respFnCntr
response function counter
Definition: NonDInterval.hpp:131
unsigned short startOrderSpec
scalar specification for initial basis order (prior to uniform refinement)
Definition: NonDC3FunctionTrain.hpp:123
IntVector numCoordsPerField
number of coordinates per field
Definition: DataResponses.hpp:244
Teuchos::ParameterList ParameterList
Teuchos ParameterList for options management in Dakota namespace.
Definition: util_data_types.hpp:65
size_t numFns
Reorder.
Definition: SensAnalysisGlobal.hpp:285
String writeRestart
file name for restart write (overrides command-line)
Definition: DataEnvironment.hpp:57
int main(int argc, char *argv[])
Driver routine for testing library mode with partitioned MPI_Comm. This test fixture requires MPI and...
Definition: library_split.cpp:40
const StringArray & function_labels() const
return the response function identifier strings
Definition: SharedResponseData.hpp:389
virtual MatrixXd compute_second_deriv_pred_gram(const MatrixXd &pred_gram, const std::vector< MatrixXd > &mixed_dists, const VectorXd &theta_values, const int index_i, const int index_j)=0
Compute the second derivatve of the prediction matrix for a pair of components.
static void set_iterator(Iterator &sub_iterator, ParLevLIter pl_iter)
convenience function for setting comms prior to running an iterator
Definition: IteratorScheduler.cpp:354
String rngName
the basic random-number generator for NonD
Definition: DataMethod.hpp:959
void test_local_evaluations(PRPQueue &prp_queue)
For asynchronous function evaluations, this method is used to detect completion of jobs and process t...
Definition: ProcessApplicInterface.cpp:283
void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaNonD.hpp:456
void store_evaluations()
Store samples in a matrix for bootstrapping.
Definition: NonDLHSSampling.cpp:673
Base class for the shared approximation data class hierarchy.
Definition: SharedApproxData.hpp:39
size_t numNonlinearConstraints
total number of nonlinear constraints
Definition: DakotaMinimizer.hpp:262
static void print_best_eval_ids(const String &interface_id, const Variables &best_vars, const ActiveSet &active_set, std::ostream &s)
print best evaluation matching vars and set, or partial matches with matching variables only.
Definition: DakotaMinimizer.cpp:702
void initialize_model_graphics(Model &model, int iterator_server_id)
helper function that encapsulates initialization operations, modular on incoming Model instance
Definition: DakotaIterator.cpp:1637
void evaluate_set()
invokes SparseGridDriver::compute_trial_grid()
Definition: NonDSparseGrid.hpp:218
IntVector negBinomialUncVars
initial values of the negative binomial uncertain variables (from the initial_point specification in ...
Definition: DataVariables.hpp:478
Real minBoxSize
holds the minimum boxsize
Definition: NCSUOptimizer.hpp:149
Real eta
constant used in etaSequence updates
Definition: SurrBasedMinimizer.hpp:171
unsigned short importCandFormat
tabular format for the candidate design points import file
Definition: NonDBayesCalibration.hpp:336
int dMax
Maximum dimension of this low-discrepancy sequence.
Definition: LowDiscrepancySequence.hpp:117
void trans_grad_U_to_X(const RealVector &fn_grad_u, RealVector &fn_grad_x, const RealVector &x_vars)
transform u-space gradient vector to x-space
Definition: SurrogateModel.hpp:275
bool dirTag
whether to tag the working directory
Definition: ProcessApplicInterface.hpp:214
virtual bool update_variables_from_model(Model &model)
update active variables/bounds/labels from subModel
Definition: RecastModel.cpp:961
IntResponseMap surrResponseMap
map of surrogate responses returned by derived_synchronize() and derived_synchronize_nowait()
Definition: SurrogateModel.hpp:212
const Pecos::ActiveKey & active_model_key() const
return key from subModel
Definition: RecastModel.hpp:770
void set_evaluation_reference()
set evaluation count reference points for the interface
Definition: DakotaInterface.cpp:408
~NonDAdaptImpSampling()
destructor
Definition: NonDAdaptImpSampling.hpp:189
void spawn_analysis_to_shell(int analysis_id, bool block_flag)
spawn a single analysis as part of a function evaluation
Definition: SysCallApplicInterface.cpp:327
void push_data()
restores SurrogateData state prior to previous pop()
Definition: DakotaApproximation.cpp:301
size_t idrv_start() const
start index of inactive discrete real vars
Definition: DakotaVariables.hpp:769
const RealVector & continuous_lower_bounds() const
return the active continuous lower bounds from userDefinedConstraints
Definition: DakotaModel.hpp:2757
size_t idiv() const
get number of inactive discrete int vars
Definition: SharedVariablesData.hpp:1704
void tabular_counter_label(const std::string &label)
set tabularCntrLabel equal to label
Definition: OutputManager.cpp:619
virtual RealArray challenge_diagnostics(const String &metric_type, const RealMatrix &challenge_pts)
approximation challenge data metrics per response function
Definition: DakotaInterface.cpp:1340
void derived_free_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
deallocate communicator partitions for the EnsembleSurrModel (request forwarded to the the array of s...
Definition: EnsembleSurrModel.cpp:372
SharedApproxData sharedData
data that is shared among all functionSurfaces
Definition: ApproximationInterface.hpp:212
bool operator()(const ParamResponsePair &database_pr, const ParamResponsePair &search_pr) const
access operator
Definition: PRPMultiIndex.hpp:138
void update_from_model(const Model &model)
set inherited data attributes based on extractions from incoming model
Definition: DakotaMinimizer.cpp:129
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDMultilevelFunctionTrain.cpp:226
IntIntMap subIteratorIdMap
mapping from subIterator evaluation counter to nested model counter (different when subIterator evalu...
Definition: NestedModel.hpp:295
static SurrBasedLocalMinimizer * sblmInstance
pointer to SBLM instance used in static member functions
Definition: SurrBasedLocalMinimizer.hpp:242
String importCandPtsFile
whether to import candidate design points for adaptive Bayesian experimental design
Definition: NonDBayesCalibration.hpp:334
EvaluationsDBState evaluations_db_state(const Interface &interface)
Return the interface flag for the EvaluationsDB state.
Definition: DakotaModel.cpp:6203
bool fixedSeedFlag
flag for fixing the value of the seed among different NonD/DACE sample sets. This results in the use ...
Definition: DataMethod.hpp:863
bfs::path get_workdir_name()
construct a work directory name (tmp or named), with optional tag
Definition: ProcessApplicInterface.cpp:927
static VLstr VLUncertainStr[NUM_UNC_STR_CONT]
Variables labels/bounds/values check array for string-valued uncertain variables; one array entry per...
Definition: NIDRProblemDescDB.cpp:5209
static void neg_log_post_resp_mapping(const Variables &model_vars, const Variables &nlpost_vars, const Response &model_resp, Response &nlpost_resp)
static function passed by pointer to negLogPostModel recast model
Definition: NonDBayesCalibration.cpp:2560
Derived model class within the surrogate model branch for managing a truth model alongside approximat...
Definition: EnsembleSurrModel.hpp:33
void send_data_using_get(const std::string &urltopost) const
transmit data to the web server using GET
Definition: TrackerHTTP.cpp:220
const std::vector< Pecos::BasisPolynomial > & polynomial_basis() const
get Pecos::SharedOrthogPolyApproxData::polynomialBasis
Definition: SharedPecosApproxData.hpp:302
virtual int random_seed() const
return specification for random seed (may be part of a sequence specification)
Definition: NonDExpansion.hpp:651
void core_run()
iterates the COLIN solver to determine the optimal solution
Definition: COLINOptimizer.cpp:290
virtual MatrixXd gradient(const MatrixXd &eval_points, const int qoi)
Evaluate the gradient of the Surrogate at a set of prediction points.
Definition: SurrogatesBase.cpp:33
size_t dsv() const
returns number of active discrete string vars
Definition: DakotaModel.hpp:1757
Base class for surrogate models (DataFitSurrModel and EnsembleSurrModel).
Definition: SurrogateModel.hpp:30
bool interface_id_compare(const Interface &interface_in, const void *id)
global comparison function for Interface
Definition: DakotaInterface.hpp:527
void unpack(unsigned long long *data, const int num=1)
Unpack one or more unsigned long long's.
Container class encapsulating variables data that can be shared among a set of Variables instances.
Definition: SharedVariablesData.hpp:573
const StringArray & response_labels() const
return the response labels from currentResponse
Definition: DakotaModel.hpp:2743
int main(int argc, char *argv[])
The main program for the DAKOTA restart utility.
Definition: restart_util.cpp:59
bool initializedFlag
indicates that discrepancy correction instance has been initialized following construction
Definition: DiscrepancyCorrection.hpp:120
void build_inactive_views()
construct inactive views of all variables arrays
void(* invSetMapping)(const Variables &sub_model_vars, const ActiveSet &sub_model_set, ActiveSet &recast_set)
holds pointer for optional inverse set mapping function passed in inverse_mappings()
Definition: RecastModel.hpp:633
bool graphicsFlag
flags use of graphics by the environment (from the graphics specification in EnvIndControl)
Definition: DataEnvironment.hpp:75
CholeskySolver()
Constructor.
Definition: UtilLinearSolvers.cpp:205
~PebbldBranchSub()
Destructor.
Definition: PEBBLBranching.cpp:38
virtual void recursive_apply(const Variables &vars, Response &resp)
apply a sequence of DiscrepancyCorrections to recursively correct an approximation within an Ensemble...
Definition: DakotaModel.cpp:4573
NOWPACBlackBoxEvaluator(Model &model)
constructor
Definition: NOWPACOptimizer.hpp:92
RealVector initialPoint
initial point used in "user_functions" mode
Definition: SNLLOptimizer.hpp:359
int evaluation_capacity() const
return the evaluation capacity for use in iterator logic
Definition: DakotaModel.hpp:3735
Real augmented_lagrangian(const RealVector &mean)
helper for evaluating the value of the augmented Lagrangian merit fn
Definition: EffGlobalMinimizer.hpp:358
UShortMultiArrayConstView discrete_string_variable_types() const
return the active discrete variable types from currentVariables
Definition: DakotaModel.hpp:2000
const IntResponseMap & derived_synchronize_nowait()
portion of synchronize_nowait() specific to SimulationModel (invokes synch_nowait() on userDefinedInt...
Definition: SimulationModel.hpp:316
void set_problem()
Helper function called during construction to extract problem information from the Model and set it f...
Definition: ROLOptimizer.cpp:136
void design_counts(size_t &num_cdv, size_t &num_ddiv, size_t &num_ddsv, size_t &num_ddrv) const
compute design variables sums from SharedVariablesDataRep::variablesCompsTotals and SharedVariablesDa...
Definition: SharedVariablesData.hpp:1055
StringMultiArrayConstView inactive_discrete_string_variable_labels() const
return the inactive discrete variable labels
Definition: DakotaVariables.hpp:1545
RealVector configLowerBnds
lower bounds on configuration domain
Definition: NonDBayesCalibration.hpp:372
OPTPP::OptimizeClass * theOptimizer
optimizer base class pointer
Definition: SNLLOptimizer.hpp:335
~SurrogatesPolyApprox()
destructor
Definition: DakotaSurrogatesPoly.hpp:38
void output_data(const std::vector< double > &data, std::ostream &os) const
output data to ostream
Definition: ResultsDBAny.cpp:183
RealVector continuousLowerBnds
the active continuous lower bounds array view
Definition: DakotaConstraints.hpp:394
ParallelLibrary parallelLib
the parallel library instance
Definition: DakotaEnvironment.hpp:152
Definition: NonlinearCGOptimizer.hpp:52
String hybridLocalMethodPointer
local method pointer for embedded hybrids (from the local_method_pointer specification)
Definition: DataMethod.hpp:414
virtual String root_model_id()
Return the model ID of the "innermost" model. For all derived Models except RecastModels,...
Definition: DakotaModel.cpp:6246
BitArray poissonUncCat
is each poisson var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:455
int lenVarsActSetMessage
length of a MPIPackBuffer containing a Variables object and an ActiveSet object; computed in Model::i...
Definition: ApplicationInterface.hpp:429
void retrieve_final_results()
post-processing: retrieve and export best samples and responses
Definition: EffGlobalMinimizer.cpp:877
virtual bool is_derived()
A temporary query used in the refactor.
Definition: DataFitSurrBasedLocalMinimizer.hpp:45
Real combined_covariance(Approximation &approx_2)
return the covariance between two combined response expansions, where all active variables are random
Definition: C3Approximation.hpp:382
virtual bool is_derived()
A temporary query used in the refactor.
Definition: SNLLOptimizer.hpp:52
std::shared_ptr< Pecos::PolynomialApproximation > polyApproxRep
convenience pointer to representation of Pecos polynomial approximation
Definition: PecosApproximation.hpp:342
Derived application interface class which spawns simulation codes and testers using direct procedure ...
Definition: DirectApplicInterface.hpp:73
void pre_run()
generate samples
Definition: NonDRKDDarts.cpp:78
IntVectorArray cellRealSetBounds
Storage array to hold cell value for discrete real set variables.
Definition: NonDInterval.hpp:122
const RealVector & inactive_continuous_variables() const
return the inactive continuous variables in currentVariables
Definition: DakotaModel.hpp:2080
void add_metadata_to_study(const AttributeArray &attrs) override
Associate key:value metadata with the study.
Definition: ResultsDBHDF5.cpp:225
std::map< String, driver_t > driverTypeMap
map from driver name to enum
Definition: DirectApplicInterface.hpp:185
unsigned short uses_method() const
return name of active optimizer method
Definition: NonDNonHierarchSampling.hpp:741
void get_best_sample(bool maximize, bool eval_approx)
determine truthFnStar and approxFnStar
Definition: NonDGlobalSingleInterval.cpp:34
RealVector allContinuousLowerBnds
a continuous lower bounds array combining continuous design, uncertain, and continuous state variable...
Definition: DakotaConstraints.hpp:346
~SVDSolver()
Destructor.
Definition: UtilLinearSolvers.cpp:145
VectorXd scalerFeaturesScaleFactors
Vector of scaling factors - (num_features)
Definition: UtilDataScaler.hpp:118
void check_group(int err, pid_t proc_group_id)
check the exit status of setpgid and abort if an error code was returned
Definition: ForkApplicInterface.cpp:285
String proposalCovType
the type of proposal covariance: user, derivatives, or prior
Definition: DataMethod.hpp:1221
virtual void push_candidate(const RealVector &stats_star)
restore statistics into native stats arrays for a selected candidate
Definition: NonDExpansion.hpp:818
BitArray icv_to_all_mask() const
create a BitArray indicating the inactive continuous subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1265
StringMultiArrayConstView all_discrete_string_variables() const
return all discrete variables in currentVariables
Definition: DakotaModel.hpp:2211
NonDMultilevelPolynomialChaos(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultilevelPolynomialChaos.cpp:28
size_t numADIV
total number of discete integer variables
Definition: DirectApplicInterface.hpp:157
int numSymbols
the symbols specification for DACE methods
Definition: DataMethod.hpp:760
void random_shift()
Randomly shift this rank-1 lattice rule.
Definition: Rank1Lattice.hpp:75
std::string paramsFileWritten
actual, qualified name of the params file written, possibly with workdir
Definition: ProcessApplicInterface.hpp:181
static void init_iterator(ProblemDescDB &problem_db, Iterator &sub_iterator, ParLevLIter pl_iter)
convenience function for allocation of an iterator and (parallel) initialization of its comms
Definition: IteratorScheduler.cpp:206
size_t max_cross_validation_rank_candidates() const
return maxCVRankCandidates
Definition: SharedC3ApproxData.hpp:432
void test_local_evaluation_sequence(PRPQueue &prp_queue)
version of test_local_evaluations() managing of set of individual asynchronous evaluations
Definition: ForkApplicInterface.cpp:49
String dataPathPrefix
path to prepend to any data file names
Definition: DataResponses.hpp:240
static Real variance_Ysum_static(Real sum_Y, Real sum_YY, size_t Nlq_pilot, size_t Nlq, bool compute_gradient, Real &grad)
compute variance from sum accumulators necessary for sample allocation optimization
Definition: NonDMultilevelSampling.hpp:677
void active_subsets(bool &cdv, bool &ddv, bool &cauv, bool &dauv, bool &ceuv, bool &deuv, bool &csv, bool &dsv) const
define active variable subsets based on active view
Definition: SharedVariablesData.hpp:1089
const RealVector & inactive_continuous_lower_bounds() const
return the inactive continuous lower bounds
Definition: DakotaConstraints.hpp:615
virtual void update_trust_region()=0
update the trust region bounds, strictly contained within global bounds
unsigned short integrationRefine
the import, adapt_import, or mm_adapt_import integration refinement selection in MethodNonDLocalRel,...
Definition: DataMethod.hpp:1082
virtual void random_variables_key(const BitArray &random_vars_key)
assign key identifying a subset of variables that are to be treated as random for statistical purpose...
Definition: SharedApproxData.cpp:546
bool boundConverged
flag indicating convergence of a minimization or maximization cycle
Definition: NonDGlobalInterval.hpp:180
bool eval_x(NOMAD::Eval_Point &x, const NOMAD::Double &h_max, bool &count_eval) const
Main Evaluation Method.
Definition: NomadOptimizer.cpp:426
RealVector discreteDesignSetRealUpperBnds
discrete design real set upper bounds inferred from set values
Definition: DataVariables.hpp:694
void initialize_timers()
initialize DAKOTA and UTILIB timers
Definition: ParallelLibrary.cpp:117
RealMatrix rfBuildData
data matrix with realizations of the random field to approximate
Definition: RandomFieldModel.hpp:159
RealVector linearEqConstraintCoeffs
coefficient matrix for the linear equality constraints (from the linear_equality_constraint_matrix sp...
Definition: DataVariables.hpp:826
Model & _theModel
The user defined model to be passed to the constructor of the Evaluator.
Definition: JEGAOptimizer.cpp:537
pid_t wait(pid_t proc_group_id, std::map< pid_t, int > &process_id_map, bool block_flag)
core code used by wait_{evaluation,analysis}()
Definition: ForkApplicInterface.cpp:205
Real stepLenToBndry
value from steplength_to_boundary specification
Definition: SNLLBase.hpp:148
bool operator!=(const IntArray &dia1, const IntArray &dia2)
inequality operator for IntArray
Definition: dakota_data_util.hpp:121
virtual void linear_group_cost_gradient(const RealVector &N_vec, RealVector &grad_c)
constraint gradient helper fn shared by NPSOL/OPT++ static evaluators
Definition: NonDNonHierarchSampling.cpp:2006
void reshape(size_t num_fns, size_t num_params, bool grad_flag, bool hess_flag)
rehapes response data arrays
std::string do_filter(const std::string &line)
"Filter" the line by adding the prefix
Definition: ROLOptimizer.hpp:578
const RealVector & inactive_discrete_real_variables() const
return the inactive discrete variables in currentVariables
Definition: DakotaModel.hpp:2133
short finalMomentsType
the final_moments specification in MethodNonD, subordinate to the type of final statistics
Definition: DataMethod.hpp:1158
Variables copy(const SharedVariablesData &svd) const
a deep variables copy that shares an incoming SharedVariablesData
void push_back()
push back the default or repeat the last pushed file stream
Definition: OutputManager.cpp:930
virtual bool provides_final_hessian()
Return the flag indicating whether method provides final hessian result.
Definition: DakotaTraitsBase.hpp:112
const RealVector & callback_linear_ineq_lower_bounds() const
return linear constraint lower bounds for this iterator (user-functions mode for which iteratedModel ...
Definition: SNLLOptimizer.hpp:417
RealSymMatrix2DArray covGGinv
in-place matrix inverses of covGG
Definition: NonDMultilevBLUESampling.hpp:250
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: NLSSOLLeastSq.hpp:40
~NOWPACOptimizer()
destructor
Definition: NOWPACOptimizer.cpp:46
Wrapper class for the NCSU DIRECT optimization library.
Definition: NCSUOptimizer.hpp:50
bool nearby(const RealVector &rv1, const RealVector &rv2, Real rel_tol)
tolerance-based equality operator for RealVector
Definition: dakota_data_util.cpp:21
unsigned short exportCorrVarFormat
format options for corrected model variance output
Definition: NonDBayesCalibration.hpp:365
static void constraint0_evaluator(int n, const RealVector &x, RealVector &g, int &result_mode)
constraint evaluator function for OPT++ methods which require only constraint values.
Definition: SNLLOptimizer.cpp:1021
void pre_refinement()
initialization of expansion refinement, if necessary
Definition: NonDExpansion.cpp:1038
void reduce_sum_a(double *local_vals, double *sum_vals, int num_vals)
compute a sum over an analysis communicator using MPI_Reduce
Definition: ParallelLibrary.hpp:1960
NonDLHSEvidence(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLHSEvidence.cpp:19
void normalize_training_data()
Normalizes the initial inputs upon which the GP surface is based.
Definition: GaussProcApproximation.cpp:297
ActiveSet(size_t num_fns)
partial constructor
virtual void clear_inactive()
clear inactive approximation data
Definition: SharedApproxData.cpp:416
void build_error_matrix(const RealVector &sim_error_vec, RealMatrix &sim_error_matrix, int &seed)
build matrix of errors
Definition: NonDBayesCalibration.cpp:1525
void unpack(bool &data)
Unpack a bool.
Definition: MPIPackBuffer.hpp:265
size_t numLoguniformUncVars
number of loguniform uncertain variables (from the loguniform_uncertain specification in VarAUV)
Definition: DataVariables.hpp:128
virtual bool supports_least_squares()
Return the flag indicating whether method supports least squares.
Definition: DakotaTraitsBase.hpp:88
void asv_mapping(const ActiveSet &total_set, ActiveSet &algebraic_set, ActiveSet &core_set)
define the evaluation requirements for algebraic_mappings() (algebraic_set) and the core Application/...
Definition: DakotaInterface.cpp:557
std::map< int, PathTriple > fileNameMap
Maps function evaluation ID to triples (parameters, results, and workdir) paths used in spawning func...
Definition: ProcessApplicInterface.hpp:205
String batchStrategy
String describing the tpye of batch addition to use. Allowable values are naive, distance,...
Definition: NonDAdaptiveSampling.hpp:121
size_t get_n_vars(const VariablesArray &vars_samples)
Computes the number of variables for a full variable object.
Definition: SensAnalysisGlobal.cpp:202
int mxiter
iteration limit (max_iterations)
Definition: NL2SOLLeastSq.hpp:121
void derived_evaluate(const ActiveSet &set)
Definition: DataFitSurrModel.cpp:1569
Utility used in derived write_core to write values in tabular format.
Definition: DakotaVariables.hpp:70
virtual Interface & derived_interface()
return the interface employed by the derived model class, if present: SimulationModel::userDefinedInt...
Definition: DakotaModel.cpp:3686
short emulatorType
the emulator type: NO_EMULATOR, GP_EMULATOR, PCE_EMULATOR, SC_EMULATOR, ML_PCE_EMULATOR,...
Definition: NonDBayesCalibration.hpp:275
bool latinizeFlag
flag which specifies latinization of QMC or CVT sample sets
Definition: FSUDesignCompExp.hpp:92
virtual bool provides_best_objective()
Return the flag indicating whether method provides best objective result.
Definition: DakotaTraitsBase.hpp:100
Iterator intervalOptimizer
optimizer for solving surrogate-based subproblem: NCSU DIRECT optimizer for maximizing expected impro...
Definition: NonDGlobalInterval.hpp:97
bool expansion_coefficient_flag() const
get pecosBasisApprox.configOptions.expansionCoeffFlag
Definition: PecosApproximation.hpp:377
void response_results_active_set(const ActiveSet &set)
set the active set within finalStatistics
Definition: DakotaNonD.hpp:467
Iterator mapOptimizer
SQP or NIP optimizer for pre-solving for the MAP point prior to MCMC. This is restricted to emulator ...
Definition: NonDBayesCalibration.hpp:296
Real average(const ScalarType *ptr, OrdinalType ptr_len)
compute average of a set of observations
Definition: dakota_stat_util.hpp:68
void allocate_constraints()
Allocates constraint mappings.
Definition: CONMINOptimizer.cpp:132
NonDQUESOBayesCalibration * nonDQUESOInstance
pointer for callbacks to Dakota QUESO class
Definition: QUESOImpl.hpp:253
void randomize()
Randomize this rank-1 lattice rule NOTE: required for 'unique' sampling in NonDLowDiscrepancySampling
Definition: Rank1Lattice.hpp:72
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: CONMINOptimizer.hpp:49
unsigned short active_surrogate_model_form(size_t i) const
return the model form corresponding to surrModelKeys[i]
Definition: EnsembleSurrModel.hpp:880
Real variance_sigma_Qsum(const IntRealMatrixMap &sum_Ql, const IntRealMatrixMap &sum_Qlm1, const IntIntPairRealMatrixMap &sum_QlQlm1, const Sizet2DArray &N_l, const size_t step, const size_t qoi)
wrapper for var_of_sigma_ml
Definition: NonDMultilevelSampling.cpp:1013
String resultsOutputFile
named file for results output
Definition: DataEnvironment.hpp:91
Real std_normal_coverage_inverse(const Real coverage)
Given a required coverage c \in [0,1], this routine computes the value b such that.
Definition: tolerance_intervals.cpp:18
structure for validating real uncertain variable labels, bounds, values
Definition: NIDRProblemDescDB.cpp:5118
void map_variable_labels(const Variables &vars)
validate imported labels and initialize map if needed
Definition: SurfpackApproximation.cpp:445
int splitVar
Variable to branch on.
Definition: PEBBLBranching.hpp:63
short refineControl
refinement control: NO_CONTROL, UNIFORM_CONTROL, LOCAL_ADAPTIVE_CONTROL, DIMENSION_ADAPTIVE_CONTROL_S...
Definition: NonDExpansion.hpp:510
virtual void join_analysis_process_group(bool new_group)
create (if new_group) and join the process group for asynch analyses
Definition: ProcessHandleApplicInterface.cpp:498
static int max_procs_per_level(int max_procs_per_server, int pps_spec, int num_serv_spec, short sched_spec, int asynch_local_conc, bool peer_dynamic_avail, int max_concurrency)
compute maximum partition size for a parallel level based on lower level overrides
Definition: ProblemDescDB.hpp:684
int nowaitEvalIdRef
fnEvalId reference point for preserving modulo arithmetic-based job assignment in case of peer static...
Definition: ApplicationInterface.hpp:543
bool pyModuleActive
true if python callback module is valid
Definition: SurrogatesPython.hpp:149
void no_random_shift()
Do not randomly shift this rank-1 lattice rule.
Definition: Rank1Lattice.hpp:78
NonDLHSInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLHSInterval.cpp:23
virtual void update_expansion()
update an expansion; avoids overhead in compute_expansion()
Definition: NonDExpansion.cpp:1936
bool strbegins(const std::string &input, const std::string &test)
Return true if input string begins with string test.
Definition: dakota_data_util.hpp:337
void cache_chain()
cache the chain to acceptanceChain and acceptedFnVals
Definition: NonDQUESOBayesCalibration.cpp:431
int mogatest1()
MOP2 from Van Veldhuizen, pp. 5-13.
Definition: TestDriverInterface.cpp:3840
const String & run_input() const
filename for run input
Definition: ProgramOptions.cpp:180
MS_Complex * AMSC
The approximate Morse-Smale complex data structure.
Definition: NonDAdaptiveSampling.hpp:225
void increment_parallel_configuration()
add a new node to parallelConfigurations and increment currPCIter; copy all of miPLIters into new con...
Definition: ParallelLibrary.hpp:1159
Real maxStep
value from max_step specification
Definition: SNLLBase.hpp:146
CG_UPDATETYPE
NonlinearCG update options.
Definition: NonlinearCGOptimizer.hpp:42
Real log_likelihood(const RealVector &residuals, const RealVector &hyper_params)
calculate log-likelihood from the passed residuals (assuming they are already sized and scaled by cov...
Definition: NonDBayesCalibration.cpp:2359
void GetBestSolutions(const JEGA::Utilities::DesignOFSortSet &from, const JEGA::Algorithms::GeneticAlgorithm &theGA, std::multimap< RealRealPair, JEGA::Utilities::Design * > &designSortMap)
Returns up to _numBest designs sorted by DAKOTA's fitness (L2 constraint violation,...
Definition: JEGAOptimizer.cpp:1632
virtual bool push_available()
query for whether a trial increment is restorable within a surrogate
Definition: DakotaModel.cpp:4233
UInt64(DigitalNet::* reorder)(UInt64)
Function pointer to the chosen order of the points.
Definition: DigitalNet.hpp:191
double polynomialIntercept
Offset/intercept term for the polynomial surrogate.
Definition: SurrogatesPolynomialRegression.hpp:200
bool dummyFlag
prevents multiple MPI_Finalize calls due to dummy_lib
Definition: ParallelLibrary.hpp:1014
static bool create_directory(const bfs::path &dir_path, short mkdir_option)
Create a directory, with options for remove or error.
Definition: WorkdirHelper.cpp:504
void RecordResponses(const RealVector &from, Design &into) const
Records the computed objective and constraint function values into into.
Definition: JEGAOptimizer.cpp:2053
bool calModelEvidMC
flag indicating use of Monte Carlo approximation to calculate evidence
Definition: NonDBayesCalibration.hpp:443
short responseLevelTarget
the compute probabilities, reliabilities, or gen_reliabilities specification in MethodNonD
Definition: DataMethod.hpp:1164
int subSamplingPeriod
period or skip in post-processing the acceptance chain
Definition: NonDBayesCalibration.hpp:478
IntVector geometricUncVars
initial values of the geometric uncertain variables (from the initial_point specification in VarDAUV_...
Definition: DataVariables.hpp:487
ParLevLIter w_parallel_level_iterator()
for this level, access through ParallelConfiguration is not necessary
Definition: ParallelLibrary.hpp:1199
String posteriorSamplesExportFilename
The filename of the export file containing samples from the posterior and their corresponding density...
Definition: DataMethod.hpp:1341
RealMatrix lin_coeffs_modify_n2s(const RealMatrix &native_coeffs, const RealVector &cv_multipliers, const RealVector &lin_multipliers) const
general linear coefficients mapping from native to scaled space
Definition: ScalingModel.cpp:752
size_t numResponseFunctions
number of response functions; used to distinguish NonD from opt/NLS usage
Definition: NonDLHSSampling.hpp:153
HOPSPACK-specific traits class.
Definition: APPSOptimizer.hpp:30
void serialize(Archive &archive, const unsigned int version)
Serializer for save/load.
Definition: SurrogatesPolynomialRegression.hpp:212
StringMultiArrayConstView all_continuous_variable_labels() const
return all continuous variable labels in currentVariables
Definition: DakotaModel.hpp:2592
virtual bool provides_final_gradient()
Return the flag indicating whether method provides final gradient result.
Definition: DakotaTraitsBase.hpp:109
std::vector< int > nonlinearEqConstraintMapIndices
map from Dakota constraint number to TPL constraint number
Definition: DakotaTPLDataTransfer.hpp:154
void usage(std::ostream &outfile=Cout) const
Print usage information to outfile.
Definition: CommandLineHandler.cpp:288
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: SNLLLeastSq.hpp:49
virtual bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: DakotaTraitsBase.hpp:57
size_t environmentCntr
counter for environment specifications used in check_input
Definition: ProblemDescDB.hpp:397
RealVector betaUncAlphas
alpha factors for the beta uncertain variables (from the means specification in VarCAUV_Beta)
Definition: DataVariables.hpp:384
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDPolynomialChaos.cpp:858
StringMultiArray allContinuousLabels
array of variable labels for all of the continuous variables
Definition: SharedVariablesData.hpp:275
~NonDLocalReliability()
destructor
Definition: NonDLocalReliability.cpp:409
short approxOrder
polynomial order of the discrepancy approximation (basis or trend order)
Definition: DiscrepancyCorrection.hpp:207
short nestingOverride
override for default point nesting policy: NO_NESTING_OVERRIDE, NESTED, or NON_NESTED
Definition: DataMethod.hpp:968
RealMatrix G_reduced_xfm
Grahm-Schmidt orthonormal reduced subspace transformation.
Definition: QMEApproximation.hpp:90
~APPSEvalMgr()
destructor
Definition: APPSEvalMgr.hpp:42
SharedResponseData()
default constructor
Definition: SharedResponseData.hpp:293
size_t cv_index_to_all_index(size_t cv_index) const
convert index within active continuous variables to index within aggregated variables (all continous,...
Definition: SharedVariablesData.hpp:1122
MatrixXd get_theta_history()
Get the history of hyperparameter values from MLE with restarts.
Definition: SurrogatesGaussianProcess.hpp:266
CG_LINESEARCHTYPE
NonlinearCG linesearch options.
Definition: NonlinearCGOptimizer.hpp:46
String failAction
mitigation action for captured simulation failures: abort, retry, recover, or continuation
Definition: ApplicationInterface.hpp:508
int numDakotaObjectiveFns
number of objective functions from Dakota perspective
Definition: DakotaTPLDataTransfer.hpp:142
IntIntMap surrIdMap
map from surrogateModel evaluation ids to RecastModel ids
Definition: ActiveSubspaceModel.hpp:309
Definition: ROLOptimizer.hpp:388
RestartWriter()
optional default ctor allowing a non-outputting RestartWriter
Definition: OutputManager.cpp:1007
int writePrecision
write precision as specified by the user
Definition: DakotaAnalyzer.hpp:263
Definition: ROLOptimizer.hpp:559
size_t drv() const
returns number of active discrete real vars
Definition: DakotaModel.hpp:1763
size_t outerMIPLIndex
the miPLIndex for the outer parallelism context, prior to any subIterator partitioning
Definition: NestedModel.hpp:272
~Minimizer()
destructor
Definition: DakotaMinimizer.hpp:334
ModelList & model_list()
return a list of all Model objects that have been instantiated
Definition: ProblemDescDB.hpp:553
std::string methodList
list of active methods
Definition: TrackerHTTP.hpp:122
RealMatrix predVals
Compute credibility and prediction intervals of final chain.
Definition: NonDBayesCalibration.hpp:509
Real volBoxSize
hold the minimum volume boxsize
Definition: NCSUOptimizer.hpp:151
edtype
special values for experimental data type
Definition: ExperimentData.hpp:31
virtual ~SNLLLeastSqTraits()
destructor
Definition: SNLLLeastSq.hpp:40
virtual Real augmented_linear_ineq_violations(const RealVector &cd_vars, const RealMatrix &lin_ineq_coeffs, const RealVector &lin_ineq_lb, const RealVector &lin_ineq_ub)
return quadratic constraint violation for augmented linear inequality constraints
Definition: NonDNonHierarchSampling.cpp:1152
OutputManager()
Default constructor (needed for default environment ctors)
Definition: OutputManager.cpp:46
JEGA::Utilities::ParameterDatabase * _theParamDB
A pointer to the ParameterDatabase from which all parameters are retrieved by the created algorithms.
Definition: JEGAOptimizer.hpp:236
void send_db_buffer()
MPI send of a large buffer containing environmentSpec and all objects in dataMethodList,...
Definition: ProblemDescDB.cpp:910
virtual size_t insert_response_start(size_t position)
compute start index for inserting response data into aggregated response
Definition: SurrogateModel.cpp:1143
RealVector discrepancyFieldResponses
array containing predicted of model+discrepancy
Definition: NonDBayesCalibration.hpp:394
size_t numFns
total number of response functions (of which surrogateFnIndices may define a subset)
Definition: DiscrepancyCorrection.hpp:137
py::object pySurrogate
python Surrogate class
Definition: SurrogatesPython.hpp:152
IntVector coordsPerPriField
number of independent coordinates, e.g., x, t, for each field f(x,t)
Definition: SharedResponseData.hpp:123
IntArray constraintState
ISTATE from NPSOL manual: constraint status.
Definition: SOLBase.hpp:176
std::vector< RealVector > config_vars_as_real() const
values of the configuration variables, 1 RealVector per experiment omits string variables as historic...
Definition: ExperimentData.cpp:746
virtual int serve_init_mapping(ParLevLIter pl_iter)
called from IteratorScheduler::run_iterator() for iteratorComm rank != 0 to balance resize() calls on...
Definition: DakotaModel.cpp:4812
RealVector triangularUncLowerBnds
distribution lower bounds for the triangular uncertain variables (from the lower_bounds specification...
Definition: DataVariables.hpp:369
const RealVector & nonlinear_ineq_constraint_lower_bounds() const
return the nonlinear inequality constraint lower bounds
Definition: DakotaModel.hpp:3484
const IntVectorArray & get_iva(const String &entry_name) const
get an IntVectorArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1724
Pecos::SurrogateDataVars variables_to_sdv(const Real *sample_c_vars)
create a SurrogateDataVars instance from a Real*
Definition: DakotaApproximation.cpp:1122
void derived_init_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set up optionalInterface and subModel for parallel operations
Definition: NestedModel.cpp:565
bool postRunFlag
flags invocation with command line option -post_run
Definition: DataEnvironment.hpp:61
bool regressDiag
whether to print the regression diagnostic vector
Definition: DataMethod.hpp:516
Model mppModel
RecastModel which formulates the optimization subproblem: RIA, PMA, EGO.
Definition: NonDReliability.hpp:66
void continuous_variable_label(const String &cv_label, size_t index)
set an active continuous variable label
Definition: DakotaVariables.hpp:1106
UShortMultiArrayConstView inactive_continuous_variable_types() const
return the inactive continuous variable types
Definition: DakotaVariables.hpp:1577
String fdIntervalType
type of finite difference interval: forward or central
Definition: SNLLOptimizer.hpp:383
void trans_grad_X_to_S(const RealVector &fn_grad_x, RealVector &fn_grad_s, const RealVector &x_vars)
transform x-space gradient vector to gradient with respect to inserted distribution parameters
Definition: RecastModel.hpp:742
bool normalizedCoeffOutput
user request for use of normalization when outputting PCE coefficients
Definition: NonDPolynomialChaos.hpp:249
void active_set_mapping()
in the case of sub-iteration, map from finalStatistics.active_set() requests to activeSet used in eva...
Definition: NonDEnsembleSampling.cpp:283
virtual bool is_derived()
A temporary query used in the refactor.
Definition: APPSOptimizer.hpp:51
void pebbldSubAsChildOf(PebbldBranchSub *parent, int splitVar, int whichChild, std::vector< double > _candidate_x, RealVector _lower_bounds, RealVector _upper_bounds)
Method that creates a new PebbldBranching object.
Definition: PEBBLBranching.cpp:182
void distribute_partitions()
compute step vectors from {cont,discInt,discString,discReal}VarPartitions and global bounds
Definition: ParamStudy.cpp:855
const String & discrete_string_variable(size_t i) const
return an active discrete string variable from currentVariables
Definition: DakotaModel.hpp:1900
Real H
the scalar Hessian value in the TANA-3 approximation
Definition: TANA3Approximation.hpp:86
RealVector continuousAleatoryUncLowerBnds
distribution lower bounds for all continuous aleatory uncertain variables (collected from nuv_lower_b...
Definition: DataVariables.hpp:702
virtual void combined_to_active()
combine coefficients, promote to active, and update statsMetricMode
Definition: NonDExpansion.cpp:2049
void applyAdjointJacobian(std::vector< Real > &ajv, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override
Function to return the result of applying the constraint adjoint to an arbitrary vector to ROL.
Definition: ROLOptimizer.cpp:657
PebbldTraits()
default constructor
Definition: PEBBLMinimizer.hpp:27
bool mostSignificantBitFirst
Flag to indicate integers in generating matrices are stored with most significant bit first.
Definition: DataMethod.hpp:920
RealVector histogramPointRealUncVars
initial values of the real-valued histogram point uncertain variables (from the initial_point specifi...
Definition: DataVariables.hpp:541
int N3
Size variable for CONMIN arrays. See CONMIN manual.
Definition: CONMINOptimizer.hpp:174
const IntResponseMap & derived_synchronize_nowait()
portion of synchronize_nowait() specific to RecastModel (forward to subModel.synchronize_nowait())
Definition: RecastModel.cpp:586
void print_sobol_indices(std::ostream &s)
print global sensitivity indices
Definition: NonDC3FunctionTrain.cpp:719
size_t numNonlinearIneqCons
number of nonlinear inequality constraints
Definition: DakotaConstraints.hpp:364
short mcmcDerivOrder
order of derivatives used in MCMC process (bitwise like ASV)
Definition: NonDBayesCalibration.hpp:318
StringScale(const std::string &in_label, const StringMultiArrayConstView in_items, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes a StringMultiArrayConstView.
Definition: dakota_results_types.hpp:440
RealVector repWeights
the weight associated with each representative point
Definition: NonDAdaptImpSampling.hpp:179
size_t set_value_to_index(const ScalarType &value, const std::set< ScalarType > &values)
calculate the set index corresponding to the passed value
Definition: dakota_data_util.hpp:1218
int shubert()
returns the N-D shubert function
Definition: TestDriverInterface.cpp:4576
NONLINEAR_EQUALITY_FORMAT nonlinear_equality_format()
Return ROL format for nonlinear equality constraints.
Definition: ROLOptimizer.hpp:161
void value(std::vector< Real > &c, const std::vector< Real > &x, Real &tol) override
Function to return the constraint value to ROL.
Definition: ROLOptimizer.cpp:612
void sample_to_variables(const Real *sample_vars, Variables &vars)
override default mapping of continuous variables only
Definition: NonDSampling.hpp:679
virtual bool is_derived()
A temporary query used in the refactor.
Definition: JEGAOptimizer.hpp:623
int recommended_points(bool constraint_flag) const
return the recommended number of samples to build the approximation type in numVars dimensions (defau...
Definition: DakotaApproximation.cpp:1030
NonDLHSSingleInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLHSSingleInterval.cpp:20
std::vector< int > constrMapIndices
map from Dakota constraint number to Nomad constraint number
Definition: NomadOptimizer.hpp:212
short query_distribution_parameter_derivatives() const
calculate and return derivative composition of final results w.r.t. distribution parameters (none,...
Definition: DataFitSurrModel.hpp:536
void sort_matrix_columns(const RealMatrix &mat, RealMatrix &sort_mat, IntMatrix &indices)
Sort incoming matrix columns with result and corresponding indices returned in passed arguments.
Definition: dakota_data_util.cpp:273
static const std::string & startup_pwd()
Query for dakota's startup $PWD.
Definition: WorkdirHelper.hpp:120
void add_database(std::unique_ptr< ResultsDBBase >)
Add a database.
Definition: ResultsManager.cpp:22
void accumulate_paired_online_cost(RealVector &accum_cost, SizetArray &num_cost, size_t step)
recover partial estimates of simulation cost using aggregated (paired) response metadata
Definition: NonDHierarchSampling.cpp:72
std::vector< std::string > StringArray
Array of strings.
Definition: util_data_types.hpp:68
bool get_bool(const String &entry_name) const
get a bool out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2649
void generate_synthetic_data(Pecos::SurrogateData &surr_data, const Pecos::ActiveKey &active_key, short combine_type)
generate synthetic data for the surrogate QoI prediction corresponding to the level key preceding act...
Definition: C3Approximation.cpp:714
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonDAdaptiveSampling.cpp:218
void combine_approximation()
combine the current approximation with previously stored data sets
Definition: ApproximationInterface.hpp:502
bool check_response_qoi(const Model &sub_model)
check sub_model for consistency in response QoI counts
Definition: SurrogateModel.cpp:176
short outputLevel
output verbosity level: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT
Definition: DakotaIterator.hpp:520
bool adaptOrder
whether or not to adapt order by cross validation
Definition: DataModel.hpp:434
~DigitalNet()
Destructor.
Definition: DigitalNet.cpp:312
void check_sub_iterator_conflict()
detect any conflicts due to recursive use of the same Fortran solver
Definition: CONMINOptimizer.cpp:231
bool appendIfaceId
whether to append the interface ID to the prefix during map (default true)
Definition: DakotaInterface.hpp:431
void update_trust_region_data(SurrBasedLevelData &tr_data, const RealVector &parent_l_bnds, const RealVector &parent_u_bnds)
update the trust region bounds, strictly contained within global bounds
Definition: SurrBasedLocalMinimizer.cpp:421
~ApproximationInterface()
destructor
Definition: ApproximationInterface.hpp:267
Real finalProb
the final calculated probability (p)
Definition: NonDAdaptiveSampling.hpp:94
RealVector linIneqScales
linear inequality constraint scale values
Definition: ScalingOptions.hpp:54
Base class for discrepancy corrections.
Definition: DiscrepancyCorrection.hpp:29
void compute_sobol_indices()
compute Sobol' indices for main, interaction, and total effects; this is intended for incremental sta...
Definition: NonDExpansion.cpp:2941
void numerical_solution_counts(size_t &num_cdv, size_t &num_lin_con, size_t &num_nln_con)
within ensemble_numerical_solution(), define the number of solution variables and constraints
Definition: NonDGenACVSampling.cpp:1075
const String & fd_gradient_step_type() const
return the finite difference gradient step type (fdGradStepType)
Definition: DakotaModel.hpp:3635
void post_input()
read tabular data for post-run mode
Definition: FSUDesignCompExp.cpp:212
VectorXd cross_validate(const MatrixXd &samples, const MatrixXd &response, const StringArray &mnames, const int num_folds=5, const int seed=20)
Perform K-folds cross-validation (within surrogates)
Definition: SurrogatesBase.cpp:90
bool supports_continuous_variables()
Return flag indicating ROL supports continuous variables.
Definition: ROLOptimizer.hpp:149
Model gpModel
GP model of response, one approximation per response function.
Definition: NonDGPImpSampling.hpp:85
void read_vector(const std::string &dset_name, T &array) const
Read vector (1D) information from a dataset.
Definition: HDF5_IO.hpp:1170
int derived_evaluation_id() const
return the current evaluation id for this Model
Definition: SurrogateModel.hpp:350
void resize_from_subordinate_model(size_t depth=SZ_MAX)
pass request to actualModel if recursing
Definition: DataFitSurrModel.hpp:688
size_t stop_restart_evals() const
eval ID at which to stop reading restart
Definition: ProgramOptions.cpp:145
bool postRunFlag
flags invocation with command line option -post_run
Definition: ProgramOptions.hpp:253
NonDGlobalSingleInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDGlobalSingleInterval.cpp:21
const IntResponseMap & synchronize()
executes a blocking schedule for asynchronous evaluations in the beforeSynchCorePRPQueue and returns ...
Definition: ApplicationInterface.cpp:701
UShortArray startOrders
starting user specification for polynomial orders (from start_order scalar plus anisotropic dimension...
Definition: SharedC3ApproxData.hpp:216
void set_analysis_communicators()
convenience function for updating the local analysis partition data following ParallelLibrary::init_a...
Definition: ApplicationInterface.cpp:220
static Var_rcheck var_mp_cbound[]
This is used within check_variables_node(): Var_RealBoundIPCheck() is applied to validate bounds and ...
Definition: NIDRProblemDescDB.cpp:5300
RealVector listOfPoints
the list_of_points specification in MethodPSLPS
Definition: DataMethod.hpp:1385
void map(const Variables &vars, const ActiveSet &set, Response &response, bool asynch_flag=false)
the function evaluator: provides an approximate "mapping" from the variables to the responses using f...
Definition: ApproximationInterface.cpp:156
int num_dakota_nonlin_eq_constraints() const
Number of nonlinear equality constraints from Dakota perspective.
Definition: DakotaTPLDataTransfer.hpp:37
void spawn_output_filter_to_shell(bool block_flag)
spawn the output filter portion of a function evaluation
Definition: SysCallApplicInterface.cpp:382
PRPCache data_pairs
contains all parameter/response pairs.
Definition: ApproximationInterface.cpp:23
bool importBuildActive
whether to import active variables only
Definition: DataModel.hpp:176
Real distance(const RealVector &a, const RealVector &b)
compute Euclidean distance between points a and b
Definition: NonDAdaptImpSampling.hpp:226
const Pecos::RealVector & sobol_indices() const
return polyApproxRep->sobolIndices
Definition: PecosApproximation.hpp:401
void estimator_variance_ratios(const RealVector &r_and_N, RealVector &estvar_ratios)
compute estimator variance ratios from HF samples and oversample ratios
Definition: NonDMultifidelitySampling.cpp:449
NonDLocalEvidence(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLocalEvidence.cpp:21
Real relGradientTol
stopping criterion for rel reduction in g
Definition: NonlinearCGOptimizer.hpp:102
MatrixXd predCovariance
Covariance matrix for the prediction points.
Definition: SurrogatesGaussianProcess.hpp:411
void initialize_filter(SurrBasedLevelData &tr_data, const RealVector &fn_vals)
(re-)initialize filter from a set of function values
Definition: SurrBasedMinimizer.cpp:344
Model iteratedModel
cache a local copy of the Model
Definition: NOWPACOptimizer.hpp:60
int modelEvalCntr
evaluation counter for top-level evaluate() and evaluate_nowait() calls. Differs from lower level cou...
Definition: DakotaModel.hpp:1621
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDMultilevControlVarSampling.cpp:49
RealVector linearIneqConstraintCoeffs
coefficient matrix for the linear inequality constraints (from the linear_inequality_constraint_matri...
Definition: DataVariables.hpp:810
unsigned short wilksOrder
Wilks order parameter.
Definition: DataMethod.hpp:890
~MinimizerAdapterModel()
destructor
Definition: MinimizerAdapterModel.hpp:117
void rekey_synch(MetaType &meta_object, bool block, IntIntMapArray &id_maps, IntResponseMapArray &resp_maps_rekey, bool deep_copy=false)
synchronize via meta_object and rekey returned jobs matched in array of id_maps into array of resp_ma...
Definition: DakotaModel.hpp:3910
const Pecos::RealVector & total_sobol_indices() const
return polyApproxRep->totalSobolIndices
Definition: PecosApproximation.hpp:405
std::shared_ptr< QUESO::VectorSpace< QUESO::GslVector, QUESO::GslMatrix > > paramSpace
QUESO parameter space based on number of calibrated parameters.
Definition: NonDQUESOBayesCalibration.hpp:193
size_t collocPtsSpec
user specification for collocation_points (array for multifidelity)
Definition: NonDPolynomialChaos.hpp:236
void all_continuous_id(size_t id, size_t index)
set num_items continuous ids beginning at index start
Definition: SharedVariablesData.hpp:1612
~NonDMultilevelFunctionTrain()
destructor
Definition: NonDMultilevelFunctionTrain.cpp:194
int jumpStep
how often to perform a long jump in generations
Definition: NonDDREAMBayesCalibration.hpp:106
virtual size_t wait_local_analyses()=0
wait for asynchronous analyses on the local processor, completing at least one job
Variables correctionPrevCenterPt
copy of center point from the previous correction cycle
Definition: DiscrepancyCorrection.hpp:239
MatrixXd gradient(const MatrixXd &eval_points, const int qoi) override
Evaluate the gradient of the python surrogate at a set of prediction points for a single QoI.
Definition: SurrogatesPython.cpp:139
void best_to_all()
copy bestSamples to allSamples to use in surrogate update
Definition: NonDBayesCalibration.cpp:935
String subMethodName
string identifier for a sub-method name within a multi-option method specification (e....
Definition: DataMethod.hpp:369
size_t div_index_to_active_index(size_t div_index) const
convert index within active discrete integer variables to index within aggregated active variables (a...
int matlab_field_prep(mxArray *dakota_matlab, const char *field_name)
check that the dakota_matlab strucutre has the specified field_name and add if necessary; free struct...
Definition: MatlabInterface.cpp:536
RealVector approxFnsCenter
Surrogate function values at the current correction point.
Definition: DiscrepancyCorrection.hpp:243
bfs::path curWorkdir
active working directory for this evaluation; valid only from define_filenames to create_evaluation_p...
Definition: ProcessApplicInterface.hpp:219
bool stdRegressionCoeffs
flag indicating the calculation/output of standardized regression coefficients
Definition: DataMethod.hpp:938
void all_discrete_int_upper_bound(int a_d_u_bnd, size_t i)
set an upper bound within all discrete upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3260
const Pecos::RealVector & dimension_decay_rates() const
return OrthogPolyApproximation::decayRates
Definition: PecosApproximation.hpp:418
void read_annotated(std::istream &s)
read a ParamResponsePair object in annotated format from an std::istream
SizetArray NGroupAlloc
counter for sample allocations, per group
Definition: NonDMultilevBLUESampling.hpp:262
void append_approximation(const Variables &vars, const IntResponsePair &response_pr)
Definition: ApproximationInterface.cpp:440
~WeightingModel()
destructor
Definition: WeightingModel.cpp:81
MatrixXd hessian(const MatrixXd &eval_point)
Evaluate the Hessian of the Surrogate at a single point for QoI index 0.
Definition: SurrogatesBase.hpp:129
void create_plots_2d(const Variables &vars, const Response &response)
creates the 2d graphics window and initializes the plots
Definition: DakotaGraphics.cpp:42
MatrixXd compute_first_deriv_pred_gram(const MatrixXd &pred_gram, const std::vector< MatrixXd > &mixed_dists, const VectorXd &theta_values, const int index) override
Compute the first derivatve of the prediction matrix for a given component.
Definition: SurrogatesGPKernels.cpp:87
SizetArray expSamplesSeqSpec
user specification for expansion_samples (array for multifidelity)
Definition: NonDMultilevelPolynomialChaos.hpp:135
ShortArray active2ACVarMapTargets
"secondary" variable mappings for inserting active continuous currentVariables into sub-parameters (e...
Definition: NestedModel.hpp:364
short primary_fn_type() const
get the primary response function type (generic, objective, calibration)
Definition: DakotaModel.hpp:3698
std::vector< Approximation > addCorrections
array of additive corrections; surrogate models of a model discrepancy function (formed from model di...
Definition: DiscrepancyCorrection.hpp:216
const String & method_source() const
return the numerical gradient evaluation method source (methodSource)
Definition: DakotaModel.hpp:3615
short pilotGroupSampling
mode for pilot sampling: shared or independent
Definition: NonDMultilevBLUESampling.hpp:253
virtual ~NL2SOLLeastSqTraits()
destructor
Definition: NL2SOLLeastSq.hpp:33
Real volBoxSize
the volume_boxsize_limit for the DIRECT method in MethodNCSUDC
Definition: DataMethod.hpp:755
short approxSubProbCon
type of approximate subproblem constraints: NO_CON, LINEARIZED_CON, or ORIGINAL_CON
Definition: SurrBasedLocalMinimizer.hpp:179
int newEvalIdRefPt
iteration reference point for newEvalIdCntr
Definition: DakotaInterface.hpp:389
void build_approximation()
use the high fidelity model to compute the truth values needed for correction of the low fidelity mod...
Definition: EnsembleSurrModel.cpp:2110
void aggregate_variance_target_Qsum(const IntRealMatrixMap &sum_Ql, const IntRealMatrixMap &sum_Qlm1, const IntIntPairRealMatrixMap &sum_QlQlm1, const Sizet2DArray &N_l, const size_t step, RealMatrix &agg_var_qoi)
sum up variances for QoI (using sum_YY with means from sum_Y) based on allocation target
Definition: NonDMultilevelSampling.cpp:946
void print_variables(std::ostream &s, const RealVector &c_vars)
convenience function to print calibration parameters, e.g., for MAP / best parameters
Definition: NonDBayesCalibration.cpp:3233
bool algebraicMappings
flag for the presence of algebraic_mappings that define the subset of an Interface's parameter to res...
Definition: DakotaInterface.hpp:366
const IntSetArray & discrete_set_int_values()
return the sets of values available for each of the active discrete set integer variables (aggregated...
Definition: DakotaModel.hpp:2396
unsigned short numericalSolveMode
approach for overriding an analytic solution based on simplifying assumptions that might be violated,...
Definition: DataMethod.hpp:1094
IntResponseMap graphicsRespMap
used to cache the data returned from derived_synchronize_nowait() prior to sequential input into the ...
Definition: DakotaModel.hpp:1690
OPTPP::NLP0 * nlfObjective
objective NLF base class pointer
Definition: SNLLLeastSq.hpp:178
void initialize_inactive_start_counts()
initialize i{c,di,ds,dr}vStart and numI{D,DI,DS,DR}V
Definition: SharedVariablesData.hpp:556
bool differ(size_t N_alloc_ij, const SizetArray &N_actual_ij) const
return true if fine-grained reporting differs from coarse-grained
Definition: DakotaNonD.hpp:496
void LoadTheDesignVariables(JEGA::FrontEnd::ProblemConfig &pConfig)
Adds DesignVariableInfo objects into the problem configuration object.
Definition: JEGAOptimizer.cpp:1403
size_t wait_local_analyses()
wait for asynchronous analyses on the local processor, completing at least one job
Definition: ForkApplicInterface.cpp:64
bool isMatrix
2d or 1d?
Definition: dakota_results_types.hpp:496
RealVector paramMins
lower bounds on calibrated parameters
Definition: NonDDREAMBayesCalibration.hpp:89
virtual void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDExpansion.cpp:526
StringMultiArrayConstView inactive_discrete_string_variables() const
return the inactive discrete variables in currentVariables
Definition: DakotaModel.hpp:2115
RealVectorArray computedProbLevels
output probability levels for all response functions resulting from requestedRespLevels
Definition: DakotaNonD.hpp:331
IntArray fnGradRefPt
iteration reference point for fnGradCounter
Definition: DakotaInterface.hpp:400
~DataInterface()
destructor
Definition: DataInterface.cpp:104
IntResponseMap surrResponseMap
map of responses returned in buildSurrogate mode
Definition: ActiveSubspaceModel.hpp:307
virtual ~BootstrapSampler()
Destructor.
Definition: BootstrapSampler.hpp:152
void accumulate_ml_Ysums(IntRealMatrixMap &sum_Y, RealMatrix &sum_YY, size_t lev, SizetArray &num_Y)
update accumulators for multilevel telescoping running sums using set of model evaluations within all...
Definition: NonDMultilevelSampling.cpp:824
Real requestedTargetLevel
the {response,reliability,generalized reliability} level target for the current response function
Definition: NonDReliability.hpp:105
Real covariance(Approximation &approx_2)
return the covariance between two response expansions, treating all variables as random
Definition: C3Approximation.hpp:374
void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to SimulationModel (invokes a synchronous map() on userDefinedInterfac...
Definition: SimulationModel.hpp:249
UShortArray nlnIneqScaleTypes
nonlinear inequality constraint scale types
Definition: ScalingOptions.hpp:44
bool check_steps_per_variable(const IntVector &steps_per_var)
perform error checks on stepsPerVariable
Definition: ParamStudy.hpp:480
void derived_init_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set up parallel operations for the array of subordinate models {approxModels,truthModel}
Definition: EnsembleSurrModel.cpp:196
void write_ordered(std::ostream &s, const SizetArray &comp_totals, const Teuchos::SerialDenseVector< OrdinalType, ScalarType1 > &c_vector, const Teuchos::SerialDenseVector< OrdinalType, ScalarType2 > &di_vector, const Teuchos::SerialDenseVector< OrdinalType, ScalarType3 > &ds_vector, const Teuchos::SerialDenseVector< OrdinalType, ScalarType4 > &dr_vector)
free function to write Variables data vectors in input spec ordering
Definition: DakotaVariables.hpp:1856
void merge_data_partial(const IntVector &d_vec, RealVector &m_vec, size_t start_index_ma)
merge a discrete integer vector into a single continuous vector
Definition: dakota_data_util.hpp:1158
~PStudyDACE()
destructor
Definition: DakotaPStudyDACE.cpp:63
StringArray discreteStateRangeLabels
labels array for the discrete state variables defined by an integer range (from the discrete_state_ra...
Definition: DataVariables.hpp:667
static Real compute_wilks_residual(unsigned short order, int nsamples, Real alpha, Real beta, bool twosided)
Helper function - calculates the Wilks residual.
Definition: NonDSampling.cpp:1472
void dsi_step(size_t di_index, int increment, const IntSet &values, Variables &vars)
helper function for performing a discrete step in an integer set variable
Definition: ParamStudy.hpp:680
std::map< var_t, int > xDIM
map from var_t enum to discrete int value
Definition: DirectApplicInterface.hpp:187
void compute_densities(const RealRealPairArray &min_max_fns, bool prob_refinement=false, bool all_levels_computed=false)
compute the PDF bins from the CDF/CCDF values and store in computedPDF{Abscissas,Ordinates}
Definition: DakotaNonD.cpp:846
int derivative_concurrency() const
return the gradient concurrency for use in parallel configuration logic
Definition: DakotaModel.cpp:3874
void print_results(std::ostream &s, short results_state=FINAL_RESULTS) override
print the final iterator results
Definition: NonDWASABIBayesCalibration.cpp:392
Dakota specialization of QUESO vector-valued random variable.
Definition: QUESOImpl.hpp:80
size_t numResponseFunctions
number of generic response functions (from the num_response_functions specification in RespFnGen)
Definition: DataResponses.hpp:73
void serve_evaluations()
run on evaluation servers to serve the iterator master
Definition: ApplicationInterface.cpp:2183
virtual void clear_model_keys()
reset initial state by removing all model keys for an approximation
Definition: DakotaInterface.cpp:991
void wait_local_evaluations(PRPQueue &prp_queue)
For asynchronous function evaluations, this method is used to detect completion of jobs and process t...
Definition: DirectApplicInterface.cpp:298
Iterator lhsSampler
the LHS sampler instance
Definition: NonDLHSInterval.hpp:62
void compute_col_stdevs(RealMatrix &matrix, RealVector &avg_vals, RealVector &std_devs)
Computes standard deviations of columns of matrix.
Definition: dakota_data_util.cpp:212
IntArray intWorkSpace
int work space for NPSOL/NLSSOL
Definition: SOLBase.hpp:166
unsigned short active_truth_model_form() const
return the model form corresponding to truthModelKey
Definition: EnsembleSurrModel.hpp:908
static void approx_subprob_objective_eval(const Variables &surrogate_vars, const Variables &recast_vars, const Response &surrogate_response, Response &recast_response)
static function used to define the approximate subproblem objective.
Definition: SurrBasedLocalMinimizer.cpp:1089
Handle class for model specification data.
Definition: DataModel.hpp:540
std::shared_ptr< TraitsBase > traits() const
returns methodTraits for access to derived class member functions that are not mapped to the top Trai...
Definition: DakotaIterator.hpp:606
bool check_variable_partitions(const UShortArray &partitions)
perform error checks on variable partitions
Definition: ParamStudy.hpp:533
void update_pop_counts(const IntResponsePair &response_pr)
append to the stack of pop counts within each of the functionSurfaces based on the active set definit...
Definition: ApproximationInterface.cpp:839
virtual void inactive_view(short view, bool recurse_flag=true)
update the Model's inactive view based on a higher level context
Definition: DakotaModel.cpp:5329
bool methodScaling
flag indicating scaling status (from the scaling specification in MethodIndControl)
Definition: DataMethod.hpp:348
ReducedBasis()
default constructor
Definition: ReducedBasis.cpp:20
virtual void post_run(std::ostream &s) override
Inherit to allow on-the-fly instances to customize behavior.
Definition: NonDPolynomialChaos.cpp:1240
void save(Archive &ar, const unsigned int version) const
write a Response to an archive
int boundsArraySize
length of aggregated bounds arrays (variable bounds plus linear and nonlinear constraint bounds)
Definition: SOLBase.hpp:184
IntVector prevDIVStar
stores previous optimal point for discrete integer variables; used for assessing convergence
Definition: NonDGlobalInterval.hpp:171
void write_tabular_partial(std::ostream &s, size_t start_index, size_t num_items) const
write portion of responseRep::functionValues in tabular format to a std::ostream
Real * x
corresponding parameter vector
Definition: NL2SOLLeastSq.cpp:119
Real convergenceTol
iteration convergence tolerance
Definition: DakotaIterator.hpp:491
void add_eol()
complete tabular row with EOL
Definition: OutputManager.hpp:452
virtual void update_samples_from_order_increment()
update numSamplesOnModel after an order increment
Definition: NonDExpansion.cpp:1904
const RealVector & gradient(const Variables &vars)
retrieve the function gradient at the predicted value for a given parameter set
Definition: VPSApproximation.cpp:3263
void copy_rep(SharedResponseDataRep *srd_rep)
copy the data from srd_rep to the current representation
void initialize_data_from_submodel()
code shared among constructors to initialize base class data from submodel
Definition: RecastModel.cpp:879
static void least_sq_eval(int &mode, int &m, int &n, int &nrowfj, double *x, double *f, double *gradf, int &nstate)
Evaluator for NLSSOL: computes the values and first derivatives of the least squares terms (passed by...
Definition: NLSSOLLeastSq.cpp:83
int derived_map_ac(const Dakota::String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: PluginParallelDirectApplicInterface.cpp:44
Real approxVariance
value of the approximation returned by prediction_variance()
Definition: GaussProcApproximation.hpp:194
Real oversampleRatio
oversampling ratio for Leja D-optimal candidate set generation
Definition: NonDLHSSampling.hpp:165
const KeyType & map_index_to_key(OrdinalType index, const std::map< KeyType, ValueType > &pairs)
retrieve the set value corresponding to the passed index
Definition: dakota_data_util.hpp:1237
size_t numUsed
number of previous data points used (size of reduced subspace)
Definition: QMEApproximation.hpp:91
void acquire_simulation_data(RealMatrix &sim_data)
Populate simulation data (run design of experiments or load build data)
Definition: NonDGPMSABayesCalibration.cpp:428
void initialize()
Shared constructor code.
Definition: CONMINOptimizer.cpp:49
ProblemDescDB probDescDB
the parser database instance
Definition: DakotaEnvironment.hpp:153
double rosen_cdv_upper_bd
upper bound value to pass through parser to callback function
Definition: library_mode.cpp:59
size_t numObservations
rows of data matrix
Definition: RandomFieldModel.hpp:155
bool restart_file(bool recurse_flag=true) const
if recurse_flag, return the actualModel restart file usage
Definition: DataFitSurrModel.hpp:1003
void all_continuous_variable(Real a_c_var, size_t i)
set a variable within the all continuous variables in currentVariables
Definition: DakotaModel.hpp:2181
int penaltyIterOffset
iteration offset used to update the scaling of the penalty parameter for adaptive_penalty merit funct...
Definition: SurrBasedLocalMinimizer.hpp:196
bool uncertainVarsInitPt
flag indicating user specification of initial points (for local optimization-based UQ methods) for at...
Definition: DataVariables.hpp:101
void generate_initial_guesses(const VectorXd &sigma_bounds, const MatrixXd &length_scale_bounds, const VectorXd &nugget_bounds, const int num_restarts, const int seed, MatrixXd &initial_guesses)
Randomly generate initial guesses for the optimization routine.
Definition: SurrogatesGaussianProcess.cpp:720
OPTPP::NLP0 * nlfObjective
objective NLF base class pointer
Definition: SNLLOptimizer.hpp:315
bool readFieldCoords
need field coordinates for model discrepancy
Definition: NonDBayesCalibration.hpp:349
StringScale(const std::string &in_label, std::initializer_list< String > in_items, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes and initializer list of strings.
Definition: dakota_results_types.hpp:399
void(* userObjective0)(int n, const RealVector &x, double &f, int &result_mode)
cache zeroth-order objective call-back function
Definition: SNLLOptimizer.hpp:386
void copy_rep(std::shared_ptr< Response > source_resp_rep) override
Specialization of copy_rep; pulls base class data as well as derived specific data from the source re...
Definition: ExperimentResponse.cpp:142
String historyFile
the HISTORY_FILE specification for NOMAD
Definition: DataMethod.hpp:805
static void set_mapping(const Variables &recast_vars, const ActiveSet &recast_set, ActiveSet &sub_model_set)
map the inbound ActiveSet to the sub-model (map derivative variables)
Definition: SubspaceModel.cpp:487
std::vector< Pecos::ActiveKey > surrModelKeys
keys defining model forms / resolution levels for the active set of approximations
Definition: EnsembleSurrModel.hpp:289
void write(MPIPackBuffer &s) const
write a ParallelLevel object to a packed MPI buffer
Definition: ParallelLibrary.hpp:371
void unpack(u_char &data)
Unpack a unsigned char.
Definition: MPIPackBuffer.hpp:259
RealVector confBoundsLower
lower bounds for confidence intervals on calibration parameters
Definition: DakotaLeastSq.hpp:73
int increment_size() const
invokes SparseGridDriver::unique_trial_points()
Definition: NonDSparseGrid.hpp:210
Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: TANA3Approximation.cpp:265
void approx_type_to_basis_type(const String &approx_type, short &basis_type)
utility to convert Dakota type string to Pecos type enumeration
size_t maxSolverIterations
max iterations for optimization solver used in FT regression
Definition: DataModel.hpp:416
virtual const VariablesArray & initial_points() const
Overridden to return the collection of initial points for the JEGA algorithm created and run by this ...
Definition: JEGAOptimizer.cpp:920
void update_final_statistics()
update function values within finalStatistics
Definition: NonDExpansion.hpp:822
void export_point(int eval_id, const Variables &vars, const Response &resp)
initialize file stream for exporting surrogate evaluations
Definition: DataFitSurrModel.cpp:2273
StringMultiArrayConstView discrete_string_variable_labels() const
return the active discrete string variable labels
Definition: DakotaVariables.hpp:1137
void update_model_active_constraints(Model &model)
update incoming (sub-)model with active bounds from userDefinedConstraints
Definition: SurrogateModel.cpp:395
virtual const RealVector & approximation_variances(const Variables &vars)
retrieve the prediction variances from each Approximation within a DataFitSurrModel
Definition: DakotaModel.cpp:4412
void pack(const u_long &data)
Pack a unsigned long.
Definition: MPIPackBuffer.hpp:95
~C3FnTrainData()
destructor
Definition: C3FnTrainData.cpp:266
virtual void allocate_matrix(const StrStrSizet &iterator_id, const StringArray &location, ResultsOutputType stored_type, const int &num_rows, const int &num_cols, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray())=0
Pre-allocate a matrix and (optionally) attach dimension scales and attributes. Insert rows or columns...
void cv_raw_moments(IntRealMatrixMap &sum_L_shared, IntRealMatrixMap &sum_H, IntRealMatrixMap &sum_LL, IntRealMatrixMap &sum_LH, const SizetArray &N_shared, IntRealMatrixMap &sum_L_refined, const SizetArray &N_refined, size_t lev, RealMatrix &H_raw_mom)
apply control variate parameters for MLMF MC to estimate raw moment contributions
Definition: NonDMultilevControlVarSampling.cpp:1190
int numDakotaNonlinearIneqConstraints
number of nonlinear inequality constraints from Dakota perspective
Definition: DakotaTPLDataTransfer.hpp:163
const ShortShortPair & view() const
returns variablesView
Definition: DakotaVariables.hpp:1798
ShortArray active2ADSVarMapTargets
"secondary" variable mappings for inserting active discrete string currentVariables into sub-paramete...
Definition: NestedModel.hpp:372
void archive_best_results()
top-level archival method
Definition: DakotaLeastSq.cpp:666
int random_seed() const
return specification for random seed (may be part of a sequence specification)
Definition: NonDMultilevelFunctionTrain.hpp:138
OPTPP::OptFDNIPS * optfdnips
Finite Difference NIPS opt pointer.
Definition: SNLLOptimizer.hpp:348
Abstract class for low-discrepancy sequences.
Definition: LowDiscrepancySequence.hpp:29
ProblemDescDB dummy_db
dummy ProblemDescDB for ref initialization
Definition: dakota_global_defs.cpp:73
ModelList modelList
list of model objects, one for each model specification
Definition: ProblemDescDB.hpp:494
size_t numDesigns
The maximum number of designs to keep when using the max_designs nicher.
Definition: DataMethod.hpp:720
void component_parallel_mode(short mode)
update component parallel mode for supporting parallelism in actualModel
Definition: DataFitSurrModel.cpp:2308
void initialize_graphics(int iterator_server_id=1)
initialize graphics customized for local reliability methods
Definition: NonDLocalReliability.cpp:504
virtual void set_local_data(const Variables &vars, const ActiveSet &set)
convenience function for local test simulators which sets per-evaluation variable and active set attr...
Definition: DirectApplicInterface.cpp:346
virtual RealVector solution_level_costs() const
return ordered cost estimates across solution levels (SimulationModel)
Definition: DakotaModel.cpp:3723
void cache_unmatched_response(int raw_id)
migrate an unmatched response record from rawResponseMap to cachedResponseMap
Definition: DakotaInterface.cpp:852
~TaylorApproximation()
destructor
Definition: TaylorApproximation.hpp:83
int refinement_samples() const
return refineSamples
Definition: NonDAdaptImpSampling.hpp:213
std::ofstream exportFileStream
output file stream for export_approx_points_file specification
Definition: DataFitSurrModel.hpp:459
IntVector stepsPerVariable
number of offsets in the plus and the minus direction for each variable in a centered_parameter_study
Definition: ParamStudy.hpp:233
void reshape_linear(size_t num_lin_ineq_cons, size_t num_lin_eq_cons)
reshape the linear constraint array sizes
Definition: DakotaConstraints.cpp:517
short acceptLogic
type of iterate acceptance test logic: FILTER or TR_RATIO
Definition: SurrBasedLocalMinimizer.hpp:186
short prevDSIView
previous view used in discrete_set_int_values(view): avoids recomputation of activeDiscSetIntValues
Definition: DakotaModel.hpp:1713
const Pecos::RealSymMatrix & hessian(const Variables &vars)
retrieve the approximate function Hessian for a given parameter vector
Definition: PecosApproximation.hpp:745
void insert(const StrStrSizet &iterator_id, const StringArray &location, const boost::any &data, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray(), const bool &transpose=false) override
insert an arbitrary type (RealMatrix) with metadata
Definition: ResultsDBAny.hpp:52
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonDMultilevelSampling.cpp:107
void register_pybind11_callback_fns(const std::map< String, py::function > &callbacks)
register a collection of python callback functions
driver_t
enumeration of possible direct driver types (to index to names)
Definition: DirectApplicInterface.hpp:42
int derived_evaluation_id() const
Return the current evaluation id for the NestedModel.
Definition: NestedModel.hpp:666
void process_truth_response_map(const IntResponseMap &truth_resp_map, bool rebuild)
update approximation data and constraint penalties/multipliers based on new truth data
Definition: EffGlobalMinimizer.cpp:651
int npsolDerivLevel
derivative level for NPSOL executions (1 = analytic grads of objective fn, 2 = analytic grads of cons...
Definition: NonDLocalReliability.hpp:349
void linear_model_cost_gradient(const RealVector &N_vec, RealVector &grad_c)
constraint gradient helper fn shared by NPSOL/OPT++ static evaluators
Definition: NonDGenACVSampling.cpp:1593
int dimension
Dimension of the dataset to attach the scale to.
Definition: ResultsDBHDF5.hpp:146
void components_to_totals()
update variablesCompsTotals from variablesComponents
Real constraintPenalty
the initial constraint_penalty for COLINY methods in MethodAPPS, MethodSCOLIBDIR, MethodSCOLIBPS,...
Definition: DataMethod.hpp:568
H5::Attribute create_attribute(const String &location, const String &label, const T &data)
create an attribute at the location and return it
Definition: HDF5_IO.hpp:1375
void reshape_best(size_t num_cv, size_t num_fns)
reshape input/output sizes within best{Variables,Response}Array
Definition: DakotaMinimizer.hpp:361
friend bool nearby(const Variables &vars1, const Variables &vars2, Real rel_tol)
tolerance-based equality operator
static void check_descriptors_for_repeats(const StringArray &labels)
Ensure no response descriptors are repeated.
Definition: NIDRProblemDescDB.cpp:1740
OPTPP::NLF0 * nlf0
pointer to objective NLF for nongradient optimizers
Definition: SNLLOptimizer.hpp:321
bool printPopFlag
The print_each_pop flag to set the printing of the population at each generation.
Definition: DataMethod.hpp:747
Real assess_emulator_convergence()
compute the L2 norm of the change in emulator coefficients
Definition: NonDBayesCalibration.cpp:1013
RealVector field_values_view(size_t i) const
return const field values for the i-th field
Definition: DakotaResponse.hpp:562
void core_run()
compute the least squares solution
Definition: SNLLLeastSq.cpp:516
String refineCVMetric
metric to use in cross-validation guided refinement
Definition: DataModel.hpp:465
DataFitSurrBasedLocalTraits()
default constructor
Definition: DataFitSurrBasedLocalMinimizer.hpp:39
void archive_total_effects_indices(const StrStrSizet &run_identifier, ResultsManager &resultsDB, const StringArray &var_labels, const StringArray &resp_labels, const Real dropTol) const
archive VBD-based Sobol total effects indices
Definition: SensAnalysisGlobal.cpp:1100
std::vector< Approximation > gpApproximations
approximate models used to map the uncertain vars through the PCA approx
Definition: RandomFieldModel.hpp:209
void approximate_control_variate_offline_pilot()
Definition: NonDACVSampling.cpp:169
virtual void dakota_response_to_colin_response(const Response &dakota_response, colin::AppResponse::response_map_t &colin_responses)
Gelper function to convert evaluation response data from DAKOTA structures to COLIN structures.
Definition: COLINApplication.cpp:438
bool batchEval
flag indicating usage of batch evaluation facilities, where a set of jobs is launched and scheduled a...
Definition: ApplicationInterface.hpp:208
void init_serial()
Definition: ApplicationInterface.hpp:562
static int nerr
number of parse error encountered
Definition: NIDRProblemDescDB.hpp:88
virtual size_t solution_control_variable_index() const
return index of solution control variable within all variables
Definition: DakotaModel.cpp:3762
virtual void rebuild()
rebuilds the shared approximation data incrementally
Definition: SharedApproxData.cpp:334
~NonDMultilevelPolynomialChaos()
destructor
Definition: NonDMultilevelPolynomialChaos.cpp:292
size_t maxCVRankCandidates
maximum number of cross-validation candidates for adaptRank
Definition: DataModel.hpp:444
const RealVector & gradient(const Variables &vars)
retrieve the approximate function gradient for a given parameter vector
Definition: TaylorApproximation.cpp:100
bool candidateSolution()
Method called after the bounding operation, returns true if the bounding resulted in a possible solut...
Definition: PEBBLBranching.cpp:118
int numRounds
the number of rounds of additions of size batchSize to add to the original set of LHS samples
Definition: NonDAdaptiveSampling.hpp:84
bool is_equal_partial(const Teuchos::SerialDenseVector< OrdinalType1, ScalarType > &vec1, const Teuchos::SerialDenseVector< OrdinalType1, ScalarType > &vec2, OrdinalType2 start_index2)
partial equality operator for navigating different views
Definition: dakota_data_util.hpp:205
void derived_set_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set active parallel configuration within actualModel
Definition: DataFitSurrModel.hpp:917
virtual void stop_servers()
Executed by the master to terminate all server operations for a particular model when iteration on th...
Definition: DakotaModel.cpp:4683
std::vector< String > programNames
the names of the analysis code programs (analysis_drivers user specification)
Definition: ProcessApplicInterface.hpp:173
size_t continuous_state()
return total number of state variables
Definition: DataVariables.hpp:952
size_t tv() const
total number of vars
Definition: DakotaVariables.hpp:694
size_t numCandidates
number of candidate designs for adaptive Bayesian experimental design
Definition: NonDBayesCalibration.hpp:331
size_t numDiscreteUncSetRealVars
number of discrete epistemic uncertain real set variables (from the discrete_uncertain_set real speci...
Definition: DataVariables.hpp:191
void infer_pilot_sample(size_t num_steps, SizetArray &delta_N_l)
Definition: NonDMultilevelPolynomialChaos.cpp:744
size_t num_response_groups() const
total number of response groups (number scalars + number pri field groups)
Definition: SharedResponseData.hpp:339
bool diagnostics_available() override
check if diagnostics are available for this approximation type
Definition: DakotaSurrogates.cpp:46
RealVector expected_violation(const RealVector &means, const RealVector &variances)
expected violation function for the constraint functions
Definition: EffGlobalMinimizer.cpp:1094
Real initialize_h(Real x_j, Real lb_j, Real ub_j, Real step_size, String step_type) const
function to determine initial finite difference h (before step length adjustment) based on type of st...
Definition: DakotaModel.cpp:1563
std::vector< var_t > xDRMLabels
var_t enumerations corresponding to discrete real variable labels
Definition: DirectApplicInterface.hpp:198
UShortMultiArrayConstView inactive_continuous_variable_types() const
return the inactive continuous variable types from currentVariables
Definition: DakotaModel.hpp:2151
~SurrogatesBaseApprox()
destructor
Definition: DakotaSurrogates.hpp:47
Variables copy(bool deep_svd=false) const
a deep variables copy for use in history mechanisms (SharedVariablesData uses a shallow copy by defau...
int numSamplesOnExpansion
number of approximation samples performed on the polynomial expansion in order to estimate probabilit...
Definition: NonDExpansion.hpp:474
std::shared_ptr< Interface > interface_rep()
function to return the letter
Definition: DakotaInterface.hpp:522
bool resize()
reinitializes iterator based on new variable size
Definition: DakotaPStudyDACE.cpp:66
bool asynchLocalEvalStatic
whether the asynchronous local evaluations are to be performed with a static schedule (default false)
Definition: ApplicationInterface.hpp:452
RealVector discreteRealEpistemicUncVars
array of values for all discrete real epistemic uncertain variables
Definition: DataVariables.hpp:782
String final_eval_id_tag(int fn_eval_id)
form and return the final evaluation ID tag, appending iface ID if needed
Definition: ApplicationInterface.cpp:376
static short response_order(const Model &sub_model)
helper to compute the recast response order during member initialization
Definition: RecastModel.cpp:303
void ml_Q_raw_moments(const RealMatrix &sum_Hl_1, const RealMatrix &sum_Hlm1_1, const RealMatrix &sum_Hl_2, const RealMatrix &sum_Hlm1_2, const Sizet2DArray &N_actual, size_t start, size_t end, RealMatrix &ml_raw_mom)
accumulate ML-only contributions (levels with no CV) to 2 raw moments
Definition: NonDMultilevelSampling.hpp:908
void apply_mf_control(Real sum_H, Real sum_L_shared, size_t N_shared, Real sum_L_refined, size_t N_refined, Real beta, Real &H_raw_mom)
apply scalar control variate parameter (beta) to approximate HF moment
Definition: NonDMultilevControlVarSampling.hpp:472
virtual const RealVectorArray & approximation_coefficients(bool normalized=false)
retrieve the approximation coefficients from each Approximation within an ApproximationInterface
Definition: DakotaInterface.cpp:1414
static double sample_likelihood(int par_num, double zp[])
Likelihood function for call-back from DREAM to DAKOTA for evaluation.
Definition: NonDDREAMBayesCalibration.cpp:297
static void npsol_constraint(int &mode, int &ncnln, int &n, int &nrowj, int *needc, double *x, double *c, double *cjac, int &nstate)
static function used by NPSOL for the nonlinear constraints, if present
Definition: NonDNonHierarchSampling.cpp:2096
String modelId
model identifier string from the input file
Definition: DakotaModel.hpp:1416
void build_linear_system(RealMatrix &A, const UShort2DArray &multi_index)
construct the Vandermonde matrix "A" for PCE regression for Ax = b
Definition: PecosApproximation.hpp:708
void resize_from_subordinate_model(size_t depth=SZ_MAX)
resize currentResponse if needed when one of the subordinate models has been resized
Definition: EnsembleSurrModel.hpp:1100
std::shared_ptr< DataResponsesRep > data_rep()
return dataRespRep
Definition: DataResponses.hpp:348
unsigned short resultsFileFormat
results file format
Definition: ProcessApplicInterface.hpp:162
SizetArray inactiveVarsCompsTotals
totals for inactive variable type counts for {continuous,discrete integer,discrete string,...
Definition: SharedVariablesData.hpp:244
void generate_sub_trees(unsigned short root, const UShortArray &nodes, unsigned short depth, UShortArray &dag, UShortArraySet &model_dags)
recursively generate sub-trees for current root and subordinate nodes
Definition: NonDGenACVSampling.cpp:228
bool calibrationDataFlag
whether calibration data was specified
Definition: DataResponses.hpp:149
RealMatrix functionGradients
first derivatives of the response functions
Definition: DakotaResponse.hpp:406
void dss_step(size_t ds_index, int increment, const StringSet &values, Variables &vars)
helper function for performing a discrete step in an string set variable
Definition: ParamStudy.hpp:701
RealVector globalUpperBnds
Global Upper bounds.
Definition: SurrBasedLocalMinimizer.hpp:227
ResultsManager & resultsDB
reference to the global iterator results database
Definition: DakotaIterator.hpp:526
void update_discrete_real_variables_active_complement_from_model(const Model &model)
update complement of active discrete real variables/bounds/labels from subModel
Definition: RecastModel.cpp:1273
void read_matrix(const std::string &dset_name, Teuchos::SerialDenseMatrix< int, T > &matrix, const bool &transpose=false) const
Read matrix (2D) information from a dataset Currently this involves a wasteful copy to do the transpo...
Definition: HDF5_IO.hpp:1207
std::shared_ptr< Response > responseRep
pointer to the body (handle-body idiom)
Definition: DakotaResponse.hpp:522
ShortArray determine_active_request(const Response &resid_resp) const
Perform check on the active request vector to make sure it is amenable to interpolation of simulation...
Definition: ExperimentData.cpp:1127
String variablesPointer
string pointer to the variables specification to be used by this model (from the variables_pointer sp...
Definition: DataModel.hpp:101
void inactive_continuous_variable(Real ic_var, size_t index)
set an inactive continuous variable
Definition: DakotaVariables.hpp:1425
int refineCVFolds
number of cross-validation folds in guided refinement
Definition: DataModel.hpp:469
Real truncationTolerance
truncation tolerance on build process: percent variance explained
Definition: DataModel.hpp:493
void read_results_file(Response &response, const bfs::path &path, const int id)
Open and read the results file at path, properly handling errors.
Definition: ProcessApplicInterface.cpp:754
ResponseArray correctedResponses
array containing predicted of model+discrepancy
Definition: NonDBayesCalibration.hpp:378
virtual void set_cell_bounds()
set the optimization variable bounds for each cell
Definition: NonDGlobalInterval.cpp:407
std::shared_ptr< QUESO::VectorSpace< QUESO::GslVector, QUESO::GslMatrix > > nEtaSpace
vector space defining the output (response) space for the simulations
Definition: NonDGPMSABayesCalibration.hpp:139
RealMatrix normTrainPoints
Current working set of normalized points upon which the GP is based.
Definition: GaussProcApproximation.hpp:206
Real continuous_upper_bound(size_t i) const
return an active continuous variable upper bound
Definition: DakotaConstraints.hpp:482
MatrixXd gradient(const MatrixXd &eval_points, const int qoi) override
Evaluate the gradient of the polynomial surrogate at a set of prediction points for a single QoI.
Definition: SurrogatesPolynomialRegression.cpp:182
H5::Group create_group(const H5::H5Location &loc, const std::string &name) const
Create a group.
Definition: HDF5_IO.cpp:341
void create_tabular_datastream()
create a tabular output stream for automatic logging of vars/response data
Definition: EnsembleSurrModel.cpp:1508
RealVector continuousAleatoryUncVars
array of values for all continuous aleatory uncertain variables
Definition: DataVariables.hpp:696
StringArray primaryRespFnScaleTypes
vector of primary response function scaling types (from the objective_function_scale_types specificat...
Definition: DataResponses.hpp:128
String exportVarianceFile
file name from export_approx_variance_file specification
Definition: DataFitSurrModel.hpp:462
void insert_nodes(Dakota::DataMethod &dme, Dakota::DataModel &dmo, Dakota::DataVariables &dv, Dakota::DataInterface &di, Dakota::DataResponses &dr)
Insert DB nodes for a {Method,Model,Variables,Interface,Responses} set.
Definition: LibraryEnvironment.cpp:71
Actual boostrap sampler implementation for common data types.
Definition: BootstrapSampler.hpp:127
const ParallelLevel & ie_parallel_level() const
return the ParallelLevel corresponding to iePLIter
Definition: ParallelLibrary.hpp:554
size_t numDerivVars
the number of active continuous variables used in computing most response derivatives (i....
Definition: DakotaModel.hpp:1396
bool blockingSynch
the synchronization setting: true if blocking, false if nonblocking
Definition: COLINOptimizer.hpp:177
int currEvalId
identifier for the current evaluation, which may differ from the evaluation counters in the case of e...
Definition: DakotaInterface.hpp:379
String mcmcType
MCMC type ("dram" or "delayed_rejection" or "adaptive_metropolis" or "metropolis_hastings" or "multil...
Definition: NonDQUESOBayesCalibration.hpp:170
short statsMetricMode
type of statistical metric roll-up: {NO,ACTIVE,COMBINED}_EXPANSION_STATS
Definition: NonDExpansion.hpp:413
void enforce_input_rules()
enforce sanity checks/modifications for the user input specification
Definition: FSUDesignCompExp.cpp:412
virtual void vary_pattern(bool pattern_flag)
sets varyPattern in derived classes that support it
Definition: DakotaAnalyzer.cpp:890
void core_run()
Definition: NonDMultilevControlVarSampling.cpp:69
RealArray algebraicConstraintWeights
set of weights for computing Hessian matrices for algebraic constraints;
Definition: DakotaInterface.hpp:481
void wait(MPI_Request &request, MPI_Status &status)
wait for a nonblocking send/receive request to complete
Definition: ParallelLibrary.hpp:1977
Iterator nlpSolver
Solver to be used at root node.
Definition: PEBBLBranching.hpp:26
short approxCorrectionOrder
correction order for global and hierarchical approximations: 0, 1, or 2 (from the correction specific...
Definition: DataModel.hpp:219
void alias(const ParallelLevel &pl)
assign the attributes of the incoming pl to this object. For communicators, this is a lightweight cop...
Definition: ParallelLibrary.hpp:234
short growthOverride
override for default point growth restriction policy: NO_GROWTH_OVERRIDE, RESTRICTED,...
Definition: DataMethod.hpp:971
void send_data_using_post(const std::string &datatopost)
POST separate location and query; datatopost="name=daniel&project=curl".
Definition: TrackerHTTP.cpp:237
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
Definition: NonDSparseGrid.cpp:231
RealVectorArray validationSet
Validation point set used to determine predictionErrors above.
Definition: NonDAdaptiveSampling.hpp:109
Real compute_level_mappings_metric(bool revert, bool print_metric)
compute 2-norm of change in final statistics
Definition: NonDStochCollocation.cpp:612
void recv_mi(int &recv_int, int source, int tag, MPI_Status &status, size_t index=_NPOS)
blocking receive at the metaiterator-iterator communication level
Definition: ParallelLibrary.hpp:1619
virtual void specify_prior()
Methods for instantiating a Bayesian inverse problem. No-ops in the base class that can be specialize...
Definition: NonDBayesCalibration.hpp:110
Model uSpaceModel
importance sampling is performed in standardized probability space. This u-space model is either pass...
Definition: NonDAdaptImpSampling.hpp:153
int tScramble
Number of rows in the linear scramble matrix.
Definition: DigitalNet.hpp:107
unsigned short quadratureOrder
the quadrature_order specification in MethodNonDPCE and MethodNonDSC
Definition: DataMethod.hpp:998
void export_model(const StringArray &var_labels, const String &fn_label, const String &export_prefix, const unsigned short export_format) override
export the Surpack model to disk or console
Definition: SurfpackApproximation.cpp:468
StringArray discreteDesignSetStrUpperBnds
discrete design stinr set upper bounds inferred from set values
Definition: DataVariables.hpp:690
~NonDLowDiscrepancySampling()
Destructor.
Definition: NonDLowDiscrepancySampling.cpp:42
Class for provably-convergent local surrogate-based optimization and nonlinear least squares.
Definition: DataFitSurrBasedLocalMinimizer.hpp:35
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: FSUDesignCompExp.cpp:187
bool idle_partition() const
return idlePartition
Definition: ParallelLibrary.hpp:321
RealVector distanceVector
The discretization percentage along each objective.
Definition: DataMethod.hpp:728
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: EffGlobalMinimizer.cpp:225
size_t mi_parallel_level_last_index() const
return the index of the last entry in miPLIters
Definition: ParallelLibrary.hpp:550
Real trustRegionContractTrigger
trust region minimum improvement level (ratio of actual to predicted decrease in objective fcn) in th...
Definition: DataMethod.hpp:453
void spawn_input_filter_to_shell(bool block_flag)
spawn the input filter portion of a function evaluation
Definition: SysCallApplicInterface.cpp:360
const IntResponseMap & synchronize()
recovers data from a series of asynchronous evaluations (blocking)
Definition: ApproximationInterface.cpp:298
bool supports_linear_inequality()
Return flag indicating ROL supports linear inequalities.
Definition: ROLOptimizer.hpp:155
Real percentVariance
fraction of energy to capture
Definition: RandomFieldModel.hpp:186
void pointsel_write_points()
Writes out the training set before and after point selection.
Definition: GaussProcApproximation.cpp:1212
pid_t analysis_process_group_id() const
return analysisProcGroupId
Definition: ForkApplicInterface.hpp:136
virtual void push_coefficients()
restores state prior to previous pop()
Definition: DakotaApproximation.cpp:366
unsigned short exportDiscrepFormat
format options for discrepancy output
Definition: NonDBayesCalibration.hpp:363
UShortMultiArrayConstView continuous_variable_types() const
return the active continuous variable types from currentVariables
Definition: DakotaModel.hpp:1949
NestedModel(ProblemDescDB &problem_db)
constructor
Definition: NestedModel.cpp:24
void process_synch_local(PRPQueueIter &prp_it)
process a completed synchronous local evaluation
Definition: ApplicationInterface.cpp:3007
~PSUADEDesignCompExp()
destructor
Definition: PSUADEDesignCompExp.cpp:51
bool checkFlag
flag for whether to run in check only mode (default false)
Definition: DataEnvironment.hpp:46
void read_data(double *response_data)
read from an incoming double* array
void post_process_samples()
post-process the output from executing lhsSampler
Definition: NonDLHSSingleInterval.cpp:33
void increment_specification_sequence()
increment the input specification sequence and assign values
Definition: NonDMultilevelFunctionTrain.cpp:358
bool interpolateFlag
flag for interpolation.
Definition: ExperimentData.hpp:466
static bool prepend_path_item(const bfs::path &src_path, const bfs::path &dest_dir, bool overwrite)
prepend the preferred env path with source path if it's a directory; this will update cached preferre...
Definition: WorkdirHelper.cpp:835
Derived approximation class for Surfpack approximation classes. Interface between Surfpack and Dakota...
Definition: SharedSurfpackApproxData.hpp:37
~DataModel()
destructor
Definition: DataModel.cpp:234
short responseType
enumeration of BASE_RESPONSE, SIMULATION_RESPONSE, or EXPERIMENT_RESPONSE
Definition: SharedResponseData.hpp:95
void derived_map(const Variables &vars, const ActiveSet &set, Response &response, int fn_eval_id)
Called by map() and other functions to execute the simulation in synchronous mode....
Definition: GridApplicInterface.cpp:95
Active subspace model for input (variable space) reduction.
Definition: ActiveSubspaceModel.hpp:52
Response prpResponse
the response set for the function evaluation
Definition: ParamResponsePair.hpp:155
void write_tabular_partial(std::ostream &s, size_t start_index, size_t num_items) const
write range of variables in tabular format to an std::ostream
Definition: RelaxedVariables.cpp:173
RealVector prevDRVStar
stores previous optimal point for discrete real variables; used for assessing convergence
Definition: NonDGlobalInterval.hpp:174
void clear_computed_bits()
clear tracking of computed moments, due to a change that invalidates previous results
Definition: PecosApproximation.hpp:804
bool check_sets(const IntVector &c_steps, const IntVector &di_steps, const IntVector &ds_steps, const IntVector &dr_steps)
sanity check for increments along int/real set dimensions
Definition: ParamStudy.cpp:1022
void sample_allocation_metric(Real ®ress_metric, Real power)
Definition: NonDC3FunctionTrain.cpp:545
void output_round_data(int round, int respFnCount=0)
Temporary function for dumping validation data to output files to be visualized in TopoAS.
Definition: NonDAdaptiveSampling.cpp:619
~OutputManager()
Destructor that closes streams and other outputs.
Definition: OutputManager.cpp:79
RealVector hyperPriorBetas
hyperparameters inverse gamma prior alphas
Definition: DataMethod.hpp:1251
A version of TraitsBase specialized for COLIN optimizers.
Definition: COLINOptimizer.hpp:28
virtual void replace_approximation(const IntResponsePair &response_pr, bool rebuild_flag)
replace the response for a single point (based on eval id from response_pr) within an existing surrog...
Definition: DakotaModel.cpp:4167
void free_iterator_parallelism()
convenience function for deallocating the concurrent iterator parallelism level
Definition: IteratorScheduler.cpp:196
void assign_specification_sequence(size_t index)
advance any sequence specifications
Definition: NonDEnsembleSampling.cpp:180
IntRealMapArray discreteUncSetIntValuesProbs
complete set of admissible values with associated basic probability assignments for each of the discr...
Definition: DataVariables.hpp:576
std::pair< colin::ApplicationHandle, COLINApplication * > colinProblem
handle and pointer to the COLINApplication object
Definition: COLINOptimizer.hpp:167
const String & method_id() const
return the method identifier (methodId)
Definition: DakotaIterator.hpp:680
virtual bool is_derived()
A temporary query used in the refactor.
Definition: CONMINOptimizer.hpp:33
bool lf_increment(const RealVector &eval_ratios, const SizetArray &N_lf, Real hf_target, RealVector &lf_targets, size_t iter, size_t lev)
perform LF sample increment as indicated by evaluation ratios
Definition: NonDMultilevControlVarSampling.cpp:1114
virtual QUESO::SharedPtr< QUESO::BaseTKGroup< QUESO::GslVector, QUESO::GslMatrix > >::Type build_tk() override
build and return the custom TK
Definition: QUESOImpl.hpp:196
const IntSet & hessian_id_quasi() const
return the mixed Hessian analytic IDs (hessIdQuasi)
Definition: DakotaModel.hpp:3675
void finalize_sets(bool converged_within_tol, bool reverted=false)
finalization of adaptive refinement using generalized sparse grids
Definition: NonDExpansion.cpp:2141
void construct_mcmc_model()
construct mcmcModel (no emulation, GP, PCE, or SC) that wraps inbound Model
Definition: NonDBayesCalibration.cpp:278
IntVector discreteStateRangeUpperBnds
upper bounds array for the discrete state variables defined by an integer range(from the discrete_sta...
Definition: DataVariables.hpp:626
size_t numDiscreteStringVars
number of active discrete string vars
Definition: DakotaMinimizer.hpp:241
Optimizer * prevOptInstance
pointer containing previous value of optimizerInstance
Definition: DakotaOptimizer.hpp:533
virtual void clear_current_active_data()
clears current data from an approximation interface
Definition: DakotaInterface.cpp:1354
void complement_subsets(bool &cdv, bool &ddv, bool &cauv, bool &dauv, bool &ceuv, bool &deuv, bool &csv, bool &dsv) const
define active variable subsets based on active view
Definition: SharedVariablesData.hpp:1107
bool ownPython
true if this class created the interpreter instance
Definition: Pybind11Interface.hpp:69
unsigned short importPredConfigFormat
tabular format for prediction configurations import file
Definition: DataMethod.hpp:1267
virtual void pop_grid_increment()
removes a previously computed grid increment
Definition: NonDIntegration.cpp:177
String exportExpansionFile
the export_expansion_file specification in MethodNonDPCE
Definition: DataMethod.hpp:1063
void inactive_variables(const Variables &vars)
copy the inactive cv/div/dsv/drv variables from vars
Definition: DakotaVariables.hpp:1003
bool mappingInitialized
track use of initialize_mapping() and finalize_mapping()
Definition: DakotaModel.hpp:1482
IntVector generatingMatrices
Inline generating matrices of the digital net.
Definition: DataMethod.hpp:928
short sequenceType
type of model sequence enumerated with primary MF/ACV loop over steps
Definition: NonDEnsembleSampling.hpp:167
const ParallelLevel & ea_parallel_level() const
return the ParallelLevel corresponding to eaPLIter
Definition: ParallelLibrary.hpp:558
RealVector discreteRealLowerBnds
the active discrete lower bounds array view
Definition: DakotaConstraints.hpp:402
size_t startRank
starting user specification for rank (not augmented by dimension preference); Note: rank sequence spe...
Definition: SharedC3ApproxData.hpp:239
size_t num_primary_functions() const
number of primary functions (pri scalars + 1-norm of priFieldLengths)
Definition: SharedResponseData.hpp:347
RealVector nonlinearIneqConUpperBnds
nonlinear inequality constraint upper bounds
Definition: DakotaConstraints.hpp:370
APPSEvalMgr * evalMgr
Pointer to the APPS evaluation manager object.
Definition: APPSOptimizer.hpp:197
Body class for environment specification data.
Definition: DataEnvironment.hpp:29
bool ieMessagePass
flag for message passing at ie scheduling level
Definition: ApplicationInterface.hpp:409
void pop_back()
pop the last redirection
Definition: OutputManager.cpp:987
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: NPSOLOptimizer.hpp:75
virtual void operator()(size_t num_samp, Data &bootstrapped_sample)
Generate and store a new bootstrapped sample into bootstrapped_sample.
Definition: BootstrapSampler.hpp:161
UShortMultiArray allDiscreteRealTypes
array of variable types for all of the discrete real variables
Definition: SharedVariablesData.hpp:290
Real augmented_linear_ineq_violations(const RealVector &cd_vars, const RealMatrix &lin_ineq_coeffs, const RealVector &lin_ineq_lb, const RealVector &lin_ineq_ub)
return quadratic constraint violation for augmented linear inequality constraints
Definition: NonDGenACVSampling.cpp:1252
virtual void unpack_parameters_buffer(MPIUnpackBuffer &recv_buffer, int job_index)
used by IteratorScheduler to unpack starting data for an iterator run
Definition: DakotaIterator.cpp:1376
Model & truth_model()
return the truth model within subModel
Definition: RecastModel.hpp:794
void unpack(short *data, const int num=1)
Unpack one or more short's.
RealVector upperBounds
variable upper bounds used in "user_functions" mode
Definition: NCSUOptimizer.hpp:163
std::vector< const char * > pointers_to_strings(const T &data)
Return a vector of pointers to strings.
Definition: HDF5_IO.hpp:185
Class for using local gradient-based optimization approaches to calculate interval bounds for epistem...
Definition: NonDLocalInterval.hpp:31
void construct_lhs(Iterator &u_space_sampler, Model &u_model, unsigned short sample_type, int num_samples, int seed, const String &rng, bool vary_pattern, short sampling_vars_mode=ACTIVE)
assign a NonDLHSSampling instance within u_space_sampler
Definition: DakotaNonD.cpp:248
UShortMultiArrayConstView all_discrete_int_variable_types() const
return all discrete variable types from currentVariables
Definition: DakotaModel.hpp:2269
RealVector linearIneqScaleMultipliers
scales for linear ineq constrs.
Definition: ScalingModel.hpp:189
BoolDeque recastFlags
a key indicating which models within a model recursion involve recasting
Definition: DakotaModel.hpp:1724
IntVariablesMap varsExplorationMap
variable sets for batch evaluation of truth model, accumulated by construct_batch_exploration()
Definition: EffGlobalMinimizer.hpp:302
const IntResponseMap & derived_synchronize_nowait()
Definition: DataFitSurrModel.cpp:1927
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDGlobalReliability.cpp:379
Real absConvTol
absolute function convergence tolerance
Definition: DataMethod.hpp:509
bool win2dOn
flag to indicate if 2D graphics window is active
Definition: DakotaGraphics.hpp:74
Teuchos::RCP< ROL::StdVector< Real > > lowerBounds
Handle to ROL's lower bounds vector.
Definition: ROLOptimizer.hpp:110
void(* setMapping)(const Variables &recast_vars, const ActiveSet &recast_set, ActiveSet &sub_model_set)
holds pointer for set mapping function passed in ctor/initialize
Definition: RecastModel.hpp:611
PSUADEDesignCompExp(ProblemDescDB &problem_db, Model &model)
primary constructor for building a standard DACE iterator
Definition: PSUADEDesignCompExp.cpp:28
void compute_multiplicative(const Response &truth_response, const Response &approx_response, int index, Real &discrep_fn, RealVector &discrep_grad, RealSymMatrix &discrep_hess)
internal convenience function for computing multiplicative corrections between truth and approximate ...
BitArray allRelaxedDiscreteInt
array of booleans to indicate relaxation (promotion from DiscreteInt to Continuous) for all specified...
Definition: SharedVariablesData.hpp:309
void read_annotated_rep(std::istream &s)
read a letter object in annotated format from a std::istream
void send_ie(int &send_int, int dest, int tag)
blocking send at the iterator-evaluation communication level
Definition: ParallelLibrary.hpp:1471
void compute_next_combination(int num_dims, int level, VectorXi &index, bool &extend, int &h, int &t)
Definition: surrogates_tools.cpp:17
void resolve_inputs(short &u_space_type, short &data_order)
perform error checks and mode overrides
Definition: NonDPolynomialChaos.cpp:869
Definition: ROLOptimizer.hpp:48
void estimator_variance_ratios(const RealVector &r_and_N, RealVector &estvar_ratios)
compute estimator variance ratios from HF samples and oversample ratios
Definition: NonDACVSampling.hpp:647
String lowFidModelPointer
string to point to the low fidelity model for Bayesian experimental design
Definition: DataMethod.hpp:315
static bool resolve_driver_path(String &an_driver)
parse off the first whitespace-separated entry in the user's analysis_driver, and convert it to an ab...
Definition: WorkdirHelper.cpp:293
Iterator subIterator
the sub-iterator that is executed on every evaluation of this model
Definition: NestedModel.hpp:277
static void init_fn(int n, RealVector &x)
An initialization mechanism provided by OPT++ (not currently used).
Definition: SNLLBase.cpp:177
int numHyperparams
calculated number of hyperparameters augmenting the calibration parameter set, e.g....
Definition: NonDBayesCalibration.hpp:415
int asynchLocalAnalysisConcSpec
user specification for asynchronous local analysis concurrency
Definition: ApplicationInterface.hpp:243
void shape_rep(const ActiveSet &set, bool initialize=true)
resizes the representation's containers
void clear_active_data()
clear active approximation data
Definition: DakotaApproximation.hpp:603
unsigned int compute_constantine_metric(RealVector &singular_values)
compute Constantine's metric to identify the active subspace
Definition: ActiveSubspaceModel.cpp:745
const IntVector & discrete_int_variables() const
return the active discrete integer variables from currentVariables
Definition: DakotaModel.hpp:1865
void build_gradient_of_sum_square_residuals_from_function_data(const RealMatrix &func_gradients, const RealVector &residuals, RealVector &ssr_gradient, const ShortArray &asrv)
Construct the gradient of the sum of squares of residuals.
Definition: ExperimentData.cpp:1341
void string_variable_mapping(const String &s_var, size_t av_index, short svm_target)
insert s_var into appropriate recipient
Definition: NestedModel.cpp:2755
double variance(const VectorXd &vec)
Calculates the variance based on an Eigen VectorXd of double values.
Definition: util_common.cpp:70
void surrogate_function_indices(const SizetSet &surr_fn_indices)
update the subModel's surrogate response function indices (DataFitSurrModel::surrogateFnIndices)
Definition: RecastModel.hpp:892
void done_modifying_db()
Check database contents, broadcast, and construct iterators.
Definition: LibraryEnvironment.cpp:86
void finalize_export()
finalize file stream for exporting surrogate evaluations
Definition: DataFitSurrModel.cpp:2258
bool strcontains(const std::string &input, const std::string &test)
Return true if input string contains string test.
Definition: dakota_data_util.hpp:345
virtual void map_pre_solve()
Definition: NonDBayesCalibration.cpp:851
short rbfMaxSubsets
maximum number of subsets for radial basis function approximation
Definition: DataModel.hpp:254
unsigned short get_ushort(const String &entry_name) const
get an unsigned short out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2432
const UShortArray & get_usa(const String &entry_name) const
get an UShortArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1668
void resize_maps()
size id_maps and cached_resp_maps arrays according to responseMode
Definition: EnsembleSurrModel.hpp:1065
void reset_process_environment()
reset PATH and current directory after system/spawn (workdir case)
Definition: ProcessApplicInterface.cpp:971
bool centralHess
option to use old 2nd-order finite diffs for Hessians
Definition: DakotaModel.hpp:1458
BaseConstructor(int=0)
C++ structs can have constructors.
Definition: dakota_global_defs.hpp:163
unsigned short numericalSolveMode
controls use of numerical solve option: either a fallback in case of model misordering (default = NUM...
Definition: NonDMultifidelitySampling.hpp:187
VectorXd pold
Previous value of the parameter vector.
Definition: SurrogatesGPObjective.hpp:105
unsigned short warningBits
set of warnings accumulated during execution
Definition: NonDLocalReliability.hpp:352
void copy_rep_data(SharedVariablesDataRep *svd_rep)
copy the core data from svd_rep to the current representation
NonDQUESOBayesCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDQUESOBayesCalibration.cpp:43
short respLevelTarget
indicates mapping of z->p (PROBABILITIES), z->beta (RELIABILITIES), or z->beta* (GEN_RELIABILITIES)
Definition: DakotaNonD.hpp:340
void assign_max_strings(const Pecos::MultivariateDistribution &mv_dist, Variables &vars)
assign all of the longest possible string values into vars
Definition: DakotaModel.cpp:5012
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: SurrBasedMinimizer.cpp:139
RealVector linearIneqScales
scaling factors for the linear inequality constraints (from the linear_inequality_scales specificatio...
Definition: DataVariables.hpp:822
static UShortArray scale_str2enum(const StringArray &scale_strs)
convert problem DB strings to unsigned shorts
Definition: ScalingOptions.cpp:52
void initialize_c3_start_rank(size_t start_rank)
Publish configuration data for initial function train cores, prior to any adaptation.
Definition: NonDC3FunctionTrain.cpp:383
virtual ~Environment()
destructor
Definition: DakotaEnvironment.cpp:189
void post_process()
post-processes the (minimal) input specification to assign default variables/responses specification ...
Definition: ProblemDescDB.cpp:264
void initialize_class_data()
convenience function for initializing class scope arrays
Definition: NonDLocalReliability.cpp:1180
void update_all_discrete_variables(const Model &model)
update discrete variable values from passed sub-model
Definition: RecastModel.cpp:1033
void copy_data_transpose(const std::vector< Teuchos::SerialDenseVector< OrdinalType, ScalarType > > &sdva, Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > &sdm)
copy Array<Teuchos::SerialDenseVector<OT,ST> > to transposed Teuchos::SerialDenseMatrix<OT,...
Definition: dakota_data_util.hpp:548
DOTTraits()
default constructor
Definition: DOTOptimizer.hpp:49
void reshape_update_linear(const SharedVariablesData &prev_svd, const SharedVariablesData &curr_svd)
reshape and repopulate the linear constraint arrays
Definition: DakotaConstraints.cpp:548
void function_gradient(const RealVector &assign_grad, int fn_index, const SizetArray &assign_indices, const SizetArray &curr_indices)
set a function gradient, managing dissimilar DVV
void update_complement_variables_from_model(const Model &model)
update complement of active variables/bounds with data from model
Definition: SurrogateModel.cpp:582
Eigen::LDLT< MatrixXd > CholFact
Pivoted Cholesky factorization.
Definition: SurrogatesGaussianProcess.hpp:399
StringArray continuousDesignLabels
labels array for the continuous design variables (from the continuous_design descriptors specificatio...
Definition: DataVariables.hpp:286
const char * ustring
usage message
Definition: CommandLineHandler.hpp:111
void predict(bool variance_flag, bool gradients_flag)
Calculates the predicted new response value for x in normalized space.
Definition: GaussProcApproximation.cpp:599
const ParallelLevel & w_parallel_level() const
return the ParallelLevel corresponding to miPLIters.front()
Definition: ParallelLibrary.hpp:527
Interface userDefinedInterface
the interface used for mapping variables to responses
Definition: SimulationModel.hpp:187
void update_response_from_model(const Model &model)
update response/constraints with data from model
Definition: SurrogateModel.cpp:500
void initialize(const StringArray &variance_types, const SharedResponseData &srd)
shared body of constructor initialization
Definition: ExperimentData.cpp:104
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: DakotaNonD.cpp:133
String modelDiscrepancyType
type of model discrepancy emulation
Definition: DataMethod.hpp:1269
std::shared_ptr< HDF5IOHelper > hdf5Stream
HDF5IOHelper instance.
Definition: ResultsDBHDF5.hpp:79
boost::tuple< std::string, std::string, size_t, std::string > ResultsKeyType
Data type for results key (instance name / id, unique run, label), where data_key is a valid colon-de...
Definition: dakota_results_types.hpp:39
void initialize_all_types()
initialize all{Continuous,DiscreteInt,DiscreteString,DiscreteReal}Types, with or without discrete rel...
PRPCacheCIter cache_lookup(const Variables &vars, int eval_id, const Response &response)
helper to find a cached PRP record in data_pairs
Definition: ApproximationInterface.cpp:681
int max_procs_per_ie(int max_eval_concurrency)
compute maximum iterator partition size based on lower level overrides and concurrency levels
Definition: ProblemDescDB.cpp:1251
RealMatrix allSamples
compact alternative to allVariables
Definition: DakotaAnalyzer.hpp:189
const Model & algorithm_space_model() const
Definition: DakotaMinimizer.hpp:346
double solverRoundingTol
tolerance for rounding (performing a truncation operation on a FT expansion) within the regression so...
Definition: SharedC3ApproxData.hpp:264
void u_evaluation(const RealVector &c_vars_u, short mode)
evaluate uSpaceModel to collect u-space surrogate data at specified point
Definition: NonDGlobalReliability.hpp:194
BitArray extraCVarsData
flags for updating subModel continuous bounds and labels, one for each active continuous variable in ...
Definition: NestedModel.hpp:394
Handle class for variables specification data.
Definition: DataVariables.hpp:875
IntSet gradMixedAnalyticIds
IDs of analytic gradients when mixed gradients present.
Definition: ApplicationInterface.hpp:496
int first_seed() const
return first seed in sequence specification (defaults to random_seed())
Definition: NonDMultilevelStochCollocation.hpp:98
void update_aleatory_final_statistics()
update finalStatistics::functionValues from momentStats and computed{Prob,Rel,GenRel,...
Definition: DakotaNonD.cpp:656
void common_output_filtering(Response &response)
common output filtering operations, e.g. data filtering
Definition: ApplicationInterface.cpp:3025
ParLevLIter ie_parallel_level_iterator() const
return iePLIter
Definition: ParallelLibrary.hpp:595
StringSetArray discreteStateSetStr
complete set of admissible values for each of the discrete state variables defined by a string set (f...
Definition: DataVariables.hpp:650
size_t numScalarObjectiveFunctions
scalar_objectives: number of objective functions which are scalar
Definition: DataResponses.hpp:76
RealVector priScales
primary response scale values
Definition: ScalingOptions.hpp:42
int numIteratorJobs
number of iterator executions to schedule
Definition: IteratorScheduler.hpp:165
virtual void default_options()=0
Initialize the Surrogate's defaultConfigOptions.
virtual pid_t analysis_process_group_id() const
return analysisProcGroupId
Definition: ProcessHandleApplicInterface.cpp:514
virtual void integration_iterator(const Iterator &iterator)
set integration driver for structured grid approximations
Definition: SharedApproxData.cpp:309
ParConfigLIter modelPCIter
the ParallelConfiguration node used by this Model instance
Definition: DakotaModel.hpp:1494
void get_responses(const RealVector &ftn_vals, NOMAD::Eval_Point &x) const
map Dakota model responses to NOMAD evaluation point
Definition: NomadOptimizer.cpp:537
void update_variable_bounds(const Constraints &cons)
copy variable lower/upper bound data between existing Constraints objects
Definition: DakotaConstraints.cpp:381
void allocate_linear_arrays(int num_cv, const RealMatrix &lin_ineq_coeffs, const RealMatrix &lin_eq_coeffs)
Allocates F77 linear constraint arrays for the SOL algorithms.
Definition: SOLBase.cpp:74
static Real direct_penalty_merit(const RealVector &cd_vars)
static function used by DIRECT for its objective
Definition: NonDNonHierarchSampling.cpp:2224
short marsMaxBases
maximum number of bases for MARS approximation
Definition: DataModel.hpp:258
RealVector hyperPriorAlphas
hyperparameters inverse gamma prior alphas
Definition: DataMethod.hpp:1249
virtual void derived_subordinate_models(ModelList &ml, bool recurse_flag)
portion of subordinate_models() specific to derived model classes
Definition: DakotaModel.cpp:3652
SizetArray resize_variable_totals()
Create a variables components totals array with the reduced space size for continuous variables.
short request_value(const size_t index) const
get the value of an entry in the request vector
Definition: DakotaActiveSet.hpp:215
NL2SOLLeastSqTraits()
default constructor
Definition: NL2SOLLeastSq.hpp:30
size_t divStart
start index of active discrete integer variables within allDiscreteIntVars
Definition: SharedVariablesData.hpp:252
bool find_model_in_keys(unsigned short m_index)
identify whether a model form is currently included within active keys
Definition: EnsembleSurrModel.hpp:865
Real approxValue
value of the approximation returned by value()
Definition: VPSApproximation.hpp:186
static void set_environment(const std::string &env_name, const std::string &env_val, bool overwrite_flag=true)
Set an environment variable.
Definition: WorkdirHelper.cpp:128
void set_apps_traits()
sets traits for specific TPL
int IPRINT
Flag to control amount of output data.
Definition: CONMINOptimizer.hpp:187
String fdHessStepType
type of finite difference step to use for numerical Hessian: relative - step length is relative to x ...
Definition: DataResponses.hpp:220
ExperimentResponse()
default constructor
Definition: ExperimentResponse.hpp:110
const RealVector & continuous_upper_bounds() const
return the active continuous upper bounds from userDefinedConstraints
Definition: DakotaModel.hpp:2797
void field_values(const RealVector &field_val, size_t i)
set the values for the i-th field
Definition: DakotaResponse.hpp:639
const IntResponseMap & derived_synchronize()
portion of synchronize() specific to RecastModel (forward to subModel.synchronize())
Definition: RecastModel.cpp:570
SNLLOptimizer * prevSnllOptInstance
pointer to the previously active object instance used for restoration in the case of iterator/model r...
Definition: SNLLOptimizer.hpp:312
void debug_print_dist_counters(Real dist_cv_star)
print counters if debug flag is ON
Definition: EffGlobalMinimizer.hpp:451
const IntVector & discrete_int_variables() const
return the active discrete integer variables (Note: returns a view by const reference,...
Definition: DakotaVariables.hpp:842
void serve_analyses_synch()
serve the master analysis scheduler and manage one synchronous analysis job at a time
Definition: ApplicationInterface.cpp:2676
int mMax
log2 of the maximum number of points of this low-discrepancy sequence
Definition: LowDiscrepancySequence.hpp:123
void serve_evaluations_synch()
serve the evaluation message passing schedulers and perform one synchronous evaluation at a time
Definition: ApplicationInterface.cpp:2215
bool variables_locked() const
return variablesDBLocked
Definition: ProblemDescDB.hpp:655
bool hierarchicalTagging
whether to perform hierarchical evalID tagging of params/results
Definition: DakotaModel.hpp:1543
const RealVector & all_continuous_variables() const
returns a single array with all continuous variables
Definition: DakotaVariables.hpp:1616
String interfaceId
the interface specification identifier string from the DAKOTA input file
Definition: DakotaInterface.hpp:362
void initialize_grid(const std::vector< Pecos::BasisPolynomial > &poly_basis)
initialize integration grid by drawing from polynomial basis settings
Definition: NonDSparseGrid.cpp:181
The PolynomialRegression class constructs a polynomial regressor using ordinary least squares.
Definition: SurrogatesPolynomialRegression.hpp:36
bool check_for_zero_scaler_factor(int index)
Checks an individual scaler feature scale factor for being close to zero; If it is near zero,...
Definition: UtilDataScaler.cpp:133
int DAKOTA_DLL_FN dakota_start(int id)
command DakotaRunner instance id to start (plugin interface and run strategy)
Definition: dakota_dll_api.cpp:273
void irecv(MPIUnpackBuffer &recv_buff, int source, int tag, MPI_Request &recv_req, const ParallelLevel &parent_pl, const ParallelLevel &child_pl)
nonblocking buffer receive at the current communication level
Definition: ParallelLibrary.hpp:1665
void init_model_inactive_labels(Model &model)
initialize model with inactive variable labels that could change once per set of evaluations (e....
Definition: SurrogateModel.cpp:345
virtual void merge_grid_increment()
merges a grid increment into the reference grid
Definition: NonDIntegration.cpp:185
std::shared_ptr< SurfpackModelFactory > spFactory
factory for the SurfpackModel instance
Definition: SurfpackApproximation.hpp:173
NonDQUESOBayesCalibration * nonDQUESOInstance
pointer for callbacks to Dakota QUESO class
Definition: QUESOImpl.hpp:212
Real augLagrangeMult
Lagrange multiplier for augmented Lagrangian merit function.
Definition: NonDGlobalReliability.hpp:127
virtual void initialize_expansion()
initialize random variable definitions and final stats arrays
Definition: NonDExpansion.cpp:741
ResultAttribute(const String &label, const T &value)
Construct an attribute.
Definition: dakota_results_types.hpp:512
void allocate_matrix(const StrStrSizet &iterator_id, const StringArray &location, ResultsOutputType stored_type, const int &num_rows, const int &num_cols, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray())
Pre-allocate a matrix and (optionally) attach dimension scales and attributes. Insert rows or columns...
Definition: ResultsDBAny.hpp:76
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: PecosApproximation.hpp:752
Base class for the Recursive k-d Dart methods within DAKOTA/UQ.
Definition: NonDRKDDarts.hpp:27
Real decreaseTolerance
decrease tolerance used by cross validation subspace dimension id method
Definition: DataModel.hpp:398
RealVector fdHessByGradStepSize
relative finite difference step size for numerical Hessians estimated using first-order differences o...
Definition: DakotaModel.hpp:1444
Pecos::ProbabilityTransformation & probability_transformation()
return probability transformation employed by the Model (forwarded along to ProbabilityTransformModel...
Definition: SurrogateModel.hpp:246
short c3AdvancementType
type of advancement used by (uniform) refinement: START_{RANK,ORDER} or MAX_{RANK,...
Definition: NonDC3FunctionTrain.hpp:129
int batchSize
number of optimal designs selected per iteration of experimental design algorithm; also number of con...
Definition: DataMethod.hpp:1301
RealVector inactiveDiscreteRealLowerBnds
the inactive discrete lower bounds array view
Definition: DakotaConstraints.hpp:415
void all_to_active_labels(const Variables &vars)
copy all cv/div/dsv/drv variable labels from incoming vars to active variables in this instance
Definition: DakotaVariables.hpp:1247
void pack(const short *data, const int num=1)
Pack one or more short's.
VectorXd value(const MatrixXd &eval_points)
Evaluate the python surrogate at a set of prediction points for QoI index 0.
Definition: SurrogatesPython.hpp:90
std::map< Pecos::ActiveKey, Response > truthResponseRef
map of reference truth (high fidelity) responses computed in build_approximation() and used for calcu...
Definition: EnsembleSurrModel.hpp:429
short modelSelectType
option to enumerate combinations of approximation models
Definition: NonDGenACVSampling.hpp:259
Class for the Adaptive Importance Sampling methods within DAKOTA.
Definition: NonDAdaptImpSampling.hpp:28
StringArray allHeaders
array of headers to insert into output while evaluating allVariables
Definition: DakotaAnalyzer.hpp:204
void generate_multipliers(const RealVector &multipliers, unsigned short multiplier_mode, RealVector &expanded_multipliers) const
Generate a set of multipliers commensurate with the residual size for the total experiment data set....
Definition: ExperimentData.cpp:1762
VectorXd variance(const MatrixXd &eval_points)
Evaluate the variance of the Gaussian Process at a set of prediction points for QoI index 0.
Definition: SurrogatesGaussianProcess.hpp:202
void save(Archive &ar, const unsigned int version) const
serialize the core shared variables data
~Verification()
destructor
Definition: DakotaVerification.hpp:65
void derived_init_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set up RecastModel for parallel operations (request forwarded to subModel)
Definition: RecastModel.hpp:1074
short discrepancy_emulation_mode() const
return discrepancy emulation mode for approximating response differences
Definition: SharedApproxData.hpp:318
const String & pre_run_output() const
filename for pre-run output
Definition: ProgramOptions.cpp:177
void sample_to_cv(const Real *sample_vars, Variables &vars, size_t &acv_index, size_t num_acv, size_t &samp_index)
helper function to copy a range from sample_vars to continuous variables
Definition: NonDSampling.hpp:589
const RealVector & all_discrete_real_lower_bounds() const
return all discrete lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3273
void insert_into(const StrStrSizet &iterator_id, const StringArray &location, const boost::any &data, const int &index, const bool &row)
Insert a row or column into a pre-allocated matrix.
Definition: ResultsDBAny.hpp:86
Real fprec
expected response function precision (function_precision)
Definition: NL2SOLLeastSq.hpp:143
void send_evaluation(PRPQueueIter &prp_it, size_t buff_index, int server_id, bool peer_flag)
helper function for sending sendBuffers[buff_index] to server
Definition: ApplicationInterface.hpp:649
SurrBasedLocalMinimizer(ProblemDescDB &problem_db, Model &model, std::shared_ptr< TraitsBase > traits)
constructor
Definition: SurrBasedLocalMinimizer.cpp:39
Teuchos::SerialSpdDenseSolver< int, Real > covSlvr
The global solver for all computations involving the inverse of the covariance matrix.
Definition: GaussProcApproximation.hpp:225
void master_dynamic_schedule_analyses()
blocking dynamic schedule of all analyses within a function evaluation using message passing
Definition: ApplicationInterface.cpp:2581
void debug_print_values(const Variables &vars)
print mean and variance if debug flag is ON
Definition: EffGlobalMinimizer.hpp:436
void(* invSecRespMapping)(const Variables &recast_vars, const Variables &sub_model_vars, const Response &recast_resp, Response &sub_model_resp)
holds pointer for optional inverse secondary response mapping function passed in inverse_mappings()
Definition: RecastModel.hpp:644
ExecutableEnvironment()
default constructor
Definition: ExecutableEnvironment.cpp:18
static void variables_mapping(const Variables &recast_xi_vars, Variables &sub_model_x_vars)
map the active continuous recast variables to the active submodel variables (linear transformation)
Definition: AdaptedBasisModel.cpp:625
RealMatrix trainValuesAll
All original samples available.
Definition: GaussProcApproximation.hpp:232
void read_tabular(std::istream &s)
read responseRep::functionValues in tabular format from a std::istream
void initialize_c3_db_options()
Publish options from C3 input specification (not needed if model-driven specification: already extrac...
Definition: NonDC3FunctionTrain.cpp:404
int seedSpec
the user seed specification for the random number generator (allows repeatable results)
Definition: FSUDesignCompExp.hpp:114
String solution_level_string_value() const
return a discrete string variable value corresponding to solnCntlADVIndex
Definition: SimulationModel.cpp:379
unsigned short importanceSamplingType
integration type (is, ais, mmais) provided by input specification
Definition: NonDAdaptImpSampling.hpp:156
void method_name(unsigned short m_name)
set the method name to an enumeration value
Definition: DakotaIterator.hpp:655
unsigned short groupSizeThrottle
restricting the number of group combinations in group estimators by enforcing a maximum size in terms...
Definition: DataMethod.hpp:1107
void add_sd_to_surfdata(const Pecos::SurrogateDataVars &sdv, const Pecos::SurrogateDataResp &sdr, short fail_code, SurfData &surf_data)
add Pecos::SurrogateData::SurrogateData{Vars,Resp} to SurfData, accounting for buildDataOrder availab...
Definition: SharedSurfpackApproxData.cpp:85
Pecos::BasisApproximation pecosBasisApprox
the Pecos basis approximation, encompassing orthogonal and interpolation polynomial approximations
Definition: PecosApproximation.hpp:340
void add_datapoint(int graphics_cntr, const Variables &vars, const Response &response)
adds data to each window in the 2d graphics based on the results of a model evaluation
Definition: DakotaGraphics.cpp:181
~NonDGlobalEvidence()
destructor
Definition: NonDGlobalEvidence.cpp:28
bool resize()
reinitializes iterator based on new variable size
Definition: NonDExpansion.cpp:146
bool operator()(const bfs::path &dir_entry)
return true is dir_entry matches wildCardRegEx
Definition: WorkdirHelper.hpp:88
~NonDGenACVSampling()
destructor
Definition: NonDGenACVSampling.cpp:73
void approximate_control_variate_pilot_projection()
Definition: NonDACVSampling.cpp:222
~QRSolver()
Destructor.
Definition: UtilLinearSolvers.cpp:176
void core_run()
performs an epistemic uncertainty propagation using LHS samples
Definition: NonDLHSInterval.cpp:75
void GPmodel_apply(const RealVector &new_x, bool variance_flag, bool gradients_flag)
Function returns a response value using the GP surface.
Definition: GaussProcApproximation.cpp:279
static VarLabelChk DesignAndStateLabelsCheck[]
Variables label array designations for design and state. All non-uncertain variables need to be in th...
Definition: NIDRProblemDescDB.cpp:5102
StringMultiArrayConstView all_discrete_string_variables() const
returns a single array with all discrete variables
Definition: DakotaVariables.hpp:1657
RealVector cont_vars
Initial variable values for sub-problem.
Definition: PEBBLBranching.hpp:65
short evalSynchronize
the synchronization setting for parallel pattern search methods in MethodSCOLIBPS and MethodAPPS
Definition: DataMethod.hpp:661
size_t maxRank
scalar user specification for maximum allowable rank when adapting
Definition: SharedC3ApproxData.hpp:247
void asynchronous_local_evaluations_nowait(PRPQueue &prp_queue)
launch new jobs in prp_queue asynchronously (if capacity is available), perform nonblocking query of ...
Definition: ApplicationInterface.cpp:2043
std::map< Pecos::ActiveKey, bool > c3MaxOrderAdvance
flag indicating availability of order advancement (accumulated from C3Approximation::advancement_avai...
Definition: SharedC3ApproxData.hpp:297
bool compact_mode() const
returns Analyzer::compactMode
Definition: DakotaAnalyzer.hpp:349
const RealVector & gradient(const Variables &vars)
retrieve the function gradient at the predicted value for a given parameter set
Definition: GaussProcApproximation.cpp:207
short qoiAggregation
store the qoi_aggregation_norm input specification, prior to run-time Options right now:
Definition: NonDMultilevelSampling.hpp:533
bool subspaceIdConstantine
Flag to use Constantine method to identify active subspace dimension.
Definition: DataModel.hpp:373
void set_solver_parameters()
sets construct-time options for specific methods based on user specifications, including calling meth...
Definition: COLINOptimizer.cpp:587
void sample_to_cv_type(const Real *sample_vars, Variables &vars, size_t &cv_index, size_t num_cv, size_t &div_index, size_t num_div, size_t &dsv_index, size_t num_dsv, size_t &drv_index, size_t num_drv, size_t &samp_index)
helper function to copy a range from sample_vars to a variables type
Definition: NonDSampling.hpp:655
size_t numFns
number of functions in fnVals
Definition: DirectApplicInterface.hpp:154
virtual const Pecos::BitArrayULongMap & sobol_index_map() const
return set of Sobol indices that have been requested (e.g., as constrained by throttling) and are com...
Definition: SharedApproxData.cpp:562
bool model_id_compare(const Model &model, const void *id)
global comparison function for Model
Definition: DakotaModel.hpp:3965
void compute_moments(bool full_stats=true, bool combined_stats=false)
compute moments up to the order supported by the Pecos polynomial approximation
Definition: PecosApproximation.hpp:664
int hubServerCommSize
size of hubServerIntraComm
Definition: ParallelLibrary.hpp:133
std::string dataDistFilename
The filename of the file containing the data that with density estimator defines the distribution of ...
Definition: NonDWASABIBayesCalibration.hpp:89
void set_y_label2d(int i, const char *y_label)
set y label for ith plot equal to y_label
Definition: DakotaGraphics.cpp:367
int lenVarsMessage
length of a MPIPackBuffer containing a Variables object; computed in Model::init_communicators()
Definition: ApplicationInterface.hpp:426
void output_helper(const String &message, std::ostream &os) const
Output only on Dakota world rank 0 (for version, help, etc.)
Definition: OutputManager.cpp:393
virtual void initialize()
perform any required initialization
Definition: NonDGlobalInterval.cpp:403
bool multilevel() const
identify if 1D hierarchy can be defined across resolution levels
Definition: EnsembleSurrModel.hpp:577
RealVector krigingCorrelations
vector of correlations used in building a kriging approximation (from the correlations specification ...
Definition: DataModel.hpp:233
void increment_grid()
increment SSG level/TPQ order
Definition: NonDQuadrature.hpp:254
Iterator fullspaceSampler
Monte Carlo sampler for the full parameter space.
Definition: ActiveSubspaceModel.hpp:301
Real fnStar
minimum penalized response from among true function evaluations
Definition: NonDGlobalReliability.hpp:118
RealVector discreteDesignSetRealVars
initial values for the discrete design variables defined by a real set (from the discrete_design_set ...
Definition: DataVariables.hpp:252
Real final_probability()
returns the probability calculated by the importance sampling
Definition: NonDGPImpSampling.hpp:135
RealArray cLambda
CLAMBDA from NPSOL manual: Langrange multipliers.
Definition: SOLBase.hpp:174
void volumetric_quality(int ndim, int num_samples, double *sample_points)
Calculation of volumetric quality measures.
Definition: DakotaPStudyDACE.cpp:77
struct to hold tracker/proxy pairs
Definition: TrackerHTTP.hpp:109
bool discrepancy_sample_counts() const
flag identifying whether sample counts correspond to level discrepancies
Definition: NonDMultilevelSampling.hpp:591
void set_matrix(const String &dset_name, const Teuchos::SerialDenseMatrix< int, T > &data, const int &index, const bool &transpose=false)
Set a matrix in a 3D dataset at the index into the 0th dimension by name. Dims of matrix must match t...
Definition: HDF5_IO.hpp:761
static String no_spec_id()
return the next available method ID for on-the-fly methods
Definition: DakotaIterator.cpp:1972
void alias_as_hub_server_comm(const ParallelLevel &parent_pl, ParallelLevel &child_pl)
convenience function for updating child hubServerIntraComm from parent serverIntraComm (shallow Comm ...
Definition: ParallelLibrary.hpp:2067
bool piecewiseBasis
flag for piecewise specification, indicating usage of local basis polynomials within the stochastic e...
Definition: NonDExpansion.hpp:490
String methodId
method identifier string from the input file, or an auto-generated ID, such that each instance of an ...
Definition: DakotaIterator.hpp:582
short approxSubProbObj
type of approximate subproblem objective: ORIGINAL_OBJ, LAGRANGIAN_OBJ, or AUGMENTED_LAGRANGIAN_OBJ
Definition: SurrBasedLocalMinimizer.hpp:176
OPTPP::NLP0 * nlfConstraint
constraint NLF base class pointer
Definition: SNLLLeastSq.hpp:179
int scalable_text_book()
scalable version of the text_book test function
Definition: TestDriverInterface.cpp:3682
Definition: ROLOptimizer.hpp:341
double CTMIN
Minimum absolute value of CT used during optimization.
Definition: CONMINOptimizer.hpp:198
void set_problem(Model &model)
Helper function called after default construction to extract problem information from the Model and s...
Definition: COLINApplication.cpp:60
RealMatrix leftSingularVectors
matrix of the left singular vectors of derivativeMatrix
Definition: ActiveSubspaceModel.hpp:261
void default_options() override
Construct and populate the defaultConfigOptions.
Definition: SurrogatesPython.hpp:62
RealVector trainStdvs
The standard deviation of the input columns of trainPoints.
Definition: GaussProcApproximation.hpp:204
~Graphics()
destructor
Definition: DakotaGraphics.cpp:34
bool correlations_computed() const
returns corrComputed to indicate whether compute_correlations() has been invoked
Definition: SensAnalysisGlobal.hpp:308
@ SUBMETHOD_COLLABORATIVE
Type of hybrid meta-iterator:
Definition: DataMethod.hpp:92
double DELFUN
Relative convergence criterion threshold.
Definition: CONMINOptimizer.hpp:205
void alias_as_server_comm(const ParallelLevel &parent_pl, ParallelLevel &child_pl)
convenience function for updating child serverIntraComm from parent serverIntraComm (shallow Comm cop...
Definition: ParallelLibrary.hpp:2020
Body class for method specification data.
Definition: DataMethod.hpp:290
void separable_combine(Real mult_scale_factor, std::vector< Real > &w, std::vector< Real > &d1w, std::vector< Real > &d2w)
utility to combine components of separable fns
Definition: TestDriverInterface.cpp:4777
void pre_run()
generate LHS samples in non-VBD cases
Definition: NonDLHSSampling.cpp:198
const RealVector & nonlinear_ineq_constraint_upper_bounds() const
return the nonlinear inequality constraint upper bounds
Definition: DakotaConstraints.hpp:1104
void increment_grid(bool update_anisotropy=true)
helper function to manage different grid increment cases
Definition: NonDExpansion.cpp:1137
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NLPQLPOptimizer.hpp:80
void print_points_weights(const String &tabular_name)
output integration points and weights to a tabular file
Definition: NonDIntegration.cpp:136
std::size_t GetNumberNonLinearConstraints() const
Returns the number of non-linear constraints for the problem.
Definition: JEGAOptimizer.cpp:309
bool multipleParamsFiles
flag indicating the need for separate parameters files for multiple analysis drivers
Definition: ProcessApplicInterface.hpp:165
virtual int derived_map_ac(const Dakota::String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: TestDriverInterface.cpp:225
Variables()
default constructor
static void centered_to_standard(Real cm1, Real cm2, Real cm3, Real cm4, Real &sm1, Real &sm2, Real &sm3, Real &sm4)
convert centered moments to standardized moments
Definition: NonDEnsembleSampling.hpp:632
void run_dakota(const MPI_Comm &comm, const std::string &input, const int &color)
Launch DAKOTA on passed communicator, tagging output/error with color.
Definition: library_split.cpp:192
IntVector primeBase
the primeBase specification in MethodFSUDACE
Definition: DataMethod.hpp:782
void run()
orchestrate initialize/pre/core/post/finalize phases
Definition: DakotaIterator.cpp:1057
void assign_truth_key()
synchronize the HF model's solution level control with truthModelKey
Definition: EnsembleSurrModel.hpp:948
unsigned int compute_bing_li_criterion(RealVector &singular_values)
compute Bing Li's criterion to identify the active subspace
Definition: ActiveSubspaceModel.cpp:635
void all_continuous_lower_bound(Real a_c_l_bnd, size_t i)
set a lower bound within continuous lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3158
CommandShell & operator<<(const char *cmd)
appends cmd to sysCommand
Definition: CommandShell.hpp:89
MatrixXd predBasisMatrix
Polynomial basis matrix for the prediction points.
Definition: SurrogatesGaussianProcess.hpp:414
void set_variables(const NOMAD::Eval_Point &x) const
map NOMAD evaluation point to Dakota model
Definition: NomadOptimizer.cpp:442
Iterator sampleRhoOne
LHS iterator for sampling from the rhoOneDistribution.
Definition: NonDGPImpSampling.hpp:87
void construct_fsu_sampler(Iterator &u_space_sampler, Model &u_model, int num_samples, int seed, unsigned short sample_type)
Copy of construct_lhs only it allows for the construction of FSU sample designs. This can break the f...
Definition: NonDAdaptiveSampling.cpp:1774
RealVector linEqTargets
linear equality constraint targets used in "user_functions" mode
Definition: SNLLOptimizer.hpp:373
Nonintrusive polynomial chaos expansion approaches to uncertainty quantification.
Definition: NonDMultilevelPolynomialChaos.hpp:29
void read_core(std::istream &s, Reader read_handler, unsigned short vars_part)
Implementation of reading various formats using the specified read handler.
Definition: MixedVariables.cpp:197
Wrapper class for the CONMIN optimization library.
Definition: CONMINOptimizer.hpp:82
std::string moduleAndClassName
Name of python callback module file.
Definition: SurrogatesPython.hpp:143
Model fHatModel
GP model of response, one approximation per response function.
Definition: NonDGlobalInterval.hpp:93
size_t idrv() const
number of inactive discrete real vars
Definition: DakotaVariables.hpp:765
static RealArray rawData
array to hold temporary data before sort
Definition: SensAnalysisGlobal.hpp:265
void estimator_variance_ratios(const RealVector &N_vec, RealVector &estvar_ratios)
compute estimator variance ratios from HF samples and oversample ratios
Definition: NonDGenACVSampling.cpp:1415
static bool id_compare(const DataMethod &dm, const std::string &id)
compares the idMethod attribute of DataMethod objects
Definition: DataMethod.hpp:1494
int discrete_int_lower_bound(size_t i) const
return an active discrete int lower bound from userDefinedConstraints
Definition: DakotaModel.hpp:2845
void post_start(ProblemDescDB &problem_db)
post the start of an analysis and archive start time
Definition: TrackerHTTP.cpp:75
virtual pid_t evaluation_process_group_id() const
return evalProcGroupId
Definition: ProcessHandleApplicInterface.cpp:506
size_t numTriangularUncVars
number of triangular uncertain variables (from the triangular_uncertain specification in VarAUV)
Definition: DataVariables.hpp:131
unsigned short subspaceIdCVMethod
Contains which cutoff method to use in the cross validation metric.
Definition: DataModel.hpp:407
static void set_mapping(const Variables &recast_vars, const ActiveSet &recast_set, ActiveSet &sub_model_set)
map the inbound ActiveSet to the sub-model (map derivative variables)
Definition: RandomFieldModel.cpp:604
int numSteps
the number of times continuous/discrete step vectors are applied for vector_parameter_study (a specif...
Definition: ParamStudy.hpp:226
bool is_null() const
function to check responseRep (does this handle contain a body)
Definition: DakotaResponse.hpp:989
StringSetArray activeDiscSetStringValues
aggregation of the admissible value sets for all active discrete set string variables
Definition: DakotaModel.hpp:1697
static LeastSq * leastSqInstance
pointer to LeastSq instance used in static member functions
Definition: DakotaLeastSq.hpp:66
UShortArray discRealVarPartitions
number of partitions for each discrete real variable in a multidim_parameter_study
Definition: ParamStudy.hpp:259
virtual ~NLPQLPTraits()
destructor
Definition: NLPQLPOptimizer.hpp:74
int ITMAX
Flag to specify the maximum number of iterations.
Definition: CONMINOptimizer.hpp:189
StringArray primaryVarMaps
the primary variable mappings used in nested models for identifying the lower level variable targets ...
Definition: DataModel.hpp:328
void vary_pattern(bool pattern_flag)
set varyPattern
Definition: NonDSampling.hpp:536
void compute_Dbar(const std::vector< MatrixXd > &cw_dists2, const VectorXd &theta_values, bool take_sqrt=true)
Compute the `‘Dbar’' matrices of scaled distances.
Definition: SurrogatesGPKernels.cpp:201
RealVector approximation_coefficients(bool normalized) const
return expansion coefficients in a form consistent with the shared multi-index
Definition: PecosApproximation.hpp:822
size_t seedIndex
cache state of seed sequence for use in seed_updated()
Definition: NonDEnsembleSampling.hpp:257
std::shared_ptr< Environment > get_environment(const String &env_type)
Used by the envelope to instantiate the correct letter class.
Definition: DakotaEnvironment.cpp:163
size_t cv_start() const
get start index of active continuous vars
Definition: SharedVariablesData.hpp:1668
IntSet gradIdNumerical
numerical id's for mixed gradients
Definition: DakotaModel.hpp:1467
size_t dsvStart
start index of active discrete string vars within allDiscreteStringVars
Definition: SharedVariablesData.hpp:254
void push_c3_max_order(unsigned short max_order)
Publish configuration data for initial function train cores, prior to any adaptation.
Definition: NonDC3FunctionTrain.cpp:468
void sample_to_type(const Real *sample_vars, Variables &vars, size_t &cv_index, size_t num_cv, size_t &div_index, size_t num_div, size_t &dsv_index, size_t num_dsv, size_t &drv_index, size_t num_drv, size_t &samp_index, Model &model)
helper function to copy a range from sample_vars to a variables type
Definition: NonDSampling.hpp:634
void fine_grained_evaluation_counters()
request fine-grained evaluation reporting within approxInterface and actualModel
Definition: DataFitSurrModel.hpp:1023
void check_singleton_key_index(size_t index)
check on valid indices for singleton active keys
Definition: ApproximationInterface.hpp:342
virtual void update_approximation(const Variables &vars, const IntResponsePair &response_pr)
updates the anchor point for an approximation
Definition: DakotaInterface.cpp:1024
IntResponseMap adapterRespMap
map of responses returned by derived_synchronize() and derived_synchronize_nowait()
Definition: AdapterModel.hpp:176
void initial_redirects(const ProgramOptions &prog_opts)
Perform initial output/error redirects from user requests.
Definition: OutputManager.cpp:85
H5::DSetCreatPropList datasetCompactPL
Gobal DataSet creation property list for compact datasets.
Definition: HDF5_IO.hpp:474
bool check_rebuild(const RealVector &ref_icv, const IntVector &ref_idiv, const StringMultiArray &ref_idsv, const RealVector &ref_idrv, const RealVector &ref_c_l_bnds, const RealVector &ref_c_u_bnds, const IntVector &ref_di_l_bnds, const IntVector &ref_di_u_bnds, const RealVector &ref_dr_l_bnds, const RealVector &ref_dr_u_bnds)
evaluate whether a rebuild of the approximation should be forced based on changes in the inactive dat...
Definition: SurrogateModel.cpp:701
int discrete_int_variable(size_t i) const
return an active discrete integer variable from currentVariables
Definition: DakotaModel.hpp:1872
OPTPP::NLF1 * nlf1Con
pointer to constraint NLF for Quasi Newton optimizers
Definition: SNLLLeastSq.hpp:188
SharedVariablesDataRep()
default constructor
Definition: SharedVariablesData.hpp:317
void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDGlobalEvidence.cpp:60
size_t idsv_start() const
start index of inactive discrete string vars
Definition: DakotaVariables.hpp:761
String scoringMetric
String describing the method for scoring candidate points. Options are: alm, distance,...
Definition: NonDAdaptiveSampling.hpp:131
static bool id_compare(const DataVariables &dv, const std::string &id)
compares the idVariables attribute of DataVariables objects
Definition: DataVariables.hpp:888
size_t numDiscreteIntVars
number of active discrete integer vars
Definition: DakotaAnalyzer.hpp:179
RealVector kappaU
principal curvatures derived from eigenvalues of orthonormal transformation of fnHessU
Definition: NonDLocalReliability.hpp:279
String submethod_enum_to_string(unsigned short submethod_enum) const
convert a sub-method name enumeration value to a string
Definition: DakotaIterator.cpp:1007
void all_discrete_real_lower_bound(Real adrl_bnd, size_t i)
set a lower bound within the all discrete lower bounds array
Definition: DakotaConstraints.hpp:825
ProblemDescDB & problem_description_db() const
return the problem description database (probDescDB)
Definition: DakotaIterator.hpp:647
static NonDGlobalReliability * nondGlobRelInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NonDGlobalReliability.hpp:115
Real maxBoxSize
the max_boxsize_limit for the DIRECT method in MethodSCOLIBDIR
Definition: DataMethod.hpp:579
String optInterfHessianType
Hessian type for the optional interface.
Definition: NestedModel.hpp:335
std::shared_ptr< DataVariablesRep > data_rep()
return dataVarsRep
Definition: DataVariables.hpp:992
size_t num_secondary_fns() const
return number of secondary functions (number of nonlinear constraints)
Definition: DakotaModel.hpp:3597
bool userModesFlag
whether any user run modes are active
Definition: ProgramOptions.hpp:254
void asv_inflate_build(const ShortArray &orig_asv, ShortArray &actual_asv)
map incoming ASV into actual request for surrogate construction, managing any mismatch in sizes due t...
Definition: DataFitSurrModel.cpp:2095
String advanced_options_file
Advanced configurations options filename.
Definition: DakotaSurrogates.hpp:110
RealMatrix gradients_view(const RealMatrix &gradients, size_t experiment) const
Return a view (to allowing updaing in place) of the gradients associated with a given experiment,...
Definition: ExperimentData.cpp:816
void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: NonDEnsembleSampling.cpp:213
void read(MPIUnpackBuffer &s)
read a DataMethod object from a packed MPI buffer
Definition: DataMethod.hpp:1555
std::map< String, H5::DataSet > datasetCache
Cache open datasets that have unlimited dimension This is an optimization to prevent eval-related dat...
Definition: HDF5_IO.hpp:507
void get_vector_matrix(const std::string &dset_name, std::vector< Teuchos::SerialDenseMatrix< int, T > > &data, const int &index, const bool &transpose=false) const
Read the 3D slice at the index into the 0th dimension of the 4D dataset at ds_name....
Definition: HDF5_IO.hpp:1296
bool load_distribute_points(const String &points_filename, unsigned short tabular_format, bool active_only)
load list of points from data file and distribute among listCVPoints, listDIVPoints,...
Definition: ParamStudy.cpp:626
const char * SCI_FIELD_NAMES[]
Definition: ScilabInterface.cpp:20
virtual Real linear_group_cost(const RealVector &N_vec)
constraint helper function shared by NPSOL/OPT++ static evaluators
Definition: NonDNonHierarchSampling.cpp:1992
MFSolutionData blueSolnData
final solution data for BLUE
Definition: NonDMultilevBLUESampling.hpp:269
SharedApproxData operator=(const SharedApproxData &approx)
assignment operator
Definition: SharedApproxData.cpp:260
IntIntMap truthIdMap
map from actualModel/highFidelityModel evaluation ids to DataFitSurrModel/EnsembleSurrModel ids
Definition: DataFitSurrModel.hpp:434
virtual void wait_local_evaluation_sequence(PRPQueue &prp_queue)=0
version of wait_local_evaluations() managing of set of individual asynchronous evaluations
bool initialize_mapping(ParLevLIter pl_iter)
Definition: EnsembleSurrModel.cpp:414
void distributionVariance(M &covMatrix) const
Covariance of the underlying random variable.
Definition: QUESOImpl.cpp:75
int discrete_int_upper_bound(size_t i) const
return an active discrete variable upper bound
Definition: DakotaConstraints.hpp:538
SizetArray pilotSamples
store the pilot_samples input specification, prior to run-time invocation of load_pilot_sample()
Definition: NonDEnsembleSampling.hpp:180
virtual bool push_available()
queries the approximation for the ability to retrieve a previous increment
Definition: DakotaInterface.cpp:1232
void compute_vbd_stats_via_sampling(const unsigned short method, const int numBins, const size_t numFunctions, const size_t num_vars, const size_t num_samples, const RealMatrix &vars_samples, const IntResponseMap &resp_samples)
compute VBD-based Sobol indices
Definition: SensAnalysisGlobal.cpp:806
void stop_servers()
Executed by the master to terminate server operations for subModel and optionalInterface when iterati...
Definition: NestedModel.hpp:590
Iterator stochExpIterator
NonDPolynomialChaos or NonDStochCollocation instance for defining a PCE/SC-based mcmcModel.
Definition: NonDBayesCalibration.hpp:305
size_t respFnIndex
the active response function index in the model to be sampled
Definition: NonDAdaptImpSampling.hpp:171
static String user_auto_id()
return the next available method ID for no-ID user methods
Definition: DakotaIterator.cpp:1960
const double SCALING_LOGBASE
logarithm base to be used when scaling
Definition: ScalingModel.cpp:26
void decrement_order_and_grid()
uniformly decrement the expansion order and structured/unstructured grid (PCE and FT)
Definition: NonDExpansion.cpp:1883
bool variance_type_active(short variance_type) const
whether the specified variance type (enum value) is present and active
Definition: ExperimentData.hpp:586
virtual void combined_to_active(bool clear_combined=true)
promote the combined approximation to the currently active one
Definition: DakotaInterface.cpp:1280
virtual void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaIterator.cpp:1164
virtual void linear_model_cost_gradient(const RealVector &N_vec, RealVector &grad_c)
constraint gradient helper fn shared by NPSOL/OPT++ static evaluators
Definition: NonDNonHierarchSampling.cpp:1975
short discrepReduction
type of multilevel discrepancy emulation: distinct or recursive
Definition: SharedC3ApproxData.hpp:282
Real delta_z(bool cdf_flag, Real beta_bar)
return the change in response level (mapped from beta_bar) resulting from expansion refinement,...
Definition: PecosApproximation.hpp:645
RealVector trialVars
decision variables in the linesearch
Definition: NonlinearCGOptimizer.hpp:116
int auxprt
auxilary printing bits (see Dakota Ref Manual): sum of 1 = x0prt (print initial guess) 2 = solprt (pr...
Definition: NL2SOLLeastSq.hpp:101
void insert(const StrStrSizet &iterator_id, const StringArray &location, const boost::any &data, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray(), const bool &transpose=false) override
insert an arbitrary type (eg RealMatrix) with scales
Definition: ResultsDBHDF5.cpp:136
Real tiCoverage
coverage to be used in the calculation of the double sided tolerance interval equivaluent normal
Definition: NonDSampling.hpp:335
void print_evaluation_summary(std::ostream &s, bool minimal_header=false, bool relative_count=true) const
print the evaluation summary for the NestedModel (request forwarded to optionalInterface and subModel...
Definition: NestedModel.hpp:695
virtual RealArray cv_diagnostic(const StringArray &metric_types, unsigned num_folds)
retrieve diagnostic metrics for the diagnostic types specified, applying
Definition: DakotaApproximation.cpp:867
Pecos::ULongULongMap sparse_sobol_index_map() const
return RegressOrthogPolyApproximation::sparseSobolIndexMap
Definition: PecosApproximation.hpp:413
static void check_inputstring_redirs(const std::string &input_string, std::string &output_filename, std::string &error_filename)
check the specified input string contents for output/error redirection
Definition: OutputManager.cpp:145
size_t numObs
The number of observations on which the GP surface is built.
Definition: GaussProcApproximation.hpp:239
~NonDLHSSampling()
destructor
Definition: NonDLHSSampling.cpp:182
const IntResponseMap & derived_synchronize()
portion of synchronize() specific to NestedModel
Definition: NestedModel.cpp:1501
bool generateRandomPosteriorSamples
Flag specifying whether to generate random samples from the posterior.
Definition: NonDWASABIBayesCalibration.hpp:106
void compute_active_covariance()
calculate the response covariance of the active expansion
Definition: NonDExpansion.hpp:728
size_t numDiscIntervalVars
number of variables of type DISCRETE_INTERVAL_UNCERTAIN
Definition: NonDInterval.hpp:93
RealVector responseScaleMultipliers
scales for all responses
Definition: ScalingModel.hpp:184
RealVector dimPrefSpec
the user specification for anisotropic dimension preference
Definition: NonDIntegration.hpp:131
RealVector linIneqUpperBnds
linear inequality constraint upper bounds used in "user_functions" mode
Definition: NCSUOptimizer.hpp:169
void check_function_hessian()
differentiate the ftg to form the ft Hessian, if not previously performed
Definition: C3Approximation.cpp:1060
static size_t noSpecIdNum
the last used interface ID number for on-the-fly instantiations (increment before each use)
Definition: DakotaInterface.hpp:461
void evaluate_parameter_sets(Model &model, bool log_resp_flag=true, bool log_best_flag=false)
perform function evaluations to map parameter sets (allVariables) into response sets (allResponses)
Definition: DakotaAnalyzer.cpp:232
bool resize()
reinitializes iterator based on new variable size
Definition: NonDRKDDarts.cpp:65
void active_view(short view, bool recurse_flag=true)
update the Model's active view based on higher level context and optionally recurse into actualModel
Definition: DataFitSurrModel.hpp:976
void next(int n, UInt64Vector ¤t_point)
Get the next point of the sequence represented as an unsigned integer vector.
Definition: DigitalNet.cpp:753
std::vector< double > constraintMapMultipliers
multipliers for constraint transformations
Definition: DakotaOptimizer.hpp:542
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: SurrBasedGlobalMinimizer.hpp:57
SNLLLeastSqTraits()
default constructor
Definition: SNLLLeastSq.hpp:37
int randomSeed
seed for the random number generator used in sampling of the tensor multi-index
Definition: NonDQuadrature.hpp:188
Real afctol
absolute fn convergence tolerance (absolute_conv_tol)
Definition: NL2SOLLeastSq.hpp:127
std::shared_ptr< Approximation > approxRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaApproximation.hpp:434
String readRestartFile
e.g., "dakota.old.rst"
Definition: ProgramOptions.hpp:241
size_t collocation_points() const
return specification for number of collocation points (may be part of a sequence specification)
Definition: NonDMultilevelPolynomialChaos.hpp:146
unsigned short exportCorrModelFormat
tabular format for corrected model (model+discrepancy) export file
Definition: DataMethod.hpp:1277
void test_local_evaluations(Dakota::PRPQueue &prp_queue)
invokes wait_local_evaluations() (no special nowait support)
Definition: PluginSerialDirectApplicInterface.hpp:116
StringArray continuousDesignScaleTypes
scale types array for the continuous design variables (from the continuous_design scale_types specifi...
Definition: DataVariables.hpp:221
bool versionFlag
whether to print version message and exit
Definition: ProgramOptions.hpp:249
T bitget(T v, int j)
Bit operations are taken from the Stanford Bithack webpage http://www.graphics.stanford....
Definition: dakota_bit_utils.hpp:22
virtual SurrBasedLevelData & trust_region()=0
return the active SurrBasedLevelData instance
SharedVariablesDataRep(const ShortShortPair &view, const std::map< unsigned short, size_t > &vars_comps, const BitArray &all_relax_di, const BitArray &all_relax_dr)
medium weight constructor providing detailed variable counts
Real smoothFactor
the initial smoothFactor value for nonlinearly constrained APPS in MethodAPPSDC
Definition: DataMethod.hpp:561
void combined_to_active(bool clear_combined=true)
promote the combined approximation to the currently active one
Definition: ApproximationInterface.hpp:513
virtual void compute_statistics(short results_state=FINAL_RESULTS)
calculate analytic and numerical statistics from the expansion, supporting {REFINEMENT,...
Definition: NonDExpansion.cpp:2678
bool piecewiseBasis
boolean indicating presence of piecewise keyword
Definition: DataMethod.hpp:977
void lock()
Locks the database in order to prevent data access when the list nodes may not be set properly....
Definition: ProblemDescDB.hpp:523
short qoiAggregation
the qoi_aggregation_norm selection in MethodMultilevelMC
Definition: DataMethod.hpp:1139
BitArray histogramUncPointIntCat
is each hupi var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:518
String method_enum_to_string(unsigned short method_enum) const
convert a method name enumeration value to a string
Definition: DakotaIterator.cpp:981
IntVector poissonUncVars
initial values of the poisson uncertain variables (from the initial_point specification in VarDAUV_Po...
Definition: DataVariables.hpp:453
bool domainDecomp
whether domain decomposition is enabled
Definition: DataModel.hpp:271
virtual void pre_combine()
aggregate the shared approximation data from current and stored states
Definition: SharedApproxData.cpp:425
void load(Archive &ar, const unsigned int version)
read a Response from an archive<class Archive>
size_t solution_level_cost_index() const
return active entry in solnCntlCostMap
Definition: SimulationModel.cpp:291
void map(const Variables &vars, const ActiveSet &set, Response &response, bool asynch_flag=false)
Provides a "mapping" of variables to responses using a simulation. Protected due to Interface letter-...
Definition: ApplicationInterface.cpp:400
Derived model class which provides a thin wrapper around a sub-model in order to recast the form of i...
Definition: RecastModel.hpp:43
std::vector< MatrixXd > GramMatrixDerivs
Derivatives of the Gram matrix w.r.t. the hyperparameters.
Definition: SurrogatesGaussianProcess.hpp:384
int recommended_coefficients() const override
return the recommended number of samples (unknowns) required to build the derived class approximation...
Definition: SurfpackApproximation.cpp:361
double FDCH
Relative finite difference step size.
Definition: CONMINOptimizer.hpp:191
Real half_log_cov_determinant(const RealVector &multipliers, unsigned short multiplier_mode) const
returns the log of the determinant of (covariance block-scaled by the passed multipliers)
Definition: ExperimentData.cpp:1590
Real regressionL2Penalty
L2 regression penalty for a variant of LASSO known as the elastic net method (default of 0 gives stan...
Definition: DataMethod.hpp:1031
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: NLSSOLLeastSq.hpp:49
int pointsel_add_sel(const RealArray &delta)
Accepts a vector of unsorted prediction errors, determines which points should be added to the effect...
Definition: GaussProcApproximation.cpp:1104
short convergenceToleranceType
the convergence_tolerance_type selection in MethodMultilevelMC
Definition: DataMethod.hpp:1144
SysCallApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: SysCallApplicInterface.cpp:22
void combined_to_active(bool clear_combined=true)
promote the combined approximation into the active approximation
Definition: RecastModel.hpp:989
SizetArray numHIter0
number of successful pilot evaluations of HF truth model (exclude faults)
Definition: NonDNonHierarchSampling.hpp:682
void resize_best_resp_array(size_t newsize)
Safely resize the best response array to newsize taking into account the envelope-letter design patte...
Definition: DakotaMinimizer.cpp:1062
double bestObjFunValue
Final objective function value.
Definition: SurrogatesGaussianProcess.hpp:444
int subSamplingPeriod
period or skip in post-processing the acceptance chain
Definition: DataMethod.hpp:1255
static void nlf1_evaluator(int mode, int n, const RealVector &x, double &f, RealVector &grad_f, int &result_mode)
objective function evaluator function which provides function values and gradients to OPT++ methods.
Definition: SNLLOptimizer.cpp:842
RealVector deltaLevelMaps
change in response means induced by a refinement candidate
Definition: NonDStochCollocation.hpp:138
Real estvar_ratios_to_avg_estvar(const RealVector &estvar_ratios, const RealVector &var_H, const SizetArray &N_H)
convert estimator variance ratios to average estimator variance
Definition: NonDEnsembleSampling.hpp:337
void resp_scaled2native(const Variables &native_vars, Response &updated_resp) const
map responses from scaled to native space, updating provided Response in-place (on entry it's scaled ...
Definition: ScalingModel.cpp:182
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NonlinearCGOptimizer.hpp:37
void increment_set(const UShortArray &set)
invokes SparseGridDriver::increment_smolyak_multi_index()
Definition: NonDSparseGrid.hpp:206
bool adaptExpDesign
whether to perform iterative design of experiments with high-fidelity model
Definition: NonDBayesCalibration.hpp:329
BitArray cdrv_to_all_mask() const
create a BitArray indicating the complement discrete real subset of all {continuous,...
Definition: SharedVariablesData.hpp:1357
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NCSUOptimizer.cpp:331
std::time_t startTime
cached starting time in raw seconds
Definition: TrackerHTTP.hpp:128
virtual void update_reference()
update reference grid within adaptive grid refinement procedures
Definition: NonDIntegration.cpp:193
size_t numScalarLeastSqTerms
scalar_calibration_terms: number of calibration terms which are scalar
Definition: DataResponses.hpp:78
SharedResponseDataRep()
default constructor
Definition: SharedResponseData.hpp:130
void allocate_vector(const StrStrSizet &iterator_id, const StringArray &location, ResultsOutputType stored_type, const int &len, const DimScaleMap &scales=DimScaleMap(), const AttributeArray &attrs=AttributeArray())
Pre-allocate a vector and (optionally) attach dimension scales and attributes. Insert elements insert...
Definition: ResultsManager.cpp:76
void batch_asynchronous_ego()
synchronous batch-sequential implementation: main function
Definition: EffGlobalMinimizer.cpp:343
StringArray discreteStateSetStrVars
initial values for the discrete state variables defined by a string set (from the discrete_state_set ...
Definition: DataVariables.hpp:637
int get_int(const String &entry_name) const
get an int out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2266
size_t mi_parallel_level_index(ParLevLIter pl_iter) const
return the index within miPLIters corresponding to pl_iter
Definition: ParallelLibrary.hpp:540
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: DOTOptimizer.hpp:71
RealVector nlnIneqLowerBnds
nonlinear inequality constraint lower bounds used in "user_functions" mode
Definition: NCSUOptimizer.hpp:175
void set_communicators_checks(int max_eval_concurrency)
no-op hides default run-time error checks at DirectApplicInterface level
Definition: SoleilDirectApplicInterface.hpp:127
virtual void test_local_evaluation_sequence(PRPQueue &prp_queue)=0
version of test_local_evaluations() managing of set of individual asynchronous evaluations
~NonDMultilevelStochCollocation()
destructor
Definition: NonDMultilevelStochCollocation.cpp:182
void fine_grained_evaluation_counters(size_t num_fns)
set fineGrainEvalCounters to true and initialize counters if needed
Definition: DakotaInterface.cpp:376
size_t statCntr
counter for finalStatistics
Definition: NonDGlobalSingleInterval.hpp:61
void activate_distribution_parameter_derivatives()
activate derivative setting w.r.t. distribution parameters
Definition: RecastModel.hpp:721
int num_nonzeros(const T &mat)
Caclulate and return number of nonzero entries in vector or matrix.
Definition: util_math_tools.hpp:33
const IntVector & discrete_int_upper_bounds() const
return the active discrete variable upper bounds
Definition: DakotaConstraints.hpp:531
void recv_ea(int &recv_int, int source, int tag, MPI_Status &status)
blocking receive at the evaluation-analysis communication level
Definition: ParallelLibrary.hpp:1657
void derived_free_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
deallocate communicator partitions for the RecastModel (request forwarded to subModel)
Definition: RecastModel.hpp:1102
double CTL
Constraint thickness parameter for linear and side constraints.
Definition: CONMINOptimizer.hpp:200
const double POW_VAL
offset used text_book exponent: 1.0 is nominal, 1.4 used for B&B testing
Definition: TestDriverInterface.cpp:32
EffGlobalMinimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: EffGlobalMinimizer.cpp:37
static void primary_resp_scaler(const Variables &native_vars, const Variables &scaled_vars, const Response &native_response, Response &iterator_response)
RecastModel callback for primary response scaling: transform responses (grads, Hessians) from native ...
Definition: ScalingModel.cpp:851
void set_cell_bounds()
set the optimization variable bounds for each cell
Definition: NonDLocalEvidence.cpp:34
IntStringPair evalInterfaceIds
the evalInterfaceIds aggregate
Definition: ParamResponsePair.hpp:167
void LoadProblemConfig(JEGA::FrontEnd::ProblemConfig &pConfig)
Completely initializes the supplied problem configuration.
Definition: JEGAOptimizer.cpp:1389
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: SNLLOptimizer.hpp:63
OPTPP::OptCG * optcg
CG optimizer pointer.
Definition: SNLLOptimizer.hpp:338
Sizet2DArray primaryRespMapIndices
For each recast primary function, identifies the indices of the subModel functions used to define it ...
Definition: RecastModel.hpp:593
void set_x_label2d(int i, const char *x_label)
set x label for ith plot equal to x_label
Definition: DakotaGraphics.cpp:358
void check_mMax()
Perform checks on mMax Checks if mMax is positive (> 0)
Definition: LowDiscrepancySequence.hpp:202
IntSet hessIdQuasi
quasi id's for mixed Hessians
Definition: DakotaModel.hpp:1470
Real value(const Variables &vars)
retrieve the predicted function value for a given parameter set
Definition: VPSApproximation.cpp:3255
void spawn_evaluation_to_shell(bool block_flag)
spawn a complete function evaluation
Definition: SysCallApplicInterface.cpp:248
NOMAD-based Evaluator class.
Definition: NomadOptimizer.hpp:195
void peer_dynamic_schedule_evaluations()
blocking dynamic schedule of all evaluations in beforeSynchCorePRPQueue using message passing on a pe...
Definition: ApplicationInterface.cpp:1168
MPIPackBuffer(int size_=1024)
Constructor, which allows the default buffer size to be set.
Definition: MPIPackBuffer.hpp:47
virtual Real apply_covariance(const RealVector &residuals) const
method to compute the triple product v'*inv(C)*v.
Pecos::ActiveKey activeKey
array of indices that identify the currently active model key
Definition: SurrogateModel.hpp:196
RealVectorArray xPrev
previous parameter vectors used in computing s for quasi-Newton updates
Definition: DakotaModel.hpp:1673
Iterator2DArray varianceMinimizers
the minimizer(s) used to optimize the estimator variance over the number of truth model samples and a...
Definition: NonDNonHierarchSampling.hpp:648
ParallelLibrary & parallel_library() const
return the parallelLib reference
Definition: ProblemDescDB.hpp:545
VectorXd value(const MatrixXd &eval_points, const int qoi) override
Evaluate the Gaussian Process at a set of prediction points for a single qoi.
Definition: SurrogatesGaussianProcess.cpp:286
Main Branching class for the PEBBL-based Minimizer.
Definition: PEBBLBranching.hpp:19
virtual utilib::Any spawn_evaluation_impl(const utilib::Any &domain, const colin::AppRequest::request_map_t &requests, utilib::seed_t &seed)
Schedule one or more requests at specified domain point, returning a DAKOTA-specific evaluation track...
Definition: COLINApplication.cpp:259
Real gammaExpand
trust region expansion factor
Definition: SurrBasedLocalMinimizer.hpp:210
virtual size_t test_local_analyses_send(int analysis_id)=0
test for asynchronous analysis completions on the local processor and return results for any completi...
String importBuildPointsFile
user-specified file for importing build points
Definition: NonDPolynomialChaos.hpp:202
RealVector dataDistMeans
The mean of the multivariate Gaussian distribution of the obs. data.
Definition: NonDWASABIBayesCalibration.hpp:84
std::vector< MatrixXd > cwiseMixedDists2
Squared component-wise distances between prediction and build points.
Definition: SurrogatesGaussianProcess.hpp:393
String dsetName
Name of the dataset to attach the scale to.
Definition: ResultsDBHDF5.hpp:148
size_t numOptInterfIneqCon
number of inequality constraints resulting from optional interface evaluations
Definition: NestedModel.hpp:323
RealVector expConfigVars
list of num_experiments x num_config_vars configuration variable values
Definition: DataResponses.hpp:156
unsigned short importBuildFormat
tabular format for the build point import file
Definition: DataMethod.hpp:1405
const double SCALING_MIN_SCALE
minimum value allowed for a characteristic value when scaling; ten orders of magnitude greater than D...
Definition: ScalingModel.cpp:22
void initialize_from_model(Model &model)
helper for shared ctor code
Definition: SurrBasedMinimizer.cpp:75
void infer_pilot_sample(size_t num_steps, SizetArray &delta_N_l)
Definition: NonDMultilevelFunctionTrain.cpp:395
bool decompDiscontDetect
whether discontinuity detection is enabled
Definition: DataModel.hpp:277
void parse(const ProgramOptions &prog_opts, const ProblemDescDB &problem_db)
Extract environment options from ProblemDescDB and update from late updates to ProgramOptions.
Definition: OutputManager.cpp:245
void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDGlobalSingleInterval.cpp:74
virtual Real compute_covariance_metric(bool revert, bool print_metric)
compute 2-norm of change in response covariance
Definition: NonDExpansion.cpp:2157
int graphics_counter() const
return graphicsCntr
Definition: OutputManager.cpp:627
void active_set_request_vector(const ShortArray &asrv)
set the active set request vector and verify consistent number of response functions
const String & preprocessed_file() const
pre-processed input filename
Definition: ProgramOptions.cpp:127
void request_values(const short rv_val)
set all request vector values
Definition: DakotaActiveSet.hpp:203
size_t startRankSpec
scalar specification for initial rank (prior to adapt_rank)
Definition: NonDC3FunctionTrain.hpp:119
int derived_map_ac(const Dakota::String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: PluginSerialDirectApplicInterface.cpp:19
~NonDReliability()
destructor
Definition: NonDReliability.cpp:45
String expansionImportFile
filename for import of chaos coefficients
Definition: NonDPolynomialChaos.hpp:205
Objects of this class are called by boost::appy_visitor to add dimension scales (RealScale or StringS...
Definition: ResultsDBHDF5.hpp:86
virtual void derived_post_process()
derived class specifics within post_process()
Definition: ProblemDescDB.cpp:298
void update_partial(size_t start_index_target, size_t num_items, const Response &response, size_t start_index_source)
partial update of this response object from another response object. The response objects may have di...
Definition: DakotaResponse.hpp:979
MFSolutionData acvSolnData
final solution data for ACV (default DAG = {numApprox,...,numApprox})
Definition: NonDACVSampling.hpp:247
UInt64Matrix generatingMatrices
Generating matrices of this digital net.
Definition: DigitalNet.hpp:97
virtual const Response & response_results() const
return a single final iterator solution (response)
Definition: DakotaIterator.cpp:1453
Real relFunctionTol
stopping criterion for rel change in fn
Definition: NonlinearCGOptimizer.hpp:101
void relax_constraints(SurrBasedLevelData &tr_data)
relax constraints by updating bounds when current iterate is infeasible
Definition: SurrBasedLocalMinimizer.cpp:1330
RealVector linearIneqScaleOffsets
offsets for linear ineq constrs.
Definition: ScalingModel.hpp:190
void assign_specification_sequence()
assign the current values from the input specification sequence
Definition: NonDMultilevelPolynomialChaos.cpp:572
const RealVector & linear_eq_constraint_targets() const
return the linear equality constraint targets
Definition: DakotaModel.hpp:3448
void silence_unused_args(const Ts...)
silence unused parameter warning; use to indicate those parameters are intentionally unused
Definition: util_data_types.hpp:41
~NIDRProblemDescDB()
destructor
Definition: NIDRProblemDescDB.cpp:88
bool constant_penalty
Buffer to hold problem constant_penalty parameter.
Definition: COLINOptimizer.hpp:183
static int lastEvalMode
copy of mode from constraint evaluators
Definition: SNLLBase.hpp:165
std::shared_ptr< QUESO::StatisticalInverseProblem< QUESO::GslVector, QUESO::GslMatrix > > inverseProb
QUESO inverse problem solver.
Definition: NonDQUESOBayesCalibration.hpp:227
QRSolver()
Constructor.
Definition: UtilLinearSolvers.cpp:174
bool toleranceIntervalsFlag
Flag to specify use of double sided tolerance interval equivalent normal.
Definition: DataMethod.hpp:941
virtual void print_coefficients(std::ostream &s, bool normalized)
print the coefficient array computed in build()/rebuild()
Definition: DakotaApproximation.cpp:961
RealMatrix linEqCoeffs
linear equality constraint coefficients used in "user_functions" mode
Definition: NCSUOptimizer.hpp:171
RealVectorArray ccPlausFn
Storage array to hold CCPF values.
Definition: NonDInterval.hpp:105
Base class for traits.
Definition: DakotaTraitsBase.hpp:41
void serve_evaluations_asynch_peer()
serve the evaluation message passing schedulers and perform multiple asynchronous evaluations as part...
Definition: ApplicationInterface.cpp:2440
void store_evaluations(const size_t step)
adds the response evaluations for the current step to levQoisamplesmatrixMap.
Definition: NonDMultilevelSampling.cpp:670
short interface_synchronization() const
return interfaceSynchronization
Definition: ApplicationInterface.hpp:586
void apply_mlmf_control(Real sum_Hl, Real sum_Hlm1, Real sum_Ll, Real sum_Llm1, size_t N_shared, Real sum_Ll_refined, Real sum_Llm1_refined, size_t N_refined, Real beta_dot, Real gamma, Real &H_raw_mom)
apply scalar control variate parameter (beta) to approximate HF moment
Definition: NonDMultilevControlVarSampling.hpp:501
short respLevelTargetReduce
indicates component or system series/parallel failure metrics
Definition: DakotaNonD.hpp:342
~TrackerHTTP()
destructor to free handles
Definition: TrackerHTTP.cpp:64
double fixedNuggetValue
Small constant added to the diagonal of the Gram matrix to avoid ill-conditioning.
Definition: SurrogatesGaussianProcess.hpp:333
const UShortArray & varPartitionsSpec
number of partitions in each variable direction
Definition: PSUADEDesignCompExp.hpp:82
void import_model(const ProblemDescDB &problem_db)
construct-time only import of serialized surrogate
Definition: SurfpackApproximation.cpp:837
void update_limit_state_surrogate()
convenience function for passing the latest variables/response data to the data fit embedded within u...
Definition: NonDLocalReliability.cpp:1774
void common_input_filtering(const Variables &vars)
common input filtering operations, e.g. mesh movement
Definition: ApplicationInterface.cpp:3021
Real globalBalanceParam
the global_balance_parameter for the DIRECT method in MethodSCOLIBDIR
Definition: DataMethod.hpp:574
void get_main_diagonal(RealVector &diagonal, size_t experiment) const
return a (copy) vector containing the main diagonal entries of a specified experimental covariance ma...
Definition: ExperimentData.cpp:925
~OptDartsOptimizer()
Destructor.
Definition: OptDartsOptimizer.cpp:1731
void write_parameters_files(const Variables &vars, const ActiveSet &set, const Response &response, const int id)
write the parameters data and response request data to one or more parameters files (using one or mor...
Definition: ProcessApplicInterface.cpp:540
short ensemblePrecedence
precedence tie breaker for type of 1D,2D model hierarchy when model forms and resolution levels are p...
Definition: EnsembleSurrModel.hpp:303
void trans_grad_X_to_U(const RealVector &fn_grad_x, RealVector &fn_grad_u, const RealVector &x_vars)
transform x-space gradient vector to u-space
Definition: RecastModel.hpp:730
virtual void archive_model_response(const Response &, size_t idx) const
archive model evaluation responses
Definition: DakotaAnalyzer.hpp:154
SizetMultiArrayConstView all_discrete_int_ids(size_t start, size_t num_items) const
get num_items discrete int ids beginning at index start
Definition: SharedVariablesData.hpp:1582
RealVector primaryRespFnWeights
vector of weightings for multiobjective optimization or weighted nonlinear least squares (from the mu...
Definition: DataResponses.hpp:112
void track_evaluation_ids(bool track)
assigns a flag to track evaluation ids within surrogate data, enabling id-based lookups for data repl...
Definition: DataFitSurrModel.hpp:874
EvaluatorCreator(Model &theModel)
Constructs an EvaluatorCreator using the supplied model.
Definition: JEGAOptimizer.cpp:579
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: DOTOptimizer.hpp:64
virtual const ExperimentCovariance & experiment_covariance() const
retrieve the ExperimentCovariance structure
bool varyPattern
flag for generating a sequence of seed values within multiple get_parameter_sets() calls so that the ...
Definition: PSUADEDesignCompExp.hpp:94
double priorPropCovMult
optional multiplier to scale prior-based proposal covariance
Definition: NonDQUESOBayesCalibration.hpp:210
MPIUnpackBuffer()
Default constructor.
Definition: MPIPackBuffer.hpp:191
size_t numUniformUncVars
number of uniform uncertain variables (from the uniform_uncertain specification in VarAUV)
Definition: DataVariables.hpp:125
SSCIter max_string(const StringSet &ss)
return iterator for longest string value found in string set
Definition: DakotaModel.hpp:3801
RestartWriter(const RestartWriter &)
copy constructor is disallowed due to file stream
const Response & search_db(const Variables &search_vars, const ShortArray &search_asv)
search data_pairs for missing approximation data
Definition: DiscrepancyCorrection.cpp:838
RealVector fnGradX
actual x-space gradient for current function from most recent response evaluation
Definition: NonDLocalReliability.hpp:267
Base class for polynomial chaos expansions (PCE), stochastic collocation (SC) and functional tensor t...
Definition: NonDExpansion.hpp:26
RealVector binomialUncProbPerTrial
probabilities per each trial (p) for the binomial uncertain variables from the prob_per_trial specifi...
Definition: DataVariables.hpp:459
void user_proposal_covariance(const String &input_fmt, const RealVector &cov_data, const String &cov_filename)
set proposal covariance from user-provided diagonal or matrix
Definition: NonDMUQBayesCalibration.cpp:651
int(* start_grid_computing_t)(char *analysis_driver_script, char *params_file, char *results_file)
definition of start grid computing type (function pointer)
Definition: GridApplicInterface.hpp:20
SubspaceModel(ProblemDescDB &problem_db, const Model &sub_model)
Problem database constructor.
Definition: SubspaceModel.cpp:21
int estimate_derivatives(const ShortArray &map_asv, const ShortArray &fd_grad_asv, const ShortArray &fd_hess_asv, const ShortArray &quasi_hess_asv, const ActiveSet &original_set, const bool asynch_flag)
evaluate numerical gradients using finite differences. This routine is selected with "method_source d...
Definition: DakotaModel.cpp:1678
virtual void calibrate()=0
Perform Bayesian calibration (all derived classes must implement)
void ft_derived_functions_create(struct MultiApproxOpts *opts, size_t num_mom, Real round_tol)
allocate derived funtions pointers (standard mode)
Definition: C3FnTrainData.hpp:251
std::shared_ptr< PolynomialRegression > polyRegression
PolynomialRegression for trend function.
Definition: SurrogatesGaussianProcess.hpp:417
static bfs::path system_tmp_path()
get the system tmp path, e.g., /tmp or C:\temp
Definition: WorkdirHelper.cpp:485
bool resize()
reinitializes iterator based on new variable size
Definition: DakotaMinimizer.cpp:117
void test_local_evaluation_sequence(PRPQueue &prp_queue)
Definition: SysCallApplicInterface.cpp:120
void reset_relaxation()
initialize relaxFactor prior to iteration
Definition: NonDEnsembleSampling.hpp:395
void update_approximation(bool rebuild_flag)
replaces data in the subModel approximation
Definition: RecastModel.hpp:936
void check_inputs()
verify problem respects NCSU DIRECT Fortran limits
Definition: NCSUOptimizer.cpp:147
UShortMultiArrayConstView discrete_string_variable_types() const
return the active discrete string variable types
Definition: DakotaVariables.hpp:1339
bool methodDBLocked
prevents use of get_<type> retrieval and set_<type> update functions prior to setting the list node f...
Definition: ProblemDescDB.hpp:504
void add_metadata_to_method(const StrStrSizet &iterator_id, const AttributeArray &attrs) override
Add attributes to the HDF5 method group.
Definition: ResultsDBHDF5.cpp:192
virtual void derived_broadcast()
derived class specifics within broadcast()
Definition: ProblemDescDB.cpp:290
Model & active_truth_model()
return the active truth model within subModel
Definition: RecastModel.hpp:802
int numEmulEval
the number of points evaluated by the GP each iteration
Definition: NonDAdaptiveSampling.hpp:88
unsigned short startOrder
starting polynomial order
Definition: DataMethod.hpp:829
Real trustRegionContract
trust region contraction factor in the surrogate-based local method (from the contraction_factor spec...
Definition: DataMethod.hpp:462
ActiveSet responseActiveSet
copy of the ActiveSet used by the Model to generate a Response instance
Definition: DakotaResponse.hpp:413
void declare_sources()
Declare a model's sources to the evaluationsDB.
Definition: RecastModel.cpp:1577
PebbldBranching()
Default Constructor.
Definition: PEBBLBranching.cpp:14
void(* respMapping)(const Variables &vars, const ActiveSet &set, Response &response)
holds pointer for primary response mapping function passed in ctor/initialize
Definition: AdapterModel.hpp:190
size_t numGumbelUncVars
number of gumbel uncertain variables (from the gumbel_uncertain specification in VarAUV)
Definition: DataVariables.hpp:143
const char *DAKOTA_DLL_FN dakota_getStatus(int id)
return current results output as a string
Definition: dakota_dll_api.cpp:297
Rank1LatticeOrdering
Enum for rank-1 lattice rule ordering.
Definition: Rank1Lattice.hpp:20
RealVector discreteStateSetRealLowerBnds
discrete state real set lower bounds inferred from set values
Definition: DataVariables.hpp:801
RealVector continuousAleatoryUncUpperBnds
distribution upper bounds for all continuous aleatory uncertain variables (collected from nuv_upper_b...
Definition: DataVariables.hpp:708
const Pecos::BitArrayULongMap & sobol_index_map() const
return Pecos::SharedPolyApproxData::sobolIndexMap
Definition: SharedPecosApproxData.hpp:332
Class for the Dempster-Shafer Evidence Theory methods within DAKOTA/UQ.
Definition: NonDGlobalEvidence.hpp:34
void DAKOTA_DLL_FN dakota_create(int *dakota_ptr_int, const char *logname)
create and configure a new DakotaRunner, adding it to list of instances
Definition: dakota_dll_api.cpp:238
void reset()
resets all response data to zero
Subspace model for input (variable space) reduction.
Definition: SubspaceModel.hpp:31
void unsafe_get_points(const size_t nMin, const size_t nMax, RealMatrix &points)
Generates digital net points without error checking.
Definition: DigitalNet.cpp:706
RealVector primaryRespFnWts
primary response function weightings (either weights for multiobjective optimization or weighted leas...
Definition: DakotaModel.hpp:1540
void parallel_configuration_iterator(ParConfigLIter pc_iter)
set modelPCIter
Definition: DakotaModel.hpp:3769
int randomSeed
current seed for the random number generator
Definition: FSUDesignCompExp.hpp:116
size_t drv() const
get number of active discrete real vars
Definition: SharedVariablesData.hpp:1688
bool crossValidation
flag indicating the use of cross-validation across expansion orders (given a prescribed maximum order...
Definition: DataMethod.hpp:1034
void function_hessian(const RealSymMatrix &assign_hessian, size_t fn_index, const SizetArray &assign_indices, const SizetArray &curr_indices)
set a function Hessian, using DVV index mappings
virtual void archive_coefficients()
archive expansion coefficients, as supported by derived instance
Definition: NonDExpansion.hpp:836
int generate_system_seed()
clock microseconds-based random seed in [1, 1000000]
Definition: dakota_stat_util.cpp:30
SurrogatesPolyApprox()
default constructor
Definition: DakotaSurrogatesPoly.hpp:30
void aggregate_variance(Real &agg_var_l)
Aggregate variance across the set of QoI for a particular model level.
Definition: NonDExpansion.cpp:2397
IntIntPair estimate_partition_bounds(int max_eval_concurrency)
estimate the minimum and maximum partition sizes that can be utilized by this Model
Definition: RecastModel.hpp:1069
const RealRealPairArray & extreme_values() const
return extremeValues
Definition: NonDAdaptImpSampling.hpp:221
int numWorkersTotal
total number of processors available for performing function evaluations
Definition: APPSEvalMgr.hpp:107
int size()
The number of bytes of packed data.
Definition: MPIPackBuffer.hpp:55
RealVectorArray listDRVPoints
array of discrete real evaluation points for the list_parameter_study
Definition: ParamStudy.hpp:194
virtual MatrixXd compute_first_deriv_pred_gram(const MatrixXd &pred_gram, const std::vector< MatrixXd > &mixed_dists, const VectorXd &theta_values, const int index)=0
Compute the first derivatve of the prediction matrix for a given component.
bool dirSave
whether dir_save was specified
Definition: ProcessApplicInterface.hpp:216
int cholFlag
A global indicator for success of the Cholesky factorization.
Definition: GaussProcApproximation.hpp:267
~LinearSolverBase()
Destructor.
Definition: UtilLinearSolvers.cpp:88
virtual int serve_finalize_mapping(ParLevLIter pl_iter)
called from IteratorScheduler::run_iterator() for iteratorComm rank != 0 to balance resize() calls on...
Definition: DakotaModel.cpp:4833
virtual void recover_results(const RealVector &cv_star, const RealVector &fn_star, MFSolutionData &soln)
post-process optimization final results to recover solution data
Definition: NonDNonHierarchSampling.cpp:1674
const RealVector & get_rv(const String &entry_name) const
get a RealVector out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1415
static bool find_file(const bfs::path &src_path, const bfs::path &search_file, bool overwrite)
return true if the src_path is a regular file and has same filename as search_file
Definition: WorkdirHelper.cpp:874
RealVector respVariance
vector of response variances (diagonal response covariance option)
Definition: NonDExpansion.hpp:527
RealMatrix sampleRanks
data structure to hold the sample ranks
Definition: NonDSampling.hpp:365
const int seedSpec
the user seed specification (default is 0)
Definition: NonDLHSInterval.hpp:63
void run_dace()
execute the DACE iterator to generate build data
Definition: DataFitSurrModel.cpp:1334
MatrixXd hessian(const MatrixXd &eval_point)
Evaluate the Hessian of the Gaussian process at a single point for QoI index 0.
Definition: SurrogatesGaussianProcess.hpp:164
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonDLocalReliability.cpp:563
SizetArray algebraicACVIds
set of ids mapping AMPL algebraic variables to DAKOTA all continuous variables
Definition: DakotaInterface.hpp:470
void all_discrete_real_upper_bound(Real adru_bnd, size_t i)
set an upper bound within the all discrete upper bounds array
Definition: DakotaConstraints.hpp:849
virtual void clear_model_keys()
reset initial state by clearing all model keys for an approximation
Definition: SharedApproxData.cpp:284
void manage_run_modes(const CommandLineHandler &clh)
retrieve run mode options from the CLH
Definition: ProgramOptions.cpp:440
bool returns_multiple_points() const
indicates if this iterator returns multiple final points. Default return is false....
Definition: DakotaAnalyzer.hpp:341
IntResponseMap cachedApproxRespMap
map of approximate responses retrieved in derived_synchronize_nowait() that could not be returned sin...
Definition: DataFitSurrModel.hpp:441
Real betaEta
power for etaSequence updates when updating multipliers
Definition: SurrBasedMinimizer.hpp:175
void pack(const short &data)
Pack a short.
Definition: MPIPackBuffer.hpp:101
String oFilterName
name of the direct function output filter
Definition: DirectApplicInterface.hpp:143
Class for digital nets in Dakota.
Definition: DigitalNet.hpp:27
size_t numBinomialUncVars
number of binomial uncertain variables (from the binomial_uncertain specification in VarAUV)
Definition: DataVariables.hpp:158
double lnValue(const V &domainVector, const V *domainDirection, V *gradVector, M *hessianMatrix, V *hessianEffect) const
Logarithm of the value of the function.
Definition: QUESOImpl.cpp:51
void core_run()
Performs an optimization to determine interval bounds for an entire function or interval bounds on a ...
Definition: NonDGlobalInterval.cpp:279
bool compute_scale_factor(const Real lower_bound, const Real upper_bound, Real *multiplier, Real *offset)
automatically compute a single scaling factor – bounds case
Definition: ScalingModel.cpp:666
StringMultiArrayConstView discrete_real_variable_labels() const
return the active discrete real variable labels
Definition: DakotaVariables.hpp:1161
std::shared_ptr< HDF5IOHelper > hdf5Stream
Instance of HDF5IOHelper (must be a pointer because it's shared with the global evaluation store inst...
Definition: ResultsDBHDF5.hpp:275
void discrete_int_variable_type(unsigned short div_type, size_t index)
set an active discrete integer variable type
Definition: DakotaVariables.hpp:1331
int get_num_variables() const
Get the dimension of the feature space.
Definition: SurrogatesGaussianProcess.cpp:565
void manage_failure(const Variables &vars, const ActiveSet &set, Response &response, int failed_eval_id)
manages a simulation failure using abort/retry/recover/continuation
Definition: ApplicationInterface.cpp:2717
String evalTagPrefix
cached evalTag Prefix from parents to use at evaluate time
Definition: DakotaModel.hpp:1550
size_t icv_start() const
start index of inactive continuous vars
Definition: DakotaVariables.hpp:745
void form_residuals(const Response &sim_resp, Response &residual_resp) const
form residuals for all experiments, interpolating if necessary; one simulation response maps to all e...
Definition: ExperimentData.cpp:964
int adapterModelEvalCntr
local evaluation id counter used for id mapping
Definition: AdapterModel.hpp:166
void init_model_inactive_variables(Model &model)
initialize model with inactive variable values/bounds data that could change once per set of evaluati...
Definition: SurrogateModel.cpp:329
static void variables_scaler(const Variables &scaled_vars, Variables &native_vars)
RecastModel callback for variables scaling: transform variables from scaled to native (user) space.
Definition: ScalingModel.cpp:803
size_t mlmfIter
major iteration counter
Definition: NonDEnsembleSampling.hpp:195
SizetMultiArrayConstView all_discrete_int_variable_ids() const
return all discrete integer variable position identifiers
Definition: DakotaVariables.hpp:1784
int bayes_linear()
Scalable test function for Bayesian methods, to estimate parameters.
Definition: TestDriverInterface.cpp:4604
void stop_model(short model_id)
stop the servers for the model instance identified by the passed id
Definition: EnsembleSurrModel.hpp:1199
void correl_adjust(Real &corr_value)
if result was NaN/Inf, preserve it, otherwise truncate to [-1.0, 1.0]
Definition: SensAnalysisGlobal.cpp:129
void write(std::ostream &s) const
write a variable constraints object to an std::ostream
Definition: MixedVarConstraints.cpp:208
void initialize_all_labels(const ProblemDescDB &problem_db)
aggregate all{Continuous,DiscreteInt,DiscreteString,DiscreteReal}Labels from user specification or de...
int serve_init_communicators(ParLevLIter pl_iter)
called from IteratorScheduler::init_iterator() for iteratorComm rank != 0 to balance init_communicato...
Definition: DakotaModel.cpp:4784
CONMINTraits()
default constructor
Definition: CONMINOptimizer.hpp:27
bool importUseVariableLabels
whether to parse/validate variable labels from header
Definition: DataModel.hpp:174
void array_insert(const StrStrSizet &iterator_id, const std::string &data_name, size_t index, StringMultiArrayConstView sent_data)
specialization: insert a SMACV into a previously allocated array of StringArrayStoredType at index sp...
Definition: ResultsManager.hpp:225
Real xConvTol
x-convergence tolerance
Definition: DataMethod.hpp:510
Real aggregate_mse_Yvar(const Real *var_Y, const SizetArray &N_l)
sum up Monte Carlo estimates for mean squared error (MSE) across QoI using discrepancy variances
Definition: NonDMultilevelSampling.hpp:836
NIDRProblemDescDB(ParallelLibrary ¶llel_lib)
constructor
Definition: NIDRProblemDescDB.cpp:83
short refineMetric
refinement metric: NO_METRIC, COVARIANCE_METRIC, LEVEL_STATS_METRIC, or MIXED_STATS_METRIC
Definition: NonDExpansion.hpp:513
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: DOTOptimizer.hpp:74
RealVector allDiscreteRealVars
array combining all of the discrete real variables
Definition: DakotaVariables.hpp:613
const RealVector & all_continuous_lower_bounds() const
return all continuous lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3137
bool randomShiftFlag
Randomize this rank-1 lattice rule if true.
Definition: Rank1Lattice.hpp:86
RealVector rhoMix
rhoMix, mixture density
Definition: NonDGPImpSampling.hpp:121
virtual void validate_inputs()
validate the build controls and set defaults
Definition: SubspaceModel.cpp:51
virtual const RealMatrix & callback_linear_ineq_coefficients() const
return linear constraint coefficients for this iterator (user-functions mode for which iteratedModel ...
Definition: DakotaIterator.cpp:1563
void archive_main_effects_indices(const StrStrSizet &run_identifier, ResultsManager &resultsDB, const StringArray &var_labels, const StringArray &resp_labels, const Real dropTol) const
archive VBD-based Sobol main effects indices
Definition: SensAnalysisGlobal.cpp:1076
size_t num_scalar_primary() const
number of scalar primary responses (objectives, calibration terms, generic)
Definition: SharedResponseData.hpp:331
boost::filter_iterator< MatchesWC, bfs::directory_iterator > glob_iterator
a glob_iterator filters a directory_iterator based on a wildcard predicate
Definition: WorkdirHelper.hpp:100
Variables(const SharedVariablesData &svd)
alternate constructor for instantiations on the fly (explicit disallows its use for implicit type con...
Body class for variables specification data.
Definition: DataVariables.hpp:73
String fdGradStepType
type of finite difference step to use for numerical gradient: relative - step length is relative to x...
Definition: DakotaModel.hpp:1440
void filter_chain(const RealMatrix &acceptance_chain, RealMatrix &filtered_chain, int target_length)
Perform chain filtering based on target chain length.
Definition: NonDBayesCalibration.cpp:2670
RealVector inactiveContinuousUpperBnds
the inactive continuous upper bounds array view
Definition: DakotaConstraints.hpp:409
size_t numLeastSqTerms
number of least squares terms (from the num_calibration_terms specification in RespFnLS)
Definition: DataResponses.hpp:64
virtual void map_variable_labels(const Variables &dfsm_vars)
if needed, map passed all variable labels to approximation's labels
Definition: DakotaApproximation.cpp:1098
ProblemDescDB & probDescDB
class member reference to the problem description database
Definition: DakotaModel.hpp:1488
int onlineEvalConcurrency
Concurrency to use once subspace has been built.
Definition: SubspaceModel.hpp:182
bool subspaceIdEnergy
Boolean flag signaling use of eigenvalue energy criterion to identify active subspace dimension.
Definition: ActiveSubspaceModel.hpp:226
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: DDACEDesignCompExp.cpp:108
A version of TraitsBase specialized for NonlinearCG optimizers.
Definition: NonlinearCGOptimizer.hpp:24
StrStrSizet run_identifier() const
get the unique run identifier based on method name, id, and number of executions
Definition: DakotaIterator.cpp:1888
void reset()
restore initial state for repeated sub-iterator executions
Definition: SurrBasedLocalMinimizer.hpp:280
ScalingModel(Model &sub_model)
standard constructor
Definition: ScalingModel.cpp:41
NonDQuadrature(Model &model, unsigned short quad_order, const RealVector &dim_pref, short driver_mode)
alternate constructor for instantiations "on the fly" based on a quadrature order specification
Definition: NonDQuadrature.cpp:87
void join_process_group(pid_t &process_group_id, bool new_group)
core code used by join_{evaluation,analysis}_process_group()
Definition: ForkApplicInterface.cpp:246
void initialize_mpp_search_data()
convenience function for initializing/warm starting MPP search data for each z/p/beta level for each ...
Definition: NonDLocalReliability.cpp:1392
size_t discrete_state()
return total number of state variables
Definition: DataVariables.hpp:954
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDLHSInterval.cpp:47
Real tau
constraint relaxation parameter
Definition: SurrBasedLocalMinimizer.hpp:237
bool idlePartition
identifies presence of an idle processor partition at this level
Definition: ParallelLibrary.hpp:118
short samplingVarsMode
the sampling mode: ALEATORY_UNCERTAIN{,_UNIFORM}, EPISTEMIC_UNCERTAIN{,_UNIFORM}, UNCERTAIN{,...
Definition: NonDSampling.hpp:355
unsigned short correctionMode
one of {DEFAULT,SINGLE,FULL_SOLUTION_LEVEL,FULL_MODEL_FORM}_CORRECTION
Definition: EnsembleSurrModel.hpp:423
void isend(MPIPackBuffer &send_buff, int dest, int tag, MPI_Request &send_req, const ParallelLevel &parent_pl, const ParallelLevel &child_pl)
nonblocking buffer send at the current communication level
Definition: ParallelLibrary.hpp:1491
void clear_active_popped()
clear SurrogateData::popped{Vars,Resp}Trials,popCountStack for activeKey
Definition: DakotaApproximation.hpp:618
NonDPOFDarts(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDPOFDarts.cpp:47
EffGlobalTraits()
default constructor
Definition: EffGlobalMinimizer.hpp:32
std::shared_ptr< TraitsBase > methodTraits
pointer that retains shared ownership of a TraitsBase object, or child thereof
Definition: DakotaIterator.hpp:539
BitArray localServerAssigned
array with one bit per logical "server" indicating whether a job is currently running on the server (...
Definition: ApplicationInterface.hpp:456
static NonDNonHierarchSampling * nonHierSampInstance
pointer to NonDACV instance used in static member functions
Definition: NonDNonHierarchSampling.hpp:733
void compute_y(const RealSymMatrix2DArray &cov_GG_inv, const RealMatrixArray &sum_G, RealVectorArray &y)
Definition: NonDMultilevBLUESampling.hpp:660
RealVector inactiveDiscreteRealUpperBnds
the inactive discrete upper bounds array view
Definition: DakotaConstraints.hpp:417
virtual void post_process_response_fn_results()
post-process the interval computed for a response function
Definition: NonDLocalInterval.cpp:262
void bcast_i(int &data, size_t index=_NPOS)
broadcast an integer across an iterator communicator
Definition: ParallelLibrary.hpp:1808
virtual void track_evaluation_ids(bool track)
assigns trackEvalIds to activate tracking of evaluation ids within surrogate data,...
Definition: DakotaInterface.cpp:1193
void construct_sub_iterator(ProblemDescDB &problem_db, Iterator &sub_iterator, Model &sub_model, const String &method_ptr, const String &method_name, const String &model_ptr)
instantiate sub_iterator on the current rank if not already constructed
Definition: IteratorScheduler.cpp:52
void fill_primary_function_labels(StringArray &expanded_labels) const
populate the passed array with num_total_exppoints labels
Definition: ExperimentData.cpp:769
void set_verbosity()
set the surrogate's verbosity level according to Dakota's verbosity
Definition: DakotaSurrogates.cpp:349
virtual void clear_active_data()
clears all data from an approximation interface
Definition: DakotaInterface.cpp:1363
bool speculativeFlag
flag for speculative gradient evaluations
Definition: DakotaMinimizer.hpp:283
void wait_local_evaluation_sequence(PRPQueue &prp_queue)
version of wait_local_evaluations() managing of set of individual asynchronous evaluations
Definition: ForkApplicInterface.cpp:29
void export_posterior_samples_to_file(const std::string filename, const RealMatrix &posterior_data) const
Export posterior_data to file.
Definition: NonDWASABIBayesCalibration.cpp:379
Real discontGradThresh
gradient threshold for discontinuity detection in domain decomp
Definition: DataModel.hpp:282
void update_system_final_statistics()
update system metrics from component metrics within finalStatistics
Definition: DakotaNonD.cpp:695
SurfpackApproximation()
default constructor
Definition: SurfpackApproximation.hpp:185
Real reliability(Real p)
Convert probability to reliability using the inverse of a first-order integration.
Definition: NonDLocalReliability.hpp:389
bool config_regression(size_t colloc_pts, size_t regress_size, int seed, Iterator &u_space_sampler, Model &g_u_model)
configure u_space_sampler and approx_type based on regression specification
Definition: NonDC3FunctionTrain.cpp:289
std::ostream & operator<<(std::ostream &s, const ActiveSet &set)
std::ostream insertion operator for ActiveSet. Calls write(std::istream&).
Definition: DakotaActiveSet.hpp:276
StringArray discreteStrAleatoryUncUpperBnds
distribution upper bounds for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:735
Data structure for storing real-valued dimension scale.
Definition: dakota_results_types.hpp:238
Real rfctol
relative fn convergence tolerance (convergence_tolerance)
Definition: NL2SOLLeastSq.hpp:123
JEGATraits()
default constructor
Definition: JEGAOptimizer.hpp:617
UShortArray varianceTypes
type of variance specified for each variable, one per response group; empty varianceType indicates no...
Definition: ExperimentData.hpp:433
Real startWCTime
start reference for UTILIB wall clock timer
Definition: ParallelLibrary.hpp:1017
void SeparateVariables(const Design &from, RealVector &intoCont, IntVector &intoDiscInt, RealVector &intoDiscReal, StringMultiArray &intoDiscString) const
This method fills intoCont, intoDiscInt and intoDiscReal appropriately using the values of from.
Definition: JEGAOptimizer.cpp:1972
void variables_to_sample(const Variables &vars, Real *sample_vars)
override default mapping of continuous variables only
Definition: NonDSampling.cpp:621
bool cdfFlag
flag for type of probabilities/reliabilities used in mappings: cumulative/CDF (true) or complementary...
Definition: DakotaNonD.hpp:363
const RealSymMatrix & get_rsm(const String &entry_name) const
get a RealSymMatrix out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1689
void default_instantiate_newton(void(*obj_eval)(int mode, int n, const RealVector &x, double &f, RealVector &grad_f, RealSymMatrix &hess_f, int &result_mode), void(*con_eval)(int mode, int n, const RealVector &x, RealVector &g, RealMatrix &grad_g, OPTPP::OptppArray< RealSymMatrix > &hess_g, int &result_mode))
instantiate an OPTPP_NEWTON solver using standard settings
Definition: SNLLOptimizer.cpp:754
A version of TraitsBase specialized for John Eddy's Genetic Algorithms (JEGA).
Definition: JEGAOptimizer.hpp:613
~NonDNonHierarchSampling()
destructor
Definition: NonDNonHierarchSampling.cpp:77
friend bool operator!=(const ParamResponsePair &pair1, const ParamResponsePair &pair2)
inequality operator
Definition: ParamResponsePair.hpp:340
bool expansionFlag
the no_expansion specification for APPS/PS/SW methods in MethodAPPS, MethodSCOLIBPS,...
Definition: DataMethod.hpp:624
void core_run()
perform the evaluate parameter sets portion of run
Definition: NonDLHSSampling.cpp:662
static NLSSOLLeastSq * nlssolInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NLSSOLLeastSq.hpp:126
StringMultiArrayView all_discrete_int_variable_labels() const
returns a single array with all discrete variable labels
Definition: DakotaVariables.hpp:1717
virtual void operator()(size_t num_samp, MatType &bootstrapped_sample)
Generate and store a new bootstrapped sample into bootstrapped_sample.
Definition: BootstrapSampler.hpp:229
const ParallelLevel & init_iterator_communicators(int iterator_servers, int procs_per_iterator, int min_procs_per_iterator, int max_procs_per_iterator, int max_iterator_concurrency, short default_config, short iterator_scheduling, bool peer_dynamic_avail)
split MPI_COMM_WORLD into iterator communicators
Definition: ParallelLibrary.hpp:1255
BoolList initialMapList
transfers initial_map flag values from estimate_derivatives() to synchronize_derivatives()
Definition: DakotaModel.hpp:1653
void get_initial_values(const Model &model, VecT &values)
Definition: DakotaOptimizer.hpp:20
BitArray idiv_to_all_mask() const
create a BitArray indicating the inactive discrete int subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1293
const IntResponseMap & derived_synchronize_nowait()
portion of synchronize_nowait() specific to derived model classes
Definition: ActiveSubspaceModel.cpp:1338
String runInput
filename for run input
Definition: DataEnvironment.hpp:65
virtual short surrogate_response_mode() const
return response computation mode used in SurrogateModels for forming currentResponse
Definition: DakotaModel.cpp:4462
IntVector refineSamples
list of refinement sample batch sizes
Definition: NonDLHSSampling.hpp:156
const RealVector & inactive_discrete_real_lower_bounds() const
return the inactive discrete lower bounds
Definition: DakotaConstraints.hpp:684
bool resize()
reinitializes iterator based on new variable size
Definition: NonDReliability.cpp:49
int evalServerId
evaluation server identifier
Definition: ApplicationInterface.hpp:221
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NPSOLOptimizer.hpp:63
void set_dc_ptr_int(int ptr_int)
set the DAKOTA pointer to ModelCenter current design point
Definition: dakota_dll_api.cpp:329
void inverse_mappings(void(*inv_vars_map)(const Variables &sub_model_vars, Variables &recast_vars), void(*inv_set_map)(const Variables &sub_model_vars, const ActiveSet &sub_model_set, ActiveSet &recast_set), void(*inv_pri_resp_map)(const Variables &recast_vars, const Variables &sub_model_vars, const Response &recast_resp, Response &sub_model_resp), void(*inv_sec_resp_map)(const Variables &recast_vars, const Variables &sub_model_vars, const Response &recast_resp, Response &sub_model_resp))
provide optional inverse mappings
Definition: RecastModel.cpp:481
Base class for the variables class hierarchy.
Definition: DakotaVariables.hpp:108
String preprocFilename
pre-processed input file
Definition: ProgramOptions.hpp:233
void offset(const RealVector &x, RealVector &s)
based on minX, offset original parameters (x) to define positive parameters (s)
Definition: TANA3Approximation.cpp:242
void VPSmodel_build()
Function to compute coefficients governing the VPS surrogates.
Definition: VPSApproximation.cpp:3278
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDNonHierarchSampling.cpp:95
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: DataFitSurrBasedLocalMinimizer.hpp:48
void update_approximation(bool rebuild_flag)
replaces the approximation data with daceIterator results and rebuilds the approximation if requested
Definition: DataFitSurrModel.cpp:614
bool posteriorStatsKDE
flag indicating calculation of kernel density estimate of posterior distributions
Definition: DataMethod.hpp:1206
void surrogate_function_indices(const SizetSet &surr_fn_indices)
(re)set the surrogate index set in SurrogateModel::surrogateFnIndices
Definition: EnsembleSurrModel.hpp:715
Definition: ROLOptimizer.hpp:468
ParConfigLIter currPCIter
list iterator identifying the current node in parallelConfigurations
Definition: ParallelLibrary.hpp:1031
void symmetric_eigenvalue_decomposition(const RealSymMatrix &matrix, RealVector &eigenvalues, RealMatrix &eigenvectors)
Computes the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A.
Definition: dakota_linear_algebra.cpp:150
ROL::Ptr< const std::vector< double > > getVector(const ROL::Vector< double > &vec)
Convert a const ROL Vector to a ROL::Ptr<const std::vector>
Definition: SurrogatesGPObjective.hpp:79
bool methodUseDerivsFlag
flag for usage of derivative data to enhance the computation of surrogate models (PCE/SC expansions,...
Definition: DataMethod.hpp:341
void insert_metadata(const RealArray &md, size_t position, Response &agg_response)
insert a single response into an aggregated response in the specified position
Definition: EnsembleSurrModel.hpp:783
void derived_free_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
deallocate communicator partitions for the DataFitSurrModel (request forwarded to actualModel)
Definition: DataFitSurrModel.hpp:940
std::shared_ptr< C3FnTrainDataRep > ftdRep
(shared) pointer to body instance
Definition: C3FnTrainData.hpp:228
void initialize_c3_start_orders(const UShortArray &start_orders)
Publish configuration data for initial function train cores, prior to any adaptation.
Definition: NonDC3FunctionTrain.cpp:394
std::map< Pecos::ActiveKey, IntVector > referenceIDIVars
stores a reference copy of the inactive discrete int variables when the approximation is built using ...
Definition: EnsembleSurrModel.hpp:438
String gradientType
gradient type: none, numerical, analytic, or mixed (from the no_gradients, numerical_gradients,...
Definition: DataResponses.hpp:179
void read(MPIUnpackBuffer &s)
read a DataVariablesRep object from a packed MPI buffer
Definition: DataVariables.cpp:135
UShortArray cvScaleTypes
scale flags for continuous vars.
Definition: ScalingModel.hpp:179
UShortList orderedRootList
an ordered set of root nodes that ensures targets are defined when unrolling dependent sources; allow...
Definition: NonDGenACVSampling.hpp:274
Real vbdDropTolerance
the var_based_decomp tolerance for omitting Sobol' indices computed via either PCE or sampling
Definition: DataMethod.hpp:873
Real percentChange
The minimum percent change before convergence for a fitness tracker converger.
Definition: DataMethod.hpp:697
int serverCommRank
rank in serverIntraComm
Definition: ParallelLibrary.hpp:127
RealMatrix momentStatistics
Matrix for moment statistics. Note that posterior values have density associated with them so we can'...
Definition: NonDWASABIBayesCalibration.hpp:121
int numServers
number of servers
Definition: ParallelLibrary.hpp:121
void initialize_variables(size_t num_cdv)
initialize currentVariables
Definition: MinimizerAdapterModel.hpp:122
void linear_interpolate_1d(const RealMatrix &build_pts, const RealVector &build_vals, const RealMatrix &build_grads, const RealSymMatrixArray &build_hessians, const RealMatrix &pred_pts, RealVector &pred_vals, RealMatrix &pred_grads, RealSymMatrixArray &pred_hessians)
Returns the value of at 1D function f and its gradient and hessians (if available) at the points of v...
Definition: ExperimentDataUtils.cpp:115
Eigen::MatrixXd value(const Eigen::MatrixXd &eval_points)
Example workaround for default Eigen pass-by-copy semantics.
Definition: surrogates_python.cpp:86
IntSetArray discreteStateSetInt
complete set of admissible values for each of the discrete state variables defined by an integer set ...
Definition: DataVariables.hpp:646
Real minTrustRegionFactor
a soft convergence control: stop SBLM when the trust region factor is reduced below the value of minT...
Definition: SurrBasedLocalMinimizer.hpp:202
void eval_tag_prefix(const String &eval_id_str, bool append_iface_id=true)
set the evaluation tag prefix (does not recurse)
Definition: DakotaInterface.cpp:489
void waitall(int num_recvs, MPI_Request *&recv_reqs)
wait for all messages from a series of nonblocking receives
Definition: ParallelLibrary.hpp:1987
bool ie_parallel_level_defined() const
test current parallel configuration for definition of iterator-evaluation parallel level
Definition: ParallelLibrary.hpp:1185
Real constraint_violation(const RealVector &fn_vals, const Real &constraint_tol)
compute the constraint violation from a set of function values
Definition: SurrBasedMinimizer.cpp:785
Sizet3DArray NLevActual
total number of successful sample evaluations (excluding faults) for each model form,...
Definition: NonDEnsembleSampling.hpp:173
String readRestart
file name for restart read (overrides command-line)
Definition: DataEnvironment.hpp:53
RealVector mostProbPointX
location of MPP in x-space
Definition: NonDLocalReliability.hpp:304
RealMatrix linearIneqConCoeffs
linear inequality constraint coefficients
Definition: DakotaConstraints.hpp:379
int mutationRange
the mutation_range specification for the pga_int method in MethodSCOLIBEA
Definition: DataMethod.hpp:633
String errorFile
Dakota error base file name, e.g., "dakota.err".
Definition: ProgramOptions.hpp:239
void export_approximation()
Definition: ApproximationInterface.cpp:651
int transient_diffusion_1d()
solve the 1d transient diffusion equation with uncertain scalar diffusivity
Definition: TestDriverInterface.cpp:2060
void submodel_supports_derivative_estimation(bool sed_flag)
override the submodel's derivative estimation behavior
Definition: RecastModel.hpp:660
Real solnTarget
the solution_target specification in MethodSCOLIBDC
Definition: DataMethod.hpp:594
size_t numDiscreteUncSetStrVars
number of discrete epistemic uncertain string set variables (from the discrete_uncertain_set string s...
Definition: DataVariables.hpp:188
bool tensorGridFlag
flag for usage of a sub-sampled set of tensor-product grid points within regression PCE; based on the...
Definition: DataMethod.hpp:1055
static NL2SOLLeastSq * nl2solInstance
pointer to the active object instance used within the static evaluator functions
Definition: NL2SOLLeastSq.hpp:92
short finalStatsType
QOI_STATISTICS (moments, level mappings) or ESTIMATOR_PERFORMANCE (for model tuning of estVar,...
Definition: NonDEnsembleSampling.hpp:216
void log_response_map(const RealMatrix &samples, const IntResponseMap &resp_map, bool log_best_flag)
update best result and archive all results
Definition: DakotaAnalyzer.hpp:366
GetLongOpt is a general command line utility from S. Manoharan (Advanced Computer Research Institute,...
Definition: CommandLineHandler.hpp:28
bool command_line_check() const
return checkFlag
Definition: ParallelLibrary.hpp:1326
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NLSSOLLeastSq.cpp:152
int parse(int argc, char *const *argv)
parse the command line args (argc, argv).
Definition: CommandLineHandler.cpp:88
Wrapper class for the NL2SOL nonlinear least squares library.
Definition: NL2SOLLeastSq.hpp:52
Real xctol
x-convergence tolerance (x_conv_tol)
Definition: NL2SOLLeastSq.hpp:128
void core_run() override
Iterates the ROL solver to determine the optimal solution.
Definition: ROLOptimizer.cpp:82
int N1
Size variable for CONMIN arrays. See CONMIN manual.
Definition: CONMINOptimizer.hpp:168
void update_samples_from_order_increment()
update numSamplesOnModel after an order increment
Definition: NonDC3FunctionTrain.cpp:518
ParallelLibrary & parallelLib
class member reference to the parallel library
Definition: DakotaModel.hpp:1491
OutputManager dummy_out_mgr
dummy OutputManager for ref initialization
Definition: dakota_global_defs.cpp:71
void check_model_interface_instance()
update sameInterfaceInstance based on interface ids for models identified by current {low,...
Definition: EnsembleSurrModel.hpp:747
std::map< Pecos::ActiveKey, C3FnTrainData >::iterator levApproxIter
iterator to active levelApprox
Definition: C3Approximation.hpp:227
void assign_variables(const RealVector &c_vars)
assign variable values
Definition: MinimizerAdapterModel.hpp:149
static void check_variables(std::list< DataVariables > *)
check each node in a list of DataVariables, first mapping DataVariables members back to flat NIDR arr...
Definition: NIDRProblemDescDB.cpp:6158
int hubServerCommRank
rank in hubServerIntraComm
Definition: ParallelLibrary.hpp:132
StringArray histogramPointStrUncVars
initial values of the real-valued histogram point uncertain variables (from the initial_point specifi...
Definition: DataVariables.hpp:529
static SOLVER_TYPE solver_type(const std::string &solver_name)
Convert solver name to enum type.
Definition: UtilLinearSolvers.cpp:41
size_t numADSV
total number of discete string variables
Definition: DirectApplicInterface.hpp:159
Model iteratedModel
the model to be iterated (for iterators and meta-iterators employing a single model instance)
Definition: DakotaIterator.hpp:483
virtual void update_final_statistics()
update finalStatistics::functionValues
Definition: DakotaNonD.cpp:641
bool pcaFlag
flag to specify the calculation of principal components
Definition: NonDLHSSampling.hpp:177
void initialize_all_ids()
initialize allContinuousIds (discrete not currently needed), with or without discrete relaxation
static NonDMUQBayesCalibration * nonDMUQInstance
Pointer to current class instance for use in static callback functions.
Definition: NonDMUQBayesCalibration.hpp:115
UShortMultiArrayConstView all_discrete_string_variable_types() const
return all discrete variable types
Definition: DakotaVariables.hpp:1771
void increment_parallel_configuration(ParLevLIter mi_pl_iter)
add a new node to parallelConfigurations and increment currPCIter; limit miPLIters within new configu...
Definition: ParallelLibrary.hpp:1115
StringMultiArray initialDSVPoint
the discrete string start point for vector and centered parameter studies
Definition: ParamStudy.hpp:201
virtual size_t qoi() const
return number of unique response functions (managing any aggregations)
Definition: DakotaModel.cpp:3483
RealVector discreteRealEpistemicUncUpperBnds
distribution upper bounds for all discrete real epistemic uncertain variables
Definition: DataVariables.hpp:788
static void rename(const bfs::path &old_path, const bfs::path &new_path, short fileop_option)
Rename a file, catching any errors and optionally warning/erroring.
Definition: WorkdirHelper.cpp:604
Wrapper class for the (S)NOWPAC optimization algorithms from Florian Augustin (MIT)
Definition: NOWPACOptimizer.hpp:181
virtual std::vector< Approximation > & approximations()
retrieve the set of Approximations within the ApproximationInterface of a DataFitSurrModel
Definition: DakotaModel.cpp:4369
bool db_lookup(const Variables &search_vars, const ActiveSet &search_set, Response &found_resp)
RecastModel may need to map variables, asv before DB lookup, or responses after lookup.
Definition: RecastModel.cpp:1506
bool addAnchor
flag indicating that data additions are anchor points (for updating local and multipoint approximatio...
Definition: DiscrepancyCorrection.hpp:210
size_t expansionSamples
the expansion_samples specification in MethodNonDPCE
Definition: DataMethod.hpp:1007
RowVectorXd scaledSample
Vector for a single scaled sample - (num_features); avoids resize memory allocs.
Definition: UtilDataScaler.hpp:112
bool subIteratorFlag
flag indicating if this Iterator is a sub-iterator (NestedModel::subIterator or DataFitSurrModel::dac...
Definition: DakotaIterator.hpp:517
const ShortArray & request_vector() const
return the request vector
Definition: DakotaActiveSet.hpp:191
RealRealMapArray histogramUncBinPairs
An array for each real-valued bin-based histogram uncertain variable. Each array entry is a map from ...
Definition: DataVariables.hpp:441
virtual void read(MPIUnpackBuffer &s)
read a variables object from a packed MPI buffer
void set_evaluation_reference()
set the evaluation counter reference points for the EnsembleSurrModel (request forwarded to truth and...
Definition: EnsembleSurrModel.hpp:605
size_t cv() const
number of active continuous vars
Definition: DakotaVariables.hpp:709
unsigned short exportApproxFormat
tabular format for the approx point export file
Definition: DataMethod.hpp:1419
short approxCorrectionType
correction type for global and hierarchical approximations: NO_CORRECTION, ADDITIVE_CORRECTION,...
Definition: DataModel.hpp:215
static void constraint_eval(int &mode, int &ncnln, int &n, int &nrowj, int *needc, double *x, double *c, double *cjac, int &nstate)
CONFUN in NPSOL manual: computes the values and first derivatives of the nonlinear constraint functio...
Definition: SOLBase.cpp:519
std::map< pid_t, int > evalProcessIdMap
map of fork process id's to function evaluation id's for asynchronous evaluations
Definition: ProcessHandleApplicInterface.hpp:122
String dataDistCovInputType
the format of data distribution gaussian covariance input: diagonal or matrix
Definition: DataMethod.hpp:1329
void set_db_model_nodes(const String &model_tag)
set the model list iterators (dataModelIter, dataVariablesIter, dataInterfaceIter,...
Definition: ProblemDescDB.cpp:647
bool expect_derivative(const ShortArray &asv, const short deriv_type) const
return true if the passed asv value is requested for any function
Definition: Pybind11Interface.cpp:363
static void Var_RealBoundIPCheck(DataVariablesRep *dv, Var_rcheck *b)
For real-valued variables: verify lengths of bounds and initial point, validate bounds and adjust ini...
Definition: NIDRProblemDescDB.cpp:4869
RealVector nonlinearIneqLowerBnds
vector of nonlinear inequality constraint lower bounds (from the nonlinear_inequality_lower_bounds sp...
Definition: DataResponses.hpp:115
~DiscrepancyCorrection()
destructor
Definition: DiscrepancyCorrection.hpp:281
void initialize_run()
Definition: DakotaOptimizer.cpp:528
unsigned int reducedRank
current approximation of system rank
Definition: SubspaceModel.hpp:173
void update_linear_constraints()
transform the original bounded domain (and any existing linear constraints) into linear constraints i...
Definition: SubspaceModel.cpp:328
int modified_rosenbrock()
the modified Rosenbrock optimization and least squares test fn. The modification is the addition of a...
Definition: TestDriverInterface.cpp:1101
void pack(const double *data, const int num=1)
Pack one or more double's.
int subspaceCVMaxRank
maximum rank considered by cross validation subspace dimension id method
Definition: DataModel.hpp:401
void get_best_sample(bool maximize, bool eval_approx)
determine truthFnStar and approxFnStar
Definition: NonDGlobalEvidence.cpp:104
Real relaxRecursiveFactor
(under-)relaxation factor that is applied to sample increments computed in the latest ML/MF allocatio...
Definition: DataMethod.hpp:1133
void write_tabular_labels(std::ostream &s, unsigned short vars_part=ALL_VARS) const
write the labels in input spec order to a std::ostream, optionally specifying which partition (all/ac...
Definition: RelaxedVariables.cpp:168
bool blockingSynch
flag for APPS synchronous behavior
Definition: APPSEvalMgr.hpp:101
void insert(const StrStrSizet &iterator_id, const std::string &data_name, const boost::any &result, const MetaDataType &metadata) override
record addition with metadata map
Definition: ResultsDBHDF5.hpp:229
int numAnalysisServersSpec
user spec for number of analysis servers
Definition: ApplicationInterface.hpp:420
~SimulationModel()
destructor
Definition: SimulationModel.hpp:216
Real prevFnStar
stores previous solution value for assessing convergence
Definition: NonDGlobalInterval.hpp:176
void build()
builds the approximation from scratch
Definition: TANA3Approximation.cpp:55
const RealVector & fd_hessian_by_fn_step_size() const
return function-based finite difference Hessian step size (fdHessByFnStepSize)
Definition: DakotaModel.hpp:3659
int fnEvalCntr
counter for testing against maxFunctionEvals
Definition: SOLBase.hpp:196
void backfill_batch(size_t new_acq, size_t new_expl)
backfill any completed truth response evaluations in case of nonblocking synchronization
Definition: EffGlobalMinimizer.cpp:585
virtual void update_from_model(const Model &model)
set inherited data attributes based on extractions from incoming model
Definition: DakotaIterator.cpp:1020
String boxDivision
the division setting (major_dimension or all_dimensions) for the DIRECT method in MethodSCOLIBDIR
Definition: DataMethod.hpp:585
Class for provably-convergent local surrogate-based optimization and nonlinear least squares.
Definition: SurrBasedLocalMinimizer.hpp:28
void warm_start_flag(const bool flag)
set the warm start flag, including actualModel
Definition: NestedModel.hpp:706
RealRealPairRealMapArray continuousIntervalUncBasicProbs
Probability values per interval cell per epistemic interval uncertain variable (from the continuous_i...
Definition: DataVariables.hpp:557
bool is_factorized() const override
Query to determine if the matrix of the solver has been factored.
Definition: UtilLinearSolvers.cpp:147
Real constrPenalty
the constrPenalty choice for nonlinearly constrained APPS in MethodAPPSDC
Definition: DataMethod.hpp:558
std::map< Pecos::ActiveKey, C3FnTrainData > levelApprox
set of pointers to QoI approximation data for each model key
Definition: C3Approximation.hpp:225
void archive_simple_correlations(const StrStrSizet &run_identifier, ResultsManager &iterator_results, const StringArray &var_labels, const StringArray &resp_labels, const std::vector< const char * > &combined_desc, const size_t &inc_id, bool rank) const
archive simple (rank = false) or simple rank (rank = true) correlations
Definition: SensAnalysisGlobal.cpp:500
StringArray xAllLabels
all variable labels in input spec order
Definition: DirectApplicInterface.hpp:179
void create_cv_folds(const int num_folds, const int num_pts, std::vector< VectorXi > &fold_indices, const int seed)
Generate indices for cross validation folds.
Definition: util_math_tools.cpp:58
utilib::RNG * rng
random number generator pointer
Definition: COLINOptimizer.hpp:173
void initialize_options()
enrolls the supported command line inputs.
Definition: CommandLineHandler.cpp:324
boost::tuple< std::string, std::string, size_t > StrStrSizet
Iterator unique ID: <method_name, method_id, exec_num>
Definition: dakota_results_types.hpp:72
void add_metadata_to_execution(const StrStrSizet &iterator_id, const AttributeArray &attrs) override
Add key:value metadata to execution.
Definition: ResultsDBAny.hpp:100
Real functionPrecision
the function_precision specification in MethodNPSOLDC and the EPSILON specification in NOMAD
Definition: DataMethod.hpp:503
bool allDataFlag
flag which triggers the update of allVars/allResponses for use by Iterator::all_variables() and Itera...
Definition: FSUDesignCompExp.hpp:88
void check_wait(pid_t pid, int status)
check the exit status of a forked process and abort if an error code was returned
Definition: ProcessHandleApplicInterface.cpp:445
void apply_multiplicative(const Variables &vars, Response &approx_response)
internal convenience function for applying multiplicative corrections to an approximate response
Definition: DiscrepancyCorrection.cpp:695
int subMethodServers
number of servers for concurrent sub-iterator parallelism
Definition: DataModel.hpp:347
void finalize_coefficients()
finalize approximation by applying all remaining trial sets
Definition: PecosApproximation.hpp:791
RealVector inactiveContinuousLowerBnds
the inactive continuous lower bounds array view
Definition: DakotaConstraints.hpp:407
void construct_map_optimizer()
construct the MAP optimizer for minimization of negLogPostModel
Definition: NonDBayesCalibration.cpp:696
virtual bool supports_scaling()
Return the flag indicating whether method supports parameter scaling.
Definition: DakotaTraitsBase.hpp:85
StringMultiArrayConstView all_discrete_int_variable_labels() const
return all discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2620
bool local_recast_retrieve(const Variables &vars, Response &response) const
infers MOO/NLS solution from the solution of a single-objective optimizer and returns true if lookup ...
Definition: DakotaMinimizer.cpp:1224
RealVector responseScaleOffsets
offsets for all responses (zero for functions, not for nonlin con)
Definition: ScalingModel.hpp:185
~RecastModel()
destructor
Definition: RecastModel.hpp:652
bool find_response(const Variables &search_vars, Response &search_resp, const String &search_id, short set_request)
locate a response with the data_pairs cache
Definition: SurrBasedLocalMinimizer.cpp:1290
void insert_into(const StrStrSizet &iterator_id, const StringArray &location, const boost::any &data, const int &index, const bool &row) override
Insert a row or column into a pre-allocated matrix.
Definition: ResultsDBHDF5.cpp:105
bool mpirunFlag
some output is only for MPI runs
Definition: OutputManager.hpp:388
void print_std_regress_coeffs(std::ostream &s, StringArray var_labels, const StringArray &resp_labels) const
prints the SRCs and R^2 values computed in compute_correlations()
Definition: SensAnalysisGlobal.cpp:761
virtual void push_grid_increment()
restores a previously computed grid increment (no new evaluations)
Definition: NonDIntegration.cpp:169
const Pecos::RealVector & gradient(const Variables &vars)
retrieve the approximate function gradient for a given parameter vector
Definition: PecosApproximation.hpp:736
void all_continuous_type(unsigned short cv_type, size_t index)
set continuous type at index
Definition: SharedVariablesData.hpp:1502
void assemble_all_labels(StringArray &all_labels) const
assemble all variable labels (continuous and discrete {int,string,real}) in standard (input specifica...
Real parallel_time() const
returns current MPI wall clock time
Definition: ParallelLibrary.hpp:1059
String scale_hdf5_link_name(const StrStrSizet &iterator_id, const StringArray &location, const ScaleType &scale)
Create a scale name (hdf5 link name) for a scale from an iterator_id, the name of the result,...
Definition: ResultsDBHDF5.hpp:33
size_t idsv_start() const
get start index of inactive discr string vars
Definition: SharedVariablesData.hpp:1716
RealVector function_gradient_copy(int i) const
return the i-th function gradient as a SerialDenseVector Teuchos::Copy (deep copy)
Definition: DakotaResponse.hpp:696
void launch_asynch_local(PRPQueueIter &prp_it)
launch an asynchronous local evaluation from a queue iterator
Definition: ApplicationInterface.hpp:692
Model & active_surrogate_model(size_t i=_NPOS)
return the i-th active surrogate model within subModel
Definition: RecastModel.hpp:786
RealVector poissonUncLambdas
lambdas (rate parameter) for the poisson uncertain variables (from the lambdas specification in VarDA...
Definition: DataVariables.hpp:450
void init_serial_evaluations()
set concurrent evaluation configuration for serial operations
Definition: ApplicationInterface.hpp:566
const String & random_number_generator() const
return rngName
Definition: NonDSampling.hpp:427
bool check_multiprocessor_asynchronous(bool warn, int max_eval_concurrency)
checks on asynchronous settings for multiprocessor partitions
Definition: ApplicationInterface.cpp:341
bool tensorRegression
option for regression FT using a filtered set of tensor-product quadrature points
Definition: NonDExpansion.hpp:448
virtual size_t push_index(const Pecos::ActiveKey &key)
return index for restoring trial set within stored data sets
Definition: SharedApproxData.cpp:360
DakotaROLIneqConstraintsGrad(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:630
void store_scalar(const std::string &dset_name, const T &val)
Store scalar data to a data set.
Definition: HDF5_IO.hpp:515
std::vector< std::vector< int > > symbolMapping
mapping of symbols for main effects calculations
Definition: DDACEDesignCompExp.hpp:119
Real continuous_variable(size_t index) const
return an active continuous variable
Definition: DakotaVariables.hpp:808
String flatFile
The filename to use for initialization.
Definition: DataMethod.hpp:739
void swap(C3FnTrainData &ftd)
swap ftdReps between two envelopes
Definition: C3FnTrainData.hpp:232
Pecos::MultivariateDistribution mvDist
the multivariate random variable distribution (in probability space corresponding to currentVariables...
Definition: DakotaModel.hpp:1533
RealVector scX2
vector of scaled x2 values
Definition: QMEApproximation.hpp:87
unsigned short distConvergenceLimit
limit for distance convergence counter
Definition: EffGlobalMinimizer.hpp:316
const StringSetArray & discrete_set_string_values()
return the sets of values available for each of the active discrete set string variables (aggregated ...
Definition: DakotaModel.hpp:2406
void real_variable_mapping(Real r_var, size_t av_index, short svm_target)
insert r_var into appropriate recipient
Definition: NestedModel.cpp:2543
size_t num_samples() const
Definition: DDACEDesignCompExp.hpp:123
int setcell(Cell *c, char *valtoken, char *nexttoken, const char *p)
internal convenience function for setting Cell::value
Definition: CommandLineHandler.cpp:229
short pointsManagement
points management configuration for DataFitSurrModel: DEFAULT_POINTS, MINIMUM_POINTS,...
Definition: DataModel.hpp:161
Real delta_std_deviation()
return the change in standard deviation resulting from expansion refinement, where all active variabl...
Definition: PecosApproximation.hpp:559
UShortMultiArrayConstView inactive_discrete_string_variable_types() const
return the inactive discrete string variable types
Definition: DakotaVariables.hpp:1593
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDBayesCalibration.cpp:813
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonDACVSampling.cpp:69
RealMatrix challengePoints
container for the challenge points data (variables only)
Definition: ApproximationInterface.hpp:247
std::vector< Response > allExperiments
Vector of numExperiments ExperimentResponses, holding the observed data and error (sigma/covariance) ...
Definition: ExperimentData.hpp:474
The LUSolver class is used to solve linear systems with the LU decomposition.
Definition: UtilLinearSolvers.hpp:98
void compute_pca(std::ostream &s)
compute a principal components analysis on the sample set
Definition: NonDLHSSampling.cpp:850
String rngName
name of the random number generator
Definition: NonDGlobalInterval.hpp:145
std::string specifiedParamsFileName
the name of the parameters file from user specification
Definition: ProcessApplicInterface.hpp:175
String subMethodPointer
string pointer for a sub-method specification used by a meta-iterator
Definition: DataMethod.hpp:373
void update_final_statistics()
update finalStatistics from minValues/maxValues, momentStats, and computedProbLevels/computedRelLevel...
Definition: NonDSampling.cpp:1803
void derived_free_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag)
portion of free_communicators() specific to derived model classes
Definition: AdaptedBasisModel.cpp:166
Real discrete_real_lower_bound(size_t i) const
return an active discrete real lower bound from userDefinedConstraints
Definition: DakotaModel.hpp:2929
void compute_statistics(const RealMatrix &vars_samples, const IntResponseMap &resp_samples)
For the input sample set, computes mean, standard deviation, and probability/reliability/response lev...
Definition: NonDSampling.cpp:971
void serve_evaluations_asynch()
serve the evaluation message passing schedulers and manage multiple asynchronous evaluations
Definition: ApplicationInterface.cpp:2340
void autotag_files(const bfs::path ¶ms_path, const bfs::path &results_path, const String &eval_id_tag) const
Utility to automatically tag parameters and results files with passed root names (the files may alrea...
Definition: ProcessApplicInterface.cpp:778
SizetVector projNActualHF
reference value: projected HF samples
Definition: NonDMultilevBLUESampling.hpp:275
void evaluate_response_star_truth()
evaluate the truth response at the optimal variables solution and update the GP with the new data
Definition: NonDGlobalInterval.cpp:497
short taylorOrder
order of Taylor series approximations (1 or 2) in MV/AMV/AMV+ derived from hessian type
Definition: NonDLocalReliability.hpp:344
String outputFile
Dakota output base file name, e.g., "dakota.out".
Definition: ProgramOptions.hpp:238
int buildSamples
the number of samples to construct an emulator, e.g., for Bayesian calibration methods
Definition: DataMethod.hpp:1180
bool tensorGridFlag
sub-sample a tensor grid for generating regression data
Definition: DataModel.hpp:426
std::map< Pecos::ActiveKey, RealVector > referenceCUBnds
stores a reference copy of active continuous upper bounds when the approximation is built; used to de...
Definition: EnsembleSurrModel.hpp:453
size_t numDerivVars
number of active derivative variables
Definition: DirectApplicInterface.hpp:160
size_t test_local_analyses_send(int analysis_id)
test for asynchronous analysis completions on the local processor and return results for any completi...
Definition: SpawnApplicInterface.cpp:219
void DAKOTA_DLL_FN dakota_get_variable_info(int id, char ***pVarNames, int *pNumVarNames, char ***pRespNames, int *pNumRespNames)
return the variable and response names
Definition: dakota_dll_api.cpp:262
void unpack(long long *data, const int num=1)
Unpack one or more long long's.
void update_discrete_int_variables_active_complement_from_model(const Model &model)
update complement of active discrete int variables/bounds/labels from subModel
Definition: RecastModel.cpp:1181
int vbdViaSamplingNumBins
Number of bins to use in case the Mahadevan method is selected (default is the square root of the num...
Definition: DataMethod.hpp:877
virtual NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: DakotaTraitsBase.hpp:77
void ft_derived_functions_create_av(struct MultiApproxOpts *opts, const SizetArray &rand_indices, Real round_tol)
allocate derived funtions pointers (all variables mode)
Definition: C3FnTrainData.hpp:257
RealVector deltaRespMean
change in response means induced by a refinement candidate
Definition: NonDStochCollocation.hpp:132
const RealVector & all_continuous_upper_bounds() const
return all continuous upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3171
RealVector cv_scaled2native(const RealVector &scaled_cv) const
recover native variable values from the scaled space
Definition: ScalingModel.cpp:171
String preprocCmd
pre-processing command (default pyprepro.py)
Definition: ProgramOptions.hpp:232
Real mean()
return the mean of the expansion, where all active variables are random
Definition: PecosApproximation.hpp:449
RealVector lowerBounds
cache the active continuous lower bounds for scaling to [0,1]
Definition: NOWPACOptimizer.hpp:63
bool id_vars_exact_compare(const ParamResponsePair &database_pr, const ParamResponsePair &search_pr)
search function for a particular ParamResponsePair within a PRPMultiIndex
Definition: PRPMultiIndex.hpp:89
void asv_split(const ShortArray &orig_asv, ShortArray &approx_asv, ShortArray &actual_asv, bool build_flag=false)
distributes the incoming orig_asv among actual_asv and approx_asv
Definition: EnsembleSurrModel.cpp:1318
void init_mpi_comm()
convenience function for initializing DAKOTA's top-level MPI communicators, based on dakotaMPIComm
Definition: ParallelLibrary.cpp:70
String generatingVectorFileName
Name of file with generating vector.
Definition: DataMethod.hpp:905
RealArrayType imported_eval_vars(const Variables &vars)
when importing, take all view of vars and permute as needed
Definition: SharedSurfpackApproxData.hpp:237
short abort_mode
by default Dakota exits or calls MPI_Abort on errors
Definition: dakota_global_defs.cpp:50
void get_points(const size_t n, RealMatrix &points)
Get the first n points from this low-discrepancy generator This function will store the points in-pla...
Definition: LowDiscrepancySequence.hpp:67
void pack(const u_char *data, const int num=1)
Pack one or more unsigned char's.
void build_approximation()
Builds the local/multipoint/global approximation using daceIterator/actualModel to generate new data ...
Definition: DataFitSurrModel.cpp:519
IntSet idQuasiHessians
mixed Hessian quasi identifiers (from the id_quasi_hessians specification in RespHessMixed)
Definition: DataResponses.hpp:232
double PI
constant pi
Definition: dakota_global_defs.cpp:46
short correctionOrder
approximation correction order to be used: 0, 1, or 2
Definition: DiscrepancyCorrection.hpp:126
RealVectorArray functionSurfaceCoeffs
array of approximation coefficient vectors, one per response function
Definition: ApproximationInterface.hpp:221
bool wilksFlag
flags use of Wilks formula to calculate num samples
Definition: NonDSampling.hpp:310
SizetMultiArray allContinuousIds
array of 1-based position identifiers for the all continuous variables array
Definition: SharedVariablesData.hpp:297
size_t statCntr
counter for finalStatistics
Definition: NonDLocalSingleInterval.hpp:58
void unpack(u_int &data)
Unpack a unsigned int.
Definition: MPIPackBuffer.hpp:243
static void callback_function(Dakota::ProblemDescDB *db, void *ptr)
Example: user-provided post-parse callback (Dakota::DbCallbackFunction)
Definition: library_mode.cpp:453
ProcessHandleApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: ProcessHandleApplicInterface.hpp:143
~Evaluator(void)
Destructor.
Definition: NomadOptimizer.cpp:391
double DABFUN
Absolute convergence criterion threshold.
Definition: CONMINOptimizer.hpp:208
void attach_scale(const String &dset_name, const String &scale_name, const String &label, const int &dim) const
attach a dimension scale to a dataset
Definition: HDF5_IO.cpp:64
NonlinearCGOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonlinearCGOptimizer.cpp:43
static void optpp_nlf1_constraint(int mode, int n, const RealVector &x, RealVector &c, RealMatrix &grad_c, int &result_mode)
static NLF1 function used by OPT++ for the nonlinear constraints
Definition: NonDNonHierarchSampling.cpp:2172
const RealVector & continuous_variables() const
return the active continuous variables from currentVariables
Definition: DakotaModel.hpp:1837
~ParamResponsePair()
destructor
Definition: ParamResponsePair.hpp:218
void read_rep(MPIUnpackBuffer &s)
read a letter object from a packed MPI buffer
RealVector normalUncUpperBnds
distribution upper bounds for the normal uncertain variables (from the upper_bounds specification in ...
Definition: DataVariables.hpp:317
void write_scalar_tabular(std::ostream &tabular_ostream, T val)
Output a scalar as part of a row of tabular data.
Definition: dakota_tabular_io.hpp:173
void archive_best_residuals() const
Archive residuals when calibration terms are used.
Definition: DakotaMinimizer.cpp:953
void map_variable_labels(const Variables &dfsm_vars, const StringArray &approx_labels)
validate imported labels and initialize map if needed
Definition: SharedSurfpackApproxData.cpp:251
void extract_subordinate_keys(const Pecos::ActiveKey &active_key, std::vector< Pecos::ActiveKey > &surr_keys, Pecos::ActiveKey &truth_key)
define truth and surrogate keys from incoming active key. In case of singleton, use responseMode to d...
Definition: EnsembleSurrModel.hpp:994
~SoleilDirectApplicInterface()
destructor
Definition: SoleilDirectApplicInterface.hpp:97
size_t discrete_aleatory_uncertain()
return total number of continuous aleatory uncertain variables
Definition: DataVariables.hpp:936
void solve(const MatrixXd &A, const MatrixXd &b, MatrixXd &x) override
Find the solution to (A^T*A)x = A^T*b .
Definition: UtilLinearSolvers.cpp:189
std::size_t hash_value(const ParamResponsePair &prp)
hash_value for ParamResponsePairs stored in a PRPMultiIndex
Definition: PRPMultiIndex.hpp:110
void add_metadata_to_method(const StrStrSizet &iterator_id, const AttributeArray &attrs)
Associate key:value metadata with all the results and executions of a method.
Definition: ResultsManager.cpp:48
String idMethod
string identifier for the method specification data set (from the id_method specification in MethodIn...
Definition: DataMethod.hpp:310
Extend PolynomialRegression with a new type for Python.
Definition: surrogates_python.cpp:65
RealVector scalarizationRespCoeffs
the scalarization_response_mapping for defining the statistical goal in multilevel UQ methods
Definition: DataMethod.hpp:1142
RealVector combinedMoments
combined moments from multilevel-multifidelity FT rollup
Definition: C3Approximation.hpp:240
void set_communicators_checks(int max_eval_concurrency)
Definition: Pybind11Interface.hpp:48
HierarchSurrBasedLocalTraits()
default constructor
Definition: HierarchSurrBasedLocalMinimizer.hpp:37
void compute_sample_increment(const RealVector &sparsity, const SizetArray &N_l, SizetArray &delta_N_l)
compute delta_N_l for {RIP,RANK}_SAMPLING cases
Definition: NonDMultilevelPolynomialChaos.cpp:837
void validate_inputs()
validate the build controls and set defaults
Definition: ActiveSubspaceModel.cpp:142
void scale(const RealVector &lower, const RealVector &upper, RealMatrix &sample_matrix)
Function to scale a given sample matrix from [0, 1) to the given lower and upper bounds Assumes that ...
Definition: NonDLowDiscrepancySampling.cpp:303
Graphics2D * graphics2D
pointer to the 2D graphics object
Definition: DakotaGraphics.hpp:71
void map_bookkeeping(pid_t pid, int fn_eval_id)
bookkeeping of process and evaluation ids for asynchronous maps
Definition: SysCallApplicInterface.cpp:27
bool scaleFlag
whether Iterator-level scaling is active
Definition: DakotaMinimizer.hpp:300
RealMatrix expGradsMeanX
derivative of the expansion with respect to the x-space variables evaluated at the means (used as unc...
Definition: NonDExpansion.hpp:608
util::DataScaler dataScaler
DataScaler class for a Surrogate's build samples.
Definition: SurrogatesBase.hpp:176
void stop_init_communicators(ParLevLIter pl_iter)
called from IteratorScheduler::init_iterator() for iteratorComm rank 0 to terminate serve_init_commun...
Definition: DakotaModel.cpp:4773
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDLocalReliability.cpp:2753
Response(BaseConstructor, const SharedResponseData &srd, const ActiveSet &set)
constructor initializes the base class part of letter classes (BaseConstructor overloading avoids inf...
Perform Approximate Control Variate Monte Carlo sampling for UQ.
Definition: NonDMultilevBLUESampling.hpp:27
RealVector continuousStateVars
initial values for the continuous state variables array (from the continuous_state initial_point spec...
Definition: DataVariables.hpp:607
Real krigingNugget
nugget value for kriging
Definition: DataModel.hpp:244
ScilabInterface(const ProblemDescDB &problem_db)
Constructor: start Scilab engine.
Definition: ScilabInterface.cpp:32
void vary_pattern(bool pattern_flag)
sets varyPattern in derived classes that support it
Definition: PSUADEDesignCompExp.hpp:135
Real lagrangeMult
Lagrange multiplier for standard Lagrangian merit function.
Definition: NonDGlobalReliability.hpp:124
int randomSeed
seed for random number generator (used for regression with LHS and sub-sampled tensor grids,...
Definition: NonDExpansion.hpp:433
void refinement_statistics_mode(short stats_mode)
update ExpansionConfigOptions::refineStatsType
Definition: SharedPecosApproxData.hpp:411
void check_and_broadcast(const ProgramOptions &prog_opts)
performs check_input, broadcast, and post_process, but for now, allowing separate invocation through ...
Definition: ProblemDescDB.cpp:188
String proposalCovInputType
the format of proposal covariance input: diagonal or matrix
Definition: DataMethod.hpp:1228
size_t icv() const
returns number of inactive continuous variables
Definition: DakotaModel.hpp:1769
void remove_column(RealMatrix &matrix, int index)
Removes column from matrix.
Definition: dakota_data_util.cpp:369
unsigned short ssgLevelSpec
the user specification for the Smolyak sparse grid level, rendered anisotropic via dimPrefSpec
Definition: NonDSparseGrid.hpp:144
bool supports_continuous_variables()
Return the value of supportsContinuousVariables.
Definition: SNLLOptimizer.hpp:57
virtual void map_bookkeeping(pid_t pid, int fn_eval_id)=0
bookkeeping of process and evaluation ids for asynchronous maps
const RealVector & all_discrete_real_variables() const
returns a single array with all discrete variables
Definition: DakotaVariables.hpp:1681
int derived_map_ac(const Dakota::String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: SoleilDirectApplicInterface.cpp:20
bool crossValidNoiseOnly
flag indicating the restriction of cross-validation to estimate only the most effective noise toleran...
Definition: DataMethod.hpp:1038
static void load(const std::string &infile, const bool binary, SurrHandle &surr_in)
serialize Surrogate from file (typically through shared_ptr<Surrogate>, but Derived& or Derived* okay...
virtual Real log_covariance_determinant() const
log of covariance determinant for one experiment (default 0.0)
const IntVector & discrete_int_lower_bounds() const
return the active discrete variable lower bounds
Definition: DakotaConstraints.hpp:503
const RealVector & continuous_lower_bounds() const
return the active continuous variable lower bounds
Definition: DakotaConstraints.hpp:447
void validate_run_modes()
validate user run modes and set userModesFlag
Definition: ProgramOptions.cpp:503
size_t numGenerations
The number of generations over which a fitness tracker converger should track.
Definition: DataMethod.hpp:700
String substitute_params_and_results(const String &driver, const String ¶ms, const String &results)
Substitute parameters and results file names into driver strings.
Definition: ProcessApplicInterface.cpp:96
int batchSize
Number of points to add each round, default = 1.
Definition: NonDAdaptiveSampling.hpp:118
Definition: ROLOptimizer.hpp:218
The Python class constructs a surrogate via python and has it ready for Dakota use.
Definition: SurrogatesPython.hpp:35
static Real sum_squared_residuals(size_t num_pri_fns, const RealVector &residuals, const RealVector &weights)
return weighted sum of squared residuals
Definition: DakotaMinimizer.cpp:1086
void construct()
Instantiate topLevelIterator.
Definition: DakotaEnvironment.cpp:294
Real solution_level_cost() const
return active cost estimate from solnCntlCostMap
Definition: SimulationModel.cpp:415
short final_moments_type() const
get finalMomentsType
Definition: DakotaNonD.hpp:440
bool asynch_flag() const
return the asynchronous evaluation flag (asynchEvalFlag)
Definition: DakotaModel.hpp:3739
int splitComputation()
Method that determines how many branches are created and how. Returns the number of branches created ...
Definition: PEBBLBranching.cpp:140
bool resultsOutputFlag
whether user requested results data output
Definition: OutputManager.hpp:352
void serialize(Archive &ar, const unsigned int version)
serialize the core shared response data: write and read are symmetric for this class
bool importBuildActive
whether to import active variables only
Definition: DataMethod.hpp:1407
static void copy_items(const StringArray &source_items, const bfs::path &dest_dir, bool overwrite)
copy a list of source_paths (files, directories, symlinks), potentially including wildcards into dest...
Definition: WorkdirHelper.cpp:713
bool update_variables_from_model(Model &model) override
update active variables/bounds/labels from subModel
Definition: ScalingModel.cpp:244
StringArray discreteDesignSetStrLabels
labels array for the discrete design variables defined by a string set (from the discrete_design_set ...
Definition: DataVariables.hpp:298
RealVector paramMaxs
upper bounds on calibrated parameters
Definition: NonDWASABIBayesCalibration.hpp:114
void initialize_final_statistics()
initializes finalStatistics for storing NonD final results
Definition: NonDEnsembleSampling.cpp:228
Real delta_mean()
return the change in mean resulting from expansion refinement, where all active variables are random
Definition: PecosApproximation.hpp:543
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: NonDBayesCalibration.cpp:744
size_t drvStart
start index of active discrete real variables within allDiscreteRealVars
Definition: SharedVariablesData.hpp:256
std::vector< boost::variant< ResultAttribute< int >, ResultAttribute< String >, ResultAttribute< Real > > > AttributeArray
Datatype to communcate metadata (attributes) to the ResultsManager instance.
Definition: dakota_results_types.hpp:524
virtual void init_communicators(const IntArray &message_lengths, int max_eval_concurrency)
allocate communicator partitions for concurrent evaluations within an iterator and concurrent multipr...
Definition: DakotaInterface.cpp:903
dakota::ParameterList surrogateOpts
Key/value config options for underlying surrogate.
Definition: DakotaSurrogates.hpp:104
int surrogateOrder
The order of the polynomial in each Voronoi cell.
Definition: VPSApproximation.hpp:197
void compute_scaling(int auto_type, int num_vars, RealVector &lbs, RealVector &ubs, RealVector &targets, const UShortArray &spec_types, const RealVector &scales, UShortArray &scale_types, RealVector &scale_mults, RealVector &scale_offsets)
general helper function for initializing scaling types and factors on a vector of variables,...
Definition: ScalingModel.cpp:542
RealSymMatrixArray covLL
covariances among all LF approximations (the C matrix in ACV); organized as a numFunctions array of s...
Definition: NonDACVSampling.hpp:138
void derived_set_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag)
portion of set_communicators() specific to derived model classes
Definition: AdaptedBasisModel.cpp:146
RealMatrix challengeResponses
container for the challenge points data (responses only)
Definition: ApproximationInterface.hpp:249
const RealSymMatrix & function_hessian(size_t i) const
return the i-th function Hessian
Definition: DakotaResponse.hpp:749
Real priorPropCovMult
optional multiplier for prior-based proposal covariance
Definition: DataMethod.hpp:1223
bool maxSense
Single boolean (could be extended to multiple) indicating min/max sense of optimal value.
Definition: DakotaTPLDataTransfer.hpp:145
virtual void component_parallel_mode(short mode)
update componentParallelMode for supporting parallelism in model sub-components
Definition: DakotaModel.cpp:4585
int generalized_rosenbrock()
n-dimensional Rosenbrock (Schittkowski)
Definition: TestDriverInterface.cpp:1201
RealVectorArray computedRespLevels
output response levels for all response functions resulting from requestedProbLevels,...
Definition: DakotaNonD.hpp:355
short convergenceTolType
store the convergence_tolerance_type input specification, prior to run-time Options right now:
Definition: NonDMultilevelSampling.hpp:540
void init_default_asv(size_t num_fns)
initialize default ASV if needed; this is done at run time due to post-construct time Response size c...
Definition: ApplicationInterface.cpp:669
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDAdaptiveSampling.cpp:197
~DataVariables()
destructor
Definition: DataVariables.cpp:350
short surrBasedLocalMeritFn
SBL merit function type: BASIC_PENALTY, ADAPTIVE_PENALTY, BASIC_LAGRANGIAN, or AUGMENTED_LAGRANGIAN.
Definition: DataMethod.hpp:474
void scale(const RealVector &unscaled_x, RealArray &scaled_x) const
perform scaling from [lower,upper] to [0,1]
Definition: NOWPACOptimizer.hpp:122
String rngName
name of the random number generator
Definition: NonDLHSInterval.hpp:65
virtual ~Surrogate()
Default destructor.
Definition: SurrogatesBase.cpp:31
bool supports_nonlinear_equality()
Return flag indicating ROL supports nonlinear equalities.
Definition: ROLOptimizer.hpp:158
Real delta0
finite-diff step size for gradient differences for H (a component of some covariance approximations,...
Definition: NL2SOLLeastSq.hpp:114
String betaSolverName
beta solvers don't need documentation
Definition: DataMethod.hpp:655
Real prior_density(const VectorType &vec)
compute the prior PDF for a particular MCMC sample
Definition: NonDBayesCalibration.hpp:568
const String & hessian_type() const
return the Hessian evaluation type (hessianType)
Definition: DakotaModel.hpp:3647
~NonDAdaptiveSampling()
alternate constructor for sample generation and evaluation "on the fly" has not been implemented
Definition: NonDAdaptiveSampling.cpp:172
AppsTraits()
default constructor
Definition: APPSOptimizer.cpp:390
StringMultiArrayConstView discrete_int_variable_labels() const
return the active discrete variable labels from currentVariables
Definition: DakotaModel.hpp:2460
String crossoverType
the crossover_type specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:645
size_t solnCntlADVIndex
index of the discrete variable (within all view) that controls the set/range of solution levels
Definition: SimulationModel.hpp:194
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: APPSOptimizer.hpp:54
void pop_approximation(bool save_surr_data, bool rebuild_flag=false)
remove the previous data set addition to a surrogate (e.g., due to a previous append_approximation() ...
Definition: RecastModel.hpp:969
bool is_null() const
function to check constraintsRep (does this envelope contain a letter)
Definition: DakotaConstraints.hpp:1145
int outlev
frequency of output summary lines in number of iterations (debug/verbose/normal/quiet use default = 1...
Definition: NL2SOLLeastSq.hpp:109
InterfaceList filtered_interface_list(const String &interf_type, const String &an_driver)
filter the available Interface instances based on matching interface type and analysis drivers (empty...
Definition: LibraryEnvironment.cpp:140
void append_matrix(const String &dset_name, const Teuchos::SerialDenseMatrix< int, T > &data, const bool &transpose=false)
Append a SerialDenseMatrix to a 3D dataset. The dataset will be expanded along the 0th dimension....
Definition: HDF5_IO.hpp:1069
IntResponseMap beforeSynchResponseMap
bookkeeping map to catalogue responses generated in map() for use in synchronize() and synchronize_no...
Definition: ApproximationInterface.hpp:263
size_t mi_parallel_level_index() const
return subIteratorSched.miPLIndex
Definition: NestedModel.hpp:586
RealVector ranVarStdDevsX
vector of std deviations for all uncertain random variables in x-space
Definition: NonDLocalReliability.hpp:294
void add_metadata_to_object(const StrStrSizet &iterator_id, const StringArray &location, const AttributeArray &attrs)
Associate key:value metadata with the object at the location.
Definition: ResultsManager.cpp:62
The global surrogate-based minimizer which sequentially minimizes and updates a global surrogate mode...
Definition: SurrBasedGlobalMinimizer.hpp:29
void recover_variance(const RealMatrix &moment_stats, RealVector &var_H)
recover variance from raw moments
Definition: NonDMultilevelSampling.hpp:1045
std::string fileName
Name of the HDF5 file.
Definition: HDF5_IO.hpp:481
virtual bool formulation_updated() const
query the approximation for updates in formulation, requiring a rebuild even if no updates to the bui...
Definition: DakotaModel.cpp:4291
void iround(const RealVector &input_vec, IntVector &rounded_vec)
round entries of a RealVector yielding an IntVector
Definition: dakota_data_util.cpp:440
String importBuildPtsFile
the file name from the import_build_points_file specification
Definition: DataMethod.hpp:1403
void update_discrete_string_variables_active_complement_from_model(const Model &model)
update complement of active discrete string variables/bounds/labels from subModel
Definition: RecastModel.cpp:1230
int nf
function invocation count for r(x)
Definition: NL2SOLLeastSq.cpp:120
RealVectorArray requestedRespLevels
requested response levels for all response functions
Definition: DakotaNonD.hpp:328
static void optpp_nlf1_objective(int mode, int n, const RealVector &x, double &f, RealVector &grad_f, int &result_mode)
static NLF1 function used by OPT++ for the objective function/gradient
Definition: NonDNonHierarchSampling.cpp:2128
std::string get_os() const
get the operating system
Definition: TrackerHTTP.cpp:310
bool restart_file() const
return evalCacheFlag
Definition: ApplicationInterface.hpp:594
pid_t wait_evaluation(bool block_flag)
process all available completions within the evaluation process group; if block_flag = true,...
Definition: ForkApplicInterface.hpp:108
UShortMultiArrayConstView all_discrete_string_types(size_t start, size_t num_items) const
get num_items discrete string types beginning at index start
Definition: SharedVariablesData.hpp:1529
int get_cholesky_factor()
Gets the Cholesky factorization of the covariance matrix, with error checking.
Definition: GaussProcApproximation.cpp:442
virtual void write(std::ostream &s, unsigned short vars_part=ALL_VARS) const
write a variables object to an std::ostream, e.g., the console, optionally specifying which partition...
virtual void pre_finalize()
finalize the shared approximation data following a set of increments
Definition: SharedApproxData.cpp:400
void stop_evaluation_servers()
used by the iterator master to terminate evaluation servers
Definition: ApplicationInterface.cpp:2513
void split_string(const std::string &s, const char &delim, std::vector< std::string > &elems)
Split a string on a delimiter and place tokens in elems.
Definition: TrackerHTTP.cpp:122
~ParallelConfiguration()
destructor
Definition: ParallelLibrary.hpp:503
ProblemDescDB()
default constructor
Definition: ProblemDescDB.cpp:58
bool discrepancy_sample_counts() const
flag identifying whether sample counts correspond to level discrepancies
Definition: NonDMultilevControlVarSampling.hpp:361
bool suppressOutputFlag
flags suppression of shell output (no command echo)
Definition: CommandShell.hpp:71
String inputString
alternate input means for library clients: input string (mutually exclusive with input file)
Definition: ProgramOptions.hpp:228
void write_core(std::ostream &s, Writer write_handler, unsigned short vars_part) const
Implementation of writing various formats using the specified write handler, accounting for reorderin...
Definition: RelaxedVariables.cpp:351
const IntResponseMap & synchronize_nowait()
recovers data from a series of asynchronous evaluations (nonblocking)
Definition: ApproximationInterface.cpp:312
void copy_as_hub_server_comm(const ParallelLevel &parent_pl, ParallelLevel &child_pl)
convenience function for updating child hubServerIntraComm from parent serverIntraComm (deep Comm cop...
Definition: ParallelLibrary.hpp:2086
IntIntMap optInterfaceIdMap
mapping from optionalInterface evaluation counter to nested model counter (different when optionalInt...
Definition: NestedModel.hpp:317
std::string strtolower(const std::string &s)
Return lowercase copy of string s.
Definition: dakota_data_util.hpp:333
bool chainDiagnostics
flag indicating calculation of chain diagnostics
Definition: NonDBayesCalibration.hpp:436
void initialize_distribution(Pecos::MultivariateDistribution &mv_dist, bool active_only=false)
initialize distribution types from problemDescDB
Definition: DakotaModel.cpp:381
static Real variance_Qsum_static(Real sum_Ql, Real sum_Qlm1, Real sum_QlQl, Real sum_QlQlm1, Real sum_Qlm1Qlm1, size_t Nlq_pilot, size_t Nlq, bool compute_gradient, Real &grad)
compute variance from sum accumulators necessary for sample allocation optimization
Definition: NonDMultilevelSampling.hpp:718
void print_covariance(std::ostream &s)
print resp{Variance,Covariance}
Definition: NonDExpansion.cpp:3962
bool resize()
reinitializes iterator based on new variable size
Definition: NonDGPImpSampling.cpp:102
size_t ccv_index_to_acv_index(size_t ccv_index) const
convert index within complement of active continuous variables to index within all continuous variabl...
void init_variables(const ShortShortPair &recast_vars_view, const SizetArray &vars_comps_totals, const BitArray &all_relax_di, const BitArray &all_relax_dr, bool &consistent_vars)
initialize currentVariables and related info from the passed size/type info
Definition: RecastModel.cpp:327
RealVector cvScaleMultipliers
scales for continuous variables
Definition: ScalingModel.hpp:180
LeastSq(std::shared_ptr< TraitsBase > traits)
default constructor
Definition: DakotaLeastSq.hpp:103
double HALF_LOG_2PI
constant log(2*pi)/2.0
Definition: dakota_global_defs.cpp:47
short mlsWeightFunction
weight function for moving least squares approximation
Definition: DataModel.hpp:248
MatrixXd compute_second_deriv_pred_gram(const MatrixXd &pred_gram, const std::vector< MatrixXd > &mixed_dists, const VectorXd &theta_values, const int index_i, const int index_j) override
Compute the second derivatve of the prediction matrix for a pair of components.
Definition: SurrogatesGPKernels.cpp:160
~DataVariablesRep()
destructor
Definition: DataVariables.hpp:860
Derived approximation class for Surrogates Python approximation classes.
Definition: DakotaSurrogatesPython.hpp:22
SizetArray startRankSeqSpec
user specification for start_rank_sequence
Definition: NonDMultilevelFunctionTrain.hpp:125
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: DakotaAnalyzer.cpp:198
bool helpFlag
whether to print help message and exit
Definition: ProgramOptions.hpp:248
void all_discrete_int_type(unsigned short div_type, size_t index)
set discrete integer type at index
Definition: SharedVariablesData.hpp:1524
size_t div_index_to_all_index(size_t div_index, bool ddv, bool dauv, bool deuv, bool dsv) const
convert index within active discrete integer variables (as identified by bools) to index within aggre...
unsigned short expOrderSpec
user specification for expansion_order (array for multifidelity)
Definition: NonDPolynomialChaos.hpp:234
void clear_inactive()
clear inactive approximations (finalization + combination completed)
Definition: RecastModel.hpp:1007
PRPCacheHIter lookup_by_val(PRPMultiIndexCache &prp_cache, const ParamResponsePair &search_pr)
find a ParamResponsePair based on the interface id, variables, and ActiveSet search data within searc...
Definition: PRPMultiIndex.hpp:241
const SizetArray & nested_acv1_indices() const
return primaryACVarMapIndices
Definition: DataFitSurrModel.hpp:528
void pack(const u_short *data, const int num=1)
Pack one or more unsigned short's.
size_t cv() const
get number of active continuous vars
Definition: SharedVariablesData.hpp:1664
int neighborOrder
the NEIGHBOR_ORDER specification for NOMAD
Definition: DataMethod.hpp:811
Iterator gpEval
LHS iterator for sampling on the GP.
Definition: NonDAdaptiveSampling.hpp:76
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDAdaptImpSampling.cpp:141
IntVector xDI
discrete int variables used within direct simulator fns
Definition: DirectApplicInterface.hpp:172
unsigned short modelEvalsSelection
Model selection for eval storage.
Definition: DataEnvironment.hpp:95
void archive_to_resp(size_t fn_index, size_t inc_id=0)
archive the mappings to computed response levels for specified fn and (optional) increment id.
Definition: DakotaNonD.cpp:1526
void initialize()
perform any required initialization
Definition: NonDLHSSingleInterval.cpp:29
virtual Real solution_level_cost() const
return currently active cost estimate from solution level control (SimulationModel)
Definition: DakotaModel.cpp:3736
IntegerScale(const std::string &label, const IntVector &in_items, ScaleScope scope=ScaleScope::UNSHARED)
Constructor that takes an IntVector.
Definition: dakota_results_types.hpp:316
StringArray fileTags
set of tags for various input/output files (default none)
Definition: OutputManager.hpp:391
void nonzero(const T1 &v, T2 &result)
Create a vector of indices based on nonzero entries in input vector.
Definition: util_math_tools.hpp:44
String exportMCMCFilename
output filename for the MCMC chain
Definition: NonDBayesCalibration.hpp:522
int get_num_opt_variables()
Get the number of optimization variables.
Definition: SurrogatesGaussianProcess.cpp:561
void decrement_order()
decrements polynomial expansion order (PCE, FT)
Definition: SharedC3ApproxData.cpp:353
DataEnvironment environmentSpec
the environment specification (only one allowed) resulting from a call to environment_kwhandler() or ...
Definition: ProblemDescDB.hpp:379
bool outputTimings
timing info only beyond help/version/check
Definition: ParallelLibrary.hpp:1015
const String & solution_control_label(const Model &model)
helper to select among Variables::all_discrete_{int,string,real}_ variable_labels() for exporting a s...
Definition: EnsembleSurrModel.cpp:2073
void update_model_from_sample(Model &model, const Real *sample_vars)
Override default update of continuous vars only.
Definition: NonDSampling.hpp:674
static void response_evaluator(const Variables &vars, const ActiveSet &set, Response &response)
static function used by MinimizerAdapterModel for response data (objective and nonlinear constraint,...
Definition: NonDNonHierarchSampling.cpp:2304
void stop_servers()
Executed by the master to terminate actualModel server operations when DataFitSurrModel iteration is ...
Definition: DataFitSurrModel.hpp:969
int recommended_points(bool constraint_flag) const
returns the recommended number of samples recommended to build the functionSurfaces
Definition: ApproximationInterface.hpp:284
double value(const ROL::Vector< double > &p, double &tol)
Get the value of the objective function at a point.
Definition: SurrogatesGPObjective.cpp:31
short query_distribution_parameter_derivatives() const
calculate and return derivative composition of final results w.r.t. distribution parameters (none,...
Definition: EnsembleSurrModel.hpp:536
size_t numObsAll
The original number of observations.
Definition: GaussProcApproximation.hpp:241
StringArray continuousEpistemicUncLabels
labels for all continuous epistemic uncertain variables
Definition: DataVariables.hpp:757
void add_metadata_to_study(const AttributeArray &attrs) override
Associate key:value metadata with the study.
Definition: ResultsDBAny.hpp:112
size_t numDiscreteRealVars
number of active discrete real vars
Definition: DakotaMinimizer.hpp:242
bool ownPython
true if this class created the interpreter instance
Definition: PythonInterface.hpp:49
void set_evaluation_reference()
set the evaluation counter reference points for the RecastModel (request forwarded to subModel)
Definition: RecastModel.hpp:1156
const UShortArray & start_orders() const
return active start value for basis order
Definition: SharedC3ApproxData.hpp:369
void specify_prior() override
intialize the QUESO parameter space, min, max, initial, domain, and prior define solver options,...
Definition: NonDQUESOBayesCalibration.cpp:635
void mpp_search()
convenience function for encapsulating the reliability methods that employ a search for the most prob...
Definition: NonDLocalReliability.cpp:792
bool auto_graphics() const
get modelAutoGraphicsFlag to activate posting of graphics data within evaluate/synchronize functions ...
Definition: DakotaModel.hpp:3786
void clear_model_keys()
reset initial state by clearing all model keys for an approximation
Definition: SharedPecosApproxData.hpp:187
void initialize_final_statistics()
initialize finalStatistics for belief/plausibility results sets
Definition: NonDInterval.cpp:96
Pecos::SharedBasisApproxData & pecos_shared_data()
return pecosSharedData
Definition: SharedPecosApproxData.hpp:415
IntVector discreteStateSetIntVars
initial values for the discrete state variables defined by an integer set (from the discrete_state_se...
Definition: DataVariables.hpp:633
int server_id() const
return serverId
Definition: ParallelLibrary.hpp:357
~NonDCalibration()
destructor
Definition: NonDCalibration.hpp:69
unsigned short mutualInfoAlg
algorithm to employ in calculating mutual information
Definition: NonDBayesCalibration.hpp:344
int mc_api_run()
direct interface to ModelCenter via API, HKIM 4/3/03
Definition: TestDriverInterface.cpp:5064
void inactive_subsets(bool &cdv, bool &ddv, bool &cauv, bool &dauv, bool &ceuv, bool &deuv, bool &csv, bool &dsv) const
define active variable subsets based on active view
Definition: SharedVariablesData.hpp:1098
void bcast_w(int &data)
broadcast an integer across MPI_COMM_WORLD
Definition: ParallelLibrary.hpp:1804
IntVector referenceIDIVars
stores a reference copy of the inactive discrete int variables when the approximation is built using ...
Definition: DataFitSurrModel.hpp:475
unsigned int compute_cross_validation_metric()
Use cross validation of a moving least squares surrogate to identify the size of an active subspace t...
Definition: ActiveSubspaceModel.cpp:873
void export_discrepancy(RealMatrix &pred_config_mat)
print tabular files containing model+discrepancy responses and variances
Definition: NonDBayesCalibration.cpp:2082
void join_analysis_process_group(bool new_group)
create (if new_group) and join the process group for asynch analyses
Definition: ForkApplicInterface.hpp:120
RealSetArray discreteStateSetReal
complete set of admissible values for each of the discrete state variables defined by a real set (fro...
Definition: DataVariables.hpp:654
std::string linePrefix
Prefix for each line.
Definition: ROLOptimizer.hpp:586
DesignOFSortSet PerformIterations(GeneticAlgorithm *theGA)
Performs the required iterations on the supplied GA.
Definition: JEGAOptimizer.cpp:656
void method_string(const String &m_str)
set the method name by string
Definition: DakotaIterator.hpp:666
UShortArray cvScaleTypes
continuous variables scale types
Definition: ScalingOptions.hpp:36
void check_sub_iterator_conflict()
detect any conflicts due to recursive use of the same Fortran solver
Definition: NCSUOptimizer.cpp:118
StringArray varianceType
Array which specifies the sigma type per response (none, one constant value, one per response (vector...
Definition: DataResponses.hpp:249
void increment_sample_sequence(size_t new_samp, size_t total_samp, size_t step)
increment sequence in numSamplesOnModel for multilevel_regression()
Definition: NonDMultilevelFunctionTrain.cpp:404
Container class for response functions and their derivatives. SimulationResponse provides the body ...
Definition: SimulationResponse.hpp:41
bool check_ranges_sets(int num_steps)
sanity check for vector parameter study
Definition: ParamStudy.hpp:602
void reset()
Resets the buffer index in order to reuse the internal buffer.
Definition: MPIPackBuffer.hpp:59
unsigned short interface_type() const
returns the interface type
Definition: DakotaInterface.hpp:499
bool asynchFlag
flag indicating usage of asynchronous evaluation
Definition: ApplicationInterface.hpp:211
int procsPerAnalysisSpec
user specification for processors per analysis servers
Definition: ApplicationInterface.hpp:422
void LoadTheParameterDatabase()
Reads information out of the known Dakota::ProblemDescDB and puts it into the current parameter datab...
Definition: JEGAOptimizer.cpp:1026
void allocate(const UShort2DArray &mi)
set Pecos::SharedOrthogPolyApproxData::multiIndex and allocate associated arrays
Definition: SharedPecosApproxData.hpp:311
int python_run(const String &ac_name)
direct interface to Python via API, BMA 07/02/07
Definition: PythonInterface.cpp:125
void set_vector_scalar_field(const String &dset_name, const T &data, const String &field_name)
Set a scalar field on all elements of a 1D dataset of compound type using a ds name.
Definition: HDF5_IO.hpp:948
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDExpansion.cpp:157
VectorXd trendTargetResidual
Difference between target values and trend predictions.
Definition: SurrogatesGaussianProcess.hpp:378
bool epistemicStats
flag for computing interval-type metrics instead of integrated metrics If any epistemic vars are acti...
Definition: DakotaNonD.hpp:318
virtual ~Interface()
destructor
Definition: DakotaInterface.cpp:324
std::vector< double > nonlinearEqConstraintTargets
offsets for constraint transformations
Definition: DakotaTPLDataTransfer.hpp:160
void extract_selected_posterior_samples(const std::vector< int > &points_to_keep, const RealMatrix &samples_for_posterior_eval, const RealVector &posterior_density, RealMatrix &posterior_data) const
Extract a subset of samples for posterior eval according to the indices in points_to_keep.
Definition: NonDWASABIBayesCalibration.cpp:358
~NonDMultifidelitySampling()
destructor
Definition: NonDMultifidelitySampling.cpp:58
void inactive_view(short view2) const
set the inactive Variables view
Definition: SharedVariablesData.hpp:1646
virtual void post_push()
clean up popped bookkeeping following push
Definition: SharedApproxData.cpp:380
virtual GeneticAlgorithmEvaluator * CreateEvaluator(GeneticAlgorithm &alg)
Overriden to return a newly created Evaluator.
Definition: JEGAOptimizer.cpp:558
virtual void active_view(short view, bool recurse_flag=true)
update the Model's active view based on a higher level context
Definition: DakotaModel.cpp:5310
void pick_new_candidates()
Pick new candidates from Emulator.
Definition: NonDAdaptiveSampling.cpp:375
bool relativeMetric
flag indicating the use of relative scaling in refinement metrics
Definition: NonDExpansion.hpp:415
const RealRealMapArray & get_rrma(const String &entry_name) const
get a RealRealMapArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1861
void add_attributes(const String &linkname, const AttributeArray &attrs)
Add attributes to the object with linkname.
Definition: ResultsDBHDF5.cpp:248
int numNowpacIneqConstr
aggregate unsupported constraint types as nonlinear inequalities
Definition: NOWPACOptimizer.hpp:68
bool posteriorStatsMutual
flag indicating the calculation of mutual information between prior and posterior
Definition: NonDBayesCalibration.hpp:431
void init_proposal_covariance()
set the proposal covariance matrix
Definition: NonDMUQBayesCalibration.cpp:586
RealVectorArray cellContUpperBounds
Storage array to hold cell upper bounds for continuous variables.
Definition: NonDInterval.hpp:114
std::shared_ptr< SharedApproxData > sharedDataRep
contains the approximation data that is shared among the response set
Definition: DakotaApproximation.hpp:410
bool weightFlag
whether weight scaling is active
Definition: NonDBayesCalibration.hpp:552
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: PSUADEDesignCompExp.cpp:66
BitArray discreteDesignRangeCat
is each ddr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:239
std::shared_ptr< SharedResponseDataRep > srdRep
pointer to the body (handle-body idiom)
Definition: SharedResponseData.hpp:289
int batchSizeAcquisition
number of new sampling points defined from maximizing acquisition function
Definition: EffGlobalMinimizer.hpp:290
Real trRatioExpandValue
trust region ratio sufficient value: expand tr if ratio above this value
Definition: SurrBasedLocalMinimizer.hpp:206
~NonDIntegration()
destructor
Definition: NonDIntegration.cpp:68
int dc_ptr_int
global pointer for ModelCenter eval DB
Definition: dakota_global_defs.cpp:77
size_t num_primary_fns() const
return number of primary functions (total less nonlinear constraints)
Definition: DakotaModel.hpp:3604
RealMatrix trainPoints
A 2-D array (num sample sites = rows, num vars = columns) used to create the Gaussian process.
Definition: VPSApproximation.hpp:191
NonDQUESOBayesCalibration * nonDQUESOInstance
pointer to QUESO instance for PDF evaluation callbacks
Definition: QUESOImpl.hpp:73
void archive_sobol_indices()
archive the Sobol' indices to the resultsDB
Definition: NonDExpansion.cpp:3630
FSUDesignCompExp(ProblemDescDB &problem_db, Model &model)
primary constructor for building a standard DACE iterator
Definition: FSUDesignCompExp.cpp:27
static void split_wildcard(const std::string &path_with_wc, bfs::path &search_dir, bfs::path &wild_card)
given a string with an optional path and a wildcard, e.g., /tmp/D*.?pp, parse it into the search path...
Definition: WorkdirHelper.cpp:419
size_t num_nonlinear_eq_constraints() const
return the number of nonlinear equality constraints
Definition: DakotaModel.hpp:3475
Real prediction_variance(const Variables &vars) override
retrieve the variance of the predicted value for a given parameter vector
Definition: DakotaSurrogatesGP.cpp:171
Class for packing MPI message buffers.
Definition: MPIPackBuffer.hpp:42
bool get_bounds(const RealVector &lower_source, const RealVector &upper_source, VecT &lower_target, VecT &upper_target, Real big_real_bound_size, Real no_value)
Definition: DakotaOptimizer.hpp:38
unsigned short vbdOrderLimit
limits the order of interactions within the component Sobol' indices
Definition: NonDExpansion.hpp:618
RealVector functionSurfaceVariances
vector of approximation variances, one value per response function
Definition: ApproximationInterface.hpp:223
size_t sequenceIndex
sequence index for start{Rank,Order}SeqSpec
Definition: NonDMultilevelFunctionTrain.hpp:130
virtual bool multilevel() const
identify if 1D hierarchy can be defined across resolution levels
Definition: DakotaModel.cpp:3601
void update_augmented_lagrange_multipliers(const RealVector &fn_vals)
initialize and update the Lagrange multipliers for augmented Lagrangian
Definition: SurrBasedMinimizer.cpp:304
Base class for Bayesian inference: generates posterior distribution on model parameters given experim...
Definition: NonDBayesCalibration.hpp:32
static void default_scale_types(const RealVector &scale_values, UShortArray &scale_types)
when values are given, but not types, initialize type to value
Definition: ScalingOptions.cpp:69
void multilevel_regression()
allocate a multilevel expansion based on some approximation to an optimal resource allocation across ...
Definition: NonDExpansion.cpp:1623
void nested_variable_mappings(const SizetArray &c_index1, const SizetArray &di_index1, const SizetArray &ds_index1, const SizetArray &dr_index1, const ShortArray &c_target2, const ShortArray &di_target2, const ShortArray &ds_target2, const ShortArray &dr_target2)
set primaryA{C,DI,DS,DR}VarMapIndices, secondaryA{C,DI,DS,DR}VarMapTargets (coming from a higher-leve...
Definition: EnsembleSurrModel.hpp:497
size_t icv_start() const
get start index of inactive continuous vars
Definition: SharedVariablesData.hpp:1700
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDBayesCalibration.cpp:726
~GaussProcApproximation()
destructor
Definition: GaussProcApproximation.hpp:289
bool is_factorized() const override
Query to determine if the matrix of the solver has been factored.
Definition: UtilLinearSolvers.cpp:117
Variables(BaseConstructor, const ProblemDescDB &problem_db, const ShortShortPair &view)
constructor initializes the base class part of letter classes (BaseConstructor overloading avoids inf...
bool challengeActiveOnly
whether to import active only
Definition: ApproximationInterface.hpp:245
NonDMultilevelStochCollocation(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultilevelStochCollocation.cpp:30
void update_variables_active_complement_from_model(const Model &model)
update complement of active variables/bounds/labels from subModel
Definition: RecastModel.cpp:1124
Real delta_covariance(Approximation &approx_2)
return the change in covariance resulting from expansion refinement, where all active variables are r...
Definition: PecosApproximation.hpp:592
bool run() const
is run mode active?
Definition: ProgramOptions.cpp:164
void method_recourse(unsigned short method_name)
perform a method switch, if possible, due to a detected conflict with the simultaneous use of method_...
Definition: NonDLocalReliability.cpp:2846
int world_size() const
get the size of the MPI_Comm on which Dakota is running
Definition: MPIManager.hpp:80
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDLHSInterval.cpp:57
void get_beta_coefficients()
Gets the beta coefficients for the calculation of the mean of the GP.
Definition: GaussProcApproximation.cpp:481
void clear_popped()
clear SurrogateData::popped{Vars,Resp}Trials,popCountStack for all keys
Definition: DakotaApproximation.hpp:625
bool eaMessagePass
flag for message passing at ea scheduling level
Definition: ApplicationInterface.hpp:418
void initialize_response_covariance()
set covarianceControl defaults and shape respCovariance
Definition: NonDExpansion.cpp:205
void combine_coefficients()
combine all level approximations into a single aggregate approximation
Definition: PecosApproximation.hpp:795
RealMatrix momentStats
standardized or central resp moments, as determined by finalMomentsType. Calculated in compute_moment...
Definition: DakotaNonD.hpp:322
void continuous_variable_type(unsigned short cv_type, size_t index)
set an active continuous variable type
Definition: DakotaVariables.hpp:1308
const IntResponseMap & synchronize()
Execute a blocking scheduling algorithm to collect the complete set of results from a group of asynch...
Definition: DakotaModel.cpp:1377
virtual void set_evaluation_reference()
Set the reference points for the evaluation counters within the Model.
Definition: DakotaModel.cpp:5969
void compute_mlmf_control(Real sum_Ll, Real sum_Llm1, Real sum_Hl, Real sum_Hlm1, Real sum_Ll_Ll, Real sum_Ll_Llm1, Real sum_Llm1_Llm1, Real sum_Hl_Ll, Real sum_Hl_Llm1, Real sum_Hlm1_Ll, Real sum_Hlm1_Llm1, Real sum_Hl_Hl, Real sum_Hl_Hlm1, Real sum_Hlm1_Hlm1, size_t N_shared, Real &var_YHl, Real &rho_dot2_LH, Real &beta_dot, Real &gamma)
compute scalar control variate parameters
Definition: NonDMultilevControlVarSampling.cpp:1264
Real apply_covariance(const RealVector &residuals, size_t experiment) const
apply the covariance responses to compute the triple product v'*inv(C)*v for the given experiment
Definition: ExperimentData.cpp:842
const String & filename() const
the (possibly empty) file name for this stream
Definition: OutputManager.cpp:900
String gradientType
type of gradient data: analytic, numerical, mixed, or none
Definition: DakotaModel.hpp:1423
void discrete_string_variable_type(unsigned short div_type, size_t i)
set an active discrete variable type in currentVariables
Definition: DakotaModel.hpp:2019
unsigned short sampleDesign
enum describing the initial sample design. Options are: RANDOM_SAMPLING, FSU_CVT, FSU_HALTON,...
Definition: NonDAdaptiveSampling.hpp:134
LINEAR_INEQUALITY_FORMAT linear_inequality_format()
Return the format used for linear inequality constraints.
Definition: CONMINOptimizer.hpp:45
String importPredConfigs
whether to import prediction configurations at which to calculate model discrepancy
Definition: DataMethod.hpp:1265
void flush() const
Flush cache to file.
Definition: HDF5_IO.cpp:487
size_t num_samples() const
Definition: FSUDesignCompExp.hpp:135
bool computed() const
return correctionComputed
Definition: DiscrepancyCorrection.hpp:309
size_t numConstraints
total number of linear and nonlinear constraints
Definition: DakotaMinimizer.hpp:266
virtual const Variables & variables_results() const
return a single final iterator solution (variables)
Definition: DakotaIterator.cpp:1438
Derived approximation class for Surfpack approximation classes. Interface between Surfpack and Dakota...
Definition: SurfpackApproximation.hpp:40
void read(std::istream &s)
read a variable constraints object from an std::istream
Definition: RelaxedVarConstraints.cpp:229
std::map< ResultsKeyType, ResultsValueType > iteratorData
core data storage (map from key to value type)
Definition: ResultsDBBase.hpp:176
virtual bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: DakotaTraitsBase.hpp:74
RealVector dataDistCovariance
The covariance of the multivariate Gaussian distribution of the obs. data.
Definition: NonDWASABIBayesCalibration.hpp:86
~ConsoleRedirector()
when the redirector stack is destroyed, it will rebind the output handle to the default ostream,...
Definition: OutputManager.cpp:920
bool invertProb
flag for inversion of probability values using 1.-p
Definition: NonDAdaptImpSampling.hpp:163
NonDLocalReliability(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLocalReliability.cpp:48
IteratorScheduler(ParallelLibrary ¶llel_lib, bool peer_assign_jobs, int num_servers=0, int procs_per_iterator=0, short scheduling=DEFAULT_SCHEDULING)
constructor
Definition: IteratorScheduler.cpp:23
virtual bool formulation_updated() const
query for change in approximation formulation
Definition: DakotaInterface.cpp:1300
StringRealMapArray discreteUncSetStrValuesProbs
complete set of admissible values with associated basic probability assignments for each of the discr...
Definition: DataVariables.hpp:587
void sampling_reference(size_t samples_ref)
set reference number of samples, which is a lower bound during reset
Definition: NonDSampling.hpp:484
const IntResponseMap & derived_synchronize()
Definition: EnsembleSurrModel.cpp:923
const Variables & variables_results() const
return a single final iterator solution (variables)
Definition: DakotaAnalyzer.hpp:312
int cantilever()
scaled cantilever test function for optimization
Definition: TestDriverInterface.cpp:374
int failRetryLimit
limit on the number of retries for the retry failAction
Definition: ApplicationInterface.hpp:510
LUSolver()
Constructor.
Definition: UtilLinearSolvers.cpp:113
static ScalingModel * scaleModelInstance
static pointer to this class for use in static callbacks
Definition: ScalingModel.hpp:173
StringMultiArrayConstView inactive_discrete_real_variable_labels() const
return the inactive discrete variable labels
Definition: DakotaVariables.hpp:1561
~NonDGPMSABayesCalibration()
destructor
Definition: NonDGPMSABayesCalibration.cpp:175
exception throw for other results file read error
Definition: dakota_global_defs.hpp:112
virtual void test_local_evaluations(PRPQueue &prp_queue)
For asynchronous function evaluations, this method is used to detect completion of jobs and process t...
Definition: ApplicationInterface.hpp:625
RealVector fdHessStepSize
vector of finite difference step sizes for numerical Hessians, one step size per active continuous va...
Definition: DataResponses.hpp:215
short approxSetRequest
derivative order of surrogate data used within the SBLM process
Definition: SurrBasedLocalMinimizer.hpp:219
void build_views()
construct active/inactive views of all variables arrays
Definition: DakotaVariables.hpp:1814
void generate_dags(unsigned short root, const UShortArray &nodes, UShortArraySet &dag_set)
generate a set of DAGs for the provided root and subordinate nodes
Definition: NonDGenACVSampling.cpp:171
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDMultilevelStochCollocation.cpp:347
virtual void build_approximation()
build a new SurrogateModel approximation
Definition: DakotaModel.cpp:3972
BitArray ccv_to_all_mask() const
create a BitArray indicating the complement continuous subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1273
short expansionCoeffsApproach
method for collocation point generation and subsequent calculation of the expansion coefficients
Definition: NonDExpansion.hpp:406
void hf_indices(size_t &hf_form_index, size_t &hf_lev_index)
define model form and resolution level indices
Definition: NonDNonHierarchSampling.cpp:152
size_t numExponentialUncVars
number of exponential uncertain variables (from the exponential_uncertain specification in VarAUV)
Definition: DataVariables.hpp:134
Class for global reliability methods within DAKOTA/UQ.
Definition: NonDGlobalReliability.hpp:28
IntVector histogramPointIntUncVars
initial values of the real-valued histogram point uncertain variables (from the initial_point specifi...
Definition: DataVariables.hpp:516
SharedPecosApproxData()
default constructor
Definition: SharedPecosApproxData.hpp:172
static void hom_objective_eval(int &mode, int &n, double *tau_and_x, double &f, double *grad_f, int &)
static function used by NPSOL as the objective function in the homotopy constraint relaxation formula...
Definition: SurrBasedLocalMinimizer.cpp:1496
Derived application interface class that spawns a simulation code using a separate process,...
Definition: ProcessHandleApplicInterface.hpp:27
const RealVector & error_estimates()
retrieve error estimates corresponding to the subModel
Definition: RecastModel.cpp:1384
void reduce_total_sobol_sets(RealVector &avg_sobol)
compute average of total Sobol' indices (from VBD) across the response set for use as an anisotropy i...
Definition: NonDExpansion.cpp:2469
int perform_analysis(char *iteration_num)
Definition: GridApplicInterface.cpp:305
NonDInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDInterval.cpp:25
int resultsMsgLen
length of MPI buffer for results output instance(s)
Definition: IteratorScheduler.hpp:196
RealMatrix linearEqConCoeffs
linear equality constraint coefficients
Definition: DakotaConstraints.hpp:381
StringArray linkFiles
template directory (if specified)
Definition: ProcessApplicInterface.hpp:228
ActiveSet activeSet
the response data requirements on each function evaluation
Definition: DakotaIterator.hpp:502
RealVector estVar
final estimator variance for output in print_variance_reduction()
Definition: NonDMultilevelSampling.hpp:154
void add_attribute(const String &location, const String &label, const T &value)
Add an attribute to a group or dataset.
Definition: HDF5_IO.hpp:1351
void combined_to_active_coefficients(bool clear_combined=true)
promote combined approximation into active approximation
Definition: C3Approximation.cpp:615
void run(ParLevLIter pl_iter)
invoke set_communicators(pl_iter) prior to run()
Definition: DakotaIterator.cpp:1043
virtual size_t solution_levels(bool lwr_bnd=true) const
number of discrete levels within solution control (SimulationModel)
Definition: DakotaModel.cpp:3694
Class for the reliability methods within DAKOTA/UQ.
Definition: NonDLocalReliability.hpp:43
void initialize_run() override
Initializes the ROLOptimizer with values available after the chain of constructors has finished.
Definition: ROLOptimizer.cpp:332
size_t numDiscreteStateSetRealVars
number of discrete state variables defined by a set of reals (from the discrete_state_set real specif...
Definition: DataVariables.hpp:206
friend class boost::serialization::access
allow boost access to serialize this class
Definition: SharedVariablesData.hpp:40
~NonDDREAMBayesCalibration()
destructor
Definition: NonDDREAMBayesCalibration.cpp:149
ShortArray defaultASV
the static ASV values used when the user has selected asvControl = off
Definition: ApplicationInterface.hpp:502
virtual bool multilevel_multifidelity() const
identify if 2D hierarchy can be defined across both model forms and resolution levels
Definition: DakotaModel.cpp:3608
size_t icv() const
get number of inactive continuous vars
Definition: SharedVariablesData.hpp:1696
void apply_matrix_partial(const MatrixType &M, const VectorType &v1, VectorType &v2)
Applies a RealMatrix to a vector (or subset of vector) v1.
Definition: dakota_data_util.hpp:283
StringArray discreteStateSetIntLabels
labels array for the discrete state variables defined by an integer set (from the discrete_state_set ...
Definition: DataVariables.hpp:671
MatrixXd objectiveGradientHistory
Final objective function gradients for each optimization run.
Definition: SurrogatesGaussianProcess.hpp:369
void aleatory_uncertain_counts(size_t &num_cauv, size_t &num_dauiv, size_t &num_dausv, size_t &num_daurv) const
compute aleatory uncertain variables sums from variablesCompsTotals
Definition: SharedVariablesData.hpp:428
void vector_loop()
performs the parameter study by sampling along a vector, starting from an initial point followed by n...
Definition: ParamStudy.cpp:437
static String user_auto_id()
return the next available model ID for no-ID user methods
Definition: DakotaModel.cpp:6222
void archive_cps_resp(const Response &response, size_t idx) const
specialized per-variable slice output for centered param study
Definition: ParamStudy.cpp:1233
ModelList modelList
used to collect sub-models for subordinate_models()
Definition: DakotaModel.hpp:1722
RealMatrixArray discreteDesignSetRealAdj
Adjacency matrices for each of the discrete design variables defined by a real set (from the discrete...
Definition: DataVariables.hpp:282
virtual bool is_derived()
A temporary query used in the refactor.
Definition: SNLLLeastSq.hpp:43
void valid_sample_matrix(const VariablesArray &vars_samples, const IntResponseMap &resp_samples, const StringSetArray &dss_vals, const BoolDeque is_valid_sample, RealMatrix &valid_data)
extract a compact valid sample (vars/resp) matrix from the passed data
Definition: SensAnalysisGlobal.cpp:55
const IntVector & inactive_discrete_int_upper_bounds() const
return the inactive discrete upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3071
void trans_grad_U_to_X(const RealVector &fn_grad_u, RealVector &fn_grad_x, const RealVector &x_vars)
transform u-space gradient vector to x-space
Definition: RecastModel.hpp:736
static bool id_compare(const DataModel &dm, const std::string &id)
compares the idModel attribute of DataModel objects
Definition: DataModel.hpp:553
bool inside(const Variables &vars) const
test if active vars are within [l_bnds, u_bnds]
Definition: DataFitSurrModel.cpp:1527
virtual void rebuild_approximation(const BitArray &rebuild_fns)
rebuilds the approximation after a data update
Definition: DakotaInterface.cpp:1154
const IntResponseMap & derived_synchronize()
portion of synchronize() specific to derived model classes
Definition: ActiveSubspaceModel.cpp:1318
void initialize_multipliers()
initialize lagrangeMult and augLagrangeMult
Definition: SurrBasedLocalMinimizer.cpp:288
Real sctol
singular convergence tolerance (singular_conv_tol)
Definition: NL2SOLLeastSq.hpp:129
IntVector discreteDesignSetIntUpperBnds
discrete design integer set upper bounds inferred from set values
Definition: DataVariables.hpp:686
RealVector nonlinearEqScales
vector of nonlinear equality constraint scaling factors (from the nonlinear_equality_scales specifica...
Definition: DataResponses.hpp:144
virtual RealVector approximation_coefficients(bool normalized) const
return the coefficient array computed by build()/rebuild()
Definition: DakotaApproximation.cpp:914
void auto_graphics(const bool flag)
set modelAutoGraphicsFlag to activate posting of graphics data within evaluate/synchronize functions ...
Definition: DakotaModel.hpp:3780
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDGlobalReliability.cpp:1114
bool check() const
is check mode active?
Definition: ProgramOptions.cpp:158
NonDAdaptImpSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDAdaptImpSampling.cpp:33
bool templateReplace
whether to replace existing files
Definition: ProcessApplicInterface.hpp:232
virtual void update_callback_data(const RealVector &cv_initial, const RealVector &cv_lower_bnds, const RealVector &cv_upper_bnds, const RealMatrix &lin_ineq_coeffs, const RealVector &lin_ineq_lb, const RealVector &lin_ineq_ub, const RealMatrix &lin_eq_coeffs, const RealVector &lin_eq_tgt, const RealVector &nln_ineq_lb, const RealVector &nln_ineq_ub, const RealVector &nln_eq_tgt)
assign variable values and bounds and constraint coefficients and bounds for this iterator (user-func...
Definition: DakotaIterator.cpp:1537
bool multiProcAnalysisFlag
flag for multiprocessor analysis partitions
Definition: ApplicationInterface.hpp:230
bool asynchFlag
flags nonblocking operation (background system calls)
Definition: CommandShell.hpp:68
void multifidelity_expansion()
construct a multifidelity expansion, across model forms or discretization levels
Definition: NonDExpansion.cpp:1358
BitArray histogramUncPointRealCat
is each hupr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:543
virtual void initialize_run()
utility function to perform common operations prior to pre_run(); typically memory initialization; se...
Definition: DakotaIterator.cpp:1109
size_t adrv() const
get total number of discrete real vars
Definition: SharedVariablesData.hpp:1740
OPTPP::OptBCFDNewton * optbcfdnewton
Bnd constrained FD-Newton opt ptr.
Definition: SNLLOptimizer.hpp:345
void all_discrete_int_upper_bound(int adiu_bnd, size_t i)
set an upper bound within the all discrete upper bounds array
Definition: DakotaConstraints.hpp:801
void write_annotated(std::ostream &s) const
write a response object in annotated format to a std::ostream
void post_finish(unsigned runtime=0)
post the completion of an analysis including elapsed time
Definition: TrackerHTTP.cpp:100
int text_book()
the text_book constrained optimization test function
Definition: TestDriverInterface.cpp:3175
void print_wilks_stastics(std::ostream &s) const
prints the Wilks stastics
Definition: NonDSampling.cpp:1921
H5::DSetCreatPropList datasetContiguousPL
Gobal DataSet creation property list for contiguous datasets.
Definition: HDF5_IO.hpp:476
void all_continuous_lower_bound(Real acl_bnd, size_t i)
set a lower bound within the all continuous lower bounds array
Definition: DakotaConstraints.hpp:734
void as_vector(const StringSetArray &dss_vals, RealVector &var_values) const
get the active variables as a vector of reals, converting string values to zero-based set indices
RealVector betaUncBetas
beta factors for the beta uncertain variables (from the std_deviations specification in VarCAUV_Beta)
Definition: DataVariables.hpp:387
Real falseConvTol
false-convergence tolerance
Definition: DataMethod.hpp:513
virtual void uncertain_vars_to_subspace()
translate the characterization of uncertain variables in the native_model to the reduced space of the...
Definition: SubspaceModel.cpp:259
Model original_model(unsigned short recasts_left=0) const
Return a shallow copy of the original model this Iterator was originally passed, optionally leaving r...
Definition: DakotaMinimizer.cpp:387
StringArray analysisDrivers
the set of analyses within each function evaluation (from the analysis_drivers interface specificatio...
Definition: DirectApplicInterface.hpp:213
IntVector discreteDesignSetIntVars
initial values for the discrete design variables defined by an integer set (from the discrete_design_...
Definition: DataVariables.hpp:244
RealVector continuousVars
the active continuous variables array view
Definition: DakotaVariables.hpp:620
void post_input()
read tabular data for post-run mode
Definition: PSUADEDesignCompExp.cpp:78
void inflate(size_t N_0D, SizetArray &N_1D)
promote scalar to 1D array
Definition: NonDNonHierarchSampling.hpp:1747
short c3AdvanceType
quantity to increment (start rank, start order, max rank, max order, max rank + max order) for FT (un...
Definition: DataModel.hpp:449
StringMultiArray allDiscreteIntLabels
array of variable labels for all of the discrete integer variables
Definition: SharedVariablesData.hpp:277
void inactive_view(short view2)
sets the inactive view based on higher level (nested) context
size_t currGradIndex
index of current expansion point with gradients
Definition: QMEApproximation.hpp:92
String importExpansionFile
the import_expansion_file specification in MethodNonDPCE
Definition: DataMethod.hpp:1061
virtual void wait_local_evaluations(PRPQueue &prp_queue)
For asynchronous function evaluations, this method is used to detect completion of jobs and process t...
Definition: ApplicationInterface.hpp:617
unsigned short softConvLimit
number of consecutive iterations with change less than convergenceTolerance required to trigger conve...
Definition: DataMethod.hpp:430
size_t approxBuilds
number of calls to build_approximation()
Definition: SurrogateModel.hpp:217
StringArray discreteStrAleatoryUncLabels
labels for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:737
SizetMultiArrayConstView inactive_continuous_variable_ids() const
return the inactive continuous variable position identifiers
Definition: DakotaVariables.hpp:1609
size_t relaxIndex
index into relaxFactorSequence
Definition: NonDEnsembleSampling.hpp:230
void assign_asynch_local_queue_nowait(PRPQueue &local_prp_queue, PRPQueueIter &local_prp_iter)
helper function for updating an active local queue by backfilling asynch local jobs from local_prp_qu...
Definition: ApplicationInterface.cpp:2081
static NCSUOptimizer * ncsudirectInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NCSUOptimizer.hpp:140
int crossoverChainPairs
number of crossover chain pairs
Definition: DataMethod.hpp:1315
BOOST_SERIALIZATION_SPLIT_MEMBER() std std::shared_ptr< Response > get_response(const SharedResponseData &srd, const ActiveSet &set) const
Used by standard envelope constructor to instantiate a new letter class.
UShortArray responseScaleTypes
scale flags for all responses
Definition: ScalingModel.hpp:183
void apply_simulation_error(const RealVector &simulation_error, size_t experiment)
apply simulation error to experiment data
Definition: ExperimentData.cpp:914
double * conminLowerBnds
Array of lower bounds used by CONMIN (length N1 = numdv+2)
Definition: CONMINOptimizer.hpp:213
const RealMatrix & function_gradients() const
return all function gradients
Definition: DakotaResponse.hpp:706
EvalType
enumeration for the type of evaluator function
Definition: SNLLBase.hpp:30
const RealVector & gradient(const Variables &vars)
retrieve the approximate function gradient for a given parameter vector
Definition: QMEApproximation.cpp:472
void print_smolyak_multi_index() const
invokes SparseGridDriver::print_smolyak_multi_index()
Definition: NonDSparseGrid.hpp:194
Driver(const ProblemConfig &probConfig)
Default constructs a Driver.
Definition: JEGAOptimizer.cpp:703
int symbolsSpec
initial specification of number of symbols
Definition: DDACEDesignCompExp.hpp:96
Real gradientTolerance
the gradient_tolerance specification in MethodOPTPPDC
Definition: DataMethod.hpp:524
virtual void stop_evaluation_servers()
send messages from iterator rank 0 to terminate evaluation servers
Definition: DakotaInterface.cpp:890
void ml_blue_offline_pilot()
Definition: NonDMultilevBLUESampling.cpp:280
virtual const SizetArray & nested_acv1_indices() const
return primaryACVarMapIndices
Definition: DakotaModel.cpp:5152
void response_results_active_set(const ActiveSet &set)
set the requested data for the final iterator response results
Definition: DakotaAnalyzer.hpp:345
int seed_sequence(size_t index)
extract current random seed from randomSeedSeqSpec
Definition: NonDEnsembleSampling.hpp:287
short surrBasedLocalAcceptLogic
SBL iterate acceptance logic: TR_RATIO or FILTER.
Definition: DataMethod.hpp:476
A version of TraitsBase specialized for SNLLLeastSq.
Definition: SNLLLeastSq.hpp:33
void run_hifi(const VariablesArray &optimal_config_matrix, RealMatrix &resp_matrix)
run high-fidelity model at several configs and add to experiment data
Definition: NonDBayesCalibration.cpp:1638
virtual void active_model_key(const Pecos::ActiveKey &key)
activate an approximation state based on its multi-index key
Definition: SharedApproxData.cpp:271
virtual void colin_request_to_dakota_request(const utilib::Any &domain, const colin::AppRequest::request_map_t &requests, utilib::seed_t &seed)
Helper function to convert evaluation request data from COLIN structures to DAKOTA structures.
Definition: COLINApplication.cpp:343
boost::function< bool(const bfs::path &src_path, const bfs::path &dest_path, bool overwrite)> file_op_function
define a function type that operates from src to dest, with option to overwrite
Definition: WorkdirHelper.hpp:40
void trans_X_to_U(const RealVector &x_c_vars, RealVector &u_c_vars)
transform x-space variable values to u-space
Definition: SurrogateModel.hpp:259
void export_all_samples(String root_prepend, const Model &model, size_t iter, size_t step)
export allSamples to tagged tabular file
Definition: NonDEnsembleSampling.cpp:355
void initialize()
shared code among model-based constructors
void update_lagrange_multipliers(const RealVector &fn_vals, const RealMatrix &fn_grads, SurrBasedLevelData &tr_data)
initialize and update Lagrange multipliers for basic Lagrangian
Definition: SurrBasedMinimizer.cpp:166
Derived approximation class for global basis polynomials.
Definition: SharedPecosApproxData.hpp:27
const IntVector & all_discrete_int_variables() const
returns a single array with all discrete variables
Definition: DakotaVariables.hpp:1635
size_t cv_index_to_active_index(size_t cv_index) const
convert index within active continuous variables to index within aggregated active variables (active ...
RealMatrix partialRankCorr
matrix to hold partial rank correlations
Definition: SensAnalysisGlobal.hpp:257
RealVector primaryRespCoeffs
the primary response mapping matrix used in nested models for weighting contributions from the sub-it...
Definition: DataModel.hpp:338
NonDMultilevControlVarSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultilevControlVarSampling.cpp:28
void run_dakota_parse(const char *dakota_input_file)
Run a Dakota LibraryEnvironment, mode 1: parsing an input file.
Definition: library_mode.cpp:188
Model dataTransformModel
Shallow copy of the data transformation model, when present (cached in case further wrapped by other ...
Definition: DakotaMinimizer.hpp:297
bool modelAsynchFlag
flag for asynchronous function evaluations
Definition: APPSEvalMgr.hpp:98
bool subspaceIdConstantine
Boolean flag signaling use of Constantine criterion to identify active subspace dimension.
Definition: ActiveSubspaceModel.hpp:223
static void not_available(const std::string &package_name)
Static helper function: third-party opt packages which are not available.
Definition: DakotaOptimizer.hpp:659
OPTPP::OptQNIPS * optqnips
Quasi-Newton NIPS optimizer pointer.
Definition: SNLLOptimizer.hpp:347
static void change_directory(const bfs::path &new_dir)
change current directory
Definition: WorkdirHelper.cpp:74
void reset_ml_Qsums(IntRealMatrixMap &sum_Ql, IntRealMatrixMap &sum_Qlm1, IntIntPairRealMatrixMap &sum_QlQlm1)
reset existing ML accumulators to zero for all keys
Definition: NonDMultilevelSampling.cpp:698
void archive_std_regress_coeffs(const StrStrSizet &run_identifier, ResultsManager &iterator_results, const StringArray &var_labels, const StringArray &resp_labels, const size_t &inc_id=0) const
save standardized regression coefficients to database
Definition: SensAnalysisGlobal.cpp:566
size_t cellCntr
cell counter
Definition: NonDInterval.hpp:133
void combine_approximation()
combine all level approximations into a separate composite approximation
Definition: DataFitSurrModel.cpp:942
void pop_coefficients(bool save_data)
removes entries from end of SurrogateData::{vars,resp}Data (last points appended, or as specified in ...
Definition: PecosApproximation.hpp:783
static String no_spec_id()
return the next available model ID for on-the-fly methods
Definition: DakotaModel.cpp:6237
const ShortArray & nested_acv2_targets() const
return secondaryACVarMapTargets
Definition: DataFitSurrModel.hpp:532
bool expansionCoeffGradFlag
flag indicating need to build a fn train gradient approx for this QoI
Definition: C3Approximation.hpp:245
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: SurrBasedMinimizer.cpp:116
void initialize_recast()
Initialize the base class RecastModel with reduced space variable sizes.
Definition: RandomFieldModel.cpp:270
UInt64Matrix scrambledGeneratingMatrices
Scrambled generating matrices of this digital net.
Definition: DigitalNet.hpp:100
void cache_chain()
cache the chain to acceptanceChain and acceptedFnVals
Definition: NonDMUQBayesCalibration.cpp:488
std::map< Pecos::ActiveKey, RealVector > referenceCLBnds
stores a reference copy of active continuous lower bounds when the approximation is built; used to de...
Definition: EnsembleSurrModel.hpp:450
Minimizer * prevMinInstance
pointer containing previous value of minimizerInstance
Definition: DakotaMinimizer.hpp:308
NonDSampling(Model &model, const RealMatrix &sample_matrix)
alternate constructor for evaluating and computing statistics for the provided set of samples
Definition: NonDSampling.cpp:217
Stationary kernel with C^1 smooth realizations.
Definition: SurrogatesGPKernels.hpp:126
RealMatrix secondaryRespCoeffs
"secondary" response_mapping matrix applied to the sub-iterator response functions....
Definition: NestedModel.hpp:424
const int seedSpec
the user seed specification (default is 0)
Definition: NonDGlobalInterval.hpp:143
RealVector simulationVariance
simulation variance
Definition: SharedResponseData.hpp:111
Real variance_scalarization_Qsum(const IntRealMatrixMap &sum_Ql, const IntRealMatrixMap &sum_Qlm1, const IntIntPairRealMatrixMap &sum_QlQlm1, const Sizet2DArray &N_l, const size_t step, const size_t qoi)
wrapper for var_of_scalarization_ml
Definition: NonDMultilevelSampling.cpp:1039
const int seedSpec
the user seed specification for the random number generator (allows repeatable results)
Definition: DDACEDesignCompExp.hpp:104
short lsRegressionType
type of least squares regression: SVD or EQ_CON_QR
Definition: DataMethod.hpp:1026
virtual ~DakotaROLObjectiveGrad()
Destructor.
Definition: ROLOptimizer.hpp:229
virtual void initialize_response_covariance()
initializes respCovariance
Definition: DakotaNonD.cpp:265
virtual bool finalize_mapping()
restore state in preparation for next initialization; returns true if the variables size has changed
Definition: DakotaModel.cpp:3952
void active_set_request_values(short asv_val)
return the default active set request vector (used by iterators that employ evaluate_parameter_sets()...
Definition: DakotaIterator.hpp:771
const String & interface_id() const
return the subModel interface identifier
Definition: RecastModel.hpp:1140
@ Valueless
option that may never have a value
Definition: CommandLineHandler.hpp:32
std::shared_ptr< Kernel > kernel_factory(const std::string &kernel_type)
Creates a derived Kernel class.
Definition: SurrogatesGPKernels.cpp:218
void decrement_order()
decrements polynomial expansion order (PCE, FT)
Definition: SharedPecosApproxData.hpp:385
virtual GeneticAlgorithmOperator * Clone(GeneticAlgorithm &algorithm) const
Creates and returns a pointer to an exact duplicate of this operator.
Definition: JEGAOptimizer.cpp:432
bool preRunFlag
flags invocation with command line option -pre_run
Definition: ProgramOptions.hpp:251
const std::vector< std::string > & variable_labels() const
Get the (possibly empty) variable/feature names.
Definition: SurrogatesBase.cpp:47
void(* userObjective1)(int mode, int n, const RealVector &x, double &f, RealVector &grad_f, int &result_mode)
cache first-order objective call-back function
Definition: SNLLOptimizer.hpp:389
Real compute_lower_confidence_bound(const RealVector &means, const RealVector &variances)
lower confidence bound (LCB) function for the EGO LCB acquisition function implementation
Definition: EffGlobalMinimizer.cpp:1057
int discrete_int_lower_bound(size_t i) const
return an active discrete variable lower bound
Definition: DakotaConstraints.hpp:510
Real statsRoundingTol
arithmetic (rounding) tolerance for FT sums and products
Definition: DataMethod.hpp:827
void print_metadata(std::ostream &os, const MetaDataType &md) const
print metadata to ostream
Definition: ResultsDBAny.cpp:138
StringScale(const std::string &in_label, std::vector< std::vector< const char * > > in_items, ScaleScope in_scope=ScaleScope::UNSHARED)
Constructor that takes a vector<vector<const char *> > to produce a 2D scale.
Definition: dakota_results_types.hpp:466
String prevVarsId
for tracking need to update variables label arrays
Definition: DirectApplicInterface.hpp:235
void initialize_covariance(Approximation &approx_2)
initialize covariance accumulators with pointers to other QoI
Definition: PecosApproximation.hpp:429
void prior_variance(MatrixType &var_mat) const
return the covariance of the prior distribution
Definition: NonDBayesCalibration.hpp:787
Model mcmcModel
Model instance employed in the likelihood function; provides response function values from Gaussian p...
Definition: NonDBayesCalibration.hpp:283
RealVector lognormalUncMeans
means of the lognormal uncertain variables (from the means specification in VarCAUV_Lognormal)
Definition: DataVariables.hpp:330
int numAnalysisServers
current number of analysis servers
Definition: ApplicationInterface.hpp:227
void send_sol_option(std::string sol_option) override
Resize and send option to NPSOL (npoptn) or NLSSOL (nloptn) via derived implementation.
Definition: NLSSOLLeastSq.cpp:276
void discrepancy_emulation_mode(short mode)
set discrepancy emulation mode for approximating response differences
Definition: SharedApproxData.hpp:311
OPTPP::OptimizeClass * theOptimizer
optimizer base class pointer
Definition: SNLLLeastSq.hpp:190
String discrepancyType
set discrepancy type
Definition: NonDBayesCalibration.hpp:353
void broadcast_evaluation(const ParamResponsePair &pair)
convenience function for broadcasting an evaluation over an evalComm
Definition: ApplicationInterface.hpp:644
FILE * devNull
pointer to /dev/null
Definition: TrackerHTTP.hpp:106
OPTPP::OptQNewton * optqnewton
Quasi-Newton optimizer pointer.
Definition: SNLLOptimizer.hpp:341
virtual void update_local_results(int job_index)
used by IteratorScheduler to update local results arrays
Definition: DakotaIterator.cpp:1426
void extract_qoi_build_data(size_t data_index, RealVector &fn_vals)
extra response function build data from across the set of QoI
Definition: EffGlobalMinimizer.cpp:763
~DataResponses()
destructor
Definition: DataResponses.cpp:148
size_t find_index(const ContainerType &c, const typename ContainerType::value_type &search_data)
generic find_index (inactive)
Definition: dakota_data_util.hpp:1437
RealVector anisoDimPref
the dimension_preference specification for tensor and sparse grids and expansion orders in MethodNonD...
Definition: DataMethod.hpp:1014
void pack(const long &data)
Pack a long.
Definition: MPIPackBuffer.hpp:93
size_t numACV
total number of continuous variables
Definition: DirectApplicInterface.hpp:156
int randomSeed
C3 regression solver employs a random seed.
Definition: SharedC3ApproxData.hpp:274
void initialize_active_types(Pecos::MultivariateDistribution &mv_dist)
initialize distribution types from problemDescDB
Definition: DakotaModel.cpp:698
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: OptDartsOptimizer.hpp:41
void accumulate_acv_sums(IntRealMatrixMap &sum_L_baseline, IntRealVectorMap &sum_H, IntRealSymMatrixArrayMap &sum_LL, IntRealMatrixMap &sum_LH, RealVector &sum_HH, SizetArray &N_shared)
Definition: NonDACVSampling.cpp:644
RealMatrix normTrainPointsAll
Set of all original samples available.
Definition: GaussProcApproximation.hpp:230
short integrationOrder
integration order (1 or 2) provided by integration specification
Definition: NonDLocalReliability.hpp:337
int asynchLocalEvalConcSpec
user specification for asynchronous local evaluation concurrency
Definition: ApplicationInterface.hpp:241
void flush()
flush the restart stream so we have a complete restart record should Dakota abort
Definition: OutputManager.cpp:1072
virtual void rebuild()
rebuilds the approximation incrementally
Definition: DakotaApproximation.cpp:272
Real vbdDropTol
tolerance for omitting output of small VBD indices computed via either PCE or sampling
Definition: DakotaAnalyzer.hpp:221
int procsPerEvalSpec
user specification for processors per analysis servers
Definition: ApplicationInterface.hpp:415
const double SCALING_LN_LOGBASE
ln(SCALING_LOGBASE); needed in transforming variables in several places
Definition: ScalingModel.cpp:28
void broadcast()
invokes send_db_buffer() and receive_db_buffer() to broadcast DB data across the processor allocation...
Definition: ProblemDescDB.cpp:213
void set_evaluation_reference()
set the evaluation counter reference points for the SimulationModel (request forwarded to userDefined...
Definition: SimulationModel.hpp:433
const RealVector & approximation_variances(const Variables &vars)
retrieve the approximation variances from the subModel
Definition: RecastModel.hpp:1027
short discrepEmulationMode
approach for emulating response differences: {DEFAULT,DISTINCT,RECURSIVE}_EMULATION
Definition: SharedApproxData.hpp:251
bool initialize_mapping(ParLevLIter pl_iter)
Perform any global updates prior to individual evaluate() calls; returns true if the variables size h...
Definition: RecastModel.hpp:669
void read(std::istream &s, const unsigned short format=FLEXIBLE_RESULTS)
read a response object of specified format from a std::istream
UShortArray contVarPartitions
number of partitions for each continuous variable in a multidim_parameter_study
Definition: ParamStudy.hpp:250
virtual bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: DakotaTraitsBase.hpp:67
static void EFF_objective_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the objective function in the Expected Feasibility (EFF) problem formulation ...
Definition: NonDGlobalReliability.cpp:911
static NonDBayesCalibration * nonDBayesInstance
Pointer to current class instance for use in static callback functions.
Definition: NonDBayesCalibration.hpp:481
void initialize_sub_model()
construct and initialize approxSubProbModel
Definition: SurrBasedLocalMinimizer.cpp:137
int nestedModelEvalCntr
number of calls to derived_evaluate()/derived_evaluate_nowait()
Definition: NestedModel.hpp:257
void update_best(const Variables &vars, int eval_id, const Response &response)
compares current evaluation to best evaluation and updates best
Definition: DakotaAnalyzer.cpp:815
std::string specifiedResultsFileName
the name of the results file from user specification
Definition: ProcessApplicInterface.hpp:184
void get_cov_matrix()
calculates the covariance matrix for a given set of input points
Definition: GaussProcApproximation.cpp:403
std::vector< MatrixXd > compute_cw_dists_squared(const std::vector< MatrixXd > &cw_dists)
Compute a vector of component-wise squared distances from a vector of component-wise signed distances...
Definition: SurrogatesGPKernels.cpp:191
void LoadTheConstraints(JEGA::FrontEnd::ProblemConfig &pConfig)
Adds ConstraintInfo objects into the problem configuration object.
Definition: JEGAOptimizer.cpp:1514
Real adaptedBasisCollocRatio
collocation ratio for low-order PCE used to compute rotation matrix within adapted basis approach to ...
Definition: DataModel.hpp:479
SizetArray randomSeedSeq
the seed_sequence specification for multilevel UQ methods
Definition: DataMethod.hpp:797
void store_matrix(const std::string &dset_name, const Teuchos::SerialDenseMatrix< int, T > &matrix, const bool &transpose=false) const
Store matrix (2D) information to a dataset.
Definition: HDF5_IO.hpp:548
Base class for local/global surrogate-based optimization/least squares.
Definition: SurrBasedMinimizer.hpp:27
void resize_from_subordinate_model(size_t depth=SZ_MAX)
pass request to subModel if recursing and then resize from its results
Definition: RecastModel.hpp:819
void stop_servers()
executed by the master to terminate subModel server operations when RecastModel iteration is complete...
Definition: RecastModel.hpp:1120
short wilksSidedInterval
Wilks sided interval type.
Definition: DataMethod.hpp:894
virtual void update_model_from_variables(Model &model, const Variables &vars)
update model's current variables with data from vars
Definition: DakotaAnalyzer.cpp:402
size_t numDiscSetIntUncVars
number of variables of type DISCRETE_UNCERTAIN_SET_INT
Definition: NonDInterval.hpp:95
String outputFile
file name for output redirection (overrides command-line)
Definition: DataEnvironment.hpp:49
virtual bool initialize_mapping(ParLevLIter pl_iter)
Perform any global updates prior to individual evaluate() calls; returns true if the variables size h...
Definition: DakotaModel.cpp:3927
virtual void initial_point(const Variables &pt)
sets the initial point for this iterator (user-functions mode for which Model updating is not used)
Definition: DakotaIterator.cpp:1491
static void PMA2_set_mapping(const Variables &recast_vars, const ActiveSet &recast_set, ActiveSet &sub_model_set)
static function used to augment the sub-model ASV requests for second-order PMA
Definition: NonDLocalReliability.cpp:2155
void DAKOTA_DLL_FN dakota_get_variable_info(int id, char ***pVarNames, int *pNumVarNames, char ***pRespNames, int *pNumRespNames)
return the variable and response names
Definition: dakota_dll_api.cpp:262
Base class for the reliability methods within DAKOTA/UQ.
Definition: NonDReliability.hpp:27
void remove_params_results_files(const bfs::path ¶ms_path, const bfs::path &results_path) const
Remove (potentially autotagged for multiple programs) parameters and results files with passed root n...
Definition: ProcessApplicInterface.cpp:844
const MPI_Comm & hub_server_inter_communicator() const
return hubServerInterComm
Definition: ParallelLibrary.hpp:351
bool logitTransform
flag indicating user activation of logit transform option
Definition: NonDQUESOBayesCalibration.hpp:178
static int VLR_aleatory[NUM_UNC_REAL_CONT]
which uncertain real check array containers are aleatory (true = 1)
Definition: NIDRProblemDescDB.cpp:5226
void multilevel_mc_offline_pilot()
Qsum approach using a pilot sample treated as separate offline cost.
Definition: NonDMultilevelSampling.cpp:344
size_t maxSolverIterations
maximum number of regression solver iterations (specialization of maxIterations)
Definition: NonDExpansion.hpp:615
RealVector upper_bounds
Upper bounds for sub-problem.
Definition: PEBBLBranching.hpp:69
UShortMultiArrayConstView continuous_variable_types() const
return the active continuous variable types
Definition: DakotaVariables.hpp:1292
bool resize()
reinitializes iterator based on new variable size
Definition: NonDPolynomialChaos.cpp:685
void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to RecastModel (forward to subModel.evaluate_nowait())
Definition: SubspaceModel.cpp:345
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDGPImpSampling.cpp:588
double * A
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:243
unsigned short kickOrder
user specification for increment in order used within adapt_order
Definition: SharedC3ApproxData.hpp:221
void set_communicators(const IntArray &message_lengths, int max_eval_concurrency)
set the local parallel partition data for an interface (the partitions are already allocated in Paral...
Definition: ApplicationInterface.cpp:156
void initialize_level_mappings()
size computed{Resp,Prob,Rel,GenRel}Levels
Definition: DakotaNonD.cpp:805
void set_apps_parameters()
sets options for specific methods based on user specifications
Definition: APPSOptimizer.cpp:105
void sub_iterator_flag(bool si_flag)
set subIteratorFlag (and update summaryOutputFlag if needed)
Definition: DakotaIterator.cpp:1843
IteratorScheduler subIteratorSched
scheduling object for concurrent iterator parallelism
Definition: NestedModel.hpp:287
Real startMPITime
start reference for MPI wall clock timer
Definition: ParallelLibrary.hpp:1018
short annRandomWeight
random weight for artificial neural network approximation
Definition: DataModel.hpp:262
SizetSet approxFnIndices
for incomplete approximation sets, this array specifies the response function subset that is approxim...
Definition: ApproximationInterface.hpp:209
bool python_convert_strlist(const StringArrayT &src, PyObject **dst)
convert labels
Definition: PythonInterface.cpp:433
void c_step(size_t c_index, int increment, Variables &vars)
helper function for performing a continuous step in one variable
Definition: ParamStudy.hpp:661
MPIManager & mpi_manager()
return mpiManager
Definition: DakotaEnvironment.hpp:178
const Model & algorithm_space_model() const
Definition: NonDReliability.hpp:109
void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaAnalyzer.cpp:215
short prevDSSView
previous view used in discrete_set_string_values(view): avoids recomputation of activeDiscSetStringVa...
Definition: DakotaModel.hpp:1716
size_t numReplicates
Number of bootstrap samples for subspace identification.
Definition: ActiveSubspaceModel.hpp:232
void write_tabular(std::ostream &s, unsigned short vars_part=ALL_VARS) const
write a variables object in tabular format to an std::ostream, optionally specifying which partition ...
Definition: MixedVariables.cpp:115
static bool link(const bfs::path &src_path, const bfs::path &dest_dir, bool overwrite)
create link from dest_dir/src_path.filename() to a single path (file, dir, link) in source directory
Definition: WorkdirHelper.cpp:750
Real value(const Variables &vars)
retrieve the function value for a given parameter set
Definition: GaussProcApproximation.cpp:203
void update_system_final_statistics_gradients()
update finalStatistics::functionGradients
Definition: DakotaNonD.cpp:734
const BitArray & discrete_int_sets()
define and return discreteIntSets using active view from currentVariables
Definition: DakotaModel.hpp:2387
SizetSet surrogateFnIndices
array specifying the response function set that is approximated
Definition: DataModel.hpp:140
Real computeDSTIEN_conversion_factor(const size_t number_of_samples, const Real alpha)
This routine computes the multiplicative conversion factor to be applied to the sample standard devia...
Definition: tolerance_intervals.cpp:36
void update_u_space_sampler(size_t sequence_index, const UShortArray &approx_orders)
perform sampler updates after a change to numSamplesOnModel (shared code from ML/MF updaters)
Definition: NonDExpansion.cpp:1984
String subMethodPointer
pointer to a sub-iterator used for global approximations (from the dace_method_pointer specification ...
Definition: DataModel.hpp:116
std::string getEvaluatorType(void) const
return the type of the Dakota linked evaluator
Definition: APPSEvalMgr.cpp:169
String hessianType
type of Hessians present in associated Response
Definition: ApplicationInterface.hpp:493
void active_labels(const Variables &vars)
copy all cv/div/dsv/drv variable labels from vars
Definition: DakotaVariables.hpp:1184
int numReplicates
Number of bootstrap samples for subspace identification.
Definition: DataModel.hpp:389
Real linear_model_cost(const RealVector &N_vec)
constraint helper function shared by NPSOL/OPT++ static evaluators
Definition: NonDGenACVSampling.cpp:1550
size_t stopRestartEvals
eval number at which to stop restart read
Definition: ProgramOptions.hpp:242
const RealVector & fd_hessian_by_grad_step_size() const
return gradient-based finite difference Hessian step size (fdHessByGradStepSize)
Definition: DakotaModel.hpp:3655
std::string get_uid() const
get the real user ID
Definition: TrackerHTTP.cpp:283
void print_restart_tabular(StringArray pos_args, String print_dest, unsigned short tabular_format, int tabular_precision)
print a restart file (tabular format)
Definition: restart_util.cpp:466
DataModel()
constructor
Definition: DataModel.cpp:218
void calculate_cbf_cpf(bool complementary=true)
function to compute (complementary) distribution functions on belief and plausibility replaces CCBFPF...
Definition: NonDInterval.cpp:359
MatrixXd gradient(const MatrixXd &eval_points, const int qoi) override
Evaluate the gradient of the Gaussian process at a set of prediction points for a single QoI.
Definition: SurrogatesGaussianProcess.cpp:329
std::shared_ptr< Pecos::SharedPolyApproxData > pecosSharedDataRep
convenience pointer to derived letter within pecosSharedData
Definition: SharedPecosApproxData.hpp:168
DakotaROLEqConstraintsGrad(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:757
void archive_best_constraints() const
archive the index'th set of constraints
Definition: DakotaMinimizer.cpp:1006
ResultsNames resultsNames
valid names for iterator results
Definition: DakotaIterator.hpp:535
static StringRealMap levenshteinDistanceCache
Cache results of Levenshtein distance calc for efficiency.
Definition: TestDriverInterface.hpp:155
RealVector fnValsMeanX
response function values evaluated at mean x
Definition: NonDLocalReliability.hpp:282
size_t adiv_index_to_all_index(size_t adiv_index) const
convert index within all discrete integer variables to index within aggregated variables (all contino...
Definition: SharedVariablesData.hpp:1181
void update_pma_maximize(const RealVector &mpp_u, const RealVector &fn_grad_u, const RealSymMatrix &fn_hess_u)
update pmaMaximizeG from prescribed probabilities or prescribed generalized reliabilities by invertin...
Definition: NonDLocalReliability.cpp:1816
bool python_convert(const RealVector &src, PyObject **dst)
convert RealVector to Python list or numpy array
Definition: PythonInterface.cpp:358
void compute_reduced_indices(int num_dims, int level, MatrixXi &indices)
Compute the reduced indices for all levels up to level.
Definition: surrogates_tools.cpp:177
bool ordered_approx_sequence(const RealVector &metric, SizetArray &approx_sequence, bool descending_keys=false)
define approx_sequence in increasing metric order
Definition: NonDNonHierarchSampling.hpp:1483
void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: FSUDesignCompExp.cpp:222
virtual bool db_lookup(const Variables &search_vars, const ActiveSet &search_set, Response &found_resp)
search the eval database (during derivative estimation); derived may need to reimplement due to probl...
Definition: DakotaModel.cpp:6027
int world_rank() const
get the rank of this process in Dakota's MPI_Comm
Definition: MPIManager.hpp:77
size_t numFinalSolutions
number of final solutions returned from the iterator
Definition: DataMethod.hpp:350
Model & model_from_index(unsigned short m_index)
return the model from {approxModels,truthModel} corresponding to m_index
Definition: EnsembleSurrModel.hpp:813
void read(MPIUnpackBuffer &s)
helper function for reading some class data from MPI buffer
Definition: ProgramOptions.cpp:393
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: DataFitSurrBasedLocalMinimizer.hpp:60
MatrixXd predGramMatrix
Gram matrix for the prediction points.
Definition: SurrogatesGaussianProcess.hpp:405
void weight_model()
Wrap iteratedModel in a RecastModel that weights the residuals.
Definition: NonDBayesCalibration.cpp:3806
size_t num_functions() const
total number of response functions (pri scalars + 1-norm of priFieldLengths + secondary scalars)
Definition: SharedResponseData.hpp:351
String challengeFile
data file for user-supplied challenge data (per interface, since may contain multiple responses)
Definition: ApproximationInterface.hpp:239
bool find_approx_response(const Variables &search_vars, Response &search_resp)
locate an approximate response with the data_pairs cache
Definition: SurrBasedLocalMinimizer.hpp:247
IntVector contStepsPerVariable
number of offsets in the plus and the minus direction for each continuous variable in a centered_para...
Definition: ParamStudy.hpp:237
String patternBasis
the pattern_basis specification for APPS/PS methods in MethodAPPS and MethodSCOLIBPS
Definition: DataMethod.hpp:653
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: SNLLLeastSq.hpp:46
void derived_free_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
deallocate communicator partitions for the NestedModel (forwarded to optionalInterface and subModel)
Definition: NestedModel.cpp:665
void objective_hessian(const RealVector &fn_vals, const RealMatrix &fn_grads, const RealSymMatrixArray &fn_hessians, const BoolDeque &max_sense, const RealVector &primary_wts, RealSymMatrix &obj_hess) const
compute the Hessian of the composite objective function
Definition: DakotaMinimizer.cpp:585
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDAdaptiveSampling.cpp:1788
String exportApproxPtsFile
the file name from the export_approx_points_file specification in ModelSurrG
Definition: DataModel.hpp:188
void apply(const Variables &vars, Response &approx_response, bool quiet_flag=false)
apply the correction computed in compute() to approx_response
Definition: DiscrepancyCorrection.cpp:615
void select_index_set_candidate(std::set< UShortArray >::const_iterator cit_star)
promote selected index set candidate into reference grid + expansion
Definition: NonDExpansion.cpp:1801
void allocate_workspace(int num_cv, int num_nln_con, int num_lin_con, int num_lsq)
Allocates real and integer workspaces for the SOL algorithms.
Definition: SOLBase.cpp:143
bfs::path createdDir
non-empty if created for this eval; valid only from define_filenames to write_parameters_files
Definition: ProcessApplicInterface.hpp:223
std::string exportPosteriorSamplesFile
The filename of the export file containing samples from the posterior and their corresponding density...
Definition: NonDWASABIBayesCalibration.hpp:102
virtual void check_submodel_compatibility(const Model &sub_model)=0
verify compatibility between SurrogateModel attributes and attributes of the submodel (DataFitSurrMod...
RealVector cont_vars
Initial variable values for root node.
Definition: PEBBLBranching.hpp:28
void apply_covariance_inv_sqrt(const RealVector &residuals, size_t experiment, RealVector &weighted_residuals) const
apply inverse sqrt of the covariance to compute weighted residuals
Definition: ExperimentData.cpp:855
void calibrate_with_adaptive_emulator()
Run calibration, looping to refine emulator around posterior mode.
Definition: NonDBayesCalibration.cpp:891
ModelArray approxModels
set of model approximations
Definition: EnsembleSurrModel.hpp:283
RealVector proposalCovData
raw list of real data for the proposal covariance
Definition: DataMethod.hpp:1230
unsigned short exportFormat
file export format for variables and approximate responses
Definition: DataFitSurrModel.hpp:457
void register_pybind11_callback_fn(py::function callback)
register a python callback function
Definition: Pybind11Interface.hpp:104
void reset()
clears internal optimizer state
Definition: COLINOptimizer.hpp:187
String actualModelInterfaceId
the interface id from the actualModel used for ordered PRPCache lookups
Definition: ApproximationInterface.hpp:257
std::map< Pecos::ActiveKey, size_t > poppedCounts
number of instances within the popped arrays (mostly a placeholder for supporting push_available())
Definition: SharedC3ApproxData.hpp:314
void set_evaluation_reference()
set the evaluation counter reference points for the NestedModel (request forwarded to optionalInterfa...
Definition: NestedModel.hpp:670
const SizetSet & get_szs(const String &entry_name) const
get a SizetSet out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1776
Real approxFnStar
approximate response corresponding to minimum/maximum truth response
Definition: NonDGlobalInterval.hpp:104
void reset_inactive()
resets all inactive response data to zero
RealMatrix trendFunctionAll
Trend function values corresponding to all original samples.
Definition: GaussProcApproximation.hpp:234
Model fHatModel
GP model of response, one approximation per response function.
Definition: EffGlobalMinimizer.hpp:262
void build_active_views()
construct active views of all variables arrays
bool asvControlFlag
used to manage a user request to deactivate the active set vector control. true = modify the ASV each...
Definition: ApplicationInterface.hpp:471
unsigned short importApproxFormat
tabular format for the approx point import file
Definition: DataMethod.hpp:1412
const RealVector & continuous_variables() const
return the active continuous variables (Note: returns a view by const reference, but initializing a R...
Definition: DakotaVariables.hpp:815
RealMatrix acceptanceChain
Post-processing-related controls.
Definition: NonDBayesCalibration.hpp:466
void stop_iterator_servers()
executed by the scheduler master to terminate slave iterator servers
Definition: IteratorScheduler.cpp:483
void smooth_herbie1D(size_t der_mode, Real xc_loc, std::vector< Real > &w_and_ders)
1D components of smooth_herbie function
Definition: TestDriverInterface.cpp:4456
void insert_into(const StrStrSizet &iterator_id, const StringArray &location, const StoredType &data, const int &index, const bool &row=true) const
Insert a row or column into a matrix that was pre-allocated using allocate_matrix.
Definition: ResultsManager.hpp:160
void operator()(std::ostream &s, size_t start_index, size_t num_items, const ArrayType &array_data, StringMultiArrayConstView label_array)
Definition: DakotaVariables.hpp:85
void irecv_ea(int &recv_int, int source, int tag, MPI_Request &recv_req)
nonblocking receive at the evaluation-analysis communication level
Definition: ParallelLibrary.hpp:1746
ParallelLibrary()
default constructor (used for dummy_lib)
Definition: ParallelLibrary.cpp:43
RealSymMatrix GMat
the "G" matrix in Bomarito et al.
Definition: NonDGenACVSampling.hpp:247
void finalize_sets(bool output_sets, bool converged_within_tol, bool reverted)
invokes SparseGridDriver::finalize_sets()
Definition: NonDSparseGrid.hpp:235
void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: SurrBasedLocalMinimizer.cpp:390
void initialize()
perform any required initialization
Definition: NonDGlobalSingleInterval.cpp:30
void serialize(Archive &ar, const unsigned int version)
serialize through the pointer, which requires object tracking: write and read are symmetric for this ...
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDMultilevelFunctionTrain.cpp:459
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDLocalReliability.cpp:413
StringArray discreteStrAleatoryUncLowerBnds
distribution lower bounds for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:732
RealList deltaList
transfers deltas from estimate_derivatives() to synchronize_derivatives()
Definition: DakotaModel.hpp:1661
std::map< var_t, String > xDSM
map from var_t enum to discrete string val
Definition: DirectApplicInterface.hpp:189
IntVector discreteIntAleatoryUncVars
array of values for all discrete integer aleatory uncertain variables
Definition: DataVariables.hpp:718
IntVector approxDILowerBnds
approximation continuous lower bounds
Definition: SharedApproxData.hpp:265
string asstring(const T &val)
Creates a string from the argument val using an ostringstream.
Definition: JEGAOptimizer.cpp:163
RealVector ranVarMeansU
vector of means for all uncertain random variables in u-space
Definition: NonDLocalReliability.hpp:296
String label
Key for the attribute.
Definition: dakota_results_types.hpp:513
String intervalType
type of numerical gradient interval: central or forward
Definition: DakotaModel.hpp:1427
Performs Multilevel Monte Carlo sampling for uncertainty quantification.
Definition: NonDMultilevelSampling.hpp:31
void copy_column_vector(const RealMatrix &m, RealMatrix::ordinalType j, VectorType &col)
Copies a column of a Teuchos_SerialDenseMatrix<int,Real> to std::vector<Real>
Definition: dakota_data_util.hpp:1116
virtual bool is_derived()
A temporary query used in the refactor.
Definition: DakotaTraitsBase.hpp:51
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: JEGAOptimizer.hpp:626
void decrement_grid()
decrement ssgDriver::ssgLevel
Definition: NonDSparseGrid.cpp:304
void compute_ml_estimator_variance(const RealMatrix &var_Y, const Sizet2DArray &num_Y, RealVector &ml_est_var)
compute MLMC estimator variance from level QoI variances
Definition: NonDMultilevelSampling.hpp:977
Real computedRespLevel
output response level calculated
Definition: NonDLocalReliability.hpp:259
size_t discrete_design()
return total number of design variables
Definition: DataVariables.hpp:922
SharedVariablesData copy(const ShortShortPair &view) const
create a deep copy of the current object, copy its core data, update the view, and return by value
Real centeringParam
the centering_parameter specification for nonlinear interior-point methods in MethodOPTPPDC
Definition: DataMethod.hpp:535
void set_relax(const BitArray &user_cat_spec, size_t ucs_index, size_t ard_cntr, BitArray &ard_container)
Set the ard_cntr entry in the all-relaxed-discrete integer or real container ard_container,...
TKFactoryDIPCLogit tk_factory_dipclogit("dakota_dipc_logit_tk")
Static registration of Logit RW TK with the QUESO TK factory.
A specialization of the JEGA::FrontEnd::EvaluatorCreator that creates a new instance of a Evaluator.
Definition: JEGAOptimizer.cpp:525
~QMEApproximation()
destructor
Definition: QMEApproximation.hpp:115
void wait_local_evaluations(PRPQueue &prp_queue)
For asynchronous function evaluations, this method is used to detect completion of jobs and process t...
Definition: ProcessApplicInterface.cpp:276
void derived_set_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag)
portion of set_communicators() specific to derived model classes
Definition: ActiveSubspaceModel.cpp:1380
String quasiHessianType
quasi-Hessian type: bfgs, damped_bfgs, or sr1 (from the bfgs and sr1 specifications in RespHess)
Definition: DataResponses.hpp:193
String optInterfacePointer
the optional interface pointer from the nested model specification
Definition: NestedModel.hpp:311
size_t cvStart
start index of active continuous variables within allContinuousVars
Definition: SharedVariablesData.hpp:250
const RealVector & gradient(const Variables &vars) override
retrieve the approximate function gradient for a given parameter vector
Definition: DakotaSurrogates.cpp:201
char * basename(char *const p) const
extract the base name from a string as delimited by '/'
Definition: CommandLineHandler.cpp:42
virtual void minimize()
solve the approximate subproblem
Definition: SurrBasedLocalMinimizer.cpp:527
Real moment(size_t i) const
return primary moment using Pecos::PolynomialApproximation::moment(i)
Definition: PecosApproximation.hpp:691
void compute_gram_derivs(const MatrixXd &gram, const std::vector< MatrixXd > &dists2, const VectorXd &theta_values, std::vector< MatrixXd > &gram_derivs) override
Compute the derivatives of the Gram matrix with respect to the kernel hyperparameters.
Definition: SurrogatesGPKernels.cpp:125
String idResponses
string identifier for the responses specification data set (from the id_responses specification in Re...
Definition: DataResponses.hpp:52
short distributionType
the distribution cumulative or complementary specification in MethodNonD
Definition: DataMethod.hpp:1161
double dMeas
quality measure
Definition: DakotaPStudyDACE.hpp:86
unsigned short importCandFormat
tabular format for the candidate design points import file
Definition: DataMethod.hpp:1293
bool modelAutoGraphicsFlag
flag for posting of graphics data within evaluate() (automatic graphics posting in the model as oppos...
Definition: DakotaModel.hpp:1640
void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to RecastModel (forward to subModel.evaluate())
Definition: RecastModel.cpp:504
PecosApproximation()
default constructor
Definition: PecosApproximation.hpp:349
MFSolutionData & operator=(const MFSolutionData &)
assignment operator
Definition: NonDNonHierarchSampling.hpp:151
bool mutationAdaptive
the non_adaptive specification for the coliny_ea method in MethodSCOLIBEA
Definition: DataMethod.hpp:588
void pop_output_tag()
(Potentially) remove an output context and rebind streams
Definition: OutputManager.cpp:324
void write(std::ostream &s) const
write a DataResponses object to an std::ostream
Definition: DataResponses.hpp:366
const RealVector & callback_linear_ineq_upper_bounds() const
return linear constraint upper bounds for this iterator (user-functions mode for which iteratedModel ...
Definition: NCSUOptimizer.hpp:194
std::shared_ptr< Iterator > get_iterator(ProblemDescDB &problem_db)
Used by the envelope to instantiate the correct letter class.
Definition: DakotaIterator.cpp:329
Perform Approximate Control Variate Monte Carlo sampling for UQ.
Definition: NonDACVSampling.hpp:27
void set_blocking_synch(const bool blockingSynchFlag)
publishes whether or not APPS is operating synchronously
Definition: APPSEvalMgr.hpp:77
colin::SolverHandle colinSolver
handle to the COLIN solver
Definition: COLINOptimizer.hpp:164
virtual Pecos::ProbabilityTransformation & probability_transformation()
return probability transformation employed by the Model (forwarded along to ProbabilityTransformModel...
Definition: DakotaModel.cpp:3914
const std::vector< Pecos::BasisPolynomial > & polynomial_basis() const
return IntegrationDriver::polynomialBasis
Definition: NonDIntegration.hpp:146
bool batchAsynch
algorithm option for fully asynchronous batch updating of the GP
Definition: EffGlobalMinimizer.hpp:307
const RealVector & linear_ineq_constraint_lower_bounds() const
return the linear inequality constraint lower bounds
Definition: DakotaConstraints.hpp:1010
void compute_pred_dists(const MatrixXd &scaled_pred_pts)
Compute distances between build and prediction points. This includes build-prediction and prediction-...
Definition: SurrogatesGaussianProcess.cpp:676
Derived class for plugging Dakota evaluations into NOWPAC solver.
Definition: NOWPACOptimizer.hpp:22
size_t numVars
total number of continuous and discrete variables
Definition: DirectApplicInterface.hpp:155
void assign_specification_sequence()
assign the current values from the input specification sequence
Definition: NonDMultilevelFunctionTrain.cpp:330
void qoi_set_to_key_index(size_t qoi_set, size_t &key_index)
for aggregate active keys that input a single set of data, some mapping from QoI sets to key indices ...
Definition: ApproximationInterface.hpp:353
void synchronous_local_analyses(int start, int end, int step)
execute analyses synchronously on the local processor
Definition: ProcessApplicInterface.hpp:263
void assign_specification_sequence()
assign the current values from the input specification sequence
Definition: NonDMultilevelStochCollocation.cpp:253
bool config_expectation(size_t exp_samples, unsigned short sample_type, int seed, const String &rng, Iterator &u_space_sampler, Model &g_u_model, String &approx_type)
configure u_space_sampler and approx_type based on expansion_samples specification
Definition: NonDPolynomialChaos.cpp:486
structure for validating string uncertain variable labels, bounds, values
Definition: NIDRProblemDescDB.cpp:5142
int procRemainder
proc remainder after equal distribution
Definition: ParallelLibrary.hpp:123
boost::mt19937 rnumGenerator
random number engine for sampling the prior
Definition: NonDWASABIBayesCalibration.hpp:117
int evaluation_id() const
return Model's (top-level) evaluation counter, not to be confused with derived counter returned by de...
Definition: DakotaModel.hpp:1735
void initiate_random_number_generator(unsigned long x)
POF Darts Methods.
Definition: NonDPOFDarts.cpp:157
void discrete_real_variable_type(unsigned short drv_type, size_t i)
set an active discrete variable type in currentVariables
Definition: DakotaModel.hpp:2046
Real continuous_variable(size_t i) const
return an active continuous variable from currentVariables
Definition: DakotaModel.hpp:1844
void unpack(u_long *data, const int num=1)
Unpack one or more unsigned long's.
MatrixXd targetValues
Target values for the surrogate dataset.
Definition: SurrogatesGaussianProcess.hpp:342
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDLHSSampling.cpp:1029
void clear_active_data()
clears all data from an approximation interface
Definition: ApproximationInterface.hpp:543
void configure_constraint_maps()
Definition: DakotaOptimizer.cpp:497
Analyzer()
default constructor
Definition: DakotaAnalyzer.hpp:267
void config_integration(unsigned short quad_order, unsigned short ssg_level, const RealVector &dim_pref, short u_space_type, Iterator &u_space_sampler, Model &g_u_model)
configure u_space_sampler based on numerical integration specification
Definition: NonDStochCollocation.cpp:199
static void EIF_objective_eval(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
static function used as the objective function in the Expected Improvement (EIF) problem formulation ...
Definition: NonDGlobalReliability.cpp:896
bool kappaUpdated
track when kappaU requires updating via principal_curvatures()
Definition: NonDLocalReliability.hpp:335
void load(Archive &ar, const unsigned int version)
load the core shared variables data and restore class state
PYBIND11_MODULE(environment, m)
Define a Python module that wraps a few top-level dakota functions Module name is really generic due ...
Definition: dakota_python.cpp:116
virtual void trans_U_to_X(const RealVector &u_c_vars, RealVector &x_c_vars)
transform u-space variable values to x-space
Definition: DakotaModel.cpp:5213
bool shortStep
flags finite-difference step size adjusted by bounds
Definition: DakotaModel.hpp:1627
void enforce_null_model()
ensure iteratedModel is null when using function callbacks for evaluation
Definition: DakotaMinimizer.hpp:350
PYBIND11_MODULE(surrogates, m)
Define a Python module that wraps a few surrogates classes Module name is really generic due to overl...
Definition: surrogates_python.cpp:101
void get_grad_cov_vector()
Calculate the derivatives of the covariance vector, with respect to each componeent of x.
Definition: GaussProcApproximation.cpp:740
void receive_db_buffer()
MPI receive of a large buffer containing environmentSpec and all objects in dataMethodList,...
Definition: ProblemDescDB.cpp:925
void compute_combined_diagonal_variance()
calculate the diagonal response variance of the cmbined expansion
Definition: NonDExpansion.cpp:2623
virtual const ResponseArray & response_array_results()
return multiple final iterator solutions (response). This should only be used if returns_multiple_poi...
Definition: DakotaIterator.cpp:1461
virtual bool is_derived()
A temporary query used in the refactor.
Definition: DOTOptimizer.hpp:55
String exploratoryMoves
the exploratory_moves specification for the PS method in MethodSCOLIBPS
Definition: DataMethod.hpp:650
InterfaceList interfaceList
list of interface objects, one for each interface specification
Definition: ProblemDescDB.hpp:498
void method_recourse(unsigned short method_name)
perform a method switch, if possible, due to a detected conflict with the simultaneous use of method_...
Definition: NonDLocalInterval.cpp:288
BitArray active_to_all_mask() const
create a BitArray indicating the active subset of all {continuous,discrete {int,string,...
Definition: SharedVariablesData.hpp:1249
void LoadTheObjectiveFunctions(JEGA::FrontEnd::ProblemConfig &pConfig)
Adds ObjectiveFunctionInfo objects into the problem configuration object.
Definition: JEGAOptimizer.cpp:1486
size_t num_field_response_groups() const
number of primary fields (primary field groups)
Definition: SharedResponseData.hpp:335
bool resize()
reinitializes iterator based on new variable size
Definition: PSUADEDesignCompExp.cpp:54
void reshape_response(size_t num_recast_primary_fns, size_t num_recast_secondary_fns)
Reshape the RecastModel Response, assuming no change in variables or derivative information.
Definition: RecastModel.cpp:471
void unroll_reverse_dag_from_root(unsigned short root, UShortList &ordered_list)
create an ordered list of roots that enable ordered sample increments by ensuring that root sample le...
Definition: NonDGenACVSampling.cpp:326
virtual void apply_covariance_inv_sqrt(const RealVector &residuals, RealVector &weighted_residuals) const
method to compute (v'*inv(C)^1/2), to compute weighted residual
virtual int local_eval_concurrency()
return derived model asynchronous evaluation concurrency
Definition: DakotaModel.cpp:4662
int processor_remainder() const
return procRemainder
Definition: ParallelLibrary.hpp:330
void VPSmodel_apply(const RealVector &new_x, bool variance_flag, bool gradients_flag)
Function returns a response value using the VPS surface.
Definition: VPSApproximation.cpp:3283
size_t subIterMappedSec
number of sub-iterator results functions mapped to nested model secondary functions (cached for use w...
Definition: NestedModel.hpp:415
size_t numLSqTerms
number of least squares terms
Definition: DakotaAnalyzer.hpp:210
void usage(std::ostream &outfile=Cout) const
Print usage information to outfile, conditionally on rank.
Definition: CommandLineHandler.cpp:463
void receive_evaluation(PRPQueueIter &prp_it, size_t buff_index, int server_id, bool peer_flag)
helper function for processing recvBuffers[buff_index] within scheduler
Definition: ApplicationInterface.cpp:2943
std::shared_ptr< DDaceSamplerBase > create_sampler(Model &model)
create a DDACE sampler
Definition: DDACEDesignCompExp.cpp:265
RealVector linIneqLowerBnds
linear inequality constraint lower bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:367
IntSet hessIdNumerical
numerical id's for mixed Hessians
Definition: DakotaModel.hpp:1469
size_t numDRV
number of active discrete real variables
Definition: SharedVariablesData.hpp:268
OptType
enum for different types of values associated with command line options.
Definition: CommandLineHandler.hpp:31
String approxLabel
label for approximation, if applicable
Definition: DakotaApproximation.hpp:406
unsigned short correction_mode() const
return correctionMode
Definition: EnsembleSurrModel.hpp:1304
void define_filenames(const String &eval_id_tag)
define modified filenames from user input by handling Unix temp file and optionally tagging with give...
Definition: ProcessApplicInterface.cpp:378
void compare_complices(int dim, std::ostream &output)
Using the validationSet, compute the approximate Morse-Smale complices of the true model over the val...
Definition: NonDAdaptiveSampling.cpp:1517
RealVector gammaUncBetas
beta factors for the gamma uncertain variables (from the betas specification in VarCAUV_Gamma)
Definition: DataVariables.hpp:402
void output_timers()
conditionally output timers in destructor
Definition: ParallelLibrary.cpp:1238
~NonDMUQBayesCalibration()
destructor
Definition: NonDMUQBayesCalibration.cpp:81
virtual unsigned short converged()=0
return the convergence code for the truth level of the trust region hierarchy
RealVector linEqScales
linear equality constraint scale values
Definition: ScalingOptions.hpp:58
std::vector< MPI_Comm > analysis_intra_communicators()
return the set of analysis intra communicators for all parallel configurations (used for setting up d...
Definition: ParallelLibrary.hpp:1242
RealArray gradientScaleFactors
Gradient scaling factors to make multiple response function gradients similar orders of magnitude.
Definition: ActiveSubspaceModel.hpp:272
String surrogateType
type of surrogate model: local_*, multipoint_*, global_*, or hierarchical
Definition: DakotaModel.hpp:1420
UInt64 binary2gray(UInt64 v)
Convert binary to Gray code order.
Definition: dakota_bit_utils.hpp:75
bool relativeConvMetric
controls use of convergence tolerance in a relative (true) or absolute (false) context
Definition: DataMethod.hpp:357
static std::vector< std::string > tokenize_env_path(const std::string &path)
Tokenizes $PATH environment variable into a "list" of directories.
Definition: WorkdirHelper.cpp:163
size_t startRank
starting rank
Definition: DataMethod.hpp:837
bool modelIsImported
whether model serialized in from disk
Definition: DakotaSurrogates.hpp:113
bool adaptRank
whether or not to adapt rank
Definition: DataModel.hpp:442
Real getdist(const RealVector &x1, const RealVector &x2)
Definition: GaussProcApproximation.cpp:49
virtual String solution_level_string_value() const
return the active (string) value of the solution control
Definition: DakotaModel.cpp:3802
virtual void unsafe_get_points(const size_t nMin, const size_t nMax, RealMatrix &points)=0
Generate points from this low-discrepancy sequence.
unsigned int userConfigVars
number of user-specified configuration (scenario) vars
Definition: NonDGPMSABayesCalibration.hpp:125
unsigned short importChallengeFormat
tabular format of the challenge data file
Definition: DataModel.hpp:306
int maxCrossIterations
maximum number of cross iterations
Definition: DataModel.hpp:418
short finalStatsType
specification of the type of final statistics in MethodNonD
Definition: DataMethod.hpp:1155
void(* userConstraint1)(int mode, int n, const RealVector &x, RealVector &g, RealMatrix &grad_g, int &result_mode)
cache first-order constraint call-back function
Definition: SNLLOptimizer.hpp:398
ParLevLIter mi_parallel_level_iterator(size_t index=_NPOS) const
return miPLIters[index]
Definition: ParallelLibrary.hpp:591
void resid2mult_map(unsigned short multiplier_mode, IntVector &resid2mult_indices) const
return the index of the multiplier that affects each residual
Definition: ExperimentData.cpp:1856
static void target_cost_objective_eval_optpp(int mode, int n, const RealVector &x, double &f, RealVector &grad_f, int &result_mode)
OPTPP definition.
Definition: NonDMultilevelSampling.cpp:2455
RealVector field_data_view(size_t response, size_t experiment) const
retrieve a view of the field data for the given response, for the given experiment
Definition: ExperimentData.hpp:577
StringArray discreteDesignRangeLabels
labels array for the discrete design variables defined by an integer range (from the discrete_design_...
Definition: DataVariables.hpp:290
RealVectorArray repPointsU
the set of representative points in u-space around which to sample
Definition: NonDAdaptImpSampling.hpp:177
virtual void cache_unmatched_response(int raw_id)
migrate an unmatched response record from active response map (computed by synchronize() or synhroniz...
Definition: DakotaModel.cpp:4614
size_t adsv_index_to_all_index(size_t adsv_index) const
convert index within all discrete string variables to index within aggregated variables (all continou...
Definition: SharedVariablesData.hpp:1213
virtual void refinement_statistics_mode(short stats_mode)
assign mode for statistics roll-up: {ACTIVE,COMBINED}_EXPANSION_STATS
Definition: SharedApproxData.cpp:554
bool userNumpyFlag
whether the user requested numpy data structures in the input file
Definition: Pybind11Interface.hpp:67
String importChallengePtsFile
the file name from the challenge_points_file specification in ModelSurrG
Definition: DataModel.hpp:304
size_t dsv() const
get number of active discrete string vars
Definition: SharedVariablesData.hpp:1680
SharedResponseDataRep(const ProblemDescDB &problem_db)
standard constructor
void evaluate_pilot(RealVector &hf_cost, RealVector &lf_cost, RealVectorArray &eval_ratios, RealMatrix &Lambda, RealMatrix &var_YH, SizetArray &N_alloc, Sizet2DArray &N_actual, RealVector &hf_targets, RealMatrix &pilot_mom, bool accumulate_cost, bool pilot_estvar)
helper for shared code among offline-pilot and pilot-projection modes
Definition: NonDMultilevControlVarSampling.cpp:834
void copy_con_grad(const RealMatrix &local_fn_grads, RealMatrix &grad_g, size_t offset)
convenience function for copying local_fn_grads to grad_g; used by constraint evaluator functions
Definition: SNLLBase.cpp:370
bool variables_id_compare(const Variables &vars, const void *id)
global comparison function for Variables
Definition: DakotaVariables.hpp:1819
virtual void operator()(size_t num_samp, Data &bootstrapped_sample)=0
Generate and store a new bootstrapped sample into bootstrapped_sample.
Handle class for responses specification data.
Definition: DataResponses.hpp:296
int rosenbrock()
the Rosenbrock optimization and least squares test fn
Definition: TestDriverInterface.cpp:1016
MatrixXd covariance(const MatrixXd &eval_points)
Evaluate the covariance matrix for the Gaussian Process at a set of prediction points for QoI index 0...
Definition: SurrogatesGaussianProcess.hpp:183
void init_communicators_checks(int max_eval_concurrency)
Definition: Pybind11Interface.hpp:46
int steel_column_perf()
the steel_column_perf UQ/OUU test function
Definition: TestDriverInterface.cpp:2885
int local_eval_concurrency()
return subModel local evaluation concurrency
Definition: RecastModel.hpp:1060
RealMatrix rfBuildVars
matrix of samples used to build the RF data
Definition: RandomFieldModel.hpp:162
void apply_mc_reference(RealVector &mc_targets)
apply convergenceTol to estVarIter0 to form an estimate of required high-fidelity MC samples
Definition: NonDMultilevBLUESampling.hpp:807
RealVector cellBPA
Storage array to hold cell bpa.
Definition: NonDInterval.hpp:128
unsigned short modelExportFormat
Bitmapped format request for exported models.
Definition: SharedApproxData.hpp:256
size_t solution_control_discrete_variable_index() const
return solnCntlADVIndex
Definition: SimulationModel.hpp:241
Base class for interval-based methods within DAKOTA/UQ.
Definition: NonDInterval.hpp:35
RealVectorArray cellFnUpperBounds
Storage array to hold cell max.
Definition: NonDInterval.hpp:126
int discrete_int_variable(size_t index) const
return an active discrete integer variable
Definition: DakotaVariables.hpp:835
const std::map< Pecos::ActiveKey, UShort2DArray > & multi_index_map() const
get Pecos::SharedOrthogPolyApproxData::multiIndex
Definition: SharedPecosApproxData.hpp:324
virtual bool is_derived()
A temporary query used in the refactor.
Definition: PEBBLMinimizer.hpp:33
virtual void trans_hess_X_to_U(const RealSymMatrix &fn_hess_x, RealSymMatrix &fn_hess_u, const RealVector &x_vars, const RealVector &fn_grad_x)
transform x-space Hessian matrix to u-space
Definition: DakotaModel.cpp:5268
std::size_t operator()(const ParamResponsePair &prp) const
access operator
Definition: PRPMultiIndex.hpp:131
HOPSPACK::ParameterList * problemParams
Pointer to APPS problem parameter sublist.
Definition: APPSOptimizer.hpp:185
SizetArray derivVarsVector
the vector of variable ids used for computing derivatives
Definition: DakotaActiveSet.hpp:127
bool digitalShiftFlag
Digitally shift this digital net if true.
Definition: DigitalNet.hpp:110
std::vector< double > constrMapOffsets
offsets for constraint transformations
Definition: NomadOptimizer.hpp:218
void derived_subordinate_models(ModelList &ml, bool recurse_flag)
return {approxModels,truthModel} and, optionally, their sub-model recursions
Definition: EnsembleSurrModel.hpp:1085
void eval_hi2lo_stop(bool &stop_metric, double &prev_MI, const RealVector &MI_vec, int num_hifi, int max_hifi, int num_candidates)
evaluate stopping criteria for calibrate_to_hifi
Definition: NonDBayesCalibration.cpp:1201
Graphics dakotaGraphics
graphics and tabular data output handler used by meta-iterators, models, and approximations; encapsul...
Definition: OutputManager.hpp:413
void print_multilevel_evaluation_summary(std::ostream &s, const SizetArray &N_m)
print evaluation summary for multilevel sampling across 1D level profile
Definition: DakotaNonD.cpp:1155
int drNumStages
DR num stages.
Definition: NonDMUQBayesCalibration.hpp:130
bool asynchLocalAnalysisFlag
flag for asynchronous local parallelism of analyses
Definition: ApplicationInterface.hpp:233
bool calibrationData
flag indicating whether there is calibration data present
Definition: NonDCalibration.hpp:51
SizetMultiArrayConstView inactive_continuous_variable_ids() const
return the inactive continuous variable identifiers from currentVariables
Definition: DakotaModel.hpp:2159
String preRunOutput
filename for pre_run output
Definition: ProgramOptions.hpp:258
size_t sequenceIndex
sequence index for {...}SeqSpec
Definition: NonDMultilevelPolynomialChaos.hpp:142
const RealVector & all_discrete_real_lower_bounds() const
returns a single array with all discrete lower bounds
Definition: DakotaConstraints.hpp:808
void DAKOTA_DLL_FN set_dc_ptr_int(int ptr_int)
set the DAKOTA pointer to ModelCenter current design point
Definition: dakota_dll_api.cpp:329
const UShort2DArray & multi_index() const
get active Pecos::SharedOrthogPolyApproxData::multiIndex
Definition: SharedPecosApproxData.hpp:316
void initialize_dimension_quadrature_order(unsigned short quad_order_spec, const RealVector &dim_pref_spec)
initialize Pecos::TensorProductDriver::quadOrder from quad_order_spec and dim_pref_spec
Definition: NonDQuadrature.cpp:204
Real mindist(const RealVector &x, const RealMatrix &xset, int except)
Definition: GaussProcApproximation.cpp:69
Real penaltyParameter
penalty parameter for augmented Lagrangian merit funciton
Definition: NonDGlobalReliability.hpp:130
void configure_indices(unsigned short group, unsigned short form, size_t lev, short seq_type)
manage response mode and active model key from {group,form,lev} triplet. seq_type defines the active ...
Definition: NonDMultilevelSampling.cpp:564
virtual void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDLocalInterval.cpp:248
ProgramOptions()
default constructor (needed for default environment ctors and could be used by library clients to lat...
Definition: ProgramOptions.cpp:27
short allocationTarget
store the allocation_target input specification, prior to run-time Options right now:
Definition: NonDMultilevelSampling.hpp:523
Iterator & subordinate_iterator()
return sub-iterator, if present, within subModel
Definition: RecastModel.hpp:758
Graphics()
constructor
Definition: DakotaGraphics.cpp:21
std::map< String, var_t > varTypeMap
map from variable label to enum
Definition: DirectApplicInterface.hpp:184
Simple container for user-provided scaling data, possibly expanded by replicates through the models.
Definition: ScalingOptions.hpp:25
bool supports_discrete_variables()
Return the flag indicating whether method supports discrete variables.
Definition: APPSOptimizer.hpp:57
size_t num_nonlinear_ineq_constraints() const
return the number of nonlinear inequality constraints
Definition: DakotaConstraints.hpp:1071
Definition: DakotaTPLDataTransfer.hpp:24
Real * J
Jacobian J = J(x)
Definition: NL2SOLLeastSq.cpp:118
void reduce_model(bool local_nls_recast, bool require_hessians)
Wrap iteratedModel in a RecastModel that performs (weighted) multi-objective or sum-of-squared residu...
Definition: DakotaOptimizer.cpp:290
void pointsel_get_errors(RealArray &delta)
Uses the current GP model to compute predictions at all of the training points and find the errors.
Definition: GaussProcApproximation.cpp:1057
const UShortArray & expansion_order() const
return Pecos::SharedOrthogPolyApproxData::expansion_order()
Definition: SharedPecosApproxData.hpp:350
std::string posteriorSamplesImportFile
The filename of the import file containing samples at which the posterior will be evaluated.
Definition: NonDWASABIBayesCalibration.hpp:94
short method_domain(const ProblemDescDB &problem_db) const
infer domain from method selection
void operator()(const ResultAttribute< T > &a) const
Called by boost::apply_vistitor to process a ResultAttribute.
Definition: ResultsDBHDF5.hpp:70
SizetArray randomSeedSeqSpec
user specification for seed_sequence
Definition: NonDEnsembleSampling.hpp:192
void iterator_response_overlay(const Response &sub_iterator_response, Response &mapped_response)
overlay the sub-iteration response within the total response for the model using the primaryCoeffs/se...
Definition: NestedModel.cpp:1762
unsigned short exportApproxFormat
tabular format for the approx point export file
Definition: DataModel.hpp:190
IntVariablesMap recastVarsMap
map of recast variables used by derived_evaluate_nowait(). Needed for primaryRespMapping() and second...
Definition: RecastModel.hpp:549
virtual size_t mi_parallel_level_index() const
return the index for the metaiterator-iterator parallelism level within ParallelConfiguration::miPLIt...
Definition: DakotaModel.cpp:4605
short polynomialOrder
scalar integer indicating the order of the polynomial approximation (1=linear, 2=quadratic,...
Definition: DataModel.hpp:230
static VPSApproximation * VPSinstance
pointer to the active object instance used within the static evaluator
Definition: VPSApproximation.hpp:183
int covarianceType
kind of covariance required
Definition: DataMethod.hpp:515
String modelExportPrefix
Prefix for model export files.
Definition: SharedApproxData.hpp:254
String fdGradStepType
type of finite difference step to use for numerical gradient: relative - step length is relative to x...
Definition: DataResponses.hpp:209
void covariance(int exp_ind, RealSymMatrix &cov_mat) const
retrieve an individual covariance entry as a dense matrix
Definition: ExperimentData.cpp:953
size_t numConfigVars
number of configuration (state) variables to read for each experiment
Definition: ExperimentData.hpp:429
VectorXd evaluate_metrics(const StringArray &mnames, const MatrixXd &points, const MatrixXd &ref_values)
Evalute metrics at specified points (within surrogates)
Definition: SurrogatesBase.cpp:74
RealVector approxDRUpperBnds
approximation continuous upper bounds
Definition: SharedApproxData.hpp:271
void calibrate()
Definition: NonDMUQBayesCalibration.cpp:354
size_t num_samples() const
Definition: NonDSampling.hpp:488
void view_subsets(short view, bool &cdv, bool &ddv, bool &cauv, bool &dauv, bool &ceuv, bool &deuv, bool &csv, bool &dsv) const
define active variable subsets based on active view
Definition: SharedVariablesData.hpp:500
void barrier_w()
enforce MPI_Barrier on MPI_COMM_WORLD
Definition: ParallelLibrary.hpp:1920
size_t discrete_variables()
return total number of discrete variables
Definition: DataVariables.hpp:975
size_t startRank
starting rank
Definition: DataModel.hpp:436
short method_rotation
store the rotation_method input specification, prior to run-time Options right now:
Definition: AdaptedBasisModel.hpp:97
SurrogatesPythonApprox()
default constructor
Definition: DakotaSurrogatesPython.hpp:30
CommandShell & flush(CommandShell &shell)
convenient shell manipulator function to "flush" the shell
Definition: CommandShell.cpp:51
String reliabilityIntegration
the first_order or second_order integration selection in MethodNonDLocalRel
Definition: DataMethod.hpp:1078
friend class boost::serialization::access
Allow serializers access to private class data.
Definition: SurrogatesBase.hpp:243
RealVectorArray prevCoeffs
cache previous expansion coefficients for assessing convergence of emulator refinement process
Definition: NonDBayesCalibration.hpp:278
bool posteriorStatsKL
flag indicating the calculation of KL divergence between prior and posterior in Bayesian methods
Definition: DataMethod.hpp:1200
void usage(const char *str)
Change header of usage output to str.
Definition: CommandLineHandler.hpp:94
int enroll(const char *const opt, const OptType t, const char *const desc, const char *const val)
Add an option to the list of valid command options.
Definition: CommandLineHandler.cpp:53
double Jold
Previously computed value of the objective function.
Definition: SurrogatesGPObjective.hpp:101
UShortArray quadOrderSeqSpec
user request of quadrature order
Definition: NonDMultilevelPolynomialChaos.hpp:137
PyPolyReg(const Eigen::MatrixXd &samples, const Eigen::MatrixXd &response, const pybind11::dict &pydict)
ctor that accepts a dictionary
Definition: surrogates_python.cpp:78
Sizet2DArray varsMapIndices
For each subModel variable (leading index), identifies the indices of the recast variables used to de...
Definition: RecastModel.hpp:588
void wait_local_evaluation_batch(PRPQueue &prp_queue)
batch version of wait_local_evaluations()
Definition: ProcessApplicInterface.cpp:290
UInt64 reorder_natural(UInt64 k)
Position of the kth digital net point in DIGITAL_NET_NATURAL_ORDERING.
Definition: DigitalNet.cpp:768
int numDakotaNonlinearEqConstraints
number of nonlinear equality constraints from Dakota perspective
Definition: DakotaTPLDataTransfer.hpp:148
size_t dsv_start() const
get start index of active discrete string vars
Definition: SharedVariablesData.hpp:1684
bool commSplitFlag
signals a communicator split was used
Definition: ParallelLibrary.hpp:114
VectorXd value(const MatrixXd &eval_points)
Evaluate the Gaussian Process at a set of prediction points for QoI index 0.
Definition: SurrogatesGaussianProcess.hpp:126
StringMulti2DArray listDSVPoints
array of discrete string evaluation points for the list_parameter_study
Definition: ParamStudy.hpp:192
void finalize_run()
restores instances
Definition: SNLLLeastSq.cpp:553
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: NOWPACOptimizer.hpp:172
bool truthFixedByPilot
user specification to suppress any increments in the number of HF evaluations (e.g....
Definition: NonDNonHierarchSampling.hpp:675
std::list< Server > serverList
List of servers to try (tracker and proxy)
Definition: TrackerHTTP.hpp:116
RealVector emulEvalScores
Vector to hold the scored values for the current GP samples.
Definition: NonDAdaptiveSampling.hpp:104
virtual bool is_derived()
A temporary query used in the refactor.
Definition: HierarchSurrBasedLocalMinimizer.hpp:43
void evaluate_grid_increment()
computes a grid increment and evaluates the new parameter sets
Definition: NonDQuadrature.hpp:292
bool gpmsaNormalize
whether to apply GPMSA-internal normalization
Definition: DataMethod.hpp:1197
virtual void create_2d_plots()
create 2D graphics plots for automatic logging of vars/response data
Definition: DakotaModel.cpp:3393
double * G1
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:222
bool blockingSynch
Flag for COLIN synchronous behavior (Pattern Search only).
Definition: COLINApplication.hpp:108
int min_coefficients() const override
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: DakotaSurrogatesPoly.cpp:57
AddAttributeVisitor(const String &location, const std::shared_ptr< HDF5IOHelper > &hdf5_stream)
The attributes will be added to the HDF5 object at location, using the HDF5IOHelper instance hdf5_str...
Definition: ResultsDBHDF5.hpp:64
RealSymMatrix respCovariance
symmetric matrix of analytic response covariance (full response covariance option)
Definition: NonDExpansion.hpp:525
NonDEnsembleSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDEnsembleSampling.cpp:29
const RealMatrix & all_samples()
return the complete set of evaluated samples
Definition: DakotaAnalyzer.hpp:289
int refinementSamples
Number of refinement samples to use when building a surrogate.
Definition: ActiveSubspaceModel.hpp:295
void rebuild_approximation()
updates a subModel approximation
Definition: RecastModel.hpp:932
void compute_moment_gradients(const RealVectorArray &fn_samples, const RealMatrixArray &grad_samples, const RealMatrix &moment_stats, RealMatrix &moment_grads, short moments_type)
compute moment_grads from function and gradient samples
Definition: NonDSampling.cpp:1294
void random_variables_key(const Pecos::BitArray &random_vars_key)
set pecosBasisApprox.randomVarsKey
Definition: SharedPecosApproxData.hpp:264
const ShortArray & nested_acv2_targets() const
return secondaryACVarMapTargets
Definition: RecastModel.hpp:713
size_t numFns
the number of functions in currentResponse
Definition: DakotaModel.hpp:1405
Environment corresponding to execution as a stand-alone application.
Definition: ExecutableEnvironment.hpp:24
Base class for non-hierarchical ensemble-based Monte Carlo sampling.
Definition: NonDNonHierarchSampling.hpp:254
void uncertain_counts(size_t &num_cuv, size_t &num_duiv, size_t &num_dusv, size_t &num_durv) const
compute uncertain variables sums from SharedVariablesDataRep::variablesCompsTotals and SharedVariable...
Definition: SharedVariablesData.hpp:1077
MatrixXi basisIndices
Matrix that specifies the powers of each variable for each term in the polynomial - (numVariables by ...
Definition: SurrogatesPolynomialRegression.hpp:191
unsigned short uses_method() const
return name of any enabling iterator used by this iterator
Definition: NonDLocalReliability.hpp:356
size_t numSubIterFns
number of sub-iterator response functions prior to mapping
Definition: NestedModel.hpp:297
bool modelEvidMC
flag indicating use of Monte Carlo approximation for evidence calc.
Definition: DataMethod.hpp:1215
void hard_convergence_check(SurrBasedLevelData &tr_data, const RealVector &lower_bnds, const RealVector &upper_bnds)
check for hard convergence (norm of projected gradient of merit function < tolerance)
Definition: SurrBasedLocalMinimizer.cpp:885
std::shared_ptr< QUESO::EnvOptionsValues > envOptionsValues
options for setting up the QUESO Environment
Definition: NonDQUESOBayesCalibration.hpp:186
RealVector frechetUncBetas
beta factors for the frechet uncertain variables (from the betas specification in VarCAUV_Frechet)
Definition: DataVariables.hpp:420
ParallelLevel()
default constructor
Definition: ParallelLibrary.hpp:141
static void variables_unscaler(const Variables &native_vars, Variables &scaled_vars)
RecastModel callback for inverse variables scaling: transform variables from native (user) to scaled ...
Definition: ScalingModel.cpp:831
void warm_start_flag(const bool flag)
set the warm start flag, including actualModel
Definition: DataFitSurrModel.hpp:1045
bool isMatrix
2d or 1d?
Definition: dakota_results_types.hpp:368
double p_norm(const T &v, double p)
Caclulate and return p-norm of a vector.
Definition: util_math_tools.hpp:81
const IntVector & inactive_discrete_int_lower_bounds() const
return the inactive discrete lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3049
MatrixXd hessian(const MatrixXd &eval_point, const int qoi) override
Evaluate the Hessian of the Gaussian process at a single point for a single QoI.
Definition: SurrogatesGaussianProcess.cpp:377
Definition: ResultsDBAny.hpp:26
String methodSource
source of numerical gradient routine: dakota or vendor
Definition: DakotaModel.hpp:1425
RealMatrix fnGradsMeanX
response function gradients evaluated at mean x
Definition: NonDLocalReliability.hpp:284
~ScalingModel()
destructor
Definition: ScalingModel.cpp:164
const Response & response_results() const
return the final environment solution (response)
Definition: DakotaEnvironment.hpp:206
int integer_step(int range, int num_steps) const
check for integer remainder and return step
Definition: ParamStudy.hpp:635
static void check_negative(Real &cm)
detect, warn, and repair a negative central moment (for even orders)
Definition: NonDEnsembleSampling.hpp:689
static void Vchk_DIset(size_t num_v, const char *kind, IntArray *input_ndsi, IntVector *input_dsi, IntSetArray &dsi_all, IntVector &dsi_init_pt)
check discrete sets of integers (design and state variables); error if a duplicate value is specified...
Definition: NIDRProblemDescDB.cpp:4041
RealVector upperBounds
cache the active continuous upper bounds for scaling to [0,1]
Definition: NOWPACOptimizer.hpp:65
RealSymMatrix2DArray covGG
covariance matrices for each model QoI and each model grouping (the C_k matrix in ML BLUE),...
Definition: NonDMultilevBLUESampling.hpp:248
Real drScale
DR scale.
Definition: DataMethod.hpp:1360
size_t maxIterations
maximum number of subspace build iterations
Definition: DataModel.hpp:365
size_t numOptInterfEqCon
number of equality constraints resulting from the optional interface evaluations
Definition: NestedModel.hpp:326
StringMultiArrayConstView inactive_discrete_real_variable_labels() const
return the inactive discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2573
std::vector< double > constraintMapOffsets
offsets for constraint transformations
Definition: DakotaOptimizer.hpp:545
void rebuild_approximation(const BitArray &rebuild_fns)
Definition: ApproximationInterface.cpp:660
static std::string startupPATH
Value of $PATH (PATH% on windows) var upon entry to dakota main(), omitting any leading PATH= or Path...
Definition: WorkdirHelper.hpp:286
void print(std::ostream &os) const
TODO: Prints the vector RV (required pure virtual).
Definition: QUESOImpl.cpp:117
RealVector lowerBounds
variable lower bounds used in "user_functions" mode
Definition: NCSUOptimizer.hpp:161
size_t uncertain()
return total number of uncertain variables
Definition: DataVariables.hpp:967
std::shared_ptr< Model > get_model(ProblemDescDB &problem_db)
Used by the envelope to instantiate the correct letter class.
Definition: DakotaModel.cpp:311
StringArray linearIneqScaleTypes
scaling types for the linear inequality constraints (from the linear_inequality_scale_types specifica...
Definition: DataVariables.hpp:819
virtual ~CONMINTraits()
destructor
Definition: CONMINOptimizer.hpp:30
DataModelRep()
constructor
Definition: DataModel.cpp:17
unsigned short sampling_scheme() const
return importanceSamplingType
Definition: NonDAdaptImpSampling.hpp:209
void pack(const u_long *data, const int num=1)
Pack one or more unsigned long's.
short groupThrottleType
approach to restricting the total number of groups in group estimators
Definition: DataMethod.hpp:1104
std::vector< double > nonlinearIneqConstraintMapShifts
offsets for constraint transformations
Definition: DakotaTPLDataTransfer.hpp:176
virtual void send_sol_option(std::string sol_option)=0
Resize and send option to NPSOL (npoptn) or NLSSOL (nloptn) via derived implementation.
void final_point_to_step_vector()
compute step vectors from finalPoint, initial points, and numSteps
Definition: ParamStudy.cpp:952
void multilevel_control_variate_mc_offline_pilot()
Qcorr approach using a pilot sample treated as separate offline cost.
Definition: NonDMultilevControlVarSampling.cpp:653
bool restart_file(bool recurse_flag=true) const
if recurse_flag, return true if restart file usage in subordinate models {approxModels,...
Definition: EnsembleSurrModel.hpp:1242
void core_run()
core portion of run; implemented by all derived classes and may include pre/post steps in lieu of sep...
Definition: EffGlobalMinimizer.cpp:242
IntResponseMap & response_map()
return rawResponseMap
Definition: DakotaInterface.hpp:493
unsigned short expansionForm
unsigned short analyticCovForm;
Definition: RandomFieldModel.hpp:177
static void check_variables_node(void *v)
check a single variables node; input argument v is Var_Info*
Definition: NIDRProblemDescDB.cpp:5604
IntResponseMap dakota_responses
eval_id to response mapping to cache completed jobs.
Definition: COLINApplication.hpp:117
double statsRoundingTol
tolerance for rounding (performing a truncation operation on a FT expansion) when post-processing an ...
Definition: SharedC3ApproxData.hpp:268
size_t numContinuousDesVars
number of continuous design variables (from the continuous_design specification in VarDV)
Definition: DataVariables.hpp:104
void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaMinimizer.cpp:369
std::shared_ptr< QUESO::VectorSpace< QUESO::GslVector, QUESO::GslMatrix > > experimentSpace
vector space defining the output (response) space for the experiments
Definition: NonDGPMSABayesCalibration.hpp:143
Definition: MatlabInterface.hpp:32
std::vector< int > nonlinearIneqConstraintMapIndices
map from Dakota constraint number to TPL constraint number
Definition: DakotaTPLDataTransfer.hpp:170
virtual unsigned short correction_mode() const
return correctionMode
Definition: DakotaModel.cpp:4543
std::string workDirName
work_directory name, if specified...
Definition: ProcessApplicInterface.hpp:212
std::list< DataMethod >::iterator dataMethodIter
iterator identifying the active list node in dataMethodList
Definition: ProblemDescDB.hpp:479
Model hifiModel
a high-fidelity model data source (given by pointer in input)
Definition: NonDBayesCalibration.hpp:401
void rf_suite_identify_field_model()
Generate field representation: utilize RF Suite.
Definition: RandomFieldModel.cpp:184
RealVector origNonlinIneqUpperBnds
original nonlinear inequality constraint upper bounds (no relaxation)
Definition: SurrBasedMinimizer.hpp:166
DakotaROLEqConstraints(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:727
void inactive_discrete_real_variable(Real idr_var, size_t index)
set an inactive discrete real variable
Definition: DakotaVariables.hpp:1504
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDGlobalReliability.cpp:361
String exportApproxPtsFile
the file name from the export_approx_points_file specification
Definition: DataMethod.hpp:1417
void calibrate_to_hifi()
calibrate the model to a high-fidelity data source, using mutual information-guided design of experim...
Definition: NonDBayesCalibration.cpp:1096
RealVector modify_s2n(const RealVector &scaled_vars, const UShortArray &scale_types, const RealVector &multipliers, const RealVector &offsets) const
general RealVector mapping from scaled to native variables (and values)
Definition: ScalingModel.cpp:964
bool volQualityFlag
the quality_metrics specification for sampling methods (FSU QMC and CVT methods in MethodFSUDACE)
Definition: DataMethod.hpp:774
C3FnTrainData()
default constructor
Definition: C3FnTrainData.cpp:253
virtual void surrogate_function_indices(const SizetSet &surr_fn_indices)
set the (currently active) surrogate function index set
Definition: DakotaModel.cpp:3863
bool has_nan_or_inf(const RealMatrix &corr) const
Return true if there are any NaN or Inf entries in the matrix.
Definition: SensAnalysisGlobal.cpp:466
Class for low-discrepancy sampling in Dakota.
Definition: NonDLowDiscrepancySampling.hpp:36
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDBayesCalibration.cpp:790
void compute_best_metrics(const Response &response, std::pair< Real, Real > &metrics)
compares current evaluation to best evaluation and updates best
Definition: DakotaAnalyzer.cpp:718
RealVector cvScales
continuous variables scale values
Definition: ScalingOptions.hpp:38
const String & post_run_input() const
filename for post-run input
Definition: ProgramOptions.cpp:186
Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: TaylorApproximation.cpp:71
std::map< SizetIntPair, ParConfigLIter > modelPCIterMap
map<> used for tracking modelPCIter instances using depth of parallelism level and max evaluation con...
Definition: DakotaModel.hpp:1631
void close_tabular_datastream()
close tabular datastream
Definition: OutputManager.cpp:610
int evalCommSize
size of evalComm
Definition: ApplicationInterface.hpp:219
void copy_as_server_comm(const ParallelLevel &parent_pl, ParallelLevel &child_pl)
convenience function for updating child serverIntraComm from parent serverIntraComm (deep Comm copy)
Definition: ParallelLibrary.hpp:2039
SizetArray pilotSamples
the pilot_samples selection in ML/MF methods
Definition: DataMethod.hpp:1097
pebbl::branchSub * blankSub()
Method that returns an empty Sub-Branch.
Definition: PEBBLBranching.cpp:27
bool write_partial_core(std::ostream &s, Writer write_handler, size_t start_index, size_t end_index, size_t &acv_offset, size_t &adiv_offset, size_t &adsv_offset, size_t &adrv_offset, size_t &av_cntr, size_t num_cv, size_t num_div, size_t num_dsv, size_t num_drv) const
Implementation for partial writing in various formats using the specified write handler.
Definition: RelaxedVariables.cpp:459
bool posteriorStatsKL
flag indicating the calculation of KL divergence between prior and posterior
Definition: NonDBayesCalibration.hpp:428
void initialize_graphics(int iterator_server_id=1)
initialize graphics customized for surrogate-based iteration
Definition: SurrBasedGlobalMinimizer.hpp:114
const Response & current_response() const
return the current response (currentResponse)
Definition: DakotaModel.hpp:3573
OPTPP::NLF2 * nlf2Con
pointer to constraint NLF for full Newton optimizers
Definition: SNLLOptimizer.hpp:333
TestDriverInterface(const ProblemDescDB &problem_db)
constructor
Definition: TestDriverInterface.cpp:45
void compute_active_off_diagonal_covariance()
calculate off diagonal terms in respCovariance(i,j) for j<i using the active expansion coefficients
Definition: NonDExpansion.cpp:2593
int main(int argc, char *argv[])
The main DAKOTA program.
Definition: main.cpp:29
void reorder_matrix_columns_from_index_vector(const RealMatrix &mat, RealMatrix &reordered_mat, const IntVector &indices)
Reorders matrix columns according to the passed index vector.
Definition: dakota_data_util.cpp:295
BoolDequeArray nonlinearRespMapping
array of BoolDeques, one for each recast response function. Each BoolDeque defines which subModel res...
Definition: RecastModel.hpp:602
ConsoleRedirector(const ConsoleRedirector &)
copy constructor is disallowed due
void user_space_to_iterator_space(Variables &vars)
employ the model recursion to transform from bottom level user-space variables to top level iterator-...
Definition: DakotaModel.cpp:3176
static NonDQUESOBayesCalibration * nonDQUESOInstance
Pointer to current class instance for use in static callback functions.
Definition: NonDQUESOBayesCalibration.hpp:234
static const std::string & Description()
Returns a full description of what this operator does and how.
Definition: JEGAOptimizer.cpp:230
void archive_coefficients()
archive the PCE coefficient array for the orthogonal basis
Definition: NonDPolynomialChaos.cpp:1328
StringMultiArrayView all_discrete_string_variable_labels() const
returns a single array with all discrete variable labels
Definition: DakotaVariables.hpp:1732
virtual const Model & algorithm_space_model() const
return the result of any recasting or surrogate model recursion layered on top of iteratedModel by th...
Definition: DakotaIterator.cpp:1742
void asynchronous_local_analyses(int start, int end, int step)
execute analyses asynchronously on the local processor
Definition: ProcessHandleApplicInterface.cpp:305
IntIntPair estimate_partition_bounds(int max_eval_concurrency)
estimate the minimum and maximum partition sizes that can be utilized by this Model
Definition: DataFitSurrModel.hpp:889
void generalized_acv_online_pilot()
Definition: NonDGenACVSampling.cpp:524
void graphics_counter(int cntr)
set graphicsCntr equal to cntr
Definition: OutputManager.cpp:623
const Pecos::RealVector & variance_gradient()
return the gradient of the expansion variance for a given parameter vector, where all active variable...
Definition: PecosApproximation.hpp:482
void append_approximation(bool rebuild_flag)
appends daceIterator results to a global approximation and rebuilds it if requested
Definition: DataFitSurrModel.cpp:714
size_t numDiscreteUncSetIntVars
number of discrete epistemic uncertain integer set variables (from the discrete_uncertain_set integer...
Definition: DataVariables.hpp:185
size_t idiv_start() const
start index of inactive discrete int vars
Definition: DakotaVariables.hpp:753
void(* primaryRespMapping)(const Variables &sub_model_vars, const Variables &recast_vars, const Response &sub_model_response, Response &recast_response)
holds pointer for primary response mapping function passed in ctor/initialize
Definition: RecastModel.hpp:616
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDLocalInterval.cpp:150
RealVector cvScaleOffsets
offsets for continuous variables
Definition: ScalingModel.hpp:181
RealVector nlnIneqUpperBnds
nonlinear inequality constraint upper bounds used in "user_functions" mode
Definition: NCSUOptimizer.hpp:177
int analysisServerId
analysis server identifier
Definition: ApplicationInterface.hpp:226
void update_inactive_view(short new_view, short &view)
update inactive variables view for subIterator based on new_view
Definition: NestedModel.cpp:2097
void compute_correlations(const VariablesArray &vars_samples, const IntResponseMap &resp_samples, const StringSetArray &dss_vals)
computes four correlation matrices for input and output data simple, partial, simple rank,...
Definition: SensAnalysisGlobal.cpp:140
Real initTRRadius
initial trust radius
Definition: DataMethod.hpp:514
RealMatrix linIneqCoeffs
linear inequality constraint coefficients used in "user_functions" mode
Definition: SNLLOptimizer.hpp:365
void write(std::ostream &s) const
write a DataEnvironmentRep object to an std::ostream
Definition: DataEnvironment.cpp:60
void update_from_model(Model &model)
update current variables/bounds/labels/constraints from subModel
Definition: RecastModel.cpp:948
const StringArray & field_group_labels() const
return the coarse (per-group) primary field response labels
Definition: SharedResponseData.hpp:405
MatrixXd gradient(const MatrixXd &eval_points)
Evaluate the gradient of the Surrogate at a set of prediction points for QoI index 0.
Definition: SurrogatesBase.hpp:110
int algebraic_function_type(String)
Used by algebraic mappings to determine the correct AMPL function evaluation call to make.
Definition: DakotaInterface.cpp:807
virtual int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: DakotaApproximation.cpp:973
bool centralHess
Temporary(?) option to use old 2nd-order diffs when computing finite-difference Hessians; default is ...
Definition: DataResponses.hpp:190
bool logitTransform
flag indicating user activation of logit transform option within QUESO
Definition: DataMethod.hpp:1195
String initializationType
The means by which the JEGA should initialize the population.
Definition: DataMethod.hpp:737
void all_discrete_string_variable(const String &ads_var, size_t index)
set a variable within the all discrete array
Definition: DakotaVariables.hpp:1674
void compute_component_effects()
Performs global sensitivity analysis using Sobol' indices by computing component (main and interactio...
Definition: PecosApproximation.hpp:393
RealVector lognormalUncZetas
zetas (standard deviations of the corresponding normals) of the lognormal uncertain variables (from t...
Definition: DataVariables.hpp:327
~SNLLOptimizer()
destructor
Definition: SNLLOptimizer.cpp:549
void stop_servers()
Executed by the master to terminate the offline and online phase server operations when iteration on ...
Definition: SubspaceModel.hpp:203
void active_view(short view2)
sets the active view based on higher level context
Definition: DakotaConstraints.cpp:261
void ratio_samples_to_order(Real colloc_ratio, int num_samples, UShortArray &exp_order, bool less_than_or_equal)
convert collocation ratio and number of samples to expansion order
Definition: NonDPolynomialChaos.cpp:1170
void component_parallel_mode(short mode)
update component parallel mode for supporting parallelism in optionalInterface and subModel
Definition: NestedModel.cpp:2008
bool chainDiagnostics
flag indicating calculation of chain diagnostics
Definition: DataMethod.hpp:1208
Real trustRegionExpandTrigger
trust region sufficient improvement level (ratio of actual to predicted decrease in objective fn) in ...
Definition: DataMethod.hpp:459
Optimizer(std::shared_ptr< TraitsBase > traits)
default constructor
Definition: DakotaOptimizer.hpp:642
unsigned numFolds
number of folds for CV
Definition: SharedSurfpackApproxData.hpp:143
void reset()
restore initial state for repeated sub-iterator executions
Definition: SNLLLeastSq.cpp:565
RealVector lognormalUncVars
initial values of the lognormal uncertain variables (from the initial_point specification in VarCAUV_...
Definition: DataVariables.hpp:345
virtual void export_approximation()
export the approximation to disk
Definition: DakotaInterface.cpp:1141
const MPI_Comm & server_intra_communicator() const
return serverIntraComm
Definition: ParallelLibrary.hpp:333
std::map< MetaDataKeyType, MetaDataValueType > MetaDataType
A single MetaData entry is map<string, vector<string> > Example: pair( "Column labels",...
Definition: dakota_results_types.hpp:61
virtual unsigned short active_truth_model_form() const
return the model form of the active truth model
Definition: DakotaModel.cpp:3543
int iteratorServerId
identifier for an iterator server
Definition: IteratorScheduler.hpp:172
void compute_eval_ratios(RealMatrix &sum_L_shared, RealMatrix &sum_H, RealMatrix &sum_LL, RealMatrix &sum_LH, RealMatrix &sum_HH, Real cost_ratio, size_t lev, const SizetArray &N_shared, RealMatrix &var_H, RealMatrix &rho2_LH, RealVector &eval_ratios)
compute the LF/HF evaluation ratio, averaged over the QoI
Definition: NonDMultilevControlVarSampling.cpp:1030
virtual void nested_response_mappings(const RealMatrix &primary_coeffs, const RealMatrix &secondary_coeffs)
set primaryResponseCoefficients, secondaryResponseCoefficients within derived Iterators; Necessary fo...
Definition: DakotaIterator.cpp:1879
void calc_score_delta_x()
Function to compute the Distance scores for the candidate points Distance score is the shortest dista...
Definition: NonDAdaptiveSampling.cpp:456
RealVector estVarRatios
ratio of MFMC to MC estimator variance for the same HF samples, also known as (1 - R^2)
Definition: NonDMultifidelitySampling.hpp:193
void apply_hifi_sim_error(int &random_seed, int num_exp, int exp_offset=0)
apply simulation error vector
Definition: NonDBayesCalibration.cpp:1481
IntArray newFnHessCounter
number of new Hessian evaluations by resp fn
Definition: DakotaInterface.hpp:398
bool derived_master_overload() const
flag which prevents overloading the master with a multiprocessor evaluation (forwarded to optionalInt...
Definition: NestedModel.hpp:522
String meritFunction
the meritFunction choice for nonlinearly constrained APPS in MethodAPPSDC
Definition: DataMethod.hpp:555
static NonDGPMSABayesCalibration * nonDGPMSAInstance
Pointer to current class instance for use in static callback functions.
Definition: NonDGPMSABayesCalibration.hpp:162
int tMax
Number of bits of each integer in generatingMatrices Also: number of rows in each generating matrix.
Definition: DigitalNet.hpp:104
Real FDstep2(Real x0_j, Real lb_j, Real ub_j, Real h)
function returning second central-difference step size (affected by bounds)
Definition: DakotaModel.cpp:1624
void array_allocate(const StrStrSizet &iterator_id, const std::string &data_name, size_t array_size, const MetaDataType metadata=MetaDataType())
allocate an entry with array of StoredType of array_size for future insertion; likely move to non-tem...
Definition: ResultsManager.hpp:198
friend bool operator==(const Variables &vars1, const Variables &vars2)
strict equality operator (for boost hash-based lookups)
const ActiveSet & active_set() const
return the active set
Definition: DakotaResponse.hpp:924
Iterator gpFinalEval
LHS iterator for sampling on the final GP.
Definition: NonDAdaptiveSampling.hpp:78
void write_tabular(std::ostream &s, bool eol=true) const
write responseRep::functionValues in tabular format to a std::ostream
virtual IntIntPair estimate_partition_bounds()
estimate the minimum and maximum partition sizes that can be utilized by this Iterator
Definition: DakotaIterator.cpp:1835
void opt_darts_terminate()
Release memory and exit cleanly.
Definition: OptDartsOptimizer.cpp:923
void update_nonlinear_constraints(const Constraints &cons)
copy nonlinear constraint data between existing Constraints objects
Definition: DakotaConstraints.cpp:350
The primary namespace for DAKOTA.
Definition: Dev_Main.dox:1
int numTerms
Number of terms in the polynomial basis.
Definition: SurrogatesPolynomialRegression.hpp:196
void fd_check_gradient(Surrogate &surr, const MatrixXd &sample, MatrixXd &fd_error, const int num_steps)
Perform a centered finite difference check of a Surrogate's gradient method.
Definition: surrogates_tools.cpp:187
Wrapper class for NOMAD Optimizer.
Definition: NomadOptimizer.hpp:57
const IntResponseMap & derived_synchronize()
portion of synchronize() specific to RecastModel (forward to subModel.synchronize())
Definition: SubspaceModel.cpp:358
void optimize_theta_multipoint()
sets up and performs the optimization of the negative log likelihood to determine the optimal values ...
Definition: GaussProcApproximation.cpp:797
void set_unscaled_bounds(const RealVector &l_bnds, const RealVector &u_bnds)
set {lower,upper}Bounds
Definition: NOWPACOptimizer.hpp:117
RealScale(const std::string &label, const RealArray &in_items, ScaleScope scope=ScaleScope::UNSHARED)
Constructor that takes a RealArray.
Definition: dakota_results_types.hpp:250
void isend_ea(int &send_int, int dest, int tag, MPI_Request &send_req)
nonblocking send at the evaluation-analysis communication level
Definition: ParallelLibrary.hpp:1571
String exportCorrModelFile
filename for corrected model (model+discrepancy) calculations output
Definition: NonDBayesCalibration.hpp:355
static void Vgen_HistogramPtStrUnc(DataVariablesRep *dv, size_t offset)
Use the string-valued point histogram data to initialize the lower, upper, and initial values of the ...
Definition: NIDRProblemDescDB.cpp:3571
UShortMultiArrayConstView inactive_discrete_real_variable_types() const
return the inactive discrete real variable types
Definition: DakotaVariables.hpp:1601
void evaluate_batch(Model &model, int batch_id, bool log_best_flag=false)
perform function evaluations to map a keyed batch of parameter sets (allVariablesMap[key]) into a cor...
Definition: DakotaAnalyzer.cpp:276
String inputFile
Dakota input file name, e.g., "dakota.in".
Definition: ProgramOptions.hpp:225
void read(MPIUnpackBuffer &s)
read a response object from a packed MPI buffer
size_t numExperiments
number of distinct experiments in experimental data
Definition: DataResponses.hpp:151
unsigned short vbdViaSamplingMethod
Sampling method for computing Sobol indices: Mahadevan (default) or Saltelli.
Definition: DataMethod.hpp:875
RealVector nlnIneqUpperBnds
nonlinear inequality constraint upper bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:377
~ForkApplicInterface()
destructor
Definition: ForkApplicInterface.hpp:104
~Rank1Lattice()
Destructor.
Definition: Rank1Lattice.cpp:202
virtual int minimum_points(bool constraint_flag) const
returns the minimum number of points required to build a particular ApproximationInterface (used by D...
Definition: DakotaInterface.cpp:965
void initialize_grid(const std::vector< Pecos::BasisPolynomial > &poly_basis)
initialize integration grid by drawing from polynomial basis settings
Definition: NonDCubature.cpp:63
StringMultiArrayConstView discrete_string_variable_labels() const
return the active discrete variable labels from currentVariables
Definition: DakotaModel.hpp:2477
virtual Real diagnostic(const String &metric_type)
retrieve a single diagnostic metric for the diagnostic type specified
Definition: DakotaApproximation.cpp:854
void iterator_space_to_user_space(Variables &vars)
employ the model recursion to transform from top level iterator-space variables to bottom level user-...
Definition: DakotaModel.cpp:3254
size_t acv() const
returns total number of continuous variables
Definition: DakotaModel.hpp:1796
virtual ~DakotaROLIneqConstraintsHess()
Destructor.
Definition: ROLOptimizer.hpp:399
RealRealMapArray discreteUncSetRealValuesProbs
complete set of admissible values with associated basic probability assignments for each of the discr...
Definition: DataVariables.hpp:596
void post_run(std::ostream &s)
post-run portion of run (optional); verbose to print results; re-implemented by Iterators that can re...
Definition: ParamStudy.cpp:396
RealVector triangularUncModes
modes of the triangular uncertain variables (from the modes specification in VarCAUV_Triangular)
Definition: DataVariables.hpp:366
size_t numScalarResponseFunctions
scalar_responses: number of response functions which are scalar
Definition: DataResponses.hpp:87
virtual ~SurrBasedGlobalTraits()
destructor
Definition: SurrBasedGlobalMinimizer.hpp:36
short local_eval_synchronization()
return optionalInterface synchronization setting
Definition: NestedModel.hpp:503
CONMINOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: CONMINOptimizer.cpp:32
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDAdaptImpSampling.cpp:121
size_t numLHSRuns
counter for number of sample set generations
Definition: NonDSampling.hpp:328
IntVariables2DMap batchVariablesMap
alternate container for Variables samples supporting evaluate_batch() and synchronize_batches(),...
Definition: DakotaAnalyzer.hpp:195
void uncertain_vars_to_subspace()
translate the characterization of uncertain variables in the native_model to the reduced space of the...
Definition: ActiveSubspaceModel.cpp:238
IntSet hessMixedAnalyticIds
IDs of analytic gradients when mixed gradients present.
Definition: ApplicationInterface.hpp:499
IntVectorArray cellIntRangeUpperBounds
Storage array to hold cell upper bounds for discrete int range variables.
Definition: NonDInterval.hpp:118
size_t num_samples() const
Definition: NonDCubature.hpp:128
void aggregate_response(const Response &resp1, const Response &resp2, Response &agg_resp)
aggregate 2 sets of response data to create a new response with 2x size
Definition: SurrogateModel.cpp:1045
Real alpha
constraint relaxation parameter backoff parameter (multiplier)
Definition: SurrBasedLocalMinimizer.hpp:239
unsigned short maxOrder
maximum value for polynomial order from user spec
Definition: SharedC3ApproxData.hpp:223
void archive_model_variables(const Model &, size_t idx) const override
Archive variables for parameter set idx.
Definition: ParamStudy.cpp:269
int numNonlinearIneqConstraintsFound
number of nonlinear ineq constraints actually used (based on conditional and bigRealBoundSize
Definition: DakotaOptimizer.hpp:536
void terminate_modelcenter()
terminate ModelCenter if running
Definition: ParallelLibrary.cpp:1151
~DataEnvironment()
destructor
Definition: DataEnvironment.cpp:90
~NLSSOLLeastSq()
destructor
Definition: NLSSOLLeastSq.cpp:78
static void run_iterator(Iterator &sub_iterator, ParLevLIter pl_iter)
Convenience function for invoking an iterator and managing parallelism. This version omits communicat...
Definition: IteratorScheduler.cpp:378
static SNLLLeastSq * snllLSqInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: SNLLLeastSq.hpp:172
void copy_con_vals_optpp_to_dak(const RealVector &g, RealVector &local_fn_vals, size_t offset)
convenience function for copying g to local_fn_vals; used in final solution logging
Definition: SNLLBase.cpp:355
Real combined_covariance(Approximation &approx_2)
return the covariance between two combined response expansions, where all active variables are random
Definition: PecosApproximation.hpp:508
bool identityRespMap
whether identity response mapping is active
Definition: NestedModel.hpp:409
size_t collocationPoints
the collocation_points specification in MethodNonDPCE
Definition: DataMethod.hpp:1005
double responseOffset
Response offset.
Definition: SurrogatesBase.hpp:179
Kernel functions for the Gaussian Process surrogate.
Definition: SurrogatesGPKernels.hpp:21
OPTPP::OptLBFGS * optlbfgs
L-BFGS optimizer pointer.
Definition: SNLLOptimizer.hpp:339
Real relaxFactor
the current relaxation factor applied to the predicted sample increment; in typical use,...
Definition: NonDEnsembleSampling.hpp:228
RealVector triangularUncUpperBnds
distribution upper bounds for the triangular uncertain variables (from the upper_bounds specification...
Definition: DataVariables.hpp:372
void shubert1D(size_t der_mode, Real xc_loc, std::vector< Real > &w_and_ders)
1D components of shubert function
Definition: TestDriverInterface.cpp:4486
ParallelLevel & operator=(const ParallelLevel &pl)
assignment operator
Definition: ParallelLibrary.hpp:303
void copy_config(const ParallelLevel &pl)
copy the scalar attributes of the incoming pl to this object, omitting communicators
Definition: ParallelLibrary.hpp:215
Real discontJumpThresh
function value (jump) threshold for discontinuity detection in domain decomp
Definition: DataModel.hpp:280
Real meritFnStar
the merit function value for the best solution, incorporating both estimator variance and budget (obj...
Definition: NonDGenACVSampling.hpp:282
void check_dimension_preference(const RealVector &dim_pref) const
check length and content of dimension preference vector
Definition: NonDExpansion.hpp:841
Custom Logit RW TKfactory: passed Dakota QUESO instance pointer to the TK at build.
Definition: QUESOImpl.hpp:220
void update_convergence_counters(const Variables &vars_star, const Response &resp_star)
update counters used for assessing convergence
Definition: EffGlobalMinimizer.hpp:389
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: DOTOptimizer.hpp:58
IntVector discRealStepsPerVariable
number of offsets in the plus and the minus direction for each discrete real variable in a centered_p...
Definition: ParamStudy.hpp:246
virtual const IntResponseMap & derived_synchronize()
portion of synchronize() specific to derived model classes
Definition: DakotaModel.cpp:3356
void applyAdjointJacobian(std::vector< Real > &ajv, const std::vector< Real > &v, const std::vector< Real > &x, Real &tol) override
Function to return the result of applying the constraint adjoint to an arbitrary vector to ROL.
Definition: ROLOptimizer.cpp:784
bool respScalingFlag
flag to indicate bounds-based scaling of current response data set prior to build in surrogate-based ...
Definition: DataMethod.hpp:950
short responseMode
an enumeration that controls the response calculation mode in {DataFit,Ensemble}SurrModel approximate...
Definition: SurrogateModel.hpp:193
std::ostream * dakota_cout
DAKOTA stdout initially points to std::cout, but may be redirected to a tagged ofstream if there are ...
Definition: dakota_global_defs.cpp:52
IntActiveSetMap recastSetMap
map of recast active set passed to derived_evaluate_nowait(). Needed for currentResponse update in sy...
Definition: RecastModel.hpp:545
RealVector continuousEpistemicUncLowerBnds
distribution lower bounds for all continuous epistemic uncertain variables
Definition: DataVariables.hpp:753
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDC3FunctionTrain.cpp:360
size_t expansion_terms() const
return Pecos::SharedOrthogPolyApproxData::expansion_terms()
Definition: SharedPecosApproxData.hpp:343
Real percentVarianceExplained
Threshold to keep number of principal components that explain this much variance.
Definition: NonDLHSSampling.hpp:180
bool runFlag
flags invocation with command line option -run
Definition: DataEnvironment.hpp:60
int DAKOTA_DLL_FN get_dc_ptr_int()
get the DAKOTA pointer to ModelCenter current design point
Definition: dakota_dll_api.cpp:320
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDBayesCalibration.cpp:769
Base class for the optimizer branch of the iterator hierarchy.
Definition: DakotaOptimizer.hpp:427
const RealVector & all_discrete_real_upper_bounds() const
return all discrete upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3307
void append_liar(const Variables &vars_star, int liar_id, bool rebuild)
evaluate and append a liar response
Definition: EffGlobalMinimizer.cpp:498
Definition: OutputManager.hpp:31
RealVector nlnIneqLowerBnds
nonlinear inequality constraint lower bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:375
std::map< size_t, ParConfigLIter > methodPCIterMap
track the available configurations that have been created (init_communicators) and are available for ...
Definition: DakotaIterator.hpp:598
RealVector continuousIntervalUncVars
initial values of the continuous interval uncertain variables (from the initial_point specification i...
Definition: DataVariables.hpp:560
Real fitnessLimit
The cutoff value for survival in fitness limiting selectors (e.g., below_limit selector).
Definition: DataMethod.hpp:705
String proposalCovarInputType
approach for defining proposal covariance
Definition: NonDBayesCalibration.hpp:459
void build(const MatrixXd &eval_points, const MatrixXd &response) override
Build the GP using specified build data.
Definition: SurrogatesGaussianProcess.cpp:61
int terms_ratio_to_samples(size_t num_exp_terms, Real colloc_ratio)
convert number of regression terms and collocation ratio to a number of collocation samples
Definition: NonDExpansion.hpp:863
VariablesArray bestVariablesArray
collection of N best solution variables found during the study; always in context of Model originally...
Definition: DakotaIterator.hpp:509
void values_to_ranks(RealMatrix &valid_data)
replace sample values with their ranks, in-place
Definition: SensAnalysisGlobal.cpp:97
int chainSamples
the number of MCMC chain samples
Definition: DataMethod.hpp:1177
void initialize_inactive_start_counts()
initialize start index and counts for inactive variables
Definition: SharedVariablesData.hpp:1373
NonDBayesCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDBayesCalibration.cpp:59
IntVector finalDRVPoint
the discrete real set index ending point for vector_parameter_study
Definition: ParamStudy.hpp:213
size_t num_linear_eq_constraints() const
return the number of linear equality constraints
Definition: DakotaModel.hpp:3365
std::shared_ptr< Model > modelRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaModel.hpp:1727
const SizetArray & variables_components_totals() const
returns the number of variables for each of the constitutive components
Definition: DakotaVariables.hpp:1806
SoleilDirectApplicInterface(const Dakota::ProblemDescDB &problem_db)
constructor
Definition: SoleilDirectApplicInterface.hpp:92
short dataOrder
order of the data used for surrogate construction, in ActiveSet request vector 3-bit format; user may...
Definition: NonDGlobalReliability.hpp:142
RealMatrix covLH
covariances between each LF approximation and HF truth (the c vector in ACV); organized numFunctions ...
Definition: NonDACVSampling.hpp:135
int text_book1()
portion of text_book() evaluating the objective fn
Definition: TestDriverInterface.cpp:3212
void get_variables(Model &model, VectorType &vec)
Definition: DakotaOptimizer.hpp:840
void build()
builds the shared approximation data from scratch
Definition: SharedPecosApproxData.hpp:198
bool topLevel
Whether this is the top level iterator.
Definition: DakotaIterator.hpp:542
Response(BaseConstructor, const SharedResponseData &srd)
constructor initializes the base class part of letter classes (BaseConstructor overloading avoids inf...
size_t totalLevelRequests
total number of levels specified within requestedRespLevels, requestedProbLevels, and requestedRelLev...
Definition: DakotaNonD.hpp:359
size_t solution_control_variable_index() const
return solnCntlAVIndex
Definition: SimulationModel.hpp:237
MFSolutionData()
default constructor
Definition: NonDNonHierarchSampling.hpp:126
RealVector trustRegionInitSize
initial trust region sizes in the surrogate-based local method (from the initial_size specification i...
Definition: DataMethod.hpp:439
bool expansion_gradient_flag() const
get pecosBasisApprox.configOptions.expansionGradFlag
Definition: PecosApproximation.hpp:385
void append_vector(const String &dset_name, const T &data, const bool &row=true)
Append a vector as a row or column to a 2D dataset.
Definition: HDF5_IO.hpp:1028
RealVector triangularUncVars
initial values of the triangular uncertain variables (from the initial_point specification in VarCAUV...
Definition: DataVariables.hpp:375
std::string paramsFileName
the parameters file name actually used (modified with tagging or temp files); only valid from define_...
Definition: ProcessApplicInterface.hpp:178
void DAKOTA_DLL_FN dakota_stop(int *id)
command DakotaRunner instance id to stop execution
Definition: dakota_dll_api.cpp:291
bool parallelFlag
bool flag if model supports asynchronous parallelism
Definition: EffGlobalMinimizer.hpp:305
Real combined_mean()
return the mean of the combined expansion, treating all variables as random
Definition: PecosApproximation.hpp:457
void initialize_counts()
initialize data based on variable counts
Definition: DakotaNonD.cpp:109
void calculate_evidence()
calculate the model evidence
Definition: NonDBayesCalibration.cpp:2963
std::list< DataModel > dataModelList
list of model specifications, one for each call to model_kwhandler() or insert_node()
Definition: ProblemDescDB.hpp:385
void read(MPIUnpackBuffer &s)
read a DataInterfaceRep object from a packed MPI buffer
Definition: DataMethod.cpp:405
UShortArray refQuadOrderPrev
value of Pecos::TensorProductDriver::quadOrder prior to increment_grid(), for restoration in decremen...
Definition: NonDQuadrature.hpp:178
EvaluationStore & evaluationsDB
reference to the global evaluation database
Definition: DakotaModel.hpp:1553
double * C
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:231
void all_discrete_int_variable(int a_d_var, size_t i)
set a variable within the all discrete variables in currentVariables
Definition: DakotaModel.hpp:2202
IntVector discreteDesignRangeVars
initial values for the discrete design variables defined by an integer range (from the discrete_desig...
Definition: DataVariables.hpp:229
Eigen::VectorXd VectorXd
Eigen generic column vector of doubles in Dakota namespace.
Definition: util_data_types.hpp:49
size_t numIDRV
number of inactive discrete real variables
Definition: SharedVariablesData.hpp:272
void join_evaluation_process_group(bool new_group)
create (if new_group) and join the process group for asynch evaluations
Definition: ForkApplicInterface.hpp:116
virtual void stop_init_mapping(ParLevLIter pl_iter)
called from IteratorScheduler::run_iterator() for iteratorComm rank 0 to terminate serve_init_mapping...
Definition: DakotaModel.cpp:4802
void update_svd(bool center_matrix_by_col_means=true)
ensure that the factorization is current, centering if requested
Definition: ReducedBasis.cpp:53
Real collocRatioTermsOrder
order applied to the number of expansion terms when applying or computing the collocation ratio withi...
Definition: DataMethod.hpp:1022
void deactivate_distribution_parameter_derivatives()
deactivate derivative setting w.r.t. distribution parameters
Definition: RecastModel.hpp:725
ParallelLibrary & parallelLib
reference to the ParallelLibrary object used to manage MPI partitions for the concurrent evaluations ...
Definition: ApplicationInterface.hpp:204
void set_callback(NonDQUESOBayesCalibration *queso_instance)
Update the factory's QUESO callback pointer.
Definition: QUESOImpl.hpp:232
Real & function_value_view(size_t i)
return a "view" of a function value for updating in place
Definition: DakotaResponse.hpp:548
void log_best()
log at most batchSize best chain points into bestSamples
Definition: NonDQUESOBayesCalibration.cpp:537
size_t numCrossPoints
The number of crossover points or multi-point schemes.
Definition: DataMethod.hpp:681
int illumination()
illumination example in Boyd as a general minimization problem
Definition: TestDriverInterface.cpp:3997
static void calcr(int *np, int *pp, Real *x, int *nfp, Real *r, int *ui, void *ur, Vf vf)
evaluator function for residual vector
Definition: NL2SOLLeastSq.cpp:181
size_t collocation_points() const
return specification for number of collocation points (may be part of a sequence specification)
Definition: NonDC3FunctionTrain.hpp:161