|
Dakota
Version
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:275
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:352
RealVector nonlinearIneqConLowerBnds
nonlinear inequality constraint lower bounds
Definition: DakotaConstraints.hpp:375
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:158
RealVector betaUncVars
initial values of the beta uncertain variables (from the initial_point specification in VarCAUV_Beta)
Definition: DataVariables.hpp:403
bool mpirun_flag() const
return MPIManager::mpirunFlag
Definition: ParallelLibrary.hpp:1058
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:58
UShortArray ssgLevelSeqSpec
user request of sparse grid level
Definition: NonDMultilevelStochCollocation.hpp:91
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:891
void update_level_data()
convenience function for updating z/p/beta level data and final statistics following MPP convergence
Definition: NonDLocalReliability.cpp:1680
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:492
String pointReuse
type of point reuse for approximation builds: all, region (default if points file),...
Definition: DataFitSurrModel.hpp:458
short dagRecursionType
option specified for search_model_graphs in generalized ACV methods
Definition: DataMethod.hpp:1049
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:622
void build_approximation()
builds the subModel approximation
Definition: RecastModel.hpp:930
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDLocalReliability.cpp:460
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:1224
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:936
Model & surrogate_model(size_t i=_NPOS)
return the i-th surrogate model within subModel
Definition: RecastModel.hpp:785
void track_evaluation_ids(bool track)
assigns trackEvalIds to activate tracking of evaluation ids within surrogate data,...
Definition: ApproximationInterface.hpp:449
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:1959
RealSymMatrix fnHessU
u-space Hessian for current function updated from fnHessX and Jacobian dx/du
Definition: NonDLocalReliability.hpp:282
~DataMethodRep()
destructor
Definition: DataMethod.hpp:1359
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:591
unsigned int batchSize
number of points to add to surrogate at each iteration of calibrate_with_adaptive_emulator
Definition: NonDBayesCalibration.hpp:321
std::list< DataMethod > dataMethodList
list of method specifications, one for each call to method_kwhandler() or insert_node()
Definition: ProblemDescDB.hpp:387
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:1595
RealVector frechetUncAlphas
alpha factors for the frechet uncertain variables (from the alphas specification in VarCAUV_Frechet)
Definition: DataVariables.hpp:424
TrackerHTTP()
default constructor is allowed, but doesn't generate output
Definition: TrackerHTTP.cpp:57
void set_parameter(String var, const UShortArray &val)
set UShortArray attribute value based on identifier string
Definition: SharedC3ApproxData.hpp:561
short query_distribution_parameter_derivatives() const
calculate and return derivative composition of final results w.r.t. distribution parameters (none,...
Definition: RecastModel.hpp:724
short primary_fn_type() const
get the primary function type (generic, objective, calibration)
Definition: SharedResponseData.hpp:382
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:1201
IntVector discreteDesignRangeLowerBnds
lower bounds array for the discrete design variables defined by an integer range (from the discrete_d...
Definition: DataVariables.hpp:240
String modelType
type of model: simulation, nested, or surrogate
Definition: DakotaModel.hpp:1419
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:39
String postRunOutput
filename for post_run output
Definition: DataEnvironment.hpp:75
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:148
void initialize_run()
invokes Optimizer::initialize_run(), SNLLBase::snll_initialize_run(), and performs other set-up
Definition: SNLLOptimizer.cpp:1001
std::shared_ptr< DataInterfaceRep > data_rep()
return dataIfaceRep
Definition: DataInterface.hpp:335
size_t numNonlinearEqCons
number of nonlinear equality constraints
Definition: DakotaConstraints.hpp:373
int pointsTotal
user-specified lower bound on total points with which to build the model (if reuse_points < pointsTot...
Definition: DataModel.hpp:161
short c3AdvancementType
type of advancement strategy used in uniform refinement: {START_ORDER,START_RANK,MAX_ORDER,...
Definition: SharedC3ApproxData.hpp:295
unsigned short distConvergenceCntr
counter for consecutive iterates with variable distance < distanceTol
Definition: EffGlobalMinimizer.hpp:322
OPTPP::NLF2 * nlf2Con
pointer to constraint NLF for full Newton optimizers
Definition: SNLLLeastSq.hpp:192
const MPI_Comm & hub_server_intra_communicator() const
return hubServerIntraComm
Definition: ParallelLibrary.hpp:349
bool supports_discrete_variables()
Return the flag indicating whether method supports discrete variables.
Definition: SurrBasedGlobalMinimizer.hpp:53
size_t costMetadataIndex
index of metadata label used for online cost recovery
Definition: SimulationModel.hpp:209
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:504
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:1630
Class for partitioning multiple levels of parallelism and managing message passing within these level...
Definition: ParallelLibrary.hpp:624
bool tabularDataFlag
flags tabular data collection by the environment (from the tabular_graphics_data specification in Env...
Definition: DataEnvironment.hpp:85
Model()
default constructor
Definition: DakotaModel.cpp:294
Real levenshtein_distance(const String &v)
Compute Levenshtein distance between v and LEV_REF.
Definition: TestDriverInterface.cpp:4856
RealSymMatrixArray covLL
covariances among all LF approximations (the C matrix in ACV); organized as a numFunctions array of s...
Definition: NonDNonHierarchSampling.hpp:324
RealVector loguniformUncVars
initial values of the loguniform uncertain variables (from the initial_point specification in VarCAUV...
Definition: DataVariables.hpp:370
SurrBasedGlobalMinimizer(ProblemDescDB &problem_db, Model &model)
constructor
Definition: SurrBasedGlobalMinimizer.cpp:33
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:95
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
resets number of samples and sampling flags
Definition: NonDSampling.hpp:506
short regressionType
type of regression: LS, OMP, BP, BPDN, LARS, or LASSO
Definition: DataMethod.hpp:970
RealMatrix approxPoint
Point at which a prediction is requested. This is currently a single point, but it could be generaliz...
Definition: GaussProcApproximation.hpp:225
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:1260
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:1618
void update_samples_from_order_increment()
update numSamplesOnModel after an order increment
Definition: NonDPolynomialChaos.cpp:1155
HOPSPACK::ParameterList * mediatorParams
Pointer to APPS mediator parameter sublist.
Definition: APPSOptimizer.hpp:197
String prevRespId
for tracking need to update response label arrays
Definition: DirectApplicInterface.hpp:244
short convergenceTolTarget
store the convergence_tolerance_target input specification, prior to run-time Options right now:
Definition: NonDMultilevelSampling.hpp:541
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:588
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:205
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:1094
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:1357
String importPredConfigs
whether to import prediction configurations at which to calculate model discrepancy
Definition: NonDBayesCalibration.hpp:391
bool mpirun_flag() const
true when Dakota is running in MPI mode
Definition: MPIManager.hpp:88
std::vector< Approximation > & approximations()
retrieve the set of Approximations from the subModel
Definition: RecastModel.hpp:1018
String mutationType
the mutation_type specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:638
IntVector discRealStepVector
the n-dimensional discrete real set index increment
Definition: ParamStudy.hpp:229
SizetMultiArrayConstView all_continuous_variable_ids() const
return all continuous variable identifiers from currentVariables
Definition: DakotaModel.hpp:2295
bool correctionComputed
flag indicating whether or not a correction has been computed and is available for application
Definition: DiscrepancyCorrection.hpp:140
const IntSet & get_is(const String &entry_name) const
get an IntSet out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1736
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:29
DataEnvironment & operator=(const DataEnvironment &)
assignment operator
Definition: DataEnvironment.cpp:87
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:150
String importBuildPointsFile
user-specified file for importing build points
Definition: NonDC3FunctionTrain.hpp:120
void print_hi2lo_begin(int num_it)
print calibrate_to_hifi progress
Definition: NonDBayesCalibration.cpp:1229
friend class boost::serialization::access
allow boost access to serialize this class
Definition: SharedResponseData.hpp:166
StringArray metadataLabels
descriptors for metadata fields (empty if none)
Definition: SharedResponseData.hpp:132
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:2324
short covarianceControl
enumeration for controlling response covariance calculation and output: {DEFAULT,DIAGONAL,...
Definition: NonDExpansion.hpp:521
IntVariablesMap adapterVarsMap
map of variables used by derived_evaluate_nowait(). Caches values needed for evaluation in synchroniz...
Definition: AdapterModel.hpp:176
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:243
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:1335
StringArray continuousStateLabels
labels array for the continuous state variables (from the continuous_state descriptors specification ...
Definition: DataVariables.hpp:670
void archive_allocate_pdf()
allocate results array storage for pdf histograms
Definition: DakotaNonD.cpp:1501
bool preproc_input() const
pre-process input file
Definition: ProgramOptions.cpp:126
void check_id(int id1, int id2)
verify consistency between two evaluation identifiers
Definition: ApproximationInterface.hpp:621
int sobol_g_function()
Sobol SA discontinuous test function.
Definition: TestDriverInterface.cpp:3089
void core_run()
Performs local surrogate-based minimization by minimizing local, global, or hierarchical surrogates o...
Definition: SurrBasedLocalMinimizer.cpp:370
RealVector allContinuousVars
array combining all of the continuous variables
Definition: DakotaVariables.hpp:608
int damped_oscillator()
1d-6d that returns field values (ode solution)
Definition: TestDriverInterface.cpp:2415
Real delta_combined_std_deviation()
return the change in standard deviation resulting from combined expansion refinement,...
Definition: PecosApproximation.hpp:572
SharedApproxData & shared_approximation()
retrieve the SharedApproxData from approxInterface
Definition: DataFitSurrModel.hpp:823
Real continuous_lower_bound(size_t i) const
return an active continuous lower bound from userDefinedConstraints
Definition: DakotaModel.hpp:2765
static bool rank_sort(const int &x, const int &y)
sort algorithm to compute ranks for rank correlations
Definition: SensAnalysisGlobal.cpp:32
void initialize_run()
Definition: APPSOptimizer.cpp:43
void build()
builds the approximation from scratch
Definition: QMEApproximation.cpp:62
short rbfMaxPts
maximum number of points for radial basis function approximation
Definition: DataModel.hpp:255
bool ignore_bounds() const
option for ignoring bounds when numerically estimating derivatives
Definition: DakotaModel.hpp:3624
const IntVector & all_discrete_int_upper_bounds() const
return all discrete upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3240
Real discrete_real_variable(size_t index) const
return an active discrete real variable
Definition: DakotaVariables.hpp:902
bool replacePoints
flag for replacing the previous iteration's point additions, rather than continuing to append,...
Definition: SurrBasedGlobalMinimizer.hpp:115
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:893
unsigned short mlmfSubMethod
variance minimization algorithm selection: SUBMETHOD_MFMC or SUBMETHOD_ACV_{IS,MF,...
Definition: NonDNonHierarchSampling.hpp:301
friend bool operator!=(const ActiveSet &set1, const ActiveSet &set2)
inequality operator
Definition: DakotaActiveSet.hpp:298
void generate_samples(RealVectorArray &var_samples_u)
generate a set of samples based on multimodal sampling density
Definition: NonDAdaptImpSampling.cpp:591
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:211
std::shared_ptr< Interface > interfaceRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaInterface.hpp:492
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:461
size_t idrv() const
returns number of inactive discrete real vars
Definition: DakotaModel.hpp:1790
const RealVector & fd_gradient_step_size() const
return the finite difference gradient step size (fdGradStepSize)
Definition: DakotaModel.hpp:3632
virtual ~NonlinearCGTraits()
destructor
Definition: NonlinearCGOptimizer.hpp:37
void read(std::istream &s)
read an active set object from an std::istream
Definition: DakotaActiveSet.hpp:253
RealVector pExp
vector of exponent values
Definition: QMEApproximation.hpp:89
IntVector discreteIntAleatoryUncLowerBnds
distribution lower bounds for all discrete integer aleatory uncertain variables
Definition: DataVariables.hpp:728
bool command_line_pre_run() const
return preRunFlag
Definition: ParallelLibrary.hpp:1337
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:90
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDLocalReliability.cpp:447
RealVector failRecoveryFnVals
the dummy function values used for the recover failAction
Definition: ApplicationInterface.hpp:518
void printDebugInfo(void) const
empty implementation of debug info needed to complete the interface
Definition: APPSEvalMgr.hpp:73
const RealVector & all_data(size_t experiment)
return contiguous vector of all data (scalar, followed by field) for the specified experiment
Definition: ExperimentData.cpp:812
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:692
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:3295
void method_recourse()
perform a numerical solver method switch due to a detected conflict
Definition: NonDNonHierarchSampling.hpp:408
WorkdirHelper & operator=(const WorkdirHelper &)
assignment operator
RealVector approxFnsPrevCenter
copy of approximate function values at center of previous correction cycle
Definition: DiscrepancyCorrection.hpp:256
void post_run(std::ostream &s)
performs data recovery and calls Optimizer::post_run()
Definition: SNLLOptimizer.cpp:1061
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:5075
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:1185
virtual void update_from_subordinate_model(size_t depth=SZ_MAX)
propagate vars/labels/bounds/targets from the bottom up
Definition: DakotaModel.cpp:3615
virtual void coefficient_labels(std::vector< std::string > &coeff_labels) const
print the coefficient array computed in build()/rebuild()
Definition: DakotaApproximation.cpp:942
Pecos::ActiveKey truthModelKey
key defining active model form / resolution level for the truth model
Definition: EnsembleSurrModel.hpp:292
SharedApproxData sharedData
data that is shared among all correction Approximations
Definition: DiscrepancyCorrection.hpp:220
size_t numObs
The number of observations on which the GP surface is built.
Definition: VPSApproximation.hpp:201
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:1328
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:1251
RealVectorArray ccBelVal
Storage array to hold CCB response values.
Definition: NonDInterval.hpp:113
virtual const StringArray & analysis_drivers() const
retrieve the analysis drivers specification for application interfaces
Definition: DakotaInterface.cpp:1461
const RealVector & discrete_real_lower_bounds() const
return the active discrete real lower bounds from userDefinedConstraints
Definition: DakotaModel.hpp:2922
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:167
short methodOutput
method verbosity control: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT (from the output specification i...
Definition: DataMethod.hpp:309
void evaluate()
Compute the Response at currentVariables (default ActiveSet).
Definition: DakotaModel.cpp:1194
const RealVector & inactive_discrete_real_upper_bounds() const
return the inactive discrete upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3116
int main(int argc, char *argv[])
The main program for exercising the DLL API with a simple command-line.
Definition: dll_tester.cpp:25
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:212
void synchronous_local_evaluations(PRPQueue &prp_queue)
perform all jobs in prp_queue using synchronous approaches on the local processor
Definition: ApplicationInterface.cpp:2106
unsigned short subspaceSampleType
sampling method for building the subspace model
Definition: DataModel.hpp:360
virtual void nonlinear_constraints(const RealVector &nln_ineq_lb, const RealVector &nln_ineq_ub, const RealVector &nln_eq_tgt)
assign nonlinear inequality and equality constraint allowables for this iterator (user-functions mode...
Definition: DakotaIterator.cpp:1561
OPTPP::NLF1 * nlf1Con
pointer to constraint NLF for (analytic) gradient-based optimizers
Definition: SNLLOptimizer.hpp:321
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:498
short ruleGrowthOverride
user override of default rule growth: NO_GROWTH_OVERRIDE, RESTRICTED, or UNRESTRICTED
Definition: NonDExpansion.hpp:490
int subIteratorJobCntr
subIterator job counter since last synchronize()
Definition: NestedModel.hpp:298
void flush() const override
Flush HDF5 cache to disk.
Definition: ResultsDBHDF5.cpp:263
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:837
virtual void update_model_from_sample(Model &model, const Real *sample_vars)
update model's current variables with data from sample
Definition: DakotaAnalyzer.cpp:313
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:181
StringMultiArrayConstView all_discrete_real_variable_labels() const
return all discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2681
Real stepLength
current step length parameter alpha
Definition: NonlinearCGOptimizer.hpp:143
unsigned short cubIntRule
the isotropic cubature integration rule
Definition: NonDCubature.hpp:107
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:1865
size_t secondaryIndex
setting for the inactive model dimension not traversed by primary MF/ACV loop over steps
Definition: NonDEnsembleSampling.hpp:166
int scilab_engine_run(const String &ac_name)
principal Scilab execute function
Definition: ScilabInterface.cpp:92
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDAdaptImpSampling.cpp:863
void serve_analyses_asynch()
serve the analysis scheduler and execute analysis jobs asynchronously
Definition: ProcessHandleApplicInterface.cpp:378
StringMultiArrayConstView discrete_real_variable_labels() const
return the active discrete variable labels from currentVariables
Definition: DakotaModel.hpp:2496
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:777
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:1771
void push_c3_start_rank(size_t start_rank)
Publish configuration data for initial function train cores, prior to any adaptation.
Definition: NonDC3FunctionTrain.cpp:482
void file_cleanup() const
Definition: ProcessApplicInterface.cpp:895
IntVector discreteDesignSetIntLowerBnds
discrete design integer set lower bounds inferred from set values
Definition: DataVariables.hpp:691
unsigned short startOrder
starting polynomial order
Definition: DataModel.hpp:428
bool evaluation_cache() const
return evalCacheFlag
Definition: ApplicationInterface.hpp:596
~AdapterModel()
destructor
Definition: AdapterModel.hpp:201
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:733
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:759
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:119
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:384
void read(MPIUnpackBuffer &s)
read a DataVariables object from a packed MPI buffer
Definition: DataVariables.hpp:1031
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:681
const RealVector & gradient(const Variables &vars) override
retrieve the approximate function gradient for a given parameter vector x
Definition: SurfpackApproximation.cpp:536
RealMatrix prevFnGradULev0
matrix of limit state sensitivities w.r.t. active/uncertain variables for level 0....
Definition: NonDLocalReliability.hpp:322
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:486
StringArray discreteIntEpistemicUncLabels
labels for all discrete integer epistemic uncertain variables
Definition: DataVariables.hpp:775
void set_communicators_checks(int max_eval_concurrency)
Definition: DirectApplicInterface.hpp:275
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:104
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:297
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:1233
int expandAfterSuccess
the expand_after_success specification for PS/SW methods in MethodSCOLIBPS and MethodSCOLIBSW
Definition: DataMethod.hpp:618
bool pmaMaximizeG
flag indicating maximization of G(u) within PMA formulation
Definition: NonDReliability.hpp:107
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDLHSInterval.cpp:74
~SharedSurfpackApproxData()
destructor
Definition: SharedSurfpackApproxData.hpp:159
short correction_order() const
retrieve subModel's correction order
Definition: RecastModel.hpp:926
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:715
int evaluation_id() const
returns the value of the (total) evaluation id counter for the interface
Definition: DakotaInterface.hpp:513
Class for using local gradient-based optimization approaches to calculate interval bounds for epistem...
Definition: NonDLocalSingleInterval.hpp:36
size_t vc_lookup(unsigned short key) const
retrieve the count within variablesComponents corresponding to key
Definition: SharedVariablesData.hpp:334
bool resize()
reinitializes iterator based on new variable size
Definition: NonDPOFDarts.cpp:97
int rdreq
whether to compute the regression diagnostic vector (regression_diagnostics)
Definition: NL2SOLLeastSq.hpp:145
size_t icv() const
number of inactive continuous vars
Definition: DakotaVariables.hpp:742
void snll_finalize_run(OPTPP::NLP0 *nlf_objective)
convenience function for clearing OPT++ data after method execution
Definition: SNLLBase.cpp:328
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:641
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDGPMSABayesCalibration.cpp:649
void set_cell_bounds()
set the optimization variable bounds for each cell
Definition: NonDGlobalEvidence.cpp:42
std::vector< Real > VecT
ROL default data type to be used by Dakota data adapters.
Definition: ROLOptimizer.hpp:148
Pecos::ActiveKey activeKey
key indicating the active model or model-pair used for approximation data
Definition: SharedApproxData.hpp:248
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:392
void startup_message(const String &start_msg)
Set the Dakota startup message ("Running on...")
Definition: OutputManager.cpp:280
RealVector functionValues
Abstract set of response functions. Ordered: [primary_scalar, primary_field, nonlinear_inequality,...
Definition: DakotaResponse.hpp:406
size_t numLinearEqConstraints
number of linear equality constraints
Definition: DakotaMinimizer.hpp:260
Teuchos::RCP< ROL::StdVector< Real > > upperBounds
Handle to ROL's upper bounds vector.
Definition: ROLOptimizer.hpp:119
String intervalType
numerical gradient interval type: forward or central (from the interval_type specification in RespGra...
Definition: DataResponses.hpp:206
void wait_local_evaluation_sequence(PRPQueue &prp_queue)
Definition: SysCallApplicInterface.hpp:107
void multilevel_mc_pilot_projection()
Qsum approach projecting estimator performance from a pilot sample.
Definition: NonDMultilevelSampling.cpp:429
int randomSeed
current seed for the random number generator
Definition: PSUADEDesignCompExp.hpp:103
String postProcessorType
The post processor type.
Definition: DataMethod.hpp:715
int * ISC
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:253
int barnes_lf()
lo-fi barnes test for SBO perforamnce
Definition: TestDriverInterface.cpp:4267
bool singleIntervalFlag
flag for SingleInterval derived class
Definition: NonDInterval.hpp:106
RealVector globalLowerBnds
Global lower bounds.
Definition: SurrBasedLocalMinimizer.hpp:232
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:931
Definition: PythonInterface.hpp:33
RealSymMatrix FMat
the "F" matrix from Gorodetsky JCP paper
Definition: NonDACVSampling.hpp:263
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:1371
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:203
void prior_mean(VectorType &mean_vec) const
return the mean of the prior distribution
Definition: NonDBayesCalibration.hpp:772
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:1245
~ActiveSet()
destructor
Definition: DakotaActiveSet.hpp:149
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:123
double * DF
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:246
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: SurrBasedGlobalMinimizer.hpp:62
void compute_moments()
compute expansion moments; this uses a lightweight approach for incremental statistics (no additional...
Definition: NonDExpansion.cpp:2921
Model negLogPostModel
RecastModel for solving for MAP: reduces residualModel to scalar negative log posterior.
Definition: NonDBayesCalibration.hpp:305
short corrOrder
order of correction: 0 (value), 1 (gradient), or 2 (Hessian)
Definition: SurrogateModel.hpp:209
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:77
void active_variables(const Variables &vars)
copy the active cv/div/dsv/drv variables from vars
Definition: DakotaVariables.hpp:921
RealVector gVec
the "g" vector in Bomarito et al.
Definition: NonDGenACVSampling.hpp:192
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: SurrBasedGlobalMinimizer.hpp:50
ProgramOptions programOptions
the command line options manager
Definition: DakotaEnvironment.hpp:155
Model & truth_model()
return truthModel
Definition: EnsembleSurrModel.hpp:884
short correction_order() const
return the correction order from the DiscrepancyCorrection object used by SurrogateModels
Definition: SurrogateModel.hpp:338
int salinas()
direct interface to the SALINAS structural dynamics code
Definition: TestDriverInterface.cpp:4890
virtual void initialize()
perform any required initialization
Definition: NonDLocalInterval.cpp:238
bool user_stderr_redirect() const
whether the user/client code requested a redirect of stderr
Definition: ProgramOptions.cpp:224
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:41
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:1468
size_t collocPtsSpec
user specification for collocation_points
Definition: NonDC3FunctionTrain.hpp:154
virtual bool multifidelity_precedence() const
return precedence for hierarchy definition, model forms or resolution levels
Definition: DakotaModel.cpp:3555
SizetArray activeVarsCompsTotals
totals for active variable type counts for {continuous,discrete integer,discrete string,...
Definition: SharedVariablesData.hpp:244
virtual int derived_map_ac(const String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: ScilabInterface.cpp:73
ProgramOptions & program_options()
return programOptions reference
Definition: ParallelLibrary.hpp:1042
void discrete_string_variable_type(unsigned short dsv_type, size_t index)
set an active discrete string variable type
Definition: DakotaVariables.hpp:1332
virtual ~DakotaROLEqConstraintsHess()
Destructor.
Definition: ROLOptimizer.hpp:536
String approxPointReuse
sample reuse selection for building global approximations: none, all, region, or file (from the reuse...
Definition: DataModel.hpp:169
bool pre_run() const
is pre-run mode active?
Definition: ProgramOptions.cpp:166
~VPSApproximation()
destructor
Definition: VPSApproximation.cpp:98
DataFitSurrModel(ProblemDescDB &problem_db)
constructor
Definition: DataFitSurrModel.cpp:36
virtual bool advancement_available()
query for available advancements in approximation resolution controls
Definition: DakotaInterface.cpp:1297
int batchEvalId
counter for incrementing evaluation ids to allow synchronization with iteratedModel ids across acquis...
Definition: EffGlobalMinimizer.hpp:303
const RealVector & all_continuous_upper_bounds() const
returns a single array with all continuous upper bounds
Definition: DakotaConstraints.hpp:748
void build_model_discrepancy()
calculate model discrepancy with respect to experimental data
Definition: NonDBayesCalibration.cpp:1652
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:1171
Real maxStep
the max_step specification in MethodOPTPPDC
Definition: DataMethod.hpp:517
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:307
std::list< DataVariables > dataVariablesList
list of variables specifications, one for each call to variables_kwhandler() or insert_node()
Definition: ProblemDescDB.hpp:393
virtual void primary_diagnostics(size_t fn_index)
compute and print all requested diagnostics and cross-validation
Definition: DakotaApproximation.cpp:872
bool useWorkdir
whether to use a work_directory
Definition: ProcessApplicInterface.hpp:216
IntIntMapArray modelIdMaps
map from evaluation ids of truthModel/approxModels to EnsembleSurrModel ids
Definition: EnsembleSurrModel.hpp:317
size_t numExperiments
number of experiments
Definition: DakotaMinimizer.hpp:292
Real average(const Real *vec, size_t vec_len) const
compute average of a set of observations
Definition: NonDEnsembleSampling.hpp:509
IntVector discIntStepVector
the n-dimensional discrete integer range value or set index increment
Definition: ParamStudy.hpp:225
unsigned short localDataView
bit-wise record of which local data views are active; see enum local_data_t
Definition: DirectApplicInterface.hpp:171
size_t numDiscreteDesSetStrVars
number of discrete design variables defined by a set of strings (from the discrete_design_set string ...
Definition: DataVariables.hpp:120
MPI_Comm analysis_comm() const
retrieve the MPI communicator on which this model is configured to conduct function evaluation analys...
Definition: DakotaModel.cpp:4884
short outputLevel
output verbosity level: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT
Definition: SharedApproxData.hpp:245
const RealVector & combined_moments() const
return combined moments from multilevel-muktifidelity expansion roll-up
Definition: PecosApproximation.hpp:692
void core_run()
Definition: NonDSampling.cpp:969
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:990
~NCSUOptimizer()
destructor
Definition: NCSUOptimizer.cpp:151
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:982
void continuous_variable_type(unsigned short cv_type, size_t i)
set an active continuous variable type in currentVariables
Definition: DakotaModel.hpp:1966
size_t num_config_vars() const
number of configuration variables
Definition: ExperimentData.cpp:761
~NonDPolynomialChaos()
destructor
Definition: NonDPolynomialChaos.cpp:456
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:531
StringArray linearEqScaleTypes
scaling types for the linear equality constraints (from the linear_equality_scale_types specification...
Definition: DataVariables.hpp:839
void update_final_statistics_gradients()
update function gradients within finalStatistics
Definition: NonDExpansion.cpp:3794
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:24
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:1733
virtual const RealVector & gradient(const Variables &vars)
retrieve the approximate function gradient for a given parameter vector
Definition: DakotaApproximation.cpp:415
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)
initialize the MLMF accumulators for computing means, variances, and covariances across fidelity leve...
Definition: NonDMultilevControlVarSampling.cpp:1373
void initialize_variables_and_constraints()
initializes problem variables and constraints
Definition: APPSOptimizer.cpp:313
unsigned short maxCVOrderCandidates
restrict the number of candidates within cross validation for order (by increasing start order when n...
Definition: SharedC3ApproxData.hpp:306
void archive_results(int num_samples, size_t ind_inc=0)
Archive all results.
Definition: NonDLHSSampling.cpp:1056
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:425
void print_coefficients(std::ostream &s, bool normalized)
print the coefficient array computed in build()/rebuild()
Definition: PecosApproximation.hpp:822
int totalPatternSize
the total_pattern_size specification for PS methods in MethodSCOLIBPS
Definition: DataMethod.hpp:627
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:44
String postRunOutput
filename for post_run output
Definition: ProgramOptions.hpp:267
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:749
HOPSPACK::ParameterList params
Pointer to APPS parameter list.
Definition: APPSOptimizer.hpp:188
Wrapper class for optimizers defined using COLIN.
Definition: COLINOptimizer.hpp:86
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:172
RealVector discreteDesignSetRealLowerBnds
discrete design real set lower bounds inferred from set values
Definition: DataVariables.hpp:699
void mean_value()
convenience function for encapsulating the simple Mean Value computation of approximate statistics an...
Definition: NonDLocalReliability.cpp:587
int asynch_local_evaluation_concurrency() const
return asynchLocalEvalConcurrency
Definition: ApplicationInterface.hpp:588
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:1499
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:124
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:450
std::list< void * > VIL
List of Var_Info pointers, one per Variables instance.
Definition: NIDRProblemDescDB.hpp:78
RealVector fdGradStepSize
vector of finite difference step sizes for numerical gradients, one step size per active continuous v...
Definition: DataResponses.hpp:211
~RelaxedVariables()
destructor
Definition: RelaxedVariables.hpp:106
static void uncentered_to_centered(Real rm1, Real rm2, Real rm3, Real rm4, Real &cm1, Real &cm2, Real &cm3, Real &cm4, size_t Nlq)
convert uncentered (raw) moments to centered moments; biased estimators
Definition: NonDEnsembleSampling.hpp:435
void lhood_2d_grid_eval()
For problems with 2D input, evaluates the negative log likelihood on a grid.
Definition: GaussProcApproximation.cpp:1223
int numSamples
the samples specification for NonD & DACE methods
Definition: DataMethod.hpp:852
size_t numFieldNonlinearIneqConstraints
number of field nonlinear inequality constraints (from the num_scalar_nonlinear_inequality_constraint...
Definition: DataResponses.hpp:104
IntVector inactiveDiscreteIntUpperBnds
the inactive discrete upper bounds array view
Definition: DakotaConstraints.hpp:420
engine * matlabEngine
pointer to the MATLAB engine used for direct evaluations
Definition: MatlabInterface.hpp:50
void print_convergence_code(std::ostream &s, unsigned short code)
print out the state corresponding to the code returned by converged()
Definition: SurrBasedLocalMinimizer.cpp:409
void post_start(ProblemDescDB &problem_db)
post the start of an analysis and archive start time
Definition: UsageTracker.cpp:38
void all_variables(const Variables &vars)
copy all cv/div/dsv/drv variables from vars
Definition: DakotaVariables.hpp:942
bool userNumpyFlag
whether the user requested numpy data structures in the input file
Definition: PythonInterface.hpp:49
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:5008
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:983
bool exportSampleSeqFlag
flag for exporting the sequence of sample increments within multilevel sampling from the export_sampl...
Definition: DataMethod.hpp:1316
Real discrete_real_upper_bound(size_t i) const
return an active discrete real upper bound from userDefinedConstraints
Definition: DakotaModel.hpp:2972
size_t numDACERuns
counter for number of executions for this object
Definition: FSUDesignCompExp.hpp:94
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:149
bool derivative_estimation()
indicates potential usage of estimate_derivatives() based on gradientType/hessianType
Definition: DakotaModel.hpp:3713
void derived_subordinate_models(ModelList &ml, bool recurse_flag)
return subModel
Definition: NestedModel.hpp:479
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:206
const IntResponseMap & derived_synchronize()
portion of synchronize() specific to AdapterModel
Definition: AdapterModel.cpp:185
void clear_current_active_data()
clears current data from an approximation interface
Definition: ApproximationInterface.hpp:542
NonDIntegration(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDIntegration.cpp:33
bool curvatureDataAvailable
flag indicating that sufficient data (i.e., fnGradU, fnHessU, mostProbPointU) is available for comput...
Definition: NonDLocalReliability.hpp:339
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:3415
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:60
IntArray fnHessRefPt
iteration reference point for fnHessCounter
Definition: DakotaInterface.hpp:407
~IteratorScheduler()
destructor
Definition: IteratorScheduler.hpp:211
Definition: ROLOptimizer.hpp:261
void debug_plots()
DEBUG_PLOTS conditional - output set of samples used to build the GP if problem is 2D.
Definition: EffGlobalMinimizer.cpp:1184
RealSymMatrix finalStatErrors
standard errors (estimator std deviation) for each of the finalStatistics
Definition: NonDSampling.hpp:328
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:667
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:549
size_t analysisDriverIndex
the index of the active analysis driver within analysisDrivers
Definition: DirectApplicInterface.hpp:225
bool returns_multiple_points() const
Global surrogate-based methods can return multiple points.
Definition: SurrBasedGlobalMinimizer.hpp:126
TANA3Approximation()
default constructor
Definition: TANA3Approximation.hpp:95
void method_recourse()
perform a method switch, if possible, due to a detected conflict
Definition: NonDLocalInterval.cpp:291
bool crossValidation
flag for use of cross-validation for selection of parameter settings in regression approaches
Definition: NonDPolynomialChaos.hpp:195
StringMultiArrayConstView discrete_string_variables() const
return the active discrete string variables from currentVariables
Definition: DakotaModel.hpp:1894
RealVector linIneqUpperBnds
linear inequality constraint upper bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:361
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:923
virtual void resolve_inputs(short &u_space_type, short &data_order)
perform error checks and mode overrides
Definition: NonDExpansion.cpp:239
OPTPP::NLP * nlpConstraint
constraint NLP pointer
Definition: SNLLLeastSq.hpp:186
StringArray discreteUncSetStrVars
initial values of the discrete uncertain set integer variables (from the initial_point specification ...
Definition: DataVariables.hpp:597
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:147
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: DakotaVerification.cpp:64
UShortArray discStringVarPartitions
number of partitions for each discrete string variable in a multidim_parameter_study
Definition: ParamStudy.hpp:263
void clear_model_keys()
remove keys for any approximations underlying {truth,approx}Models
Definition: EnsembleSurrModel.hpp:928
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:302
Real initialStep
initial step length
Definition: NonlinearCGOptimizer.hpp:103
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:282
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:52
short meritFnType
type of merit function used in trust region ratio logic: PENALTY_MERIT, ADAPTIVE_PENALTY_MERIT,...
Definition: SurrBasedLocalMinimizer.hpp:191
void set_total_workers(const int numDakotaWorkers)
publishes the number of processors available for function evaluations
Definition: APPSEvalMgr.hpp:90
IntVector binomialUncVars
initial values of the binomial uncertain variables (from the initial_point specification in VarDAUV_B...
Definition: DataVariables.hpp:472
virtual void update_approximation(bool rebuild_flag)
replace the approximation data within an existing surrogate based on data updates propagated elsewher...
Definition: DakotaModel.cpp:3975
void importance_sampling()
perform multimodal adaptive importance sampling on the GP
Definition: NonDGlobalReliability.cpp:810
void update_reference()
invokes SparseGridDriver::update_reference()
Definition: NonDSparseGrid.hpp:208
size_t idiv() const
returns number of inactive discrete integer vars
Definition: DakotaModel.hpp:1776
unsigned short approxOrder
order of polynomial approximation
Definition: SharedSurfpackApproxData.hpp:139
StringMultiArrayConstView discrete_int_variable_labels() const
return the active discrete integer variable labels
Definition: DakotaVariables.hpp:1090
int numTrials
the numTrials specification in MethodFSUDACE
Definition: DataMethod.hpp:779
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:111
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:656
String write_restart_file() const
write retart (user-provided or default) file base name (no tag)
Definition: ProgramOptions.cpp:153
String proposalCovFile
file from which to read proposal covariance in diagonal or matrix format
Definition: DataMethod.hpp:1146
void get_nonlinear_ineq_constraints(const Model &model, VecT &values)
Definition: DakotaOptimizer.hpp:957
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:240
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:414
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:786
ParConfigLIter schedPCIter
iterator for active parallel configuration
Definition: IteratorScheduler.hpp:186
std::vector< driver_t > analysisDriverTypes
conversion of analysisDrivers to driver_t
Definition: DirectApplicInterface.hpp:222
int herbie()
returns the N-D herbie function
Definition: TestDriverInterface.cpp:4523
void print_results(std::ostream &s, short results_state=FINAL_RESULTS) override
print the final iterator results
Definition: NonDQUESOBayesCalibration.cpp:1007
unsigned short scalarDataFormat
tabular format of the simple scalar data file; supports TABULAR_NONE, TABULAR_HEADER,...
Definition: ExperimentData.hpp:457
const Pecos::ActiveKey & active_model_key() const
return active multi-index key
Definition: SharedApproxData.hpp:311
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:1004
UsageTracker(const UsageTracker &)
copy construction is disallowed
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return ROL format for nonlinear inequality constraints.
Definition: ROLOptimizer.hpp:174
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:1160
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:99
bool derived_master_overload() const
flag which prevents overloading the master with a multiprocessor evaluation (request forwarded to sub...
Definition: RecastModel.hpp:1071
ProgramOptions & program_options()
return programOptions
Definition: DakotaEnvironment.hpp:188
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:1404
void pull_lower_triangle(const RealSymMatrix &mat, RealVector &vec, size_t offset=0)
pull lower triangle of symmetric matrix into vector
Definition: NonDExpansion.hpp:796
const Real & function_value(size_t i) const
return a function value
Definition: DakotaResponse.hpp:545
RealSetArray discreteDesignSetReal
complete set of admissible values for each of the discrete design variables defined by a real set (fr...
Definition: DataVariables.hpp:271
short multilevDiscrepEmulation
emulation approach for multilevel / multifidelity discrepancy: distinct or recursive
Definition: NonDExpansion.hpp:459
StringMultiArray allDiscreteStringLabels
array of variable labels for all of the discrete string variables
Definition: SharedVariablesData.hpp:285
size_t push_index(const Pecos::ActiveKey &key)
Definition: SharedPecosApproxData.hpp:227
void start_dakota_heartbeat(int)
Definition: OutputManager.cpp:1104
RealVectorArray responseLevels
the response_levels specification in MethodNonD
Definition: DataMethod.hpp:1083
std::shared_ptr< DataInterfaceRep > dataIfaceRep
pointer to the body (handle-body idiom)
Definition: DataInterface.hpp:331
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
InterfaceList & interface_list()
return a list of all Interface objects that have been instantiated
Definition: ProblemDescDB.hpp:566
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:1141
void calc_grad_nll()
Gets the gradient of the negative log likelihood function with respect to the correlation lengthscale...
Definition: GaussProcApproximation.cpp:858
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:192
RealPairPRPMultiMap bestVarsRespMap
map which stores best set of solutions
Definition: DakotaAnalyzer.hpp:203
Response(short type, const ActiveSet &set)
alternate constructor using limited data without sharing
Real linear_cost(const RealVector &N_vec)
constraint helper function shared by NPSOL/OPT++ static evaluators
Definition: NonDNonHierarchSampling.cpp:1115
void manage_mpi(MPI_Comm &my_comm, int &color)
Split MPI_COMM_WORLD, returning the comm and color.
Definition: library_split.cpp:83
virtual void method_recourse()
perform a method switch, if possible, due to a detected conflict
Definition: DakotaIterator.cpp:1753
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:420
Definition: WorkdirHelper.hpp:117
Iterator daceIterator
String dataDirectoryBasename;.
Definition: RandomFieldModel.hpp:167
void core_run()
perform a forward uncertainty propagation using PCE/SC methods
Definition: NonDExpansion.cpp:723
SizetArray expansionSamplesSeq
the expansion_samples_sequence specification in MethodNonDPCE
Definition: DataMethod.hpp:940
void initialize_run()
utility function to perform common operations prior to pre_run(); typically memory initialization; se...
Definition: CONMINOptimizer.cpp:263
void init_communicators_checks(int max_eval_concurrency)
Definition: ProcessHandleApplicInterface.hpp:177
virtual void discrepancy_emulation_mode(short mode)
set discrepancy emulation mode used for approximating response differences
Definition: DakotaInterface.cpp:1482
size_t approxIters
number of approximation cycles for the current respFnCount/levelCount
Definition: NonDReliability.hpp:95
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:918
IntArray pointsAddedIndex
Used by the point selection algorithm, this vector keeps track all points which have been added.
Definition: GaussProcApproximation.hpp:271
void * dlLib
handle to dynamically loaded library
Definition: DataMethod.hpp:486
bool calModelDiscrepancy
flag whether to calculate model discrepancy
Definition: NonDBayesCalibration.hpp:357
boost::mt19937 rnumGenerator
random number engine for sampling the prior
Definition: NonDDREAMBayesCalibration.hpp:115
void method_recourse()
perform a method switch, if possible, due to a detected conflict
Definition: NonDLocalReliability.cpp:2852
Real log_prior_density(const VectorType &vec)
compute the log prior PDF for a particular MCMC sample
Definition: NonDBayesCalibration.hpp:660
Base class for the nonlinear least squares branch of the iterator hierarchy.
Definition: DakotaLeastSq.hpp:30
void allocate_arrays()
invoke Pecos::PolynomialApproximation::allocate_arrays()
Definition: PecosApproximation.hpp:430
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:896
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:491
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:248
size_t numNonlinearEqConstraints
number of nonlinear equality constraints (from the num_nonlinear_equality_constraints specification i...
Definition: DataResponses.hpp:77
void inactive_discrete_int_variable(int idi_var, size_t index)
set an inactive discrete int variable
Definition: DakotaVariables.hpp:1426
bool ieDedMasterFlag
flag for dedicated master partitioning at the iterator level
Definition: DakotaInterface.hpp:432
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:2417
IntVector discreteIntEpistemicUncLowerBnds
distribution lower bounds for all discrete integer epistemic uncertain variables
Definition: DataVariables.hpp:770
String exportCorrVarFile
specify the name of file to which corrected model variance calculations are output
Definition: DataMethod.hpp:1194
void compute_equivalent_cost(const SizetArray &N_l, const RealVector &cost)
compute equivHFEvals from samples per level and cost per evaluation
Definition: NonDExpansion.cpp:1340
IntVector primeBase
Integer vector defining the prime base for each sequence being generated. Default is 2 3 5 (e....
Definition: FSUDesignCompExp.hpp:108
Model & subordinate_model()
return truth_model()
Definition: SurrogateModel.hpp:301
RealMatrix stdRegressCoeffs
matrix to hold standardized regression coefficients
Definition: SensAnalysisGlobal.hpp:178
Real compute_variances(const RealVector &variances)
variance function for the EGO MSE acquisition implementation
Definition: EffGlobalMinimizer.cpp:1091
StringArray hybridMethodNames
array of methods for the sequential and collaborative hybrid meta-iterators (from the method_name_lis...
Definition: DataMethod.hpp:378
void init_serial_analyses()
set concurrent analysis configuration for serial operations (e.g., for local executions on a dedicate...
Definition: ApplicationInterface.hpp:580
void append_restart(const ParamResponsePair &prp)
append a parameter/response set to the restart file
Definition: OutputManager.cpp:405
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:1562
bool vbdFlag
the var_based_decomp specification for a variety of sampling methods
Definition: DataMethod.hpp:862
const Variables & current_variables() const
return the current variables (currentVariables) as const reference (preferred)
Definition: DakotaModel.hpp:3552
String iFilterName
name of the direct function input filter
Definition: DirectApplicInterface.hpp:149
bool adaptExpDesign
whether to perform adaptive Bayesian design of experiments
Definition: DataMethod.hpp:1202
virtual const VariablesArray & variables_array_results()
return multiple final iterator solutions (variables). This should only be used if returns_multiple_po...
Definition: DakotaIterator.cpp:1435
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:92
IntResponseMap dakotaResponseMap
map of DAKOTA responses returned by synchronize_nowait()
Definition: APPSEvalMgr.hpp:128
int emulatorOrder
The total order to be used in construction of a VPS surrogate.
Definition: DataMethod.hpp:1098
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:641
~NonDMultilevelSampling()
destructor
Definition: NonDMultilevelSampling.hpp:562
short componentParallelMode
the component parallelism mode: NO_PARALLEL_MODE, SURROGATE_MODEL_MODE,
Definition: DakotaModel.hpp:1499
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:542
Real initMeshSize
the initMeshSize choice for NOMAD in MethodNOMADDC
Definition: DataMethod.hpp:794
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:650
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:95
SNLLOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: SNLLOptimizer.cpp:52
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:295
@ OptionalValue
option with optional value
Definition: CommandLineHandler.hpp:52
bool manage_data_recastings()
initialize modelList and recastFlags for data import/export
Definition: DakotaModel.cpp:3147
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:161
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:2880
std::shared_ptr< QUESO::VectorSpace< QUESO::GslVector, QUESO::GslMatrix > > configSpace
vector space defining the scenario (configuration) variables
Definition: NonDGPMSABayesCalibration.hpp:142
const Real convergenceTolerance
Convergence criterion, compared to CV score for specified metric.
Definition: DataFitSurrModel.hpp:351
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:972
int numAnalysisDrivers
the number of analysis drivers used for each function evaluation (from the analysis_drivers interface...
Definition: ApplicationInterface.hpp:253
OptDartsTraits()
default constructor
Definition: OptDartsOptimizer.hpp:38
size_t sparsity() const
return the number of non-zero coefficients for this QoI
Definition: PecosApproximation.hpp:414
static bool scaling_active(const UShortArray &scale_types)
check whether the passed scale types include any active (!= none) scale types
Definition: ScalingModel.cpp:534
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:4411
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:255
bool fixedSeed
don't continue an existing random number sequence, rather reset seed each time within some sampling-b...
Definition: NonDExpansion.hpp:442
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDAdaptiveSampling.cpp:213
SizetArray randomSeedSeqSpec
user specification for seed_sequence
Definition: NonDExpansion.hpp:439
IntSet idNumericalGrads
mixed gradient numerical identifiers (from the id_numerical_gradients specification in RespGradMixed)
Definition: DataResponses.hpp:230
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:507
RealVector geometricUncProbPerTrial
probabilities per each trial (p) for the geometric uncertain variables from the prob_per_trial specif...
Definition: DataVariables.hpp:491
const IntVector & inactive_discrete_int_lower_bounds() const
return the inactive discrete lower bounds
Definition: DakotaConstraints.hpp:656
unsigned short maxOrder
maximum order of basis polynomials
Definition: DataMethod.hpp:826
void batch_synchronous_ego()
synchronous batch-sequential implementation: main function
Definition: EffGlobalMinimizer.cpp:335
PRPCacheHIter hashedCacheEnd(PRPCache &prp_cache)
hashed definition of cache end
Definition: PRPMultiIndex.hpp:191
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:1110
void approximation_function_indices(const SizetSet &approx_fn_indices)
set the (currently active) approximation function index set
Definition: ApproximationInterface.hpp:432
void print_moments(std::ostream &s)
print expansion and numerical moments
Definition: NonDExpansion.cpp:3873
bool resize()
reinitializes iterator based on new variable size
Definition: NonDCalibration.cpp:50
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:152
IntArray fnGradCounter
number of gradient evaluations by resp fn
Definition: DakotaInterface.hpp:400
int modeKeyBufferSize
size of MPI buffer containing responseMode and an aggregated activeKey
Definition: EnsembleSurrModel.hpp:313
EvaluationsDBState interfEvaluationsDBState
Whether to write interface evals to the evaluations DB.
Definition: DakotaModel.hpp:1476
size_t max_regression_size()
return number of FT unknowns using maxima for rank and basis order
Definition: SharedC3ApproxData.hpp:539
RealVector dataDistCovariance
raw list of real data for the data distribution gaussian covariance
Definition: DataMethod.hpp:1247
SensAnalysisGlobal nonDSampCorr
initialize statistical post processing
Definition: NonDSampling.hpp:374
size_t numFrechetUncVars
number of frechet uncertain variables (from the frechet_uncertain specification in VarAUV)
Definition: DataVariables.hpp:153
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:267
void refine_expansion()
refine the reference expansion found by compute_expansion() using uniform/adaptive p-/h-refinement st...
Definition: NonDExpansion.cpp:995
String importCandPtsFile
whether to import candidate design points for adaptive Bayesian experimental design
Definition: DataMethod.hpp:1205
const String & model_id() const
return the model identifier (modelId)
Definition: DakotaModel.hpp:3594
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:58
void check_points(size_t num_build_pts)
Check number of build points against minimum required.
Definition: DakotaApproximation.hpp:637
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:61
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:331
Real estimator_cost_metric()
return cost metric for entry into finalStatistics
Definition: NonDEnsembleSampling.hpp:251
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:123
int iteratorServers
number of servers for concurrent iterator parallelism (from the iterator_servers specification)
Definition: DataMethod.hpp:368
const BitArray & all_relaxed_discrete_int() const
return allRelaxedDiscreteInt
Definition: SharedVariablesData.hpp:1391
void read_neutral(StringArray pos_args)
read a restart file (neutral file format)
Definition: restart_util.cpp:595
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:2202
RealMatrix prevFnGradDLev0
matrix of limit state sensitivities w.r.t. inactive/design variables for level 0. Used for warm-start...
Definition: NonDLocalReliability.hpp:319
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:433
unsigned short softConvLimit
convergence control limiting the number of consecutive iterations that fail to achieve sufficient dec...
Definition: SurrBasedLocalMinimizer.hpp:221
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:221
String method_string() const
return the method name by string
Definition: DakotaIterator.hpp:676
void initialize_covariance()
initialize covariance pairings by passing all pointers for approximation j to approximation i
Definition: NonDStochCollocation.cpp:412
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:1178
size_t max_rank() const
return active maximum value for expansion rank
Definition: SharedC3ApproxData.hpp:422
void clear_model_keys()
reset initial state by removing all model keys for an approximation
Definition: ApproximationInterface.hpp:315
size_t max_rank_regression_size()
return number of FT unknowns using maximum rank, start_orders(), max_order()
Definition: SharedC3ApproxData.hpp:519
RealVector finalPoint
the final_point specification in MethodPSVPS
Definition: DataMethod.hpp:1268
const Model & algorithm_space_model() const
Definition: DakotaAnalyzer.hpp:274
Real crossoverRate
the crossover_rate specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:587
String approx_type
String describing type of surrogate is used to fit the data. Options are: global_kriging,...
Definition: NonDAdaptiveSampling.hpp:144
bool operator==(const DataVariables &)
equality operator
Definition: DataVariables.hpp:1003
void multifidelity_reference_expansion()
generate a set of reference expansions across a model hierarchy
Definition: NonDExpansion.cpp:1387
Real multilevEstimatorRate
the estimator_rate selection in MethodMultilevelPCE
Definition: DataMethod.hpp:1066
The representation of a SharedVariablesData instance. This representation, or body,...
Definition: SharedVariablesData.hpp:38
ResponseArray discrepancyResponses
array containing predicted of model+discrepancy
Definition: NonDBayesCalibration.hpp:382
bool evaluatePosteriorDensity
Flag specifying whether to evaluate the posterior density at a set of samples.
Definition: DataMethod.hpp:1263
int genz()
scalable test functions from the Genz test suite
Definition: TestDriverInterface.cpp:2334
int get_dc_ptr_int()
get the DAKOTA pointer to ModelCenter current design point
Definition: dakota_dll_api.cpp:325
RealVector lognormalUncUpperBnds
distribution upper bounds for the lognormal uncertain variables (from the upper_bounds specification ...
Definition: DataVariables.hpp:349
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:64
bool evaluatePosteriorDensity
Flag specifying whether to evaluate the posterior density at a set of samples.
Definition: NonDWASABIBayesCalibration.hpp:115
Real relTolerance
relative tolerance used by cross validation subspace dimension id method
Definition: DataModel.hpp:395
String approxType
approximation type identifier
Definition: SharedApproxData.hpp:231
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:781
RealVector expIndThis
expIndThis, appended locally to hold the expected indicator
Definition: NonDGPImpSampling.hpp:123
BitArray discreteIntSets
key for identifying discrete integer set variables within the active discrete integer variables
Definition: DakotaModel.hpp:1704
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:263
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:112
bool command_line_run() const
return runFlag
Definition: ParallelLibrary.hpp:1341
Real objFnValue
value of the objective function passed to CONMIN
Definition: CONMINOptimizer.hpp:154
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:1588
Derived approximation class for Gaussian Process implementation.
Definition: GaussProcApproximation.hpp:47
unsigned short methodName
the method selection: one of the optimizer, least squares, nond, dace, or parameter study methods
Definition: DataMethod.hpp:355
bool asynch_flag() const
get the asynchFlag
Definition: CommandShell.hpp:115
base class for Dakota file read exceptions (to allow catching both tabular and general file truncatio...
Definition: dakota_global_defs.hpp:102
virtual ~NLSSOLLeastSqTraits()
destructor
Definition: NLSSOLLeastSq.hpp:37
StringMultiArray xDS
discrete string variables used within direct simulator fns
Definition: DirectApplicInterface.hpp:181
std::shared_ptr< QUESO::GslMatrix > proposalCovMatrix
proposal covariance for DRAM
Definition: NonDQUESOBayesCalibration.hpp:213
py::dict pack_kwargs() const
generalized Python dictionary packing to support either lists or numpy arrays
Definition: Pybind11Interface.cpp:219
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDEnsembleSampling.cpp:282
void set_ie_asynchronous_mode(int max_eval_concurrency)
default logic for defining asynchEvalFlag and evaluationCapacity based on ie_pl settings
Definition: DakotaModel.cpp:4825
void increment_specification_sequence()
increment the input specification sequence and assign values
Definition: NonDMultilevelPolynomialChaos.cpp:645
~SNLLBase()
destructor
Definition: SNLLBase.hpp:185
local_data_t
enumeration for how local variables are stored (values must employ a bit representation)
Definition: DirectApplicInterface.hpp:71
int worldSize
size of MPI_COMM_WORLD
Definition: ApplicationInterface.hpp:408
std::string fullEvalId
complete evalIdTag, possibly including hierarchical tagging and final eval id, but not program number...
Definition: ProcessApplicInterface.hpp:201
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:807
RealVector contStepVector
the n-dimensional continuous increment
Definition: ParamStudy.hpp:223
void post_process_final_results()
perform final post-processing
Definition: NonDGlobalEvidence.cpp:79
ScalingOptions scalingOpts
user-provided scaling data from the problem DB, possibly modified by Recasting
Definition: DakotaModel.hpp:1548
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:394
short sampleRanksMode
mode for input/output of LHS sample ranks: IGNORE_RANKS, GET_RANKS, SET_RANKS, or SET_GET_RANKS
Definition: NonDSampling.hpp:364
String exportPointsFile
file name from export_approx_points_file specification
Definition: DataFitSurrModel.hpp:463
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:1280
SNLLLeastSq(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: SNLLLeastSq.cpp:41
Interface optionalInterface
the optional interface contributes nonnested response data to the total model response
Definition: NestedModel.hpp:316
StringArray discreteStrEpistemicUncVars
array of values for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:778
void fine_grained_evaluation_counters()
request fine-grained evaluation reporting within the low and high fidelity models
Definition: EnsembleSurrModel.hpp:1202
const int softConvergenceLimit
Max number of iterations for which there is no average improvement.
Definition: DataFitSurrModel.hpp:353
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:1272
size_t icvStart
start index of inactive continuous variables within allContinuousVars
Definition: SharedVariablesData.hpp:264
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:1075
const SharedVariablesData & shared_data() const
return sharedVarsData
Definition: DakotaVariables.hpp:685
RealVector discreteRealEpistemicUncLowerBnds
distribution lower bounds for all discrete real epistemic uncertain variables
Definition: DataVariables.hpp:792
Real mutationMinScale
the min_scale specification for mutation in EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:594
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:299
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:70
RealVector gumbelUncAlphas
alpha factors for the gumbel uncertain variables (from the alphas specification in VarCAUV_Gumbel)
Definition: DataVariables.hpp:415
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:237
Iterator importanceSampler
Iterator used to refine the approximate probability estimates generated by the expansionSampler using...
Definition: NonDExpansion.hpp:406
void core_run()
perform a forward uncertainty propagation using PCE/SC methods
Definition: NonDMultilevelStochCollocation.cpp:222
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:560
const String & quasi_hessian_type() const
return the Hessian evaluation type (quasiHessType)
Definition: DakotaModel.hpp:3652
void field_coords(const RealMatrix &field_coords, size_t i)
set the i-th field's coordinates
Definition: DakotaResponse.hpp:659
virtual unsigned short sampling_scheme() const
return sampling name
Definition: DakotaIterator.cpp:1703
bool resize()
reinitializes iterator based on new variable size
Definition: DakotaAnalyzer.cpp:97
void test_local_evaluations(Dakota::PRPQueue &prp_queue)
invokes wait_local_evaluations() (no special nowait support)
Definition: SoleilDirectApplicInterface.hpp:127
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:307
SNLLTraits()
default constructor
Definition: SNLLOptimizer.hpp:52
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:1175
IntVector finalDSVPoint
the discrete string set index ending point for vector_parameter_study
Definition: ParamStudy.hpp:218
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: NomadOptimizer.hpp:92
void build_inactive_views()
construct inactive views of all variables bounds arrays
Definition: DakotaConstraints.cpp:221
Wrapper class for the DOT optimization library.
Definition: DOTOptimizer.hpp:51
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:845
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:325
NonDGlobalInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDGlobalInterval.cpp:42
bool posteriorStatsKDE
flag indicating the calculation of the kernel density estimate of the posteriors
Definition: NonDBayesCalibration.hpp:440
void configure_sequence(size_t &num_steps, size_t &secondary_index, short &seq_type)
configure fidelity/level counts from model hierarchy
Definition: DakotaNonD.cpp:428
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:1212
RealVectorArray genReliabilityLevels
the gen_reliability_levels specification in MethodNonD
Definition: DataMethod.hpp:1089
OPTPP::OptDHNIPS * optdhnips
Disaggregated Hessian NIPS optimizer ptr.
Definition: SNLLLeastSq.hpp:200
Real computedGenRelLevel
output generalized reliability level calculated for 2nd-order PMA
Definition: NonDLocalReliability.hpp:269
size_t dsv_start() const
start index of active discrete string vars
Definition: DakotaVariables.hpp:730
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:332
UShortArray combinedOrders
polynomial basis order for combined expansion for each variable core
Definition: SharedC3ApproxData.hpp:237
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:300
~NonDLocalEvidence()
destructor
Definition: NonDLocalEvidence.cpp:32
Real minBoxSize
the min_boxsize_limit for the DIRECT method in MethodSCOLIBDIR and MethodNCSUDC
Definition: DataMethod.hpp:573
RealVector invGammaAlphas
alphas for inverse gamma distribution on hyper-params
Definition: NonDBayesCalibration.hpp:423
const IntResponseMap & derived_synchronize_nowait()
portion of synchronize_nowait() specific to AdapterModel
Definition: AdapterModel.cpp:205
void initialize_run()
utility function to perform common operations prior to pre_run(); typically memory initialization; se...
Definition: DakotaAnalyzer.cpp:169
void derived_map_asynch(const ParamResponsePair &pair)
Called by map() and other functions to execute the simulation in asynchronous mode....
Definition: GridApplicInterface.cpp:145
friend bool operator==(const Model &m1, const Model &m2)
equality operator (detect same letter instance)
Definition: DakotaModel.hpp:3971
Base class for POF Dart methods within DAKOTA/UQ.
Definition: NonDPOFDarts.hpp:45
void write(std::ostream &s) const
write a DataInterface object to an std::ostream
Definition: DataInterface.hpp:354
String gradientType
type of gradients present in associated Response
Definition: ApplicationInterface.hpp:496
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:449
double opt_darts_f()
Function evaluation.
Definition: OptDartsOptimizer.cpp:168
bool method_id_compare(const Iterator &iterator, const void *id)
global comparison function for Iterator
Definition: DakotaIterator.hpp:790
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:39
RealVector configUpperBnds
upper bounds on configuration domain
Definition: NonDBayesCalibration.hpp:380
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:912
RealVector nonlinearEqConTargets
nonlinear equality constraint targets
Definition: DakotaConstraints.hpp:379
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:189
String resultsOutputFile
filename for results data
Definition: OutputManager.hpp:366
virtual void decrement_order()
decrements polynomial expansion order (PCE, FT)
Definition: SharedApproxData.cpp:471
void inactive_labels(const Variables &vars)
copy the inactive cv/div/dsv/drv variable labels from vars
Definition: DakotaVariables.hpp:1245
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:32
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:98
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:83
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:304
size_t numContIntervalVars
number of variables of type CONTINUOUS_INTERVAL_UNCERTAIN
Definition: NonDInterval.hpp:97
short pilotMgmtMode
enumeration for pilot management modes: ONLINE_PILOT (default), OFFLINE_PILOT, PILOT_PROJECTION
Definition: NonDEnsembleSampling.hpp:182
RealVectorArray requestedProbLevels
requested probability levels for all response functions
Definition: DakotaNonD.hpp:329
bool varsScaleFlag
flag for variables scaling
Definition: ScalingModel.hpp:182
ParLevLIter endPLIter
snapshot of the end of ParallelLibrary::parallelLevels; used for detecting when a component of the pa...
Definition: ParallelLibrary.hpp:501
void reshape_metadata(size_t num_meta)
reshape the shared metadata (labels only at this time)
Definition: SharedResponseData.hpp:423
void assign_default_keys()
initialize truth and surrogate model keys to default values
Definition: EnsembleSurrModel.cpp:76
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:695
void post_run(std::ostream &s)
Definition: DakotaOptimizer.cpp:564
void run_sampler(const ShortArray &sampler_asv, RealVector &exp_sampler_stats)
helper to run the expansionSampler and compute its statistics
Definition: NonDExpansion.cpp:3502
Model & approx_model_from_index(unsigned short m_index)
return approxModels[m_index]
Definition: EnsembleSurrModel.hpp:784
bool runFlag
flags invocation with command line option -run
Definition: ProgramOptions.hpp:257
bool modelDBLocked
prevents use of get_<type> retrieval and set_<type> update functions prior to setting the list node f...
Definition: ProblemDescDB.hpp:512
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:493
Definition: ROLOptimizer.hpp:525
IntSet idAnalyticGrads
mixed gradient analytic identifiers (from the id_analytic_gradients specification in RespGradMixed)
Definition: DataResponses.hpp:233
OutputManager & output_manager()
return outputManager
Definition: DakotaEnvironment.hpp:192
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:393
SizetArray active1ADRVarMapIndices
"primary" variable mappings for inserting active discrete real currentVariables within all discrete r...
Definition: NestedModel.hpp:365
String exitMode
Abort or throw on error.
Definition: ProgramOptions.hpp:241
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:1344
double * G2
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:231
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:2642
Class to manage redirection of stdout/stderr, keep track of current redir state, and manage rank 0 ou...
Definition: OutputManager.hpp:187
friend class boost::serialization::access
for serializing private data members
Definition: DakotaVariables.hpp:119
void iterator_message_lengths(int params_msg_len, int results_msg_len)
update paramsMsgLen and resultsMsgLen
Definition: IteratorScheduler.hpp:553
const BitArray & all_relaxed_discrete_real() const
return allRelaxedDiscreteReal
Definition: SharedVariablesData.hpp:1395
short finalMomentsType
type of moments logged within finalStatistics: none, central, standard
Definition: DakotaNonD.hpp:359
void initialize_sub_minimizer()
construct and initialize approxSubProbMinimizer
Definition: SurrBasedLocalMinimizer.cpp:233
void update_sets(const UShortArray &set_star)
invokes SparseGridDriver::update_sets()
Definition: NonDSparseGrid.hpp:236
int server_communicator_size() const
return serverCommSize
Definition: ParallelLibrary.hpp:346
virtual bool advancement_available()
query the approximation for available advancement in resolution controls (order, rank,...
Definition: DakotaModel.cpp:4224
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:432
bool check_finite_bounds()
check for finite variable bounds within iteratedModel, as required for computing partitions of finite...
Definition: ParamStudy.hpp:574
size_t num_parallel_configurations() const
returns the number of entries in parallelConfigurations
Definition: ParallelLibrary.hpp:1090
unsigned short resultsOutputFormat
Results output format.
Definition: DataEnvironment.hpp:100
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
void barrier(const MPI_Comm &comm)
enforce MPI_Barrier on comm
Definition: ParallelLibrary.hpp:1918
virtual void truncate_to_cell_bounds(RealVector &initial_pt)
truncate initial_pt to respect current cell lower/upper bounds
Definition: NonDLocalInterval.cpp:246
size_t numEvals
total number of parameter study evaluations computed from specification
Definition: ParamStudy.hpp:192
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:337
bool finalize_mapping()
Definition: EnsembleSurrModel.cpp:392
SizetArray primaryADIVarMapIndices
"primary" all discrete int variable mapping indices flowed down from higher level iteration
Definition: EnsembleSurrModel.hpp:328
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:205
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:210
String dlDetails
string of options for a dynamically linked solver
Definition: DataMethod.hpp:484
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:1704
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:1146
SpawnApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: SpawnApplicInterface.hpp:65
RealVector discreteUncSetRealVars
initial values of the discrete uncertain set real variables (from the initial_point specification in ...
Definition: DataVariables.hpp:606
void init_results_db()
At runtime, initialize the global ResultsManager, tagging filename with MPI worldRank + 1 if needed.
Definition: OutputManager.cpp:636
Real gradDotGrad_curr
gradCurr dot gradCurr
Definition: NonlinearCGOptimizer.hpp:149
UShortArray expOrderSeqSpec
user specification for expansion_order (array for multifidelity)
Definition: NonDMultilevelPolynomialChaos.hpp:137
virtual size_t collocation_points() const
return specification for number of collocation points (may be part of a sequence specification)
Definition: NonDExpansion.hpp:696
const String & interface_id() const
return the interface identifier from evalInterfaceIds
Definition: ParamResponsePair.hpp:237
IntResponseMap allResponses
array of all responses to be computed in evaluate_parameter_sets()
Definition: DakotaAnalyzer.hpp:192
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:475
void wait_local_evaluations(Dakota::PRPQueue &prp_queue)
evaluate the batch of jobs contained in prp_queue
Definition: PluginSerialDirectApplicInterface.cpp:65
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:1391
String hybridGlobalModelPointer
global model pointer for embedded hybrids (from the global_model_pointer specification)
Definition: DataMethod.hpp:393
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:365
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:210
Real level_cost(const RealVector &cost, size_t step)
return (aggregate) level cost
Definition: NonDMultilevelSampling.hpp:577
Response & nested_response(int nested_cntr)
locate existing or allocate new entry in nestedResponseMap
Definition: NestedModel.hpp:601
String exportApproxVarianceFile
filename for surrogate variance evaluation export
Definition: DataModel.hpp:196
int extended_rosenbrock()
n-dimensional Rosenbrock (Nocedal/Wright)
Definition: TestDriverInterface.cpp:1298
void summary_output(bool summary_output_flag)
Set summary output control; true enables evaluation/results summary.
Definition: DakotaIterator.hpp:731
void reset_penalties()
reset all penalty parameters to their initial values
Definition: SurrBasedLocalMinimizer.hpp:271
void derived_init_serial()
set up actualModel for serial operations.
Definition: DataFitSurrModel.hpp:913
void(* variablesMapping)(const Variables &recast_vars, Variables &sub_model_vars)
holds pointer for variables mapping function passed in ctor/initialize
Definition: RecastModel.hpp:615
bool pdf_output() const
get pdfOutput
Definition: DakotaNonD.hpp:421
const IntArray & message_lengths() const
return the array of MPI packed message buffer lengths (messageLengths)
Definition: DakotaModel.hpp:3762
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:1531
virtual void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to derived model classes
Definition: DakotaModel.cpp:3270
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:252
Model uSpaceModel
Model representing the limit state in u-space, after any recastings and data fits.
Definition: NonDReliability.hpp:70
void update_primary_response(const Model &model)
update only the primary response data from subModel
Definition: RecastModel.cpp:1376
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:3380
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:359
void initialize(int world_rank=0)
shared initialization functions across constructors
Definition: TrackerHTTP.cpp:154
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDLocalInterval.cpp:143
void abort_throw_or_exit(int dakota_code)
throw or exit depending on abort_mode
Definition: dakota_global_defs.cpp:134
MPI_Comm hubServerIntraComm
intracomm for all serverCommRank==0 w/i next higher level serverIntraComm
Definition: ParallelLibrary.hpp:137
String methodSource
numerical gradient method source: dakota or vendor (from the method_source specification in RespGradN...
Definition: DataResponses.hpp:203
Model & surrogate_model(size_t i=_NPOS)
return this model instance
Definition: DataFitSurrModel.hpp:649
void set_communicators_checks(int max_eval_concurrency)
no-op hides default run-time error checks at DirectApplicInterface level
Definition: PluginParallelDirectApplicInterface.hpp:118
void build()
find the covariance parameters governing the Gaussian process response
Definition: GaussProcApproximation.cpp:182
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:966
void clear_model_keys()
remove all model keys within approxInterface
Definition: DataFitSurrModel.hpp:641
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:140
void restore_data_key()
following Approximation::add() and Approximation::pop_count() operations, which may enumerate multipl...
Definition: ApproximationInterface.hpp:329
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:91
Derived model class which utilizes a simulation-based application interface to map variables into res...
Definition: SimulationModel.hpp:37
virtual void estimator_variance_ratios(const RealVector &r_and_N, RealVector &estvar_ratios)=0
compute estimator variance ratios from HF samples and oversample ratios
void inactive_bounds(const Constraints &cons)
copy inactive {cv,div,drv} {lower,upper} bounds from incoming object
Definition: DakotaConstraints.hpp:960
std::shared_ptr< DataVariablesRep > dataVarsRep
pointer to the body (handle-body idiom)
Definition: DataVariables.hpp:995
bool messagePass
flag for message passing at this level, indicating work assignment among servers
Definition: ParallelLibrary.hpp:123
bool interface_locked() const
return interfaceDBLocked
Definition: ProblemDescDB.hpp:664
String restartOutputFilename
the name of the restart output file
Definition: OutputManager.hpp:163
int serverId
server identifier
Definition: ParallelLibrary.hpp:131
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:179
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:37
const SizetArray & inactive_components_totals() const
return inactive variable type counts for {continuous,discrete integer,discrete real} {design,...
Definition: SharedVariablesData.hpp:1634
virtual Real combined_mean()
return the mean of the combined expansion, where all active vars are random
Definition: DakotaApproximation.cpp:472
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:964
size_t numObjectiveFunctions
number of objective functions (from the num_objective_functions specification in RespFnOpt)
Definition: DataResponses.hpp:68
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:378
size_t test_receives_backfill(PRPQueueIter &assign_iter, bool peer_flag)
helper function for testing receive requests and then backfilling jobs
Definition: ApplicationInterface.cpp:1395
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:3976
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:1217
StringArray copyFiles
template files (if specified)
Definition: ProcessApplicInterface.hpp:236
NonDStochCollocation(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDStochCollocation.cpp:34
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:243
std::string primary_fn_name() const
the primary function type as a friendly string, e.g., "objective_functions"
Real avgEstVar
average estimator variance for model graph
Definition: NonDNonHierarchSampling.hpp:78
CommandShell & flush()
"flushes" the shell; i.e. executes the sysCommand
Definition: CommandShell.cpp:26
VPSApproximation()
default constructor
std::shared_ptr< util::LinearSolverBase > linearSolver
Linear solver for the ordinary least squares problem.
Definition: SurrogatesPolynomialRegression.hpp:193
Definition: TestDriverInterface.hpp:29
int(* stop_grid_computing_t)()
definition of stop grid computing type (function pointer)
Definition: GridApplicInterface.hpp:33
void debug_print_eif_counters(Real eif_star)
print counters if debug flag is ON
Definition: EffGlobalMinimizer.hpp:467
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:369
RealVector referenceICVars
stores a reference copy of the inactive continuous variables when the approximation is built using a ...
Definition: DataFitSurrModel.hpp:479
IntVector experimentLengths
Length of each experiment.
Definition: ExperimentData.hpp:488
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:245
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:95
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:1192
RealVector drawNewX(int this_k)
function to pick the next X value to be evaluated by the Iterated model
Definition: NonDGPImpSampling.cpp:446
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:924
size_t numOptInterfPrimary
number of primary response functions (objective/least squares/generic functions) resulting from optio...
Definition: NestedModel.hpp:327
void shape()
shape a Variables object based on sharedVarsData
~CommandShell()
destructor
Definition: CommandShell.hpp:88
size_t cv() const
returns number of active continuous variables
Definition: DakotaModel.hpp:1748
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: DataFitSurrBasedLocalMinimizer.hpp:58
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:75
void read_annotated(std::istream &s, size_t num_md)
read metadata labels from annotated (neutral) file
Definition: SharedResponseData.hpp:427
const RealVector & linear_eq_constraint_targets() const
return the linear equality constraint targets
Definition: DakotaConstraints.hpp:1063
bool peerAssignJobs
flag indicating need for peer 1 to assign jobs to peers 2-n
Definition: IteratorScheduler.hpp:183
Interface operator=(const Interface &interface_in)
assignment operator
Definition: DakotaInterface.cpp:321
pid_t create_evaluation_process(bool block_flag)
Spawn the evaluation by managing the input filter, analysis drivers, and output filter....
Definition: SysCallApplicInterface.cpp:35
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDAdaptImpSampling.cpp:137
SharedSurfpackApproxData()
default constructor
Definition: SharedSurfpackApproxData.hpp:155
pid_t evaluation_process_group_id() const
return evalProcGroupId
Definition: ForkApplicInterface.hpp:134
PRPCacheOCIter PRPCacheCIter
default cache const iterator <0> default cache const reverse iterator <0>
Definition: PRPMultiIndex.hpp:181
short outputLevel
output verbosity level: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT
Definition: DakotaModel.hpp:1508
~ROLOptimizer()
Destructor.
Definition: ROLOptimizer.hpp:68
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:760
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: NPSOLOptimizer.hpp:84
void unscale(const RealArray &scaled_x, RealVector &unscaled_x) const
invert scaling to return from [0,1] to [lower,upper]
Definition: NOWPACOptimizer.hpp:139
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:946
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:547
static const char serial_input[]
Default Dakota input string for serial case (rosenbrock):
Definition: library_mode.cpp:158
size_t numPredConfigs
number of prediction configurations at which to calculate model discrepancy
Definition: DataMethod.hpp:1174
Derived nondeterministic class that generates N-dimensional Smolyak sparse grids for numerical evalua...
Definition: NonDSparseGrid.hpp:37
void opt_darts_initiate(double *xmin, double *xmax)
Initialize OPT-DARTS.
Definition: OptDartsOptimizer.cpp:390
ExperimentData expData
Container for experimental data to which to calibrate model.
Definition: NonDCalibration.hpp:60
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:68
RealVector gammaUncVars
initial values of the gamma uncertain variables (from the initial_point specification in VarCAUV_Gamm...
Definition: DataVariables.hpp:412
Response operator=(const Response &response)
assignment operator
void find_scaled_coefficients()
compute TANA coefficients based on scaled inputs
Definition: TANA3Approximation.cpp:113
int start_grid_computing(char *analysis_driver_script, char *params_file, char *results_file)
Definition: GridApplicInterface.cpp:300
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:2464
Pecos::MultivariateDistribution & multivariate_distribution()
return mvDist
Definition: DakotaModel.hpp:2427
void init_sub_iterator()
init subIterator-based counts and init subModel with mapping data
Definition: NestedModel.cpp:697
const Variables & variables() const
return the parameters object
Definition: ParamResponsePair.hpp:249
bool test_asv(const ShortArray &asv)
check whether incoming ASV has any active content
Definition: EnsembleSurrModel.hpp:1018
EvaluationsDBState evaluationsDBState
State of evaluations DB for this iterator.
Definition: DakotaIterator.hpp:535
int text_book3()
portion of text_book() evaluating constraint 2
Definition: TestDriverInterface.cpp:3455
void build_active_views()
construct active views of all variables bounds arrays
Definition: DakotaConstraints.cpp:178
void vary_pattern(bool pattern_flag)
sets varyPattern in derived classes that support it
Definition: FSUDesignCompExp.hpp:164
UShortArray quadOrderSeqSpec
user request of quadrature order
Definition: NonDMultilevelStochCollocation.hpp:89
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:301
void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to NestedModel
Definition: NestedModel.cpp:1319
ProcessApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: ProcessApplicInterface.cpp:108
String modelImportPrefix
the filename prefix for import_model
Definition: DataModel.hpp:210
int procsPerServer
processors per server
Definition: ParallelLibrary.hpp:129
void calculate_cells_and_bpas()
computes the interval combinations (cells) and their bpas replaces CBPIIC_F77 from wrapper calculate_...
Definition: NonDInterval.cpp:158
const StringArray & metadata_labels() const
get labels for metadata fields
Definition: SharedResponseData.hpp:415
void barrier_a()
enforce MPI_Barrier on an analysis communicator
Definition: ParallelLibrary.hpp:1942
String mcmcType
the mcmc type specification in MethodNonDBayesCalib
Definition: DataMethod.hpp:1102
void size_all_types()
size all{Continuous,DiscreteInt,DiscreteString,DiscreteReal}Types, with or without discrete relaxatio...
Definition: SharedVariablesData.hpp:543
virtual void update_from_model(const Model &model)
update current variables/labels/bounds/targets with data from model
Definition: SurrogateModel.cpp:470
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:385
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:773
void parse(const ProblemDescDB &problem_db)
Extract environment options from ProblemDescDB.
Definition: ProgramOptions.cpp:327
void update_approx_sub_problem(SurrBasedLevelData &tr_data)
update variables and bounds within approxSubProbModel
Definition: SurrBasedLocalMinimizer.cpp:511
void initialize_run()
invokes LeastSq::initialize_run(), SNLLBase::snll_initialize_run(), and performs other set-up
Definition: SNLLLeastSq.cpp:485
void rebuild()
rebuilds the shared approximation data incrementally
Definition: SharedPecosApproxData.hpp:207
Pecos::DiscrepancyCalculator discrepCalc
helper utility for calculating discrepancies
Definition: DiscrepancyCorrection.hpp:201
std::shared_ptr< Kernel > kernel
Kernel.
Definition: SurrogatesGaussianProcess.hpp:423
size_t idsv() const
number of inactive discrete string vars
Definition: DakotaVariables.hpp:758
SurrBasedGlobalTraits()
default constructor
Definition: SurrBasedGlobalMinimizer.hpp:41
RealVectorArray prevMPPULev0
array of converged MPP's in u-space for level 0. Used for warm-starting initialPtU within RBDO.
Definition: NonDLocalReliability.hpp:316
Perform Generalized Approximate Control Variate Monte Carlo sampling.
Definition: NonDGenACVSampling.hpp:33
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:79
const IntResponseMap & derived_synchronize()
portion of synchronize() specific to SimulationModel (invokes synch() on userDefinedInterface)
Definition: SimulationModel.hpp:304
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:336
NonDWASABIBayesCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDWASABIBayesCalibration.cpp:37
virtual int derived_map_ac(const Dakota::String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: DirectApplicInterface.cpp:222
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:433
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:1169
virtual ~NonDHierarchSampling()
destructor (virtual declaration should be redundant with ~Iterator, but this is top of MLMF diamond s...
Definition: NonDHierarchSampling.cpp:73
void serve_evaluations_synch_peer()
serve the evaluation message passing schedulers and perform one synchronous evaluation at a time as p...
Definition: ApplicationInterface.cpp:2261
void initialize_distribution_parameters(Pecos::MultivariateDistribution &mv_dist, bool active_only=false)
initialize distribution parameters from problemDescDB
Definition: DakotaModel.cpp:714
int(* perform_analysis_t)(char *iteration_num)
definition of perform analysis type (function pointer)
Definition: GridApplicInterface.hpp:29
ROLTraits()
Default constructor.
Definition: ROLOptimizer.hpp:142
const IntSet & gradient_id_numerical() const
return the mixed gradient numerical IDs (gradIdNumerical)
Definition: DakotaModel.hpp:3644
bool ea_parallel_level_defined() const
test for definition of evaluation-analysis parallel level
Definition: ParallelLibrary.hpp:586
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:346
static NonDGlobalInterval * nondGIInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NonDGlobalInterval.hpp:147
void derived_subordinate_models(ModelList &ml, bool recurse_flag)
add subModel to list and recurse into subModel
Definition: RecastModel.hpp:818
bool secondaryRespScaleFlag
flag for secondary response scaling
Definition: ScalingModel.hpp:184
virtual Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: DakotaApproximation.cpp:403
Response currentResponse
the set of current responses that holds the results of model function evaluations
Definition: DakotaModel.hpp:1404
std::shared_ptr< Pecos::SparseGridDriver > ssgDriver
convenience pointer to the numIntDriver representation
Definition: NonDSparseGrid.hpp:146
void write(std::ostream &s) const
write an active set object to an std::ostream
Definition: DakotaActiveSet.hpp:257
short local_eval_synchronization()
return subModel local synchronization setting
Definition: RecastModel.hpp:1063
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:1134
short multilevAllocControl
type of sample allocation scheme for discretization levels / model forms within multilevel / multifid...
Definition: NonDExpansion.hpp:456
bool ownMPIFlag
flag for ownership of MPI_Init/MPI_Finalize
Definition: MPIManager.hpp:74
short meritFn
the merit_function specification for nonlinear interior-point methods in MethodOPTPPDC
Definition: DataMethod.hpp:520
IntResponseMap rawResponseMap
Set of responses returned by either a blocking or nonblocking schedule.
Definition: DakotaInterface.hpp:416
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:3435
bool mi_parallel_level_defined(size_t index=_NPOS) const
test for definition of meta-iterator-iterator parallel level
Definition: ParallelLibrary.hpp:573
bool lastIterateAccepted
flag to determine if last iterate was accepted this controls update of parameters for augmented Lagra...
Definition: NonDGlobalReliability.hpp:144
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: NomadOptimizer.hpp:82
Response finalStatistics
final statistics from the uncertainty propagation used in strategies: response means,...
Definition: DakotaNonD.hpp:357
String fileName
name of database file
Definition: ResultsDBAny.hpp:144
unsigned int gpmsaConfigVars
number of config vars presented to GPMSA (minimum 1)
Definition: NonDGPMSABayesCalibration.hpp:135
size_t num_linear_ineq_constraints() const
reshape the linear/nonlinear constraint arrays
Definition: DakotaModel.hpp:3358
Performs multilevel-multifidelity Monte Carlo sampling for uncertainty quantification.
Definition: NonDMultilevControlVarSampling.hpp:34
void multifidelity_mc_pilot_projection()
Definition: NonDMultifidelitySampling.cpp:232
void define_sampler_asv(ShortArray &sampler_asv)
helper to define the expansionSampler's data requests when sampling on the expansion
Definition: NonDExpansion.cpp:3469
Real distanceTol
tolerance on distance between consecutive iterates
Definition: EffGlobalMinimizer.hpp:320
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:2127
void update_penalty()
initialize and update the penaltyParameter
Definition: EffGlobalMinimizer.cpp:1166
const String refineCVMetric
Type of error metric to test for surrogate refinement convegence.
Definition: DataFitSurrModel.hpp:355
unsigned short posteriorSamplesImportFormat
Format of imported posterior samples file.
Definition: NonDWASABIBayesCalibration.hpp:102
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:112
bool challengeUseVarLabels
whether to validate variable labels in header
Definition: ApproximationInterface.hpp:249
void update_approx_interface(const Variables &vars, const IntResponsePair &response_pr)
update anchor data in approxInterface
Definition: DataFitSurrModel.cpp:1034
size_t mi_parallel_level_index() const
return miPLIndex
Definition: SurrogateModel.hpp:320
BitArray discreteDesignSetRealCat
is each ddsr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:276
Class for testing various Adaptively sampling methods using geometric, statisctical,...
Definition: NonDAdaptiveSampling.hpp:38
void operator()(const StringScale &scale)
Called by boost::apply_vistitor to process a StringScale.
Definition: ResultsDBHDF5.hpp:120
void increment_grid()
increment ssgDriver::ssgLevel
Definition: NonDSparseGrid.cpp:273
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:71
bool mutualInfoKSG2
indicate that the KSG2 algorithm is to be employed in the calculation of the mutual information
Definition: DataMethod.hpp:1220
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:3612
int numConminLinConstr
total number of linear constraints seen by CONMIN
Definition: CONMINOptimizer.hpp:165
void update_variable_maps(const IntResponseMap &truth_resp_map)
update variable map queues based on completed jobs
Definition: EffGlobalMinimizer.cpp:671
size_t numVars
number of continuous variables active in the correction
Definition: DiscrepancyCorrection.hpp:146
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: APPSOptimizer.hpp:82
RealVector initialPoint
starting point prior to sequence of SBLM iterations
Definition: SurrBasedLocalMinimizer.hpp:229
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:338
const IntRealMapArray & get_irma(const String &entry_name) const
get an IntRealMapArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1823
ParConfigLIter methodPCIter
the active ParallelConfiguration used by this Iterator instance
Definition: DakotaIterator.hpp:481
void append_prp(const ParamResponsePair &prp_in)
add the passed pair to the restart file
Definition: OutputManager.cpp:1067
std::istream & operator>>(std::istream &s, ActiveSet &set)
std::istream extraction operator for ActiveSet. Calls read(std::istream&).
Definition: DakotaActiveSet.hpp:277
virtual short local_eval_synchronization()
return derived model synchronization setting
Definition: DakotaModel.cpp:4592
void reshape_nonlinear(size_t num_nln_ineq_cons, size_t num_nln_eq_cons)
reshape the nonlinear constraint array sizes
Definition: DakotaConstraints.cpp:500
bool proceed_to_instantiate() const
whether steps beyond help/version are requested (instantiation required)
Definition: ProgramOptions.cpp:205
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:1057
void per_exp_length(IntVector &per_length) const
return the individual sizes of the experimental data lengths (all function values,...
Definition: ExperimentData.cpp:796
Dummy struct for overloading letter-envelope constructors.
Definition: dakota_global_defs.hpp:168
RealVector xTrial
trial iterate
Definition: APPSEvalMgr.hpp:119
ROL::OptimizationProblem< Real > optProblem
Handle to ROL::OptimizationProblem, part of ROL's simplified interface.
Definition: ROLOptimizer.hpp:123
double tauMeas
quality measure
Definition: DakotaPStudyDACE.hpp:93
IntResponseMap historyDuplicateMap
used to bookkeep asynchronous evaluations which duplicate data_pairs evaluations. Map key is evalIdCn...
Definition: ApplicationInterface.hpp:524
StringArray miscOptions
the misc_options specification in MethodSCOLIBDC
Definition: DataMethod.hpp:583
Nonintrusive polynomial chaos expansion approaches to uncertainty quantification.
Definition: NonDPolynomialChaos.hpp:34
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:37
RealVector uniformUncVars
initial values of the uniform uncertain variables (from the initial_point specification in VarCAUV_Un...
Definition: DataVariables.hpp:361
virtual Real prediction_variance(const Variables &vars)
retrieve the variance of the predicted value for a given parameter vector
Definition: DakotaApproximation.cpp:439
bool is_matrix_symmetric(const RealMatrix &matrix)
Test if incoming matrix is symmetric.
Definition: dakota_data_util.cpp:313
void sampling_reference(size_t samples_ref)
set reference number of samples, which is a lower bound during reset
Definition: NonDQuadrature.hpp:317
RealVector estVarIter0
initial estimator variance from shared pilot (no CV reduction)
Definition: NonDEnsembleSampling.hpp:211
Model approxSubProbModel
the approximate sub-problem formulation solved on each approximate minimization cycle: may be a shall...
Definition: SurrBasedLocalMinimizer.hpp:179
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:98
bool resize()
reinitializes iterator based on new variable size
Definition: NonDAdaptiveSampling.cpp:182
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:390
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:3402
Definition: ResultsDBBase.hpp:44
int NFDG
Finite difference flag.
Definition: CONMINOptimizer.hpp:191
Real trRatioContractValue
trust region ratio min value: contract tr if ratio below this value
Definition: SurrBasedLocalMinimizer.hpp:211
virtual void correction_type(short corr_type)
set the correction type from the DiscrepancyCorrection object used by SurrogateModels
Definition: DakotaModel.cpp:4466
Model residualModel
DataTransformModel wrapping the mcmcModel.
Definition: NonDBayesCalibration.hpp:296
void add_metadata_to_execution(const StrStrSizet &iterator_id, const AttributeArray &attrs) override
Add attributes to the HDF5 execution group.
Definition: ResultsDBHDF5.cpp:217
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:5025
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:743
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:180
int jumpStep
how often to perform a long jump in generations
Definition: DataMethod.hpp:1233
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:1529
StringArray nonlinearIneqScaleTypes
vector of nonlinear inequality constraint scaling types (from the nonlinear_inequality_scale_types sp...
Definition: DataResponses.hpp:142
ParallelLibrary dummy_lib
dummy ParallelLibrary for ref initialization
Definition: dakota_global_defs.cpp:77
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:482
void initialize()
perform any required initialization
Definition: NonDGlobalEvidence.cpp:38
String idModel
string identifier for the model specification data set (from the id_model specification in ModelIndCo...
Definition: DataModel.hpp:98
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:761
Handle class for environment specification data.
Definition: DataEnvironment.hpp:148
RealVector lowerBounds
variable lower bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:353
virtual void solution_level_cost_index(size_t index)
activate a particular level within the solution level control (SimulationModel)
Definition: DakotaModel.cpp:3642
StringArray discreteDesignSetStrLowerBnds
discrete design string set lower bounds inferred from set values
Definition: DataVariables.hpp:695
SizetArray numQuasiUpdates
number of quasi-Newton Hessian updates applied
Definition: DakotaModel.hpp:1681
bool dOptimal
whether to generate D-optimal designs
Definition: DataMethod.hpp:1014
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:77
RealVector nlnEqTargets
nonlinear equality constraint targets used in "user_functions" mode
Definition: SNLLOptimizer.hpp:371
RealVector uniformUncLowerBnds
distribution lower bounds for the uniform uncertain variables (from the lower_bounds specification in...
Definition: DataVariables.hpp:355
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:361
unsigned short subMethod
enum value for a sub-method type
Definition: DataMethod.hpp:357
size_t numDiscreteDesSetRealVars
number of discrete design variables defined by a set of reals (from the discrete_design_set real spec...
Definition: DataVariables.hpp:123
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDSampling.hpp:437
bool finalize_mapping()
restore state in preparation for next initialization; returns true if the variables size has changed
Definition: RecastModel.hpp:691
ParallelLibrary & parallelLib
reference to the ParallelLibrary instance
Definition: IteratorScheduler.hpp:169
size_t numFunctions
number of response functions
Definition: DakotaMinimizer.hpp:239
~NonDLocalInterval()
destructor
Definition: NonDLocalInterval.cpp:124
short dagRecursionType
type of tunable recursion for defining set of DAGs: KL, partial, or full
Definition: NonDGenACVSampling.hpp:195
size_t idivStart
start index of inactive discrete integer vars within allDiscreteIntVars
Definition: SharedVariablesData.hpp:266
Teuchos::ParameterList optSolverParams
Parameters for the ROL::OptimizationSolver.
Definition: ROLOptimizer.hpp:107
unsigned short cubIntOrder
the cubature_integrand specification in MethodNonDPCE
Definition: DataMethod.hpp:962
size_t num_final_solutions() const
return the number of solutions to retain in best variables/response arrays
Definition: DakotaIterator.hpp:738
int short_column()
the short_column UQ/OUU test function
Definition: TestDriverInterface.cpp:2527
RealVector combineFactors
factors for combining additive and multiplicative corrections. Each factor is the weighting applied t...
Definition: DiscrepancyCorrection.hpp:240
Constraints()
default constructor
Definition: DakotaConstraints.cpp:80
size_t numOffspring
The number of children to produce in a crossover operation.
Definition: DataMethod.hpp:676
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:82
Utility used in derived write_core to write in generic format.
Definition: DakotaVariables.hpp:52
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:183
bool useTargetVarianceOptimizationFlag
the allocation_target selection in MethodMultilevelMC
Definition: DataMethod.hpp:1056
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:425
int numberIterations
ITER from NPSOL manual: number of (major) iterations performed.
Definition: SOLBase.hpp:169
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:1756
RealVector referenceDRUBnds
stores a reference copy of active discrete real upper bounds when the approximation is built; used to...
Definition: DataFitSurrModel.hpp:510
virtual const RealVector & mean_gradient()
return the gradient of the expansion mean
Definition: DakotaApproximation.cpp:494
void reshape(size_t num_fns, size_t num_deriv_vars)
reshape requestVector and derivVarsVector
Definition: DakotaActiveSet.hpp:184
void initialize_grid(const std::vector< Pecos::BasisPolynomial > &poly_basis)
Definition: NonDQuadrature.cpp:168
Class for the Dempster-Shafer Evidence Theory methods within DAKOTA/UQ.
Definition: NonDLHSEvidence.hpp:39
int searchSchemeSize
the search_scheme_size specification for PDS methods in MethodOPTPPDC
Definition: DataMethod.hpp:529
MPI_Comm * hubServerInterComms
intercomm. array on hub processor
Definition: ParallelLibrary.hpp:144
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:530
bool nestedRules
for studies involving refinement strategies, allow for use of nested quadrature rules such as Gauss-P...
Definition: NonDQuadrature.hpp:176
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:342
OPTPP::OptNIPS * optnips
NIPS optimizer pointer.
Definition: SNLLOptimizer.hpp:342
bool serverMasterFlag
identifies master server processors
Definition: ParallelLibrary.hpp:122
short iteratorScheduling
type of scheduling ({DEFAULT,MASTER,PEER}_SCHEDULING) used in concurrent iterator parallelism (from t...
Definition: DataMethod.hpp:374
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:4147
void core_run()
Performs global surrogate-based optimization by repeatedly optimizing on and improving surrogates of ...
Definition: SurrBasedGlobalMinimizer.cpp:96
~NonDLHSInterval()
destructor
Definition: NonDLHSInterval.cpp:49
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:400
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NomadOptimizer.hpp:73
void operator()(std::ostream &s, size_t start_index, size_t num_items, const ArrayType &array_data, StringMultiArrayConstView label_array)
Definition: DakotaVariables.hpp:78
int write_precision
used in ostream data output functions (restart_util.cpp overrides default value)
Definition: dakota_global_defs.cpp:71
Derived approximation class for global basis polynomials.
Definition: PecosApproximation.hpp:35
void update_from_model(const Model &model)
update current variables/labels/bounds/targets with data from model
Definition: DataFitSurrModel.cpp:447
size_t total_active() const
total number of active vars
Definition: DakotaVariables.hpp:703
size_t numNonlinearEqConstraints
number of nonlinear equality constraints
Definition: DakotaMinimizer.hpp:255
void primary_response_fn_sense(const BoolDeque &sense)
set the optimization sense for multiple objective functions
Definition: DakotaModel.hpp:3680
UShortMultiArray allDiscreteStringTypes
array of variable types for all of the discrete string variables
Definition: SharedVariablesData.hpp:294
virtual int solution_level_int_value() const
return the active (integer) value of the solution control
Definition: DakotaModel.cpp:3729
virtual void pop_approximation(bool save_data)
removes data from last append from the approximation
Definition: DakotaInterface.cpp:1210
unsigned short distanceConvergeCntr
counter for number of successive iterations that the L_2 change in optimal solution is less than the ...
Definition: NonDGlobalInterval.hpp:168
void update_variables_from_model(const Model &model)
update current variables/bounds with data from model
Definition: SurrogateModel.cpp:479
int numFolds
number of folds to perform in cross validation
Definition: DataModel.hpp:299
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:2530
void init_queso_solver()
specialization to initialize the inverse problem and posterior
Definition: NonDGPMSABayesCalibration.cpp:331
void wait_local_evaluation_sequence(PRPQueue &prp_queue)
version of wait_local_evaluations() managing of set of individual asynchronous evaluations
Definition: SpawnApplicInterface.cpp:91
bool useModelBounds
flag to control if the sampler should respect the model bounds
Definition: NonDAdaptImpSampling.hpp:167
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:638
Response(short type, const Variables &vars, const ProblemDescDB &problem_db)
standard constructor built from problem description database
~COLINApplication()
Destructor.
Definition: COLINApplication.hpp:55
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:373
void declare_sources()
Declare sources to the evaluations database.
Definition: SNLLOptimizer.cpp:1132
short correction_order() const
return correctionOrder
Definition: DiscrepancyCorrection.hpp:304
virtual void eval_tag_prefix(const String &eval_id_str)
set the hierarchical eval ID tag prefix
Definition: DakotaIterator.cpp:1919
~NonDMultilevControlVarSampling()
destructor
Definition: NonDMultilevControlVarSampling.hpp:360
Response(const SharedResponseData &srd)
alternate constructor using limited data (explicit disallows implicit type conversion)
~NonDLHSEvidence()
destructor
Definition: NonDLHSEvidence.cpp:30
RealArray map_eval_vars(const Variables &vars)
extract active or all view as vector, mapping if needed for import
Definition: SurfpackApproximation.cpp:591
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: HierarchSurrBasedLocalMinimizer.hpp:60
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:376
bool check_step_vector(const RealVector &step_vector)
perform error checks on numSteps
Definition: ParamStudy.hpp:457
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:995
int *(* get_jobs_completed_t)()
definition of get completed jobs type (function pointer)
Definition: GridApplicInterface.hpp:31
Real penaltyParameter
the penalization factor for violated constraints used in quadratic penalty calculations; increased in...
Definition: SurrBasedMinimizer.hpp:168
IntVector sequenceLeap
Integer vector defining the leap number for each sequence being generated. Default is 1 1 1 (e....
Definition: FSUDesignCompExp.hpp:105
unsigned short surrExportFormat
(bitwise) format(s) to export
Definition: DakotaIterator.hpp:554
ActiveSet activeSet
Local copy of model's active set for convenience.
Definition: COLINApplication.hpp:119
void set_rng(int seed)
sets up the random number generator for stochastic methods
Definition: COLINOptimizer.cpp:563
bool resize()
reinitializes iterator based on new variable size
Definition: NonDGlobalReliability.cpp:355
size_t acv() const
accumulate all continuous variables from variablesCompsTotals, allRelaxedDiscreteInt,...
Definition: SharedVariablesData.hpp:370
void prior_cholesky_factorization()
compute priorCovCholFactor based on prior distributions for random variables and any hyperparameters
Definition: NonDBayesCalibration.cpp:2372
const Response & response(size_t experiment)
return response for the specified experiment
Definition: ExperimentData.cpp:821
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:851
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:235
IntArray fnValRefPt
iteration reference point for fnValCounter
Definition: DakotaInterface.hpp:405
int mc_ptr_int
global pointer for ModelCenter API
Definition: dakota_global_defs.cpp:81
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:272
void parse_environment_options()
any environment variables affecting global behavior get read here
Definition: ProgramOptions.cpp:434
int numAlgebraicResponses
number of algebraic responses (objectives+constraints)
Definition: DakotaInterface.hpp:489
void derived_init_serial()
set up RecastModel for serial operations (request forwarded to subModel).
Definition: RecastModel.hpp:1089
~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:1315
size_t numDiscreteRealVars
number of active discrete real vars
Definition: DakotaAnalyzer.hpp:183
IntArray newFnValRefPt
iteration reference point for newFnValCounter
Definition: DakotaInterface.hpp:408
A sample namespace for derived classes that use assign_rep() to plug facilities into DAKOTA.
Definition: SoleilDirectApplicInterface.cpp:21
Real constraint_tolerance() const
return the method constraint tolerance (constraintTol)
Definition: DakotaMinimizer.hpp:342
int Index
The index into the current buffer.
Definition: MPIPackBuffer.hpp:123
Real lineSearchTolerance
the linesearch_tolerance specification in MethodNPSOLDC
Definition: DataMethod.hpp:496
SNLLBase()
default constructor
Definition: SNLLBase.hpp:176
size_t expSamplesSpec
user specification for expansion_samples (array for multifidelity)
Definition: NonDPolynomialChaos.hpp:242
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:2584
int initHifiSamples
initial high-fidelity model samples
Definition: NonDBayesCalibration.hpp:409
bool exportSurrogate
Option to turn on surrogate model export (export_model)
Definition: DataModel.hpp:201
int derived_evaluation_id() const
return the current evaluation id for the RecastModel
Definition: RecastModel.hpp:1159
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:353
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:194
SizetArray residuals_per_multiplier(unsigned short multiplier_mode) const
count the number of residuals influenced by each multiplier
Definition: ExperimentData.cpp:1818
String displayFormat
the DISPLAY_STATS specification for NOMAD
Definition: DataMethod.hpp:800
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:678
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:444
void initialize_export()
initialize file stream for exporting surrogate evaluations
Definition: DataFitSurrModel.cpp:2231
void merge_grid_increment()
merges a grid increment into the reference grid
Definition: NonDSparseGrid.hpp:261
bool headerFlag
used by synchronize_nowait to manage header output frequency (since this function may be called many ...
Definition: ApplicationInterface.hpp:470
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: HierarchSurrBasedLocalMinimizer.hpp:54
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:604
void multifidelity_mc_offline_pilot()
Definition: NonDMultifidelitySampling.cpp:154
void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDLocalSingleInterval.cpp:35
RealSymMatrixArray fnHessians
response fn Hessians within direct fns
Definition: DirectApplicInterface.hpp:216
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:1455
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:334
int verifyLevel
the verify_level specification in MethodNPSOLDC
Definition: DataMethod.hpp:491
BitArray drv_to_all_mask() const
create a BitArray indicating the active discrete real subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1347
static void set_preferred_path()
set/reset PATH to dakPreferredEnvPath
Definition: WorkdirHelper.cpp:392
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:1517
ActiveSet default_interface_active_set()
Return the "default" or maximal ActiveSet for the userDefinedInterface.
Definition: SimulationModel.cpp:479
Real compute_expected_improvement(const RealVector &means, const RealVector &variances)
expected improvement (EI) function for the EGO EI acquisition function implementation
Definition: EffGlobalMinimizer.cpp:1024
unsigned short method_name() const
return the method name via its native enumeration value
Definition: DakotaIterator.hpp:665
Real solution_level_real_value() const
return a discrete real variable value corresponding to solnCntlADVIndex
Definition: SimulationModel.cpp:397
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:1713
BitArray idrv_to_all_mask() const
create a BitArray indicating the inactive discrete real subset of all {continuous,...
Definition: SharedVariablesData.hpp:1355
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:705
void assign_instance()
assign static pointer instance to this for use in static transformation functions
Definition: ScalingModel.hpp:206
RealList nonlinIneqConMappingOffsets
a list of offsets for mapping the DAKOTA nonlinear inequality constraints to the corresponding NOWPAC...
Definition: NOWPACOptimizer.hpp:83
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:211
Real percentVarianceExplained
The percentage of variance explained by using a truncated number of principal components in PCA.
Definition: DataMethod.hpp:873
bool optimizationFlag
flag for use where optimization and NLS must be distinguished
Definition: DakotaMinimizer.hpp:270
IntIntMap recastIdMap
mapping from subModel evaluation ids to RecastModel evaluation ids
Definition: RecastModel.hpp:565
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:514
Generates posterior distribution on model parameters given experiment data.
Definition: NonDGPMSABayesCalibration.hpp:55
Real lastConstraintViolation
constraint violation at last iteration, used to determine if the current iterate should be accepted (...
Definition: NonDGlobalReliability.hpp:140
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:491
const IntVector & inactive_discrete_int_variables() const
return the inactive discrete int variables
Definition: DakotaVariables.hpp:1410
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:33
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:1144
void initialize_point_selection()
Initializes the point selection routine by choosing a small initial subset of the training points.
Definition: GaussProcApproximation.cpp:1030
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:720
virtual void reset()
restore initial state for repeated sub-iterator executions
Definition: DakotaIterator.cpp:1333
void prepare_process_environment()
set PATH, environment variables, and change directory prior to fork/system/spawn
Definition: ProcessApplicInterface.cpp:950
NonDMUQBayesCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMUQBayesCalibration.cpp:47
~ApplicationInterface()
destructor
Definition: ApplicationInterface.cpp:94
std::string exportPosteriorDensityFile
The filename of the export file containing an arbitrary set of samples and their corresponding densit...
Definition: NonDWASABIBayesCalibration.hpp:105
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:347
Wrapper class for the OPT++ optimization library.
Definition: SNLLLeastSq.hpp:98
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:96
RealVector discreteRealAleatoryUncUpperBnds
distribution upper bounds for all discrete real aleatory uncertain variables
Definition: DataVariables.hpp:753
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:71
friend bool operator!=(const Variables &vars1, const Variables &vars2)
strict inequality operator
Definition: DakotaVariables.hpp:1824
bool check_asynchronous(bool warn, int max_eval_concurrency)
checks on asynchronous configuration (for direct interfaces)
Definition: ApplicationInterface.cpp:317
void push_grid_increment()
restores a previously computed grid increment (no new evaluations)
Definition: NonDSparseGrid.hpp:253
virtual void eval_tag_prefix(const String &eval_id_str)
set the hierarchical eval ID tag prefix
Definition: DakotaModel.cpp:5948
RealVector scX1
vector of scaled and/or offset x1 values
Definition: TANA3Approximation.hpp:89
String importApproxPtsFile
the file name from the import_approx_points_file specification
Definition: DataMethod.hpp:1301
RealVector continuousDesignUpperBnds
upper bounds array for the continuous design variables (from the continuous_design upper_bounds speci...
Definition: DataVariables.hpp:225
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:60
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:585
Class for using global nongradient-based optimization approaches to calculate interval bounds for epi...
Definition: NonDGlobalInterval.hpp:38
Real combined_moment(size_t i) const
return Pecos::PolynomialApproximation::combinedMoments[i]
Definition: PecosApproximation.hpp:704
void print_local_sensitivity(std::ostream &s)
print local sensitivities evaluated at initialPtU
Definition: NonDExpansion.cpp:4120
StringArray discreteIntAleatoryUncLabels
labels for all discrete integer aleatory uncertain variables
Definition: DataVariables.hpp:733
Utility class which defines convenience operators for spawning processes with system calls.
Definition: CommandShell.hpp:34
IntVector discreteStateRangeVars
initial values for the discrete state variables defined by an integer range (from the discrete_state_...
Definition: DataVariables.hpp:625
size_t maxFunctionEvals
maximum number of function evaluations allowed for the method (from the max_function_evaluations spec...
Definition: DataMethod.hpp:323
RealMatrix function_gradients_view()
return all function gradients as a view for updating in place
Definition: DakotaResponse.hpp:714
int propCovUpdatePeriod
period (number of accepted chain samples) for proposal covariance update
Definition: NonDQUESOBayesCalibration.hpp:178
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:404
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:727
short analysisScheduling
user specification of analysis scheduling algorithm: {DEFAULT,MASTER,PEER}_SCHEDULING....
Definition: ApplicationInterface.hpp:450
String rngName
name of the random number generator
Definition: NonDSampling.hpp:313
short get_short(const String &entry_name) const
get a short out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2329
SimulationResponse()
default constructor
Definition: SimulationResponse.hpp:82
virtual void finalize_expansion()
finalize mappings for the uSpaceModel
Definition: NonDExpansion.cpp:1028
size_t aleatory_uncertain()
return total number of aleatory uncertain variables
Definition: DataVariables.hpp:968
size_t execNum
An execution number for this instance of the class. Now that each instance has a unique methodId,...
Definition: DakotaIterator.hpp:596
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:853
const RealVector & approximation_variances(const Variables &vars)
return the approximation variance from each Approximation (request forwarded to approxInterface)
Definition: DataFitSurrModel.hpp:885
bool primaryRespScaleFlag
flag for primary response scaling
Definition: ScalingModel.hpp:183
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDMUQBayesCalibration.cpp:328
MPI_Comm dakota_mpi_comm() const
get the MPI_Comm on which Dakota is running
Definition: MPIManager.hpp:79
bool multilevel_multifidelity() const
identify if hierarchy is across both model forms and resolution levels
Definition: EnsembleSurrModel.hpp:583
StringArray discreteStrEpistemicUncLabels
labels for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:786
virtual void combine_approximation()
combine the current approximation with previously stored data sets
Definition: DakotaInterface.cpp:1271
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:151
IntVector discreteIntervalUncVars
initial values of the discrete interval uncertain variables (from the initial_point specification in ...
Definition: DataVariables.hpp:575
int numConminNlnConstr
total number of nonlinear constraints seen by CONMIN
Definition: CONMINOptimizer.hpp:163
Derived class within the Variables hierarchy which employs the relaxation of discrete variables.
Definition: RelaxedVariables.hpp:37
BitArray discreteStateSetRealCat
is each dssr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:666
RealVector fdGradStepSize
relative finite difference step size for numerical gradients
Definition: DakotaModel.hpp:1436
int numEvalServersSpec
user specification for number of evaluation servers
Definition: ApplicationInterface.hpp:419
SizetArray complement1ADIVarMapIndices
"primary" variable mappings for inserting the complement of the active discrete int currentVariables ...
Definition: NestedModel.hpp:390
void set_communicators_checks(int max_eval_concurrency)
no-op hides default run-time error checks at DirectApplicInterface level
Definition: PluginSerialDirectApplicInterface.hpp:128
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:525
void get_responses_from_dakota(const RealVector &dak_fn_vals, VecT &funs, VecT &cEqs, VecT &cIneqs)
Definition: DakotaOptimizer.hpp:476
SizetMultiArrayConstView all_continuous_variable_ids() const
return all continuous variable position identifiers
Definition: DakotaVariables.hpp:1757
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:2083
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:960
bool mainEffectsFlag
flag which specifies main effects
Definition: DDACEDesignCompExp.hpp:124
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:4573
static size_t approxIdNum
counter for giving unique names to approximation interfaces
Definition: ApproximationInterface.hpp:212
bool pointSelection
flag indicating the use of point selection in the Gaussian process
Definition: DataModel.hpp:292
bool chainDiagnosticsCI
flag indicating calculation of confidence intervals as a chain diagnositc
Definition: DataMethod.hpp:1125
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:1365
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:1645
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:574
NonD * prevNondInstance
pointer containing previous value of nondInstance
Definition: DakotaNonD.hpp:289
~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:581
void derived_map_asynch(const Dakota::ParamResponsePair &pair)
no-op hides base error; job batching occurs within wait_local_evaluations()
Definition: SoleilDirectApplicInterface.hpp:108
bool importChalUseVariableLabels
whether to parse/validate variable labels from header
Definition: DataModel.hpp:311
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:1343
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:254
void update_from_model(const Model &model)
set inherited data attributes based on extractions from incoming model
Definition: DakotaAnalyzer.cpp:118
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:163
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:108
size_t statCntr
counter for finalStatistics
Definition: NonDLHSSingleInterval.hpp:61
RealVector augLagrangeMult
Lagrange multipliers for augmented Lagrangian calculations.
Definition: SurrBasedMinimizer.hpp:165
RealRealMapArray histogramUncPointRealPairs
An array for each real-valued point-based histogram uncertain variable. Each array entry is a map fro...
Definition: DataVariables.hpp:544
Iterator topLevelIterator
the top level (meta-)iterator
Definition: DakotaEnvironment.hpp:161
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:201
short allocControl
type of multilevel strategy for sample allocation: ESTIMATOR_VARIANCE, RANK_SAMPLING,...
Definition: SharedC3ApproxData.hpp:290
void update_model()
evaluates allSamples on iteratedModel and update the mcmcModel emulator with all{Samples,...
Definition: NonDBayesCalibration.cpp:948
IntVector sequenceStart
Integer vector defining a starting index into the sequence for random variable sampled....
Definition: FSUDesignCompExp.hpp:102
ASL * asl
pointer to an AMPL solver library (ASL) object
Definition: DakotaInterface.hpp:495
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:415
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:136
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:4763
short iteratorScheduling
{DEFAULT,MASTER,PEER}_SCHEDULING
Definition: IteratorScheduler.hpp:181
unsigned iterCurr
current iteration number
Definition: NonlinearCGOptimizer.hpp:116
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:247
ActiveSet & operator=(const ActiveSet &set)
assignment operator
Definition: DakotaActiveSet.hpp:153
void resolve_samples_symbols()
convenience function for resolving number of samples and number of symbols from input.
Definition: DDACEDesignCompExp.cpp:350
StoredType dbData
data retrieved from file data base
Definition: ResultsManager.hpp:378
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:513
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:250
void reshape()
reshape an existing Variables object based on updated sharedVarsData
String root_model_id()
Return the model ID of the "innermost" model. For all derived Models except RecastModels,...
Definition: RecastModel.cpp:1583
Base class for the approximation class hierarchy.
Definition: DakotaApproximation.hpp:43
void post_process_final_results()
perform final post-processing
Definition: NonDLocalEvidence.cpp:99
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:44
bool command_line_post_run() const
return postRunFlag
Definition: ParallelLibrary.hpp:1345
void DAKOTA_DLL_FN dakota_destroy(int id)
delete Dakota runner instance id and remove from active list
Definition: dakota_dll_api.cpp:290
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:418
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:160
const String & preproc_cmd() const
pre-processing command, possibly specifying another tool
Definition: ProgramOptions.cpp:129
RealVector betaUncLowerBnds
distribution lower bounds for the beta uncertain variables (from the lower_bounds specification in Va...
Definition: DataVariables.hpp:397
StringArray diagnosticSet
set of diagnostic metrics
Definition: SharedSurfpackApproxData.hpp:142
Real truthFnStar
minimum/maximum truth response function value
Definition: NonDGlobalInterval.hpp:112
NONLINEAR_EQUALITY_FORMAT nonlinear_equality_format()
Return the format used for nonlinear equality constraints.
Definition: APPSOptimizer.hpp:75
std::string get_datetime(const std::time_t &rawtime) const
get the date and time as a string YYYYMMDDHHMMSS
Definition: TrackerHTTP.cpp:326
Dakota interface to MUQ (MIT Uncertainty Quantification) library.
Definition: NonDMUQBayesCalibration.hpp:44
int batchEvals
number of optimal designs selected per iteration of experimental design algorithm
Definition: NonDBayesCalibration.hpp:348
Derived class within the interface class hierarchy for supporting approximations to simulation-based ...
Definition: ApproximationInterface.hpp:39
Real vns
the VNS specification for NOMAD
Definition: DataMethod.hpp:802
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:749
~NonDBayesCalibration()
destructor
Definition: NonDBayesCalibration.cpp:712
int poly_prod()
modified low fidelity Rosenbrock to test SBO with hierarchical approximations
Definition: TestDriverInterface.cpp:1566
void derived_evaluate(const ActiveSet &set)
Definition: EnsembleSurrModel.cpp:483
Real alphaEta
power for etaSequence updates when updating penalty
Definition: SurrBasedMinimizer.hpp:180
bool importChallengeActive
whether to import active variables only
Definition: DataModel.hpp:313
void data_transform_model()
Wrap iteratedModel in a RecastModel that subtracts provided observed data from the primary response f...
Definition: DakotaMinimizer.cpp:407
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: DataFitSurrBasedLocalMinimizer.hpp:61
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:1610
Real approxValue
value of the approximation returned by value()
Definition: GaussProcApproximation.hpp:198
StringArray diagMetrics
List of diagnostic metrics the user requests to assess the goodness of fit for a surrogate model.
Definition: DataModel.hpp:295
RealVectorArray computedGenRelLevels
output generalized reliability levels for all response functions resulting from requestedRespLevels
Definition: DakotaNonD.hpp:318
void initial_point(const RealVector &pt)
sets the initial point (active continuous variables) for this iterator (user-functions mode for which...
Definition: SNLLOptimizer.hpp:375
void test(MPI_Request &request, int &test_flag, MPI_Status &status)
test a nonblocking send/receive request for completion
Definition: ParallelLibrary.hpp:1975
int worldRank
Rank of this process within Dakota's allocation; manages conditional output.
Definition: CommandLineHandler.hpp:202
double * S
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:225
RealVector nonlinearEqTargets
vector of nonlinear equality constraint targets (from the nonlinear_equality_targets specification in...
Definition: DataResponses.hpp:128
static UShortStrBimap submethod_map
bimap between sub-method enums and strings; only used in this compilation unit (using bimap for consi...
Definition: DakotaIterator.cpp:939
virtual void update_basis_distribution_parameters(const Pecos::MultivariateDistribution &mvd)
propagate updates to random variable distribution parameters to a polynomial basis
Definition: SharedApproxData.cpp:496
RealMatrix Rinv_YFb
Matrix for storing inverse of correlation matrix Rinv*(Y-FB)
Definition: GaussProcApproximation.hpp:242
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:309
bool supports_discrete_variables()
Return the flag indicating whether method supports discrete variables.
Definition: NomadOptimizer.hpp:79
void discrepancy_emulation_mode(short mode)
set approxInterface.sharedData.discrepEmulationMode
Definition: DataFitSurrModel.hpp:645
IntVector referenceDIUBnds
stores a reference copy of active discrete int upper bounds when the approximation is built; used to ...
Definition: DataFitSurrModel.hpp:504
const ShortShortPair & view() const
retreive the Variables view
Definition: SharedVariablesData.hpp:1662
bool sameModelInstance
flag indicating that the {low,high}FidelityKey correspond to the same model instance,...
Definition: EnsembleSurrModel.hpp:300
bool latinizeFlag
the latinize specification for FSU QMC and CVT methods in MethodFSUDACE
Definition: DataMethod.hpp:762
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:1223
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: HierarchSurrBasedLocalMinimizer.hpp:63
const StringSetArray & get_ssa(const String &entry_name) const
get an StringSetArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1789
void core_run()
compute the optimal solution
Definition: APPSOptimizer.cpp:55
RealRealPairArray extremeValues
Minimum and maximum values of response functions for epistemic calculations (calculated in compute_in...
Definition: NonDSampling.hpp:382
std::shared_ptr< DataEnvironmentRep > dataEnvRep
pointer to the body (handle-body idiom)
Definition: DataEnvironment.hpp:192
void derived_auto_graphics(const Variables &vars, const Response &resp)
Update tabular/graphics data with latest variables/response data.
Definition: EnsembleSurrModel.cpp:1615
RealVector constraintValues
array of nonlinear constraint values passed to CONMIN
Definition: CONMINOptimizer.hpp:160
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:3193
RealVectorArray reliabilityLevels
the reliability_levels specification in MethodNonD
Definition: DataMethod.hpp:1087
Base class for the iterator class hierarchy.
Definition: DakotaIterator.hpp:45
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:456
size_t div_start() const
start index of active discrete int vars
Definition: DakotaVariables.hpp:722
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:528
void initialize_sets()
invokes SparseGridDriver::initialize_sets()
Definition: NonDSparseGrid.hpp:204
int num_tpl_nonlin_eq_constraints() const
Number of nonlinear equality constraints from TPL perspective.
Definition: DakotaTPLDataTransfer.hpp:45
~TestDriverInterface()
destructor
Definition: TestDriverInterface.cpp:222
RealVector upperBounds
variable upper bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:355
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:2417
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:114
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:224
String proposalCovarFilename
filename for user-specified proposal covariance
Definition: NonDBayesCalibration.hpp:463
int maxEvalConcurrency
maximum number of concurrent model evaluations
Definition: DakotaIterator.hpp:503
int minimum_points(bool constraint_flag) const
returns the minimum number of samples required to build the functionSurfaces
Definition: ApproximationInterface.hpp:276
SVDSolver()
Constructor.
Definition: UtilLinearSolvers.cpp:143
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:341
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:295
std::string dataDistCovType
The type of covariance data provided ("diagonal","matrix")
Definition: NonDWASABIBayesCalibration.hpp:97
short local_eval_synchronization()
return userDefinedInterface synchronization setting
Definition: SimulationModel.hpp:337
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:351
virtual void activate_distribution_parameter_derivatives()
activate derivative setting w.r.t. distribution parameters
Definition: DakotaModel.cpp:5123
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:107
void configure_expansion_orders(unsigned short exp_order, const RealVector &dim_pref, UShortArray &exp_orders)
configure exp_orders from inputs
Definition: NonDExpansion.cpp:560
RealVector linearIneqUpperBnds
upper bounds for the linear inequality constraints (from the linear_inequality_upper_bounds specifica...
Definition: DataVariables.hpp:823
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:398
void calc_score_delta_y()
Function to compute the Gradient scores for the candidate points Gradient score is the function value...
Definition: NonDAdaptiveSampling.cpp:499
size_t numSamples
current number of samples to be evaluated
Definition: PSUADEDesignCompExp.hpp:84
void build()
builds the approximation from scratch
Definition: TaylorApproximation.cpp:43
String modelType
model type selection: single, surrogate, or nested (from the model type specification in ModelIndCont...
Definition: DataModel.hpp:101
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: SurrBasedMinimizer.cpp:156
const String & post_run_output() const
filename for post-run output
Definition: ProgramOptions.cpp:194
bool npsolFlag
flag representing the gradient-based optimization algorithm selection (NPSOL SQP or OPT++ NIP)
Definition: NonDLocalInterval.hpp:115
unsigned short sampling_scheme() const
return sampling name
Definition: DDACEDesignCompExp.hpp:159
virtual void combined_to_active(bool clear_combined=true)
promote aggregated data sets to active state
Definition: SharedApproxData.cpp:444
virtual void initialize()
perform any required initialization
Definition: NonDLHSInterval.cpp:96
unsigned short vbdOrder
a sub-specification of vbdFlag: interaction order limit for calculation/output of component VBD indic...
Definition: DataMethod.hpp:900
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:401
bool post_run() const
is post-run mode active?
Definition: ProgramOptions.cpp:172
virtual void increment_grid_preference()
increment SSG level/TPQ order and preserve anisotropy
Definition: NonDIntegration.cpp:222
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:602
RealVector initialPtU
current starting point for MPP searches in u-space
Definition: NonDLocalReliability.hpp:308
void check_sub_iterator_conflict()
detect any conflicts due to recursive use of the same Fortran solver
Definition: NonDLocalReliability.cpp:472
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:1032
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:165
bool central_hess() const
option for using old 2nd-order scheme when computing finite-diff Hessian
Definition: DakotaModel.hpp:3628
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:118
bool toleranceIntervalsFlag
flags of double sided tolerance interval equivalent normal
Definition: NonDSampling.hpp:339
void write(std::ostream &s) const
write a DataEnvironment object to an std::ostream
Definition: DataEnvironment.hpp:215
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: SNLLLeastSq.hpp:61
Nonintrusive stochastic collocation approaches to uncertainty quantification.
Definition: NonDStochCollocation.hpp:33
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:1496
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:1318
int seed_sequence(size_t index) const
return random seed for index within model sequence
Definition: NonDExpansion.hpp:669
size_t num_nonlinear_ineq_constraints() const
return the number of nonlinear inequality constraints
Definition: DakotaModel.hpp:3468
bool formulation_updated() const
query approxInterface for updates in formulation (requiring a rebuild)
Definition: DataFitSurrModel.hpp:815
virtual int derived_map_ac(const String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: Pybind11Interface.cpp:85
NonDDREAMBayesCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDDREAMBayesCalibration.cpp:95
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:54
void update_sub_model(const Variables &vars, const Constraints &cons)
update subModel with current variable values/bounds/labels
Definition: NestedModel.cpp:2197
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:2152
RealSymMatrixArray function_hessians_view()
return all function Hessians as Teuchos::Views (shallow copies) for updating in place
Definition: DakotaResponse.hpp:793
size_t numCandidates
number of candidate designs for adaptive Bayesian experimental design
Definition: DataMethod.hpp:1209
std::ofstream tabularDataFStream
file stream for tabulation of graphics data within compute_response
Definition: OutputManager.hpp:430
virtual void derived_init_serial()
portion of init_serial() specific to derived model classes
Definition: DakotaModel.cpp:5040
ResultsNames()
Default constructor.
Definition: ResultsManager.hpp:35
virtual void pop_increment()
helper function to manage different pop increment cases
Definition: NonDExpansion.cpp:1228
RealVectorArray cellContLowerBounds
Storage array to hold cell lower bounds for continuous variables.
Definition: NonDInterval.hpp:118
std::shared_ptr< SurfData > surfData
The data used to build the approximation, in Surfpack format.
Definition: SurfpackApproximation.hpp:180
void resolve_inputs(short &u_space_type, short &data_order)
perform error checks and mode overrides
Definition: NonDC3FunctionTrain.cpp:281
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:605
~PythonInterface()
destructor
Definition: PythonInterface.cpp:99
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:451
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:73
virtual DiscrepancyCorrection & discrepancy_correction()
return the DiscrepancyCorrection object used by SurrogateModels
Definition: DakotaModel.cpp:4443
void archive_extreme_responses(size_t inc_id=0)
archive extreme values (epistemic result) in results DB
Definition: NonDSampling.cpp:1435
IntSet idSet
Set of function evaluation id's for active asynchronous system call evaluations.
Definition: GridApplicInterface.hpp:106
const ShortArray & active_set_request_vector() const
return the active set request vector
Definition: DakotaResponse.hpp:936
Real contractFactor
the contraction_factor specification for APPS/PS/SW methods in MethodAPPS, MethodSCOLIBPS,...
Definition: DataMethod.hpp:605
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:827
int hub_server_communicator_rank() const
return hubServerCommRank
Definition: ParallelLibrary.hpp:352
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:441
Real dltfdj
finite-diff step size for computing Jacobian approximation (fd_gradient_step_size)
Definition: NL2SOLLeastSq.hpp:117
Interface & derived_interface()
return optionalInterface
Definition: NestedModel.hpp:487
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:951
size_t numSamples
size of a subset of tensor quadrature points (filtered based on product weight or sampled uniformly f...
Definition: NonDQuadrature.hpp:191
bool responses_locked() const
return responsesDBLocked
Definition: ProblemDescDB.hpp:668
void check_submodel_compatibility(const Model &sub_model)
verify compatibility between SurrogateModel attributes and attributes of the submodel (DataFitSurrMod...
Definition: EnsembleSurrModel.hpp:553
virtual short correction_order() const
return the correction order from the DiscrepancyCorrection object used by SurrogateModels
Definition: DakotaModel.cpp:4474
VectorXd objectiveFunctionHistory
Final objective function values for each optimization run.
Definition: SurrogatesGaussianProcess.hpp:366
~SerialDirectApplicInterface()
destructor
Definition: PluginSerialDirectApplicInterface.hpp:103
void write_restart(const ParamResponsePair &prp)
write a parameter/response set to the restart file
Definition: ParallelLibrary.cpp:1146
SizetArray complement1ADRVarMapIndices
"primary" variable mappings for inserting the complement of the active discrete real currentVariables...
Definition: NestedModel.hpp:397
void test_local_evaluation_sequence(PRPQueue &prp_queue)
version of test_local_evaluations() managing of set of individual asynchronous evaluations
Definition: SpawnApplicInterface.cpp:123
void replace_linear_arrays(size_t num_cv, size_t num_nln_con, const RealMatrix &lin_ineq_coeffs, const RealMatrix &lin_eq_coeffs)
update linear constraint arrays
Definition: SOLBase.hpp:212
int numPtsTotal
the total number of points
Definition: NonDAdaptiveSampling.hpp:92
int nlnConstraintArraySize
used for non-zero array sizing (nonlinear constraints)
Definition: SOLBase.hpp:157
virtual void surrogate_response_mode(short mode)
set response computation mode used in SurrogateModels for forming currentResponse
Definition: DakotaModel.cpp:4394
Derived class within the interface class hierarchy for supporting interfaces to simulation codes.
Definition: ApplicationInterface.hpp:45
void test_local_evaluation_sequence(PRPQueue &prp_queue)
Convenience function for common code between wait and nowait case.
Definition: GridApplicInterface.cpp:170
const String & get_string(const String &entry_name) const
get a String out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2013
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:448
StringArray ensembleModelPointers
an ordered (low to high) or unordered (peer) set of model pointers corresponding to a ensemble of mod...
Definition: DataModel.hpp:155
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:1632
virtual ~QuesoJointPdf()
Destructor.
Definition: QUESOImpl.cpp:38
Constraints operator=(const Constraints &con)
assignment operator
Definition: DakotaConstraints.cpp:167
Real dltfdc
finite-diff step size for function differences for H (fd_hessian_step_size)
Definition: NL2SOLLeastSq.hpp:122
String quasiHessType
quasi-Hessian type: bfgs, damped_bfgs, sr1
Definition: DakotaModel.hpp:1465
virtual const ShortArray & nested_acv2_targets() const
return secondaryACVarMapTargets
Definition: DakotaModel.cpp:5103
bool badScalingFlag
flag used to indicate function values near zero for multiplicative corrections; triggers an automatic...
Definition: DiscrepancyCorrection.hpp:205
int randomSeed
current seed for the random number generator
Definition: DDACEDesignCompExp.hpp:113
std::shared_ptr< SharedVariablesDataRep > svdRep
pointer to the body (handle-body idiom)
Definition: SharedVariablesData.hpp:1001
void combined_to_active_coefficients(bool clear_combined=true)
promote combined approximation into active approximation
Definition: PecosApproximation.hpp:805
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 fidelity levels
Definition: NonDMultilevelSampling.cpp:666
virtual void declare_sources()
Declare sources to the evaluations database.
Definition: DakotaIterator.cpp:320
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:221
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NPSOLOptimizer.hpp:66
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:4426
bool truthPilotConstraint
the truth_fixed_by_pilot flag for ACV methods
Definition: DataMethod.hpp:1047
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:37
IntVector discreteStateSetIntUpperBnds
discrete state integer set upper bounds inferred from set values
Definition: DataVariables.hpp:802
ProgramOptions stores options whether from the CLH or from library user; initially valid only on worl...
Definition: ProgramOptions.hpp:36
NonDAdaptiveSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDAdaptiveSampling.cpp:49
const RealVector & nonlinear_eq_constraint_targets() const
return the nonlinear equality constraint targets
Definition: DakotaModel.hpp:3526
static NonDLocalReliability * nondLocRelInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NonDLocalReliability.hpp:258
Base class for the environment class hierarchy.
Definition: DakotaEnvironment.hpp:50
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDGlobalReliability.cpp:399
ROLOptimizer(ProblemDescDB &problem_db, Model &model)
Standard constructor.
Definition: ROLOptimizer.cpp:53
size_t num_field_functions() const
total number of primary field functions (elements); 1-norm of priFieldLengths
Definition: SharedResponseData.hpp:349
WASABI - Weighted Adaptive Surrogate Approximations for Bayesian Inference.
Definition: NonDWASABIBayesCalibration.hpp:32
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:1118
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:92
colin::EvaluationManager_Base * colinEvalMgr
pointer to the COLIN evalutaion manager object
Definition: COLINOptimizer.hpp:176
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: NLPQLPOptimizer.hpp:89
ShortArray active2ADIVarMapTargets
"secondary" variable mappings for inserting active discrete int currentVariables into sub-parameters ...
Definition: NestedModel.hpp:375
IntVector allDiscreteIntLowerBnds
a discrete lower bounds array combining discrete design and discrete state variable types (all view).
Definition: DakotaConstraints.hpp:359
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:862
bool allResponsesPerIter
flag for maximal response extraction (all response values obtained on each function call)
Definition: NonDGlobalInterval.hpp:189
int samplesSpec
initial specification of number of samples
Definition: DDACEDesignCompExp.hpp:101
RealVectorArray T4
VBD total effect indices.
Definition: DakotaAnalyzer.hpp:236
bool summaryOutputFlag
flag for summary output (evaluation stats, final results); default true, but false for on-the-fly (he...
Definition: DakotaIterator.hpp:527
const IntResponseMap & all_responses() const
return the complete set of computed responses
Definition: DakotaAnalyzer.hpp:269
virtual Model & active_truth_model()
return the active truth sub-model in surrogate models
Definition: DakotaModel.cpp:3516
OPTPP::OptFDNewton * optfdnewton
Finite Difference Newton opt pointer.
Definition: SNLLOptimizer.hpp:338
Bayesian inference using the DREAM approach.
Definition: NonDDREAMBayesCalibration.hpp:33
METRIC_TYPE
Enumeration for supported metric types.
Definition: util_metrics.hpp:19
NLSSOLLeastSq(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NLSSOLLeastSq.cpp:53
~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:3389
RealVectorArray computedPDFAbscissas
sorted response PDF intervals bounds extracted from min/max sample and requested/computedRespLevels (...
Definition: DakotaNonD.hpp:350
int randomSeed
the seed specification for COLINY, NonD, & DACE methods
Definition: DataMethod.hpp:786
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:667
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:645
virtual ~Iterator()
destructor
Definition: DakotaIterator.cpp:817
RealVectorArray ccBelFn
Storage array to hold CCBF values.
Definition: NonDInterval.hpp:109
Real maxval(const RealArray &) const
Return the maximum value of the elements in a vector.
Definition: GaussProcApproximation.cpp:1156
void all_labels(const Variables &vars)
copy all cv/div/dsv/drv variable labels from vars
Definition: DakotaVariables.hpp:1182
short multilevDiscrepEmulation
type of discrepancy emulation in multilevel methods: distinct or recursive
Definition: DataMethod.hpp:1068
virtual void append_approximation(const Variables &vars, const IntResponsePair &response_pr)
appends a single point to an existing approximation
Definition: DakotaInterface.cpp:1071
void update(const Constraints &cons)
copy bounds and linear/nonlinear constraint data between existing Constraints objects
Definition: DakotaConstraints.cpp:405
BitArray div_to_all_mask() const
create a BitArray indicating the active discrete int subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1291
const RealVectorArray & approximation_coefficients(bool normalized=false)
return the approximation coefficients from each Approximation (request forwarded to approxInterface)
Definition: DataFitSurrModel.hpp:832
const SizetArray & nested_acv1_indices() const
return primaryACVarMapIndices
Definition: RecastModel.hpp:716
std::shared_ptr< QUESO::BaseVectorRV< QUESO::GslVector, QUESO::GslMatrix > > priorRv
random variable for the prior
Definition: NonDQUESOBayesCalibration.hpp:210
Results manager for iterator final data.
Definition: ResultsManager.hpp:100
Dummy struct for overloading constructors used in on-the-fly Model instantiations.
Definition: dakota_global_defs.hpp:186
size_t numDiscreteDesSetIntVars
number of discrete design variables defined by a set of integers (from the discrete_design_set intege...
Definition: DataVariables.hpp:117
SharedVariablesData sharedVarsData
reference-counted instance of shared variables data: id's, labels, counts
Definition: DakotaVariables.hpp:605
int fieldRealizationId
counter for RF Suite
Definition: RandomFieldModel.hpp:202
void clear_data()
clear SurrogateData::{vars,resp}Data for activeKey + embedded keys
Definition: DakotaApproximation.hpp:601
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:1161
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:204
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:84
size_t allocation_increment(size_t N_l_alloc, const Real *N_l_target)
increment the allocated samples counter
Definition: NonDMultilevelSampling.cpp:1339
int lenResponseMessage
length of a MPIPackBuffer containing a Response object; computed in Model::init_communicators()
Definition: ApplicationInterface.hpp:438
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:201
Wrapper class for the PSUADE library.
Definition: PSUADEDesignCompExp.hpp:33
void init_queso_environment()
initialize the QUESO FullEnvironment on the Dakota MPIComm
Definition: NonDQUESOBayesCalibration.cpp:159
bool is_null() const
return true if empty handle with null representation
Definition: SharedResponseData.hpp:435
void bcast(int &data, const ParallelLevel &pl)
broadcast an integer across the serverIntraComm of a ParallelLevel
Definition: ParallelLibrary.hpp:1779
start_grid_computing_t start_grid_computing
handle to dynamically linked start_grid_computing function
Definition: GridApplicInterface.hpp:112
void fine_grained_evaluation_counters()
request fine-grained evaluation reporting within the userDefinedInterface
Definition: SimulationModel.hpp:444
~Analyzer()
destructor
Definition: DakotaAnalyzer.hpp:244
Real startCPUTime
start reference for UTILIB CPU timer
Definition: ParallelLibrary.hpp:1023
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:447
size_t collocation_points() const
return specification for number of collocation points (may be part of a sequence specification)
Definition: NonDPolynomialChaos.hpp:279
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:79
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:5934
int stop_grid_computing()
Definition: GridApplicInterface.cpp:305
virtual void initialize_iterator(int job_index)
used by IteratorScheduler to set the starting data for a run
Definition: DakotaIterator.cpp:1341
const RealVector & inactive_discrete_real_upper_bounds() const
return the inactive discrete upper bounds
Definition: DakotaConstraints.hpp:709
void read(std::istream &s)
read a variables object from an std::istream
Definition: RelaxedVariables.cpp:149
~LibraryEnvironment()
destructor
Definition: LibraryEnvironment.cpp:71
~SharedPecosApproxData()
destructor
Definition: SharedPecosApproxData.hpp:181
bool equal_gsl(const QUESO::GslVector &qv1, const QUESO::GslVector &qv2)
equality tester for two GslVectors
Definition: NonDQUESOBayesCalibration.cpp:1175
~DataResponsesRep()
destructor
Definition: DataResponses.hpp:288
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:333
int surrModelEvalCntr
counter for calls to derived_evaluate()/derived_evaluate_nowait(); used to key response maps from Sur...
Definition: SurrogateModel.hpp:217
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:257
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:252
Real collocRatio
factor applied to terms^termsOrder in computing number of regression points, either user-specified or...
Definition: NonDExpansion.hpp:430
bool checkFlag
flags invocation with command line option -check
Definition: ProgramOptions.hpp:255
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:120
void vary_pattern(bool pattern_flag)
sets varyPattern in derived classes that support it
Definition: DDACEDesignCompExp.hpp:163
RealSymMatrix uncertainCorrelations
correlation matrix for all uncertain variables (from the uncertain_correlation_matrix specification i...
Definition: DataVariables.hpp:557
IntResponseMap cachedResponseMap
caching of responses returned by derived_synchronize{,_nowait}() but not matched within current rawEv...
Definition: DakotaModel.hpp:1688
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:578
ShortArray directFnASV
class scope active set vector
Definition: DirectApplicInterface.hpp:210
void update_all_variables_from_model(const Model &model)
update all current variables/bounds/labels with data from model
Definition: SurrogateModel.cpp:577
int ss_diffusion_discrepancy()
difference steady_state_diffusion_1d() across two consecutive resolutions
Definition: TestDriverInterface.cpp:2008
void read_tabular(std::istream &s, unsigned short vars_part=ALL_VARS)
Definition: RelaxedVariables.cpp:154
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:263
void center_matrix_rows(RealMatrix &mat)
center the incoming matrix rows by their means, in-place
Definition: dakota_data_util.cpp:281
StringMultiArrayConstView inactive_discrete_int_variable_labels() const
return the inactive discrete variable labels
Definition: DakotaVariables.hpp:1506
~DataFitSurrModel()
destructor
Definition: DataFitSurrModel.hpp:514
virtual ~DakotaROLEqConstraintsGrad()
Destructor.
Definition: ROLOptimizer.hpp:485
IntVector priFieldLengths
length of each primary response field
Definition: SharedResponseData.hpp:126
RealVector approxCLowerBnds
approximation continuous lower bounds (used by 3D graphics and Surfpack KrigingModel)
Definition: SharedApproxData.hpp:264
const String & command_line_pre_run_input() const
preRunInput filename
Definition: ParallelLibrary.hpp:1353
static StringArray tokenize_driver(const String &user_an_driver)
tokenize a white-space separated analysis driver, respecting escapes and nested quotes
Definition: WorkdirHelper.cpp:280
bool resize()
reinitializes iterator based on new variable size
Definition: NonDEnsembleSampling.cpp:155
void initialize_multipliers()
initialize Lagrange multipliers in the case of nonlinear constraints
Definition: EffGlobalMinimizer.cpp:136
Container class for active set tracking information. Contains the active set request vector and the d...
Definition: DakotaActiveSet.hpp:37
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:3474
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:1004
size_t acv() const
total number of continuous vars
Definition: DakotaVariables.hpp:774
UShortMultiArrayConstView discrete_real_variable_types() const
return the active discrete variable types from currentVariables
Definition: DakotaModel.hpp:2029
Model & subordinate_model()
return subModel
Definition: NestedModel.hpp:474
void update_distributions_from_model(const Model &model)
update current random variable distributions with data from model
Definition: SurrogateModel.cpp:491
void rebuild()
rebuilds the approximation incrementally
Definition: C3Approximation.cpp:487
~NonDExpansion()
destructor
Definition: NonDExpansion.cpp:128
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:90
int log_ratio()
the log_ratio UQ test function
Definition: TestDriverInterface.cpp:2485
size_t samplesRef
reference number of samples updated for refinement
Definition: NonDSampling.hpp:311
PStudyDACE(ProblemDescDB &problem_db, Model &model)
constructor
Definition: DakotaPStudyDACE.cpp:30
AdaptedBasisModel(ProblemDescDB &problem_db)
Problem database constructor.
Definition: AdaptedBasisModel.cpp:24
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:1355
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:504
UShortMultiArrayConstView all_continuous_variable_types() const
return all continuous variable types from currentVariables
Definition: DakotaModel.hpp:2263
SizetArray NLev
number of samples allocated to each level of a discretization/model hierarchy within multilevel/multi...
Definition: NonDExpansion.hpp:463
RealVector linearIneqLowerBnds
lower bounds for the linear inequality constraints (from the linear_inequality_lower_bounds specifica...
Definition: DataVariables.hpp:820
HOPSPACK::ParameterList * linearParams
Pointer to APPS linear constraint parameter sublist.
Definition: APPSOptimizer.hpp:194
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:836
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:810
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: APPSOptimizer.hpp:66
void pack(const long *data, const int num=1)
Pack one or more long's.
~ProcessApplicInterface()
destructor
Definition: ProcessApplicInterface.cpp:208
IntIntMap simIdMap
map from userDefinedInterface evaluation ids to SimulationModel ids (may differ in case where the sam...
Definition: SimulationModel.hpp:216
NPSOLTraits()
default constructor
Definition: NPSOLOptimizer.hpp:60
virtual void post_process_final_results()
perform final post-processing
Definition: NonDGlobalInterval.cpp:537
int chainSamples
number of samples in the chain (e.g. number of MCMC samples); for iterative update cycles,...
Definition: NonDBayesCalibration.hpp:315
std::vector< ParLevLIter > miPLIters
list iterator for world level followed by any concurrent iterator partitions (there may be multiple p...
Definition: ParallelLibrary.hpp:491
int batchIdCntr
maintain a count of the batches
Definition: ApplicationInterface.hpp:220
bool query_cost(unsigned short num_steps, bool multilevel, RealVector &cost)
extract cost estimates from model hierarchy, if available
Definition: DakotaNonD.cpp:480
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:166
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:928
void peer_dynamic_schedule_evaluations_nowait()
execute a nonblocking dynamic schedule in a peer partition
Definition: ApplicationInterface.cpp:1838
short exportMCMCFormat
output formatting options for MCMC export
Definition: NonDBayesCalibration.hpp:532
RealVector normalUncLowerBnds
distribution lower bounds for the normal uncertain variables (from the lower_bounds specification in ...
Definition: DataVariables.hpp:321
LINEAR_INEQUALITY_FORMAT linear_inequality_format()
Return the format used for linear inequality constraints.
Definition: DOTOptimizer.hpp:73
void discrete_real_variable_label(const String &drv_label, size_t index)
set an active discrete real variable label
Definition: DakotaVariables.hpp:1154
bool zeros(const SizetArray &N_m) const
return true if N_m is empty or only populated with zeros
Definition: DakotaNonD.hpp:639
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:362
size_t numNonlinearIneqConstraints
number of nonlinear inequality constraints
Definition: DakotaMinimizer.hpp:253
RealVector origTrustRegionFactor
original user specification for trust region initial_size
Definition: SurrBasedLocalMinimizer.hpp:206
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:761
Real average_estimator_variance(const RealVector &cd_vars)
helper function that supports optimization APIs passing design variables
Definition: NonDNonHierarchSampling.cpp:1064
Derived application interface class which spawns simulation codes using grid services such as Condor ...
Definition: GridApplicInterface.hpp:45
GaussProcApproximation()
default constructor
Definition: GaussProcApproximation.hpp:283
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:806
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:949
RealVector solution_level_costs() const
return all cost estimates from solnCntlCostMap
Definition: SimulationModel.cpp:410
void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: PSUADEDesignCompExp.cpp:166
SimulationModel(ProblemDescDB &problem_db)
constructor
Definition: SimulationModel.cpp:28
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:254
const RealRealPairRealMapArray & get_rrrma(const String &entry_name) const
get a RealRealPairRealMapArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1878
virtual int derived_evaluation_id() const
Return the value of the evaluation id counter for the Model.
Definition: DakotaModel.cpp:5872
short mode() const
return quadMode
Definition: NonDQuadrature.hpp:331
virtual const IntResponseMap & all_responses() const
return the complete set of computed responses
Definition: DakotaIterator.cpp:1791
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:552
int samplesSpec
initial specification of number of samples
Definition: FSUDesignCompExp.hpp:87
void reshape(size_t num_fns)
reshape the data, disconnecting a shared rep if necessary
String runInput
filename for run input
Definition: ProgramOptions.hpp:264
std::list< DataInterface > dataInterfaceList
list of interface specifications, one for each call to interface_kwhandler() or insert_node()
Definition: ProblemDescDB.hpp:396
bool resize()
reinitializes iterator based on new variable size
Definition: FSUDesignCompExp.cpp:179
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:346
RealVector origNonlinIneqLowerBnds
original nonlinear inequality constraint lower bounds (no relaxation)
Definition: SurrBasedMinimizer.hpp:171
void suppress_output_flag(const bool flag)
set the suppressOutputFlag
Definition: CommandShell.hpp:118
Objects of this class are called by boost::appy_visitor to add attributes to HDF5 objects.
Definition: ResultsDBHDF5.hpp:65
ProblemDescDB * Dak_pddb
set by ProblemDescDB, for use in parsing
Definition: dakota_global_defs.cpp:85
double estimatedNuggetValue
Estimated nugget term.
Definition: SurrogatesGaussianProcess.hpp:354
Performs Hierarch Monte Carlo sampling for uncertainty quantification.
Definition: NonDHierarchSampling.hpp:32
Stationary kernel with C^2 smooth realizations.
Definition: SurrogatesGPKernels.hpp:154
short ssgDriverType
type of sparse grid driver: combined, incremental, hierarchical, ...
Definition: NonDSparseGrid.hpp:144
bool surrBasedLocalLayerBypass
flag to indicate user-specification of a bypass of any/all layerings in evaluating truth response val...
Definition: DataMethod.hpp:424
void populate_method_list(ProblemDescDB &problem_db)
extract list of methods from problem database
Definition: TrackerHTTP.cpp:183
bool resize()
reinitializes iterator based on new variable size
Definition: NonDStochCollocation.cpp:305
virtual void check_sub_iterator_conflict()
detect any conflicts due to recursive use of the same Fortran solver
Definition: DakotaIterator.cpp:1736
bool valid_cost_values(const RealVector &cost)
test cost for valid values > 0
Definition: DakotaNonD.cpp:508
unsigned updateType
type of CG direction update
Definition: NonlinearCGOptimizer.hpp:111
std::list< ActiveSet > setList
if estimate_derivatives() is used, transfers ActiveSets from evaluate_nowait() to synchronize()
Definition: DakotaModel.hpp:1651
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:1303
~SensAnalysisGlobal()
destructor
Definition: SensAnalysisGlobal.hpp:204
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:464
void set_communicators_checks(int max_eval_concurrency)
Definition: ProcessHandleApplicInterface.hpp:187
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:349
short buildDataOrder
order of the data used for surrogate construction, in ActiveSet request vector 3-bit format.
Definition: SharedApproxData.hpp:242
void discrepancy_emulation_mode(short mode)
update the subModel's discrepancy emulation mode
Definition: RecastModel.hpp:910
bool supports_linear_equality()
Return flag indicating ROL supports linear equalities.
Definition: ROLOptimizer.hpp:158
void post_process_response_fn_results()
post-process the interval computed for a response function
Definition: NonDGlobalEvidence.cpp:75
int enroll_done
finished enrolling
Definition: CommandLineHandler.hpp:134
std::shared_ptr< QUESO::GPMSAFactory< QUESO::GslVector, QUESO::GslMatrix > > gpmsaFactory
core factory that manages a GP-based likelihood
Definition: NonDGPMSABayesCalibration.hpp:157
Base class for NonD, DACE, and ParamStudy branches of the iterator hierarchy.
Definition: DakotaAnalyzer.hpp:35
COLINOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: COLINOptimizer.cpp:248
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:473
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:895
std::vector< double > nonlinearEqConstraintMapMultipliers
multipliers for constraint transformations - may not be needed? - RWH
Definition: DakotaTPLDataTransfer.hpp:161
RealList linIneqConMappingOffsets
a list of offsets for mapping the DAKOTA linear inequality constraints to the corresponding NOWPAC co...
Definition: NOWPACOptimizer.hpp:93
void post_run(std::ostream &s)
Definition: DakotaLeastSq.cpp:293
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:63
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: NomadOptimizer.hpp:89
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:1945
size_t idiv() const
number of inactive discrete int vars
Definition: DakotaVariables.hpp:750
RealVector gradDiff
temporary for gradient difference (gradCurr - gradPrev)
Definition: NonlinearCGOptimizer.hpp:137
void decrement_set()
invokes SparseGridDriver::pop_set()
Definition: NonDSparseGrid.hpp:232
void scale_model()
Wrap iteratedModel in a RecastModel that performs variable and/or response scaling.
Definition: DakotaMinimizer.cpp:465
~SNLLLeastSq()
destructor
Definition: SNLLLeastSq.cpp:220
~SysCallApplicInterface()
destructor
Definition: SysCallApplicInterface.hpp:96
void update_model_active_variables(Model &model)
update incoming (sub-)model with active values from currentVariables
Definition: DakotaModel.cpp:2973
PebbldBranching * globalPtr
Pointer referring to all info passed to subproblem.
Definition: PEBBLBranching.hpp:53
NonDLocalSingleInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLocalSingleInterval.cpp:22
Model minMaxModel
recast model which extracts the active objective function
Definition: NonDLocalInterval.hpp:90
RealVector nlnEqScales
nonlinear equality constraint scale values
Definition: ScalingOptions.hpp:50
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:190
~NonDQuadrature()
destructor
Definition: NonDQuadrature.cpp:162
~NonDSurrogateExpansion()
destructor
Definition: NonDSurrogateExpansion.cpp:110
String nichingType
The niching type.
Definition: DataMethod.hpp:703
void get_vbd_parameter_sets(Model &model, size_t num_samples)
generate replicate parameter sets for use in variance-based decomposition
Definition: DakotaAnalyzer.cpp:386
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:119
std::map< Real, RealVector > bestSamples
container for managing best MCMC samples (points and associated log posterior) collected across multi...
Definition: NonDBayesCalibration.hpp:479
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:1701
const RealVector & linear_ineq_constraint_upper_bounds() const
return the linear inequality constraint upper bounds
Definition: DakotaModel.hpp:3412
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:1137
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:1973
void archive_best_variables(const bool active_only=false) const
archive best variables for the index'th final solution
Definition: DakotaMinimizer.cpp:761
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:2220
size_t maxCVRankCandidates
maximum number of cross-validation candidates for adaptRank
Definition: DataMethod.hpp:838
NLPQLPTraits()
default constructor
Definition: NLPQLPOptimizer.hpp:77
size_t cv_start() const
start index of active continuous vars
Definition: DakotaVariables.hpp:714
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:470
int worldRank
processor rank within MPI_COMM_WORLD
Definition: ApplicationInterface.hpp:409
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:1206
size_t numNormalUncVars
number of normal uncertain variables (from the normal_uncertain specification in VarAUV)
Definition: DataVariables.hpp:126
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:3577
virtual Real covariance_determinant() const
covariance determinant for one experiment (default 1.0)
bool model_locked() const
return modelDBLocked
Definition: ProblemDescDB.hpp:656
Container class for the data associated with a single level of communicator partitioning.
Definition: ParallelLibrary.hpp:36
const ShortArray & nested_acv2_targets() const
return secondaryACVarMapTargets
Definition: EnsembleSurrModel.hpp:532
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:1766
bool exportSurrogate
whether to export final surrogates
Definition: DakotaIterator.hpp:548
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:637
bool special(const MPI_Comm &comm)
test comm for special identity that cannot be deallocated
Definition: ParallelLibrary.hpp:169
bool multiProcEvalFlag
flag for multiprocessor evaluation partitions (evalComm)
Definition: DakotaInterface.hpp:429
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:1017
short krigingFindNugget
option to have Kriging find the best nugget value to use
Definition: DataModel.hpp:249
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:1293
std::list< DataVariables >::iterator dataVariablesIter
iterator identifying the active list node in dataVariablesList
Definition: ProblemDescDB.hpp:488
void compute_analytic_statistics()
analytic portion of compute_statistics() from post-processing of expansion coefficients (used for FIN...
Definition: NonDExpansion.cpp:2962
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:4642
NonlinearCGTraits()
default constructor
Definition: NonlinearCGOptimizer.hpp:34
int mogatest2()
MOP2? from Van Veldhuizen, pp. 5-13.
Definition: TestDriverInterface.cpp:3901
VectorXd betaValues
Vector of polynomial coefficients.
Definition: SurrogatesGaussianProcess.hpp:351
bool echoInput
whether to echo client's input file at parse
Definition: ProgramOptions.hpp:234
RealVector initialCVPoint
the continuous start point for vector and centered parameter studies
Definition: ParamStudy.hpp:204
void update(ParConfigLIter pc_iter)
update schedPCIter
Definition: IteratorScheduler.hpp:270
int numPartitions
number of partitions to pass to PSUADE (levels = partitions + 1)
Definition: PSUADEDesignCompExp.hpp:88
void barrier_e()
enforce MPI_Barrier on an evaluation communicator
Definition: ParallelLibrary.hpp:1938
RealMatrix fnGrads
response fn gradients w/i direct simulator fns
Definition: DirectApplicInterface.hpp:215
ParamResponsePair()
default constructor
Definition: ParamResponsePair.hpp:178
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:236
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:277
void mode_bits(const Variables &vars, BitArray &active_vars, BitArray &active_corr) const
define subset views for sampling modes
Definition: NonDSampling.cpp:774
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:240
short combineType
type of discrepancy calculation: additive, multiplicative, or both
Definition: SharedC3ApproxData.hpp:285
RealVector dimPrefSpec
user specification for dimension_preference
Definition: NonDExpansion.hpp:422
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:1062
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:469
RealVector paramMaxs
upper bounds on calibrated parameters
Definition: NonDDREAMBayesCalibration.hpp:97
void surrogate_function_indices(const SizetSet &surr_fn_indices)
(re)set the surrogate index set in SurrogateModel::surrogateFnIndices and ApproximationInterface::app...
Definition: DataFitSurrModel.hpp:796
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:1674
size_t numDiscreteStateSetIntVars
number of discrete state variables defined by a set of integers (from the discrete_state_set integer ...
Definition: DataVariables.hpp:207
short varsDomain
user selection/override of variables domain: {DEFAULT,MIXED,RELAXED}_DOMAIN
Definition: DataVariables.hpp:105
bool force_rebuild()
determine whether a surrogate model rebuild should be forced based on changes in the inactive data
Definition: EnsembleSurrModel.hpp:541
bool active() const
whether any databases are active
Definition: ResultsManager.cpp:31
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:587
void deallocate_workspace()
Releases workspace memory.
Definition: CONMINOptimizer.cpp:217
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:369
boost::tuple< bfs::path, bfs::path, bfs::path > PathTriple
Triplet of filesystem paths: e.g., params, results, workdir.
Definition: ProcessApplicInterface.hpp:36
bool supports_nonlinear_inequality()
Return flag indicating ROL supports nonlinear inequalities.
Definition: ROLOptimizer.hpp:171
void serial_interface_plugin(Dakota::LibraryEnvironment &env)
Convenience function with simplest example of interface plugin: plugin a serial DirectApplicInterface...
Definition: library_mode.cpp:394
void update_penalty(const RealVector &fns_center_truth, const RealVector &fns_star_truth)
initialize and update the penaltyParameter
Definition: SurrBasedLocalMinimizer.cpp:983
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:443
size_t core_refinement(Real &metric, bool revert=false, bool print_metric=true)
advance the refinement strategy one step
Definition: NonDExpansion.cpp:1062
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: SurrBasedGlobalMinimizer.hpp:56
unsigned short covarianceForm
form of the analytic covariance function
Definition: RandomFieldModel.hpp:180
OPTPP::MeritFcn meritFn
enum: NormFmu, ArgaezTapia, or VanShanno
Definition: SNLLBase.hpp:147
SizetArray collocationPointsSeq
the collocation_points_sequence specification in MethodNonDPCE
Definition: DataMethod.hpp:938
virtual void derived_map_asynch(const ParamResponsePair &pair)
Called by map() and other functions to execute the simulation in asynchronous mode....
Definition: ApplicationInterface.hpp:615
bool evaluation_cache(bool recurse_flag=true) const
if recurse_flag, return the subModel evaluation cache usage
Definition: RecastModel.hpp:1151
friend class PebbldMinimizer
PEBBLMinimizer requires access to get_iterator()
Definition: ProblemDescDB.hpp:89
TPLDataTransfer()
default constructor
Definition: DakotaTPLDataTransfer.cpp:29
ApplicationInterface(const ProblemDescDB &problem_db)
constructor
Definition: ApplicationInterface.cpp:27
Base class for all nondetermistic iterators (the DAKOTA/UQ branch).
Definition: DakotaNonD.hpp:34
~ParallelLibrary()
destructor
Definition: ParallelLibrary.cpp:1214
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: NOWPACOptimizer.hpp:174
void prior_proposal_covariance()
use covariance of prior distribution for setting proposal covariance
Definition: NonDQUESOBayesCalibration.cpp:724
void inactive_view(short view2)
sets the inactive view based on higher level context
Definition: DakotaConstraints.cpp:287
~Pybind11Interface()
destructor
Definition: Pybind11Interface.cpp:75
const RealVector & moments() const
return primary moments using Pecos::PolynomialApproximation::moments()
Definition: PecosApproximation.hpp:679
OutputManager & outputManager
Non-const output handler to help with file redirection.
Definition: ParallelLibrary.hpp:1019
bool numericalIssuesRank
flag indicating numerical issues in partial rank correlation calculations
Definition: SensAnalysisGlobal.hpp:193
MPI_Comm hubServerInterComm
intercomm. between a server & the hub (on server partitions only)
Definition: ParallelLibrary.hpp:142
driver_t oFilterType
enum type of the direct function output filter
Definition: DirectApplicInterface.hpp:152
Manage interactions between ResultsManager and the low-level HDFIOHelper class.
Definition: ResultsDBHDF5.hpp:160
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:444
IntSet sysCallSet
set of function evaluation id's for active asynchronous system call evaluations
Definition: SysCallApplicInterface.hpp:89
void initialize()
perform any required initialization
Definition: NonDLHSEvidence.cpp:34
long timeoutSeconds
seconds until the request will timeout (may have issues with signals)
Definition: TrackerHTTP.hpp:124
String selectionPressure
the fitness_type specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:631
void update_model_from_samples()
publish numSamplesOnModel update to the DataFitSurrModel instance
Definition: NonDExpansion.cpp:1921
void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to RecastModel (forward to subModel.evaluate())
Definition: SubspaceModel.cpp:332
short convergenceToleranceTarget
the |c convergence_tolerance_type selection in MethodMultilevelMC
Definition: DataMethod.hpp:1062
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:1958
void write(std::ostream &s) const
write a DataInterfaceRep object to an std::ostream
Definition: DataMethod.cpp:540
void insert(const StrStrSizet &iterator_id, const std::string &data_name, const StoredType &sent_data, const MetaDataType metadata=MetaDataType())
insert data
Definition: ResultsManager.hpp:249
~ParallelDirectApplicInterface()
destructor
Definition: PluginParallelDirectApplicInterface.hpp:94
int local_eval_concurrency()
return userDefinedInterface asynchronous evaluation concurrency
Definition: SimulationModel.hpp:344
virtual bool push_available()
queries availability of pushing data associated with a trial set
Definition: SharedApproxData.cpp:351
void derived_synchronize_competing()
called from derived_synchronize() for case of distinct models/interfaces with competing LF/HF job que...
Definition: EnsembleSurrModel.cpp:1075
Definition: ReducedBasis.hpp:38
bool nestedRules
flag for indicating state of nested and non_nested overrides of default rule nesting,...
Definition: NonDExpansion.hpp:484
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:692
void close()
close graphics windows
Definition: DakotaGraphics.cpp:320
RealVector minX
vector of minimum param values used for offset/scaling
Definition: TANA3Approximation.hpp:88
int DAKOTA_DLL_FN get_mc_ptr_int()
get the DAKOTA pointer to ModelCenter
Definition: dakota_dll_api.cpp:309
short dataOrder
order of the data used for surrogate construction, in ActiveSet request vector 3-bit format; user may...
Definition: EffGlobalMinimizer.hpp:291
void assign_rep(std::shared_ptr< Interface > interface_rep)
assign letter or replace existing letter with a new one
Definition: DakotaInterface.cpp:374
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:1164
IntSet hessIdAnalytic
analytic id's for mixed Hessians
Definition: DakotaModel.hpp:1469
void writex(const char[])
Writes out the current training set (in original units) to a specified file.
Definition: GaussProcApproximation.cpp:1265
size_t numFieldResponseFunctions
field_responses: number of response functions which are field-valued
Definition: DataResponses.hpp:109
size_t numICV
number of inactive continuous variables
Definition: SharedVariablesData.hpp:275
bool pressFlag
flag indicating the use of PRESS on the metrics specified
Definition: DataModel.hpp:303
const BoolDeque & primary_response_fn_sense() const
get the optimization sense for multiple objective functions
Definition: DakotaModel.hpp:3687
double * B
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:234
Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: PecosApproximation.hpp:735
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:445
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:3794
void clear_databases()
Delete all databases.
Definition: ResultsManager.cpp:23
virtual int derived_map_ac(const String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: PythonInterface.cpp:109
virtual const RealVectorArray & approximation_coefficients(bool normalized=false)
retrieve the approximation coefficients from each Approximation within a DataFitSurrModel
Definition: DakotaModel.cpp:4323
RealVector gradPrev
previous gradient
Definition: NonlinearCGOptimizer.hpp:134
BitArray cdsv_to_all_mask() const
create a BitArray indicating the complement discrete string subset of all {continuous,...
Definition: SharedVariablesData.hpp:1335
A version of TraitsBase specialized for NCSU optimizers.
Definition: NCSUOptimizer.hpp:27
RealVectorArray computedRelLevels
output reliability levels for all response functions resulting from requestedRespLevels
Definition: DakotaNonD.hpp:315
IntActiveSetMap adapterSetMap
map of active set passed to derived_evaluate_nowait(). Caches values needed for evaluation in synchro...
Definition: AdapterModel.hpp:179
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:490
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:1080
structure for validating integer uncertain variable labels, bounds, values
Definition: NIDRProblemDescDB.cpp:5130
RealMatrix simpleRankCorr
matrix to hold simple rank correlations
Definition: SensAnalysisGlobal.hpp:171
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:169
DataVariablesRep()
default constructor
Definition: DataVariables.cpp:20
std::shared_ptr< DataEnvironmentRep > data_rep()
return dataEnvRep
Definition: DataEnvironment.hpp:196
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:235
bool preprocInput
whether to pre-process input with pyprepro/etc.
Definition: ProgramOptions.hpp:236
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:302
int smooth_herbie()
returns the N-D smooth herbie function
Definition: TestDriverInterface.cpp:4552
RealVector scX1
vector of scaled x1 values
Definition: QMEApproximation.hpp:91
void compute_moments(const RealVectorArray &fn_samples)
calculates sample moments from a matrix of observations for a set of QoI
Definition: NonDSampling.hpp:449
Graphics & graphics()
retrieve the graphics handler object
Definition: OutputManager.hpp:206
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:231
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:70
void all_discrete_real_label(const String &drv_label, size_t index)
set discrete real label at index start
Definition: SharedVariablesData.hpp:1486
void filter_parameter_sets()
prune allSamples back to size numSamples, retaining points with highest product weight
Definition: NonDQuadrature.cpp:327
Definition: COLINApplication.hpp:40
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:4500
const RealVector & expansion_moments() const
return expansion moments from Pecos::PolynomialApproximation
Definition: PecosApproximation.hpp:683
void activate_distribution_parameter_derivatives()
activate derivative setting w.r.t. distribution parameters
Definition: SurrogateModel.hpp:258
UShortArray varPartitions
the partitions specification for PStudy method in MethodPSMPS
Definition: DataMethod.hpp:1284
RealMatrix trainValues
An array of response values; one response value per sample site.
Definition: GaussProcApproximation.hpp:206
RealVector simVariance
list of variances of errors to be added to simulation responses
Definition: DataResponses.hpp:165
Class for unpacking MPI message buffers.
Definition: MPIPackBuffer.hpp:183
int scalable_monomials()
simple monomials for UQ exactness testing
Definition: TestDriverInterface.cpp:3778
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:289
virtual void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1294
int required_points()
return points required for build according to pointsManagement mode
Definition: DataFitSurrModel.hpp:589
const RealVector & approximation_variances(const Variables &vars)
retrieve the approximation variances from each Approximation within an ApproximationInterface
Definition: ApproximationInterface.cpp:962
Definition: SurrBasedGlobalMinimizer.hpp:77
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:3755
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NLPQLPOptimizer.hpp:83
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:1140
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:1254
RealVector lognormalUncStdDevs
standard deviations of the lognormal uncertain variables (from the std_deviations specification in Va...
Definition: DataVariables.hpp:340
void surrogates_to_surf_data()
copy from SurrogateData to SurfPoint/SurfData in surfData
Definition: SurfpackApproximation.cpp:866
Definition: NonDCalibration.hpp:30
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:102
void init_distribution(bool consistent_vars)
initialize mvDist from SharedVariablesData
Definition: RecastModel.cpp:379
BitArray discreteUncSetRealCat
is each dusr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:608
int numRestarts
number of restarts for gradient-based optimization in GP
Definition: DataModel.hpp:271
~Optimizer()
destructor
Definition: DakotaOptimizer.hpp:652
int mf_short_column()
alternate short_column formulations for multifidelity or model form studies
Definition: TestDriverInterface.cpp:2667
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:1843
RealMatrix trainValues
An array of response values; one response value per sample site.
Definition: VPSApproximation.hpp:199
String exportMCMCPtsFile
the file name from the export_mcmc_points_file specification
Definition: DataMethod.hpp:1313
ParallelLibrary & parallelLib
class member reference to the parallel library
Definition: DakotaIterator.hpp:478
size_t sequenceIndex
sequence index for {quadOrder,ssgLevel}SeqSpec
Definition: NonDMultilevelStochCollocation.hpp:94
void assign_mean_data()
update mostProbPointX/U, computedRespLevel, fnGradX/U, and fnHessX/U from ranVarMeansX/U,...
Definition: NonDLocalReliability.cpp:1847
bool hierarchicalTags
whether this model and its children will add hierarchy-based tags to eval ids
Definition: DataModel.hpp:114
void read(MPIUnpackBuffer &s)
read a ParallelLevel object from a packed MPI buffer
Definition: ParallelLibrary.hpp:367
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:173
void discrete_int_variable_type(unsigned short div_type, size_t i)
set an active discrete variable type in currentVariables
Definition: DakotaModel.hpp:1992
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:273
void init_model_constraints(Model &model)
initialize model with linear/nonlinear constraint data that could change once per set of evaluations ...
Definition: SurrogateModel.cpp:223
bool mcmcModelHasSurrogate
whether the MCMC Model is a surrogate, or a thin transformation around a surrogate,...
Definition: NonDBayesCalibration.hpp:293
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:900
RealVector xDR
discrete real variables used within direct simulator fns
Definition: DirectApplicInterface.hpp:180
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:978
void ** get_voidss(const String &entry_name) const
for getting a void**, e.g., &dlLib
Definition: ProblemDescDB.cpp:2755
const IntSet & hessian_id_analytic() const
return the mixed Hessian analytic IDs (hessIdAnalytic)
Definition: DakotaModel.hpp:3668
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:38
int maxHifiEvals
maximum number of highfidelity model runs to be used for adaptive Bayesian experimental design
Definition: DataMethod.hpp:1212
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:233
~MixedVarConstraints()
destructor
Definition: MixedVarConstraints.hpp:77
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:574
virtual bool discrepancy_sample_counts() const
flag identifying whether sample counts correspond to level discrepancies
Definition: DakotaNonD.hpp:470
std::shared_ptr< QUESO::GenericVectorRV< QUESO::GslVector, QUESO::GslMatrix > > postRv
random variable for the posterior
Definition: NonDQUESOBayesCalibration.hpp:229
int mxfcal
function-evaluation limit (max_function_evaluations)
Definition: NL2SOLLeastSq.hpp:125
Iterator lhsIter
LHS iterator for generating samples for GP.
Definition: NonDGPMSABayesCalibration.hpp:171
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:5166
String evalTagPrefix
set of period-delimited evaluation ID tags to use in evaluation tagging
Definition: DakotaInterface.hpp:435
virtual const RealVector & approximation_variances(const Variables &vars)
retrieve the approximation variances from each Approximation within an ApproximationInterface
Definition: DakotaInterface.cpp:1447
NomadTraits()
default constructor
Definition: NomadOptimizer.hpp:67
~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:1104
StringMultiArrayConstView inactive_discrete_string_variable_labels() const
return the inactive discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2554
Class for vector, list, centered, and multidimensional parameter studies.
Definition: ParamStudy.hpp:42
void decrement_grid()
decrement SSG level/TPQ order
Definition: NonDQuadrature.hpp:272
bool advancement_available()
queries availability of advancing the approximation resolution
Definition: SharedPecosApproxData.hpp:374
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:537
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:193
virtual void random_seed(int seed)
set randomSeed, if present
Definition: DakotaIterator.cpp:1695
virtual void clear_current_active_data()
clear current build data in preparation for next build
Definition: DakotaApproximation.hpp:591
static NonDDREAMBayesCalibration * nonDDREAMInstance
Pointer to current class instance for use in static callback functions.
Definition: NonDDREAMBayesCalibration.hpp:124
Real gammaEstimatorScale
scale parameter for allocation by ESTIMATOR_VARIANCE in multilevel_regression()
Definition: NonDExpansion.hpp:472
void append_approximation(bool rebuild_flag)
appends data to the subModel approximation
Definition: RecastModel.hpp:959
bool interfaceDBLocked
prevents use of get_<type> retrieval and set_<type> update functions prior to setting the list node f...
Definition: ProblemDescDB.hpp:518
void supports_derivative_estimation(bool sed_flag)
set whether this model should perform or pass on derivative estimation
Definition: DakotaModel.hpp:3722
bool exportSampleSets
if defined, export each of the sample increments in ML, CV, MLCV using tagged tabular files
Definition: NonDEnsembleSampling.hpp:219
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:85
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:1404
const Response & response_results() const
return a single final iterator solution (response)
Definition: DakotaAnalyzer.hpp:293
virtual void push_increment()
helper function to manage different push increment cases
Definition: NonDExpansion.cpp:1210
virtual const VariablesArray & all_variables()
return the complete set of evaluated variables
Definition: DakotaIterator.cpp:1765
bool evalCacheFlag
used to manage a user request to deactivate the function evaluation cache (i.e., queries and insertio...
Definition: ApplicationInterface.hpp:481
StringMultiArray xDSLabels
discrete string variable labels
Definition: DirectApplicInterface.hpp:185
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:110
~SurrBasedLocalMinimizer()
destructor
Definition: SurrBasedLocalMinimizer.cpp:138
short delegateMethod
core_run() can delegate execution to either ML or CV if hierarchy does not support MLCV; in this case...
Definition: NonDMultilevControlVarSampling.hpp:356
virtual void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: DakotaIterator.cpp:1643
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:2488
unsigned short interfEvalsSelection
Interface selection for eval storage.
Definition: DataEnvironment.hpp:104
void update_amsc(int respFnCount=0)
Update the approximate Morse-Smale complex based on the training points and selected candidates....
Definition: NonDAdaptiveSampling.cpp:585
const RealVector & discrete_real_upper_bounds() const
return the active discrete real upper bounds from userDefinedConstraints
Definition: DakotaModel.hpp:2964
const IntVector & field_lengths() const
length of each primary field
Definition: SharedResponseData.hpp:361
void sparse_grid_level(unsigned short ssg_level)
update the sparse grid level (e.g., from a level sequence)
Definition: NonDSparseGrid.hpp:162
Wrapper class for OptDarts Optimizer.
Definition: OptDartsOptimizer.hpp:55
const RealVector & inactive_discrete_real_lower_bounds() const
return the inactive discrete lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3094
void print_coefficients(std::ostream &s)
print the PCE coefficient array for the orthogonal basis
Definition: NonDPolynomialChaos.cpp:1270
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:228
const VariablesArray & variables_array_results()
return multiple final iterator solutions (variables). This should only be used if returns_multiple_po...
Definition: DakotaAnalyzer.hpp:282
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:422
Real equivHFEvals
equivalent number of high fidelity evaluations accumulated using samples across multiple model forms ...
Definition: NonDEnsembleSampling.hpp:202
int lf_rosenbrock()
a low fidelity version of the Rosenbrock function
Definition: TestDriverInterface.cpp:1394
int procsPerIterator
number of processors for each concurrent iterator partition (from the processors_per_iterator specifi...
Definition: DataMethod.hpp:371
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
Definition: DakotaLeastSq.cpp:146
void unlock()
Explicitly unlocks the database. Use with care.
Definition: ProblemDescDB.hpp:539
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:317
size_t numContinuousVars
number of active continuous vars
Definition: DakotaAnalyzer.hpp:180
void push_set()
invokes SparseGridDriver::push_set()
Definition: NonDSparseGrid.hpp:220
RealSymMatrixArray functionHessians
second derivatives of the response functions
Definition: DakotaResponse.hpp:412
const String & parser_options() const
(deprecated) NIDR parser options
Definition: ProgramOptions.cpp:135
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:1025
std::vector< Pecos::RandomVariable > invGammaDists
distributions for hyper-params
Definition: NonDBayesCalibration.hpp:427
bool resize()
reinitializes iterator based on new variable size
Definition: NonDAdaptImpSampling.cpp:115
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: EffGlobalMinimizer.hpp:52
RealVectorArray xDrawThis
xDrawThis, appended to locally to hold the X values of emulator points chosen
Definition: NonDGPImpSampling.hpp:121
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:100
Auxiliary information passed to calcr and calcj via ur.
Definition: NL2SOLLeastSq.cpp:121
StringRealMapArray histogramUncPointStrPairs
An array for each string-valued point-based histogram uncertain variable. Each array entry is a map f...
Definition: DataVariables.hpp:532
bool strends(const std::string &input, const std::string &test)
Return true if input string ends with string test.
Definition: dakota_data_util.hpp:332
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:1376
virtual void active_model_key(const Pecos::ActiveKey &key)
activate an approximation state based on its key
Definition: DakotaInterface.cpp:987
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:98
const SizetArray & active_components_totals() const
return active variable type counts for {continuous,discrete integer,discrete real} {design,...
Definition: SharedVariablesData.hpp:1630
BitArray dsv_to_all_mask() const
create a BitArray indicating the active discrete string subset of all {continuous,...
Definition: SharedVariablesData.hpp:1319
DataEnvironmentRep()
constructor
Definition: DataEnvironment.cpp:23
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:193
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:48
SerialDirectApplicInterface(const Dakota::ProblemDescDB &problem_db)
constructor
Definition: PluginSerialDirectApplicInterface.hpp:98
Interface & derived_interface()
return approxInterface
Definition: DataFitSurrModel.hpp:740
NonDMultilevelFunctionTrain(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultilevelFunctionTrain.cpp:31
void cache_unmatched_responses()
migrate all remaining response records from rawResponseMap to cachedResponseMap
Definition: DakotaInterface.cpp:870
Utility class for managing command line inputs to DAKOTA.
Definition: CommandLineHandler.hpp:159
size_t numCAUV
number of active continuous aleatory uncertain variables
Definition: DakotaNonD.hpp:295
size_t num_linear_eq_constraints() const
return the number of linear equality constraints
Definition: DakotaConstraints.hpp:997
StringMultiArray xDILabels
discrete integer variable labels
Definition: DirectApplicInterface.hpp:183
size_t deltaNActualHF
for sample projections, the calculated increment in HF samples that would be evaluated if full iterat...
Definition: NonDNonHierarchSampling.hpp:330
void set_scalar_covariance(RealVector &scalars) override
method to set the covariance matrix defined for ExperimentResponse
Definition: ExperimentResponse.cpp:57
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:860
RealVector concurrentParameterSets
user-specified (i.e., nonrandom) parameter sets to evaluate in the pareto_set and multi_start meta-it...
Definition: DataMethod.hpp:417
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:1054
void print_header_and_statistics(std::ostream &s, const int &num_samples)
Print a header and summary statistics.
Definition: NonDLHSSampling.cpp:1003
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:177
void assign_allocation_control()
assign defaults related to allocation control (currently for ML regression approaches)
Definition: NonDMultilevelPolynomialChaos.cpp:537
short outputLevel
verbosity control
Definition: TrackerHTTP.hpp:136
SizetMultiArray allDiscreteRealIds
array of 1-based ids (into total variable set) for discrete real
Definition: SharedVariablesData.hpp:310
bool evaluation_cache(bool recurse_flag=true) const
if recurse_flag, return true if evaluation cache usage in subordinate models {approxModels,...
Definition: EnsembleSurrModel.hpp:1170
void calibrate() override
Definition: NonDWASABIBayesCalibration.cpp:63
void init_precond_request_value()
initialize the ASV value for preconditioned cases
Definition: NonDQUESOBayesCalibration.cpp:222
Real covarianceDeterminant
cached product of each experiment covariance's determinant
Definition: ExperimentData.hpp:442
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:224
StringArray nonlinearEqScaleTypes
vector of nonlinear equality constraint scaling types (from the nonlinear_equality_scale_types specif...
Definition: DataResponses.hpp:148
short output_level() const
return the method output level (outputLevel)
Definition: DakotaIterator.hpp:727
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:1155
static EffGlobalMinimizer * effGlobalInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: EffGlobalMinimizer.hpp:263
NonDHierarchSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDHierarchSampling.cpp:35
Response()
default constructor
size_t constrOffset
used in constraint_eval() to bridge NLSSOLLeastSq::numLeastSqTerms and NPSOLOptimizer::numObjectiveFn...
Definition: SOLBase.hpp:188
~NonDEnsembleSampling()
destructor (virtual declaration should be redundant with ~Iterator, but this is top of MLMF diamond s...
Definition: NonDEnsembleSampling.cpp:151
virtual void run_dace()
execute the DACE iterator (prior to building/appending the approximation)
Definition: DakotaModel.cpp:4246
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:776
SizetMultiArrayConstView all_discrete_real_variable_ids() const
return all discrete real variable position identifiers
Definition: DakotaVariables.hpp:1771
bool usePointSelection
a flag to indicate the use of point selection
Definition: GaussProcApproximation.hpp:275
ResponseList & response_list()
return a list of all Response objects that have been instantiated
Definition: ProblemDescDB.hpp:570
int N2
Size variable for CONMIN arrays. See CONMIN manual.
Definition: CONMINOptimizer.hpp:177
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:129
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:287
IntResponseMap & response_map()
return responseMap
Definition: DakotaModel.hpp:3822
void calc_score_topo_bottleneck()
Function to compute the Bottleneck scores for the candidate points Bottleneck score is computed by de...
Definition: NonDAdaptiveSampling.cpp:539
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:1139
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:672
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:728
double * upperFactorHessianF77
[R] matrix from NPSOL manual: upper Cholesky factor of the Hessian of the Lagrangian.
Definition: SOLBase.hpp:180
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:50
RealVector approxDRLowerBnds
approximation continuous lower bounds
Definition: SharedApproxData.hpp:273
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:984
void set_asynch_flag(const bool dakotaAsynchFlag)
publishes whether or not to do asynchronous evaluations
Definition: APPSEvalMgr.hpp:82
UsageTracker usageTracker
tool for Dakota usage tracking (this is a thin wrapper class)
Definition: DakotaEnvironment.hpp:164
Real brent_minimize(Real a, Real b, Real tol)
Perform 1-D minimization for the stepLength using Brent's method.
Definition: NonlinearCGOptimizer.cpp:454
Real calc_nll()
calculates the negative log likelihood function (based on covariance matrix)
Definition: GaussProcApproximation.cpp:760
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:644
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:265
virtual void sample_allocation_metric(Real &metric, Real power)
accumulate one of the level metrics for {RIP,RANK}_SAMPLING cases
Definition: NonDExpansion.cpp:2455
Real compute_probability_improvement(const RealVector &means, const RealVector &variances)
probability improvement (PI) function for the EGO PI acquisition function implementation
Definition: EffGlobalMinimizer.cpp:990
Derived class within the Constraints hierarchy which separates continuous and discrete variables (no ...
Definition: MixedVarConstraints.hpp:36
StringArray continuousAleatoryUncLabels
labels for all continuous aleatory uncertain variables (collected from nuv_descriptors,...
Definition: DataVariables.hpp:722
int numWorkersUsed
number of processors actively performing function evaluations
Definition: APPSEvalMgr.hpp:113
short corrType
type of correction: additive, multiplicative, or combined
Definition: SurrogateModel.hpp:207
StringMultiArray xCLabels
continuous variable labels
Definition: DirectApplicInterface.hpp:182
StringMultiArrayConstView inactive_discrete_int_variable_labels() const
return the inactive discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2534
void append_tabular_header(const Variables &vars)
append variables labels to the tabular header
Definition: OutputManager.cpp:466
void build_gp()
build initial GP approximations after initial sampling
Definition: EffGlobalMinimizer.cpp:310
const IntVector & get_iv(const String &entry_name) const
get an IntVector out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1554
void core_run()
Definition: NonDMultifidelitySampling.cpp:57
Utility used in derived write_core to write labels in tabular format.
Definition: DakotaVariables.hpp:87
IntVector allDiscreteIntUpperBnds
a discrete upper bounds array combining discrete design and discrete state variable types (all view).
Definition: DakotaConstraints.hpp:362
bool calModelDiscrepancy
flag to calculate model discrepancy
Definition: DataMethod.hpp:1171
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDExpansion.cpp:196
bool respScaling
option to scale response data prior to regression
Definition: SharedC3ApproxData.hpp:217
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:808
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:1133
void build()
builds the approximation from scratch
Definition: VPSApproximation.cpp:3245
short secondOrderIntType
type of second-order integration: Breitung, Hohenbichler-Rackwitz, or Hong
Definition: NonDLocalReliability.hpp:345
size_t opt_darts_pick_candidate(size_t ifunc)
Choose the next trial iterate.
Definition: OptDartsOptimizer.cpp:470
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:238
ActiveSubspaceModel(ProblemDescDB &problem_db)
Problem database constructor.
Definition: ActiveSubspaceModel.cpp:29
NCSUOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NCSUOptimizer.cpp:52
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDGlobalReliability.cpp:414
virtual void append_expansion()
generate numSamplesOnModel, append to approximation data, and update QoI expansions
Definition: NonDExpansion.cpp:1836
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:449
unsigned short importBuildFormat
tabular format for the build point import file
Definition: DataModel.hpp:175
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:399
void bcast_mi(int &data, size_t index=_NPOS)
broadcast an integer across a metaiterator-iterator intra communicator
Definition: ParallelLibrary.hpp:1837
void increment_specification_sequence()
increment the input specification sequence and assign values
Definition: NonDMultilevelStochCollocation.cpp:290
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:40
void average_online_cost(const RealVector &accum_cost, const SizetArray &num_cost, RealVector &seq_cost)
average costs once accumulations are complete
Definition: NonDHierarchSampling.hpp:100
void compute_intervals(RealRealPairArray &extreme_fns)
called by compute_statistics() to calculate min/max intervals using allResponses
Definition: NonDSampling.hpp:464
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:418
std::shared_ptr< Environment > environmentRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaEnvironment.hpp:180
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:1527
const SharedResponseData & shared_data() const
return sharedRespData
Definition: DakotaResponse.hpp:530
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:382
void allocate_workspace()
Allocates workspace for the optimizer.
Definition: CONMINOptimizer.cpp:179
bool dOptimal
whether to generate d-optimal point sets
Definition: NonDLHSSampling.hpp:165
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:490
bool resize()
reinitializes iterator based on new variable size
Definition: NonDIntegration.cpp:78
bool normalizedCoeffs
flag indicating the output of PCE coefficients corresponding to normalized basis polynomials
Definition: DataMethod.hpp:993
bool exportSurrogate
Option to turn on surrogate model export (export_model)
Definition: DataMethod.hpp:1324
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:3329
RealVector continuousDesignVars
initial values for the continuous design variables array (from the continuous_design initial_point sp...
Definition: DataVariables.hpp:219
Real prediction_variance(const Variables &vars)
retrieve the variance of the predicted value for a given parameter set
Definition: GaussProcApproximation.cpp:217
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:871
WorkdirHelper()
default constructor
Real etaSequence
decreasing sequence of allowable constraint violation used in augmented Lagrangian updates (refer to ...
Definition: SurrBasedMinimizer.hpp:185
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:564
Body class for model specification data.
Definition: DataModel.hpp:80
void add_name_to_method(const StrStrSizet &iterator_id)
Add the name (Dakota keyword) as metadata to a method group.
Definition: ResultsDBHDF5.cpp:205
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:119
void refine_surrogate()
Refine the built surrogate until convergence criteria are met.
Definition: DataFitSurrModel.cpp:1357
StringMultiArrayConstView inactive_continuous_variable_labels() const
return the inactive continuous variable labels
Definition: DakotaVariables.hpp:1490
std::ofstream outputFS
file output stream for console text; only open if string non-empty
Definition: OutputManager.hpp:59
virtual void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: DakotaIterator.cpp:1113
void split_filenames(const char *filenames, std::string &input_filename, std::string &output_filename)
manage pre/run/post filenames
Definition: ProgramOptions.cpp:464
void init_map_optimizer()
initialize the MAP optimizer selection
Definition: NonDBayesCalibration.cpp:607
ParallelLibrary & parallelLib
reference to the parallel_lib object passed from main
Definition: ProblemDescDB.hpp:479
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:41
void recv_ie(int &recv_int, int source, int tag, MPI_Status &status)
blocking receive at the iterator-evaluation communication level
Definition: ParallelLibrary.hpp:1648
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:890
EvaluationStore & evaluationsDB
reference to the global evaluation database
Definition: DakotaIterator.hpp:532
bool ignoreBounds
option to ignore bounds when computing finite diffs
Definition: DakotaModel.hpp:1457
bool readFieldCoords
Field data related storage: whether to read simulation field coordinates.
Definition: DataResponses.hpp:253
unsigned short ssgLevelSpec
user request of sparse grid level
Definition: NonDPolynomialChaos.hpp:246
MatrixXd scaledBuildPoints
The scaled build points for the surrogate dataset.
Definition: SurrogatesGaussianProcess.hpp:345
short polynomialOrder
polynomial order for model discrepancy calculations: either gaussian process trend order or polynomia...
Definition: DataMethod.hpp:1186
void unpack(unsigned long long &data)
Unpack a unsigned long long.
Definition: MPIPackBuffer.hpp:251
void pop_approximation(bool save_data)
Definition: ApproximationInterface.hpp:456
ForkApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: ForkApplicInterface.cpp:28
void clear_component_effects()
clear unused Sobol' indices
Definition: PecosApproximation.hpp:394
size_t tv() const
returns total number of vars
Definition: DakotaModel.hpp:1744
friend class boost::serialization::access
allow boost access to serialize this class
Definition: SharedResponseData.hpp:47
size_t numDACERuns
counter for number of executions for this object
Definition: DDACEDesignCompExp.hpp:118
virtual unsigned short uses_method() const
return name of any enabling iterator used by this iterator
Definition: DakotaIterator.cpp:1744
TKFactoryDIPC tk_factory_dipc("dakota_dipc_tk")
Static registration of RW TK with the QUESO TK factory.
RealVector continuousUpperBnds
the active continuous upper bounds array view
Definition: DakotaConstraints.hpp:403
size_t numVars
number of inputs
Definition: SensAnalysisGlobal.hpp:188
virtual void active_model_key(const Pecos::ActiveKey &sd_key)
activate an approximation state based on its multi-index key
Definition: DakotaApproximation.hpp:574
bool mainEffectsFlag
the main_effects specification for sampling methods in MethodDDACE)
Definition: DataMethod.hpp:754
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:525
const RealVector & function_values() const
return all function values
Definition: DakotaResponse.hpp:559
bool push_available()
queries availability of pushing data associated with a trial set
Definition: SharedPecosApproxData.hpp:215
const IntResponseMap & derived_synchronize()
Definition: DataFitSurrModel.cpp:1827
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:728
pid_t analysisProcGroupId
the process group id used to identify a set of child analysis processes used by this interface instan...
Definition: ForkApplicInterface.hpp:106
std::string kernel_type
Kernel type.
Definition: SurrogatesGaussianProcess.hpp:420
IntSet optInterfGradIdAnalytic
analytic IDs for mixed gradients on the optional interface
Definition: NestedModel.hpp:336
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:306
A version of TraitsBase specialized for NLSSOL nonlinear least squares library.
Definition: NLSSOLLeastSq.hpp:30
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:206
BitArray discreteIntervalUncCat
is each diu var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:577
OPTPP::OptNewton * optnewton
Newton optimizer pointer.
Definition: SNLLOptimizer.hpp:336
std::map< int, RealVector > functionList
map of APPS eval id to responses (for synchronous evaluations)
Definition: APPSEvalMgr.hpp:125
int processors_per_server() const
return procsPerServer
Definition: ParallelLibrary.hpp:334
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
virtual void derived_auto_graphics(const Variables &vars, const Response &resp)
Update tabular/graphics data with latest variables/response data.
Definition: DakotaModel.cpp:3356
int batchSize
total batch size for parallel EGO
Definition: EffGlobalMinimizer.hpp:296
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:629
void printTimingInfo(void) const
empty implementation of timing info needed to complete the interface
Definition: APPSEvalMgr.hpp:75
void overlay_response(Response &response)
convenience function for local test simulators which overlays response contributions from multiple an...
Definition: DirectApplicInterface.cpp:515
ConsoleRedirector coutRedirector
set of redirections for Dakota::Cout; stores any tagged filename when there are concurrent Iterators
Definition: OutputManager.hpp:400
UShortArraySet modelDAGs
the set of admissible DAGs identifying the control variate targets for each model in the ensemble
Definition: NonDGenACVSampling.hpp:203
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:927
bool advancement_available()
query for available advancements in approximation resolution controls
Definition: ApproximationInterface.hpp:564
Pecos::IntegrationDriver numIntDriver
Pecos utlity class for managing interface to tensor-product grids and VPISparseGrid utilities for Smo...
Definition: NonDIntegration.hpp:132
COLINTraits()
default constructor
Definition: COLINOptimizer.hpp:38
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:1832
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:509
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:115
UShortArray linearIneqScaleTypes
scale flags for linear ineq
Definition: ScalingModel.hpp:195
OutputManager & output_manager()
return outputManager reference
Definition: ParallelLibrary.hpp:1046
bool approxImportActiveOnly
import active variables only
Definition: NonDGPMSABayesCalibration.hpp:129
size_t num_samples() const
Definition: DakotaAnalyzer.hpp:250
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDGPMSABayesCalibration.cpp:203
bool responses_id_compare(const Response &resp, const void *id)
global comparison function for Response
Definition: DakotaResponse.hpp:1025
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:1181
static bool rank_sort(const int &x, const int &y)
sort algorithm to compute ranks for rank correlations
Definition: NonDLHSSampling.cpp:507
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:391
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:1402
virtual ~ROLTraits()
Destructor.
Definition: ROLOptimizer.hpp:145
virtual ~DakotaROLObjectiveHess()
Destructor.
Definition: ROLOptimizer.hpp:272
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:1164
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:1698
bool functionMomentsComputed
Function moments have been computed; used to determine whether to archive the moments.
Definition: NonDSampling.hpp:386
bool eifFlag
flag indicating use of maximized expected improvement for GP iterate selection
Definition: NonDGlobalInterval.hpp:157
int analysisCommSize
size of analysisComm
Definition: ApplicationInterface.hpp:230
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:327
bool operator==(const ShortArray &dsa1, const ShortArray &dsa2)
equality operator for ShortArray
Definition: dakota_data_util.cpp:49
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:771
const RealVector & inactive_continuous_upper_bounds() const
return the inactive continuous upper bounds
Definition: DakotaConstraints.hpp:639
virtual const RealVector & error_estimates()
retrieve error estimates corresponding to the Model's response (could be surrogate error for Surrogat...
Definition: DakotaModel.cpp:4366
String proposalCovarType
approach for defining proposal covariance
Definition: NonDBayesCalibration.hpp:459
const RealMatrix & linear_ineq_constraint_coeffs() const
return the linear inequality constraint coefficients
Definition: DakotaConstraints.hpp:1001
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:109
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:785
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:503
IntVector discreteIntLowerBnds
the active discrete lower bounds array view
Definition: DakotaConstraints.hpp:405
Derived class within the Variables hierarchy which separates continuous and discrete variables (no do...
Definition: MixedVariables.hpp:34
size_t numSamples
current number of samples to be evaluated
Definition: DDACEDesignCompExp.hpp:105
bool check_num_steps(int num_steps)
perform error checks on numSteps
Definition: ParamStudy.hpp:443
RealVector linearEqTargets
targets for the linear equality constraints (from the linear_equality_targets specification in Method...
Definition: DataVariables.hpp:836
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:1422
virtual void test_local_evaluations(PRPQueue &prp_queue)
Python supports batch only, not true asynch, so this blocks.
Definition: Pybind11Interface.cpp:162
virtual void infer_pilot_sample(size_t num_steps, SizetArray &delta_N_l)
Definition: NonDExpansion.cpp:2421
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:254
int local_eval_concurrency()
return optionalInterface asynchronous evaluation concurrency
Definition: NestedModel.hpp:520
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:4898
size_t maxSolverIterations
maximum number of iterations for regression solver
Definition: SharedC3ApproxData.hpp:275
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:1864
Minimizer(std::shared_ptr< TraitsBase > traits=std::shared_ptr< TraitsBase >(new TraitsBase()))
default constructor
Definition: DakotaMinimizer.hpp:330
const RealVector & simulation_error() const
retrieve simulation variance
Definition: SharedResponseData.hpp:385
bool speculativeFlag
flag for use of speculative gradient approaches for maintaining parallel load balance during the line...
Definition: DataMethod.hpp:328
double(* userObjectiveEval)(const RealVector &x)
holds function pointer for objective function evaluator passed in for "user_functions" mode.
Definition: NCSUOptimizer.hpp:142
unsigned short methodName
name of the iterator (the user's method spec)
Definition: DakotaIterator.hpp:493
OPTPP::NLF1 * nlf1
pointer to objective NLF for (analytic) gradient-based optimizers
Definition: SNLLOptimizer.hpp:319
VariablesList variablesList
list of variables objects, one for each variables specification
Definition: ProblemDescDB.hpp:501
Pecos::BasisApproximation & pecos_basis_approximation()
return pecosBasisApprox
Definition: PecosApproximation.hpp:730
size_t collocation_points() const
return specification for number of collocation points (may be part of a sequence specification)
Definition: NonDMultilevelFunctionTrain.hpp:138
virtual Real2DArray cv_diagnostics(const StringArray &metric_types, unsigned num_folds)
approximation cross-validation quality metrics per response function
Definition: DakotaInterface.cpp:1331
bool initialized() const
return initializedFlag
Definition: DiscrepancyCorrection.hpp:320
void assign_instance()
assign static pointer instance to this for use in static transformation functions
Definition: ActiveSubspaceModel.hpp:313
Definition: ROLOptimizer.hpp:186
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:502
void active_model_key(const Pecos::ActiveKey &key)
assign active key in approxData and update_active_iterators()
Definition: PecosApproximation.hpp:362
List of valid names for iterator results.
Definition: ResultsManager.hpp:30
NOWPACOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NOWPACOptimizer.cpp:26
Sizet2DArray NLevAlloc
total number of allocated sample evaluations (prior to any faults) for each model form and discretiza...
Definition: NonDEnsembleSampling.hpp:175
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:42
~MatlabInterface()
Destructor: close Matlab engine.
Definition: MatlabInterface.cpp:94
size_t numObjectiveFns
number of objective functions (iterator view)
Definition: DakotaOptimizer.hpp:531
void resolve_refinement()
assign c3AdvancementType based on user inputs for adapt_{rank,order} (fine-grained augmentation to re...
Definition: NonDC3FunctionTrain.cpp:187
int concurrentRandomJobs
number of random jobs to perform in the pareto_set and multi_start meta-iterators (from the random_st...
Definition: DataMethod.hpp:413
static double prior_density(int par_num, double zp[])
Compute the prior density at specified point zp.
Definition: NonDDREAMBayesCalibration.cpp:395
Sample derived interface class for testing serial simulator plug-ins using assign_rep().
Definition: SoleilDirectApplicInterface.hpp:40
virtual void declare_sources()
Declare a model's sources to the evaluationsDB.
Definition: DakotaModel.cpp:4791
size_t numDiscreteDesRangeVars
number of discrete design variables defined by an integer range (from the discrete_design_range speci...
Definition: DataVariables.hpp:114
const RealVector & error_estimates()
retrieve error estimates corresponding to the subIterator's response results (e.g....
Definition: NestedModel.hpp:491
int predator_prey()
3 model hierarchy with tunable hyper-parameter(s)
Definition: TestDriverInterface.cpp:2276
BoolDeque primaryRespFnSense
array of flags (one per primary function) for switching the sense to maximize the primary function (d...
Definition: DakotaModel.hpp:1538
int worldRank
output manager handles rank 0 only output when needed
Definition: OutputManager.hpp:390
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:367
int first_seed() const
return first seed in sequence specification (defaults to random_seed())
Definition: NonDMultilevelPolynomialChaos.hpp:158
RealVector yModel
Surrogate function responses at the values corresponding to validationSet.
Definition: NonDAdaptiveSampling.hpp:119
void post_input()
read tabular data for post-run mode
Definition: DDACEDesignCompExp.cpp:137
size_t maxIterations
maximum number of iterations allowed for the method (from the max_iterations specification in MethodI...
Definition: DataMethod.hpp:313
virtual void combined_to_active(bool clear_combined=true)
promote the combined approximation into the active approximation
Definition: DakotaModel.cpp:4203
virtual bool is_derived()
A temporary query used in the refactor.
Definition: EffGlobalMinimizer.hpp:46
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:592
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.cpp:743
IntVector expOffsets
function index offsets for individual experiment data sets
Definition: ExperimentData.hpp:490
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:609
static size_t noSpecIdNum
the last used method ID number for on-the-fly instantiations (increment before each use)
Definition: DakotaIterator.hpp:591
const RealVector & nonlinear_eq_constraint_targets() const
return the nonlinear equality constraint targets
Definition: DakotaConstraints.hpp:1129
RealVector allDiscreteRealLowerBnds
a discrete lower bounds array combining discrete design and discrete state variable types (all view).
Definition: DakotaConstraints.hpp:365
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:980
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:838
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:636
ParLevLIter w_parallel_level_iterator() const
return miPLIters.front()
Definition: ParallelLibrary.hpp:590
void world_rank(int world_rank)
set the world rank to govern early conditional output
Definition: ProgramOptions.cpp:228
Wrapper class for the DDACE design of experiments library.
Definition: DDACEDesignCompExp.hpp:39
short correctionType
approximation correction approach to be used: NO_CORRECTION, ADDITIVE_CORRECTION, MULTIPLICATIVE_CORR...
Definition: DiscrepancyCorrection.hpp:131
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:101
void write_annotated(std::ostream &s) const
write an active set object to an std::ostream in annotated format
Definition: DakotaActiveSet.hpp:261
void pack(const u_char &data)
Pack a unsigned char.
Definition: MPIPackBuffer.hpp:107
~NonDSampling()
destructor
Definition: NonDSampling.cpp:243
const int LARGE_SCALE
a (perhaps arbitrary) definition of large scale; choose a large-scale algorithm if numVars >= LARGE_S...
Definition: SNLLOptimizer.cpp:47
const IntVector & all_discrete_int_lower_bounds() const
return all discrete lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3206
~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:1636
RealVectorArray requestedGenRelLevels
requested generalized reliability levels for all response functions
Definition: DakotaNonD.hpp:333
MPIPackBuffer * sendBuffers
array of pack buffers for evaluation jobs queued to a server
Definition: ApplicationInterface.hpp:552
void set_options(const ParameterList &options)
Set the Surrogate's configOptions.
Definition: SurrogatesBase.cpp:59
~SurrogateModel()
destructor
Definition: SurrogateModel.hpp:249
Derived model class which wraps call-back functions for solving minimization sub-problems.
Definition: AdapterModel.hpp:33
String execution_hdf5_link_name(const StrStrSizet &iterator_id)
Create an execution name (HDF5 link name) from iterator_id.
Definition: ResultsDBHDF5.cpp:60
Model iteratedModel
Shallow copy of the model on which COLIN will iterate.
Definition: COLINApplication.hpp:113
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: HierarchSurrBasedLocalMinimizer.hpp:66
IntShortMap failCountMap
map linking function evaluation id's to number of response read failures
Definition: GridApplicInterface.hpp:109
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:412
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:382
std::string tabularCntrLabel
label for counter used in first line comment w/i the tabular data file
Definition: OutputManager.hpp:433
int scalable_gerstner()
scalable versions of the Gerstner test family
Definition: TestDriverInterface.cpp:1691
~SharedResponseData()
destructor
Definition: SharedResponseData.hpp:329
RealVector correctedFieldVariances
matrix containing variances of model+discrepancy
Definition: NonDBayesCalibration.hpp:404
RealMatrixArray discreteDesignSetIntAdj
Adjacency matrices for each of the discrete design variables defined by an integer set (from the disc...
Definition: DataVariables.hpp:281
~SharedVariablesDataRep()
destructor must be public for shared_ptr
Definition: SharedVariablesData.hpp:330
String runOutput
filename for run output
Definition: ProgramOptions.hpp:265
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:969
int printControl
IPRINT from CONMIN manual (controls output verbosity)
Definition: CONMINOptimizer.hpp:151
Real trustRegionMinSize
minimum trust region size in the surrogate-based local method (from the minimum_size specification in...
Definition: DataMethod.hpp:438
Utility used in derived read_core to read in generic format.
Definition: DakotaVariables.hpp:31
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:3495
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: COLINOptimizer.hpp:58
ProblemDescDB & probDescDB
class member reference to the problem description database
Definition: DakotaIterator.hpp:475
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:5064
virtual ~SharedApproxData()
destructor
Definition: SharedApproxData.cpp:270
void export_field_discrepancy(RealMatrix &pred_vars_mat)
print tabular files containing model+discrepancy responses and variances for field responses
Definition: NonDBayesCalibration.cpp:2182
RealVector discreteStateSetRealVars
initial values for the discrete state variables defined by a real set (from the discrete_state_set re...
Definition: DataVariables.hpp:648
short surrogate_response_mode() const
return response computation mode used in SurrogateModels for forming currentResponse
Definition: SurrogateModel.hpp:316
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:69
short evalScheduling
user specification of evaluation scheduling algorithm: {DEFAULT,MASTER,PEER_DYNAMIC,...
Definition: ApplicationInterface.hpp:446
void get_best_sample()
determine current best solution from among sample data for expected imporovement function in Performa...
Definition: NonDGlobalReliability.cpp:1026
virtual void clear_inactive()
clear inactive approximations (finalization + combination completed)
Definition: DakotaModel.cpp:4216
Real constraint_penalty
Buffer to hold problem constraint_penalty parameter.
Definition: COLINOptimizer.hpp:186
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:1539
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:942
virtual const IntResponseMap & synchronize()
recovers data from a series of asynchronous evaluations (blocking)
Definition: DakotaInterface.cpp:830
int gerstner()
the isotropic/anisotropic Gerstner test function family
Definition: TestDriverInterface.cpp:1614
void replace_approximation(const IntResponsePair &response_pr)
replace the response for a single point within an existing approximation
Definition: ApproximationInterface.cpp:602
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:202
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: EffGlobalMinimizer.hpp:49
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:256
void schedule_iterators(MetaType &meta_object, Iterator &sub_iterator)
short convenience function for distributing control among master_dynamic_schedule_iterators(),...
Definition: IteratorScheduler.hpp:303
int sobol_rational()
Sobol SA rational test function.
Definition: TestDriverInterface.cpp:3051
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:853
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:23
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:1586
bool asynchEvalFlag
flags asynch evaluations (local or distributed)
Definition: DakotaModel.hpp:1502
String dataDistFile
file from which to read data distribution data (covariance or samples )
Definition: DataMethod.hpp:1249
UShortMultiArrayConstView all_continuous_variable_types() const
return all continuous variable types
Definition: DakotaVariables.hpp:1738
size_t adiv() const
total number of discrete integer vars
Definition: DakotaVariables.hpp:781
void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaLeastSq.hpp:119
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:2229
bool homogeneous(const SizetArray &N_l) const
return true if N_l has consistent values
Definition: DakotaNonD.hpp:474
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:40
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:3695
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:198
unsigned short distanceConvergeLimit
counter for number of successive iterations that the L_2 change in optimal solution is less than the ...
Definition: NonDGlobalInterval.hpp:171
int maxCrossIterations
maximum number of cross iterations
Definition: DataMethod.hpp:814
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: DLSolver.hpp:45
~SimulationResponse()
destructor
Definition: SimulationResponse.hpp:86
void wait_local_evaluations(Dakota::PRPQueue &prp_queue)
evaluate the batch of jobs contained in prp_queue
Definition: PluginParallelDirectApplicInterface.cpp:76
String subMethodPointer
the sub-method pointer from the nested model specification
Definition: NestedModel.hpp:296
void flush() const
Write data to file.
Definition: ResultsDBAny.cpp:61
const ParallelConfiguration & parallel_configuration() const
return the current ParallelConfiguration instance
Definition: ParallelLibrary.hpp:1086
StringArray discreteStrAleatoryUncVars
array of values for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:736
void check_sub_iterator_conflict()
detect any conflicts due to recursive use of the same Fortran solver
Definition: NonDLocalInterval.cpp:92
IntIntMap surrIdMap
map from approxInterface/lowFidelityModel evaluation ids to DataFitSurrModel/HierarchSurrModel ids
Definition: DataFitSurrModel.hpp:445
Derived approximation class for TANA-3 two-point exponential approximation (a multipoint approximatio...
Definition: TANA3Approximation.hpp:32
void mpi_debug_hold()
Global function to hold Dakota processes to help with MPI debugging.
Definition: dakota_global_defs.cpp:168
const String2DArray & get_s2a(const String &entry_name) const
get a String2DArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1997
virtual Iterator & subordinate_iterator()
return the sub-iterator in nested and surrogate models
Definition: DakotaModel.cpp:3368
Iterator gpBuild
LHS iterator for building the initial GP.
Definition: NonDAdaptiveSampling.hpp:80
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:981
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:600
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:947
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: TaylorApproximation.cpp:30
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:881
virtual Real variance()
return the variance of the expansion, where all active vars are random
Definition: DakotaApproximation.cpp:517
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:466
RealVector noiseTols
noise tolerance for compressive sensing algorithms; vector form used in cross-validation
Definition: NonDPolynomialChaos.hpp:226
virtual void compute_expansion()
form the expansion by calling uSpaceModel.build_approximation()
Definition: NonDExpansion.cpp:807
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:239
RealSymMatrix approxHessian
Hessian of the approximation returned by hessian()
Definition: DakotaApproximation.hpp:408
~LeastSq()
destructor
Definition: DakotaLeastSq.hpp:115
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:723
ParallelLibrary & parallel_library() const
return the parallel library (parallelLib)
Definition: DakotaModel.hpp:3582
void linear_cost_gradient(const RealVector &N_vec, RealVector &grad_c)
constraint gradient helper fn shared by NPSOL/OPT++ static evaluators
Definition: NonDNonHierarchSampling.cpp:1147
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:437
unsigned short quadOrderSpec
scalar quadrature order, rendered anisotropic via dimPrefSpec
Definition: NonDQuadrature.hpp:179
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:50
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:466
~ExecutableEnvironment()
destructor
Definition: ExecutableEnvironment.cpp:54
~SharedC3ApproxData()
destructor
Definition: SharedC3ApproxData.cpp:99
UShortArray startOrderSeqSpec
user specification for start_order_sequence
Definition: NonDMultilevelFunctionTrain.hpp:131
void pop_liar_responses()
delete all liar responses
Definition: EffGlobalMinimizer.hpp:414
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:162
RealVector mappedErrorEstimates
mapping of subModel.error_estimates() through response mappings
Definition: RecastModel.hpp:612
static String no_spec_id()
return the next available interface ID for on-the-fly methods
Definition: DakotaInterface.cpp:1535
void apply_additive(const Variables &vars, Response &approx_response)
internal convenience function for applying additive corrections to an approximate response
Definition: DiscrepancyCorrection.cpp:675
const IntVector & field_lengths(size_t experiment) const
return the field lengths for specified experiment index
Definition: ExperimentData.cpp:807
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:127
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:298
const Response & response_results() const
return the final statistics from the nondeterministic iteration
Definition: DakotaNonD.hpp:452
unsigned short calibrateErrorMode
calibration mode for observation error multipliers (CALIBRATE_*)
Definition: DataMethod.hpp:1161
void all_discrete_string_type(unsigned short dsv_type, size_t index)
set discrete string type at index
Definition: SharedVariablesData.hpp:1553
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:296
Nonintrusive polynomial chaos expansion approaches to uncertainty quantification.
Definition: NonDMultilevelFunctionTrain.hpp:32
double regressRegParam
penalty parameter if regularized regression
Definition: SharedC3ApproxData.hpp:264
UShortMultiArrayConstView all_continuous_types(size_t start, size_t num_items) const
get num_items continuous types beginning at index start
Definition: SharedVariablesData.hpp:1491
const String & discrete_string_variable(size_t index) const
return an active discrete string variable
Definition: DakotaVariables.hpp:865
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:822
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:207
String importPointsFile
file name from import_build_points_file specification
Definition: DataFitSurrModel.hpp:460
~SurfpackApproximation()
destructor
Definition: SurfpackApproximation.hpp:61
const String & exit_mode() const
behavior of abort_handler (throw or exit)
Definition: ProgramOptions.cpp:144
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:31
RealVector weibullUncVars
initial values of the weibull uncertain variables (from the initial_point specification in VarCAUV_We...
Definition: DataVariables.hpp:439
StringArray discreteRealEpistemicUncLabels
labels for all discrete real epistemic uncertain variables
Definition: DataVariables.hpp:797
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:2349
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:1676
int synchronous_local_analysis(int analysis_id)
Definition: SysCallApplicInterface.hpp:116
bool recastSubProb
flag to indicate when approxSubProbModel involves a RecastModel recursion
Definition: SurrBasedLocalMinimizer.hpp:188
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:62
void recover_online_cost(RealVector &seq_cost)
recover estimates of simulation cost using aggregated response metadata
Definition: NonDNonHierarchSampling.cpp:318
Real expected_improvement(const RealVector &expected_values, const Variables &recast_vars)
expected improvement function for the GP
Definition: NonDGlobalReliability.cpp:932
RealMatrix primaryRespCoeffs
"primary" response_mapping matrix applied to the sub-iterator response functions. For OUU,...
Definition: NestedModel.hpp:427
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:659
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:155
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: NonDMultifidelitySampling.cpp:286
void initialize_u_space_grid()
helper for initializing a numerical integration grid
Definition: NonDExpansion.cpp:594
size_t numUserPrimaryFns
number of objective functions or least squares terms in the inbound model; always initialize at Minim...
Definition: DakotaMinimizer.hpp:274
int numberRetained
the integer assignment to random, chc, or elitist in the replacement_type specification for GA/EPSA m...
Definition: DataMethod.hpp:612
void manage_linear_constraints(const ProblemDescDB &problem_db)
perform checks on user input, convert linear constraint coefficient input to matrices,...
Definition: DakotaConstraints.cpp:643
static bool id_compare(const DataInterface &di, const std::string &id)
compares the idInterface attribute of DataInterface objects
Definition: DataInterface.hpp:296
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:1000
unsigned short problemType
ROL problem type.
Definition: ROLOptimizer.hpp:110
void map_labels_to_enum(StringMultiArrayConstView &src, std::vector< var_t > &dest)
map labels in src to var_t in dest
Definition: DirectApplicInterface.cpp:567
const String & interface_id() const
return the userDefinedInterface identifier
Definition: SimulationModel.hpp:424
Implementation of Efficient Global Optimization/Least Squares algorithms.
Definition: EffGlobalMinimizer.hpp:36
IntVector discStringStepVector
the n-dimensional discrete string set index increment
Definition: ParamStudy.hpp:227
int side_impact_cost()
the side_impact_cost UQ/OUU test function
Definition: TestDriverInterface.cpp:2748
void multifidelity_mc()
Definition: NonDMultifidelitySampling.cpp:84
void post_push()
clean up popped bookkeeping following push
Definition: SharedC3ApproxData.hpp:732
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:38
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 within the set computed by generate_dags()
Definition: NonDGenACVSampling.hpp:205
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:1011
IntArray newFnHessRefPt
iteration reference point for newFnHessCounter
Definition: DakotaInterface.hpp:410
Model & iteratedModel
reference to the APPSOptimizer's model passed in the constructor
Definition: APPSEvalMgr.hpp:104
OPTPP::OptBCNewton * optbcnewton
Bound constrained Newton opt pointer.
Definition: SNLLOptimizer.hpp:339
void finalize_data()
finalize SurrogateData by applying all remaining trial sets
Definition: DakotaApproximation.cpp:319
void print_restart_pdb(StringArray pos_args, String print_dest)
print a restart file (PDB format)
Definition: restart_util.cpp:313
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:1806
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:1171
RealVector finalCVPoint
the continuous ending point for vector_parameter_study
Definition: ParamStudy.hpp:213
const Real & get_real(const String &entry_name) const
get a Real out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2156
Interface approxInterface
manages the building and subsequent evaluation of the approximations (required for both global and lo...
Definition: DataFitSurrModel.hpp:421
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:1159
std::vector< Approximation > multCorrections
array of multiplicative corrections; surrogate models of a model discrepancy function (formed from mo...
Definition: DiscrepancyCorrection.hpp:226
bool resultsOutputFlag
flags use of results output to default file
Definition: DataEnvironment.hpp:96
void configuration_options(const Pecos::ExpansionConfigOptions &ec_options)
set the expansion configuration options within Pecos::SharedPolyApproxData
Definition: SharedPecosApproxData.hpp:399
static Minimizer * minimizerInstance
pointer to Minimizer used in static member functions
Definition: DakotaMinimizer.hpp:307
StringArray variable_labels(const Variables &vars) const
retrieve the active or all labels over which the surrogate was built
Definition: SharedSurfpackApproxData.cpp:166
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:1004
void discrepancy_emulation_mode(short mode)
set discrepancy emulation mode used for approximating response differences
Definition: ApproximationInterface.hpp:427
int addpoint(int, IntArray &added_index)
Adds a point to the effective training set. Returns 1 on success.
Definition: GaussProcApproximation.cpp:1167
void pull_level_mappings(RealVector &level_maps, size_t offset)
concatenate computed{Resp,Prob,Rel,GenRel}Levels into level_maps
Definition: DakotaNonD.cpp:363
std::shared_ptr< QUESO::GslVector > paramInitials
initial parameter values at which to start chain
Definition: NonDQUESOBayesCalibration.hpp:206
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:3664
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:828
size_t numWeibullUncVars
number of weibull uncertain variables (from the weibull_uncertain specification in VarAUV)
Definition: DataVariables.hpp:156
void build_views()
construct active/inactive views of all variables arrays
Definition: DakotaConstraints.hpp:1156
bool varyPattern
flag for continuing the random number sequence from a previous execution (e.g., for surrogate-based o...
Definition: DDACEDesignCompExp.hpp:122
UShortMultiArrayConstView inactive_discrete_int_variable_types() const
return the inactive discrete integer variable types
Definition: DakotaVariables.hpp:1562
size_t numPoissonUncVars
number of Poisson uncertain variables (from the poisson_uncertain specification in VarAUV)
Definition: DataVariables.hpp:162
void copy_matrix(const RealSymMatrix &rsm, SurfpackMatrix< Real > &surfpack_matrix)
copy RealSymMatrix to SurfpackMatrix (Real type only)
Definition: SharedSurfpackApproxData.cpp:144
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:918
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:118
C3Approximation()
default constructor
int graphicsCntr
used for x axis values in 2D graphics and for 1st column in tabular data
Definition: OutputManager.hpp:427
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:879
size_t insert_response_start(size_t position)
compute start index for inserting response data into aggregated response
Definition: EnsembleSurrModel.hpp:709
RealVector histogramBinUncVars
initial values of the histogram bin uncertain variables (from the initial_point specification in VarC...
Definition: DataVariables.hpp:451
const String & command_line_run_input() const
runInput filename
Definition: ParallelLibrary.hpp:1361
void initialize_counts()
initialize data based on variable counts
Definition: NonDExpansion.cpp:132
MatlabInterface(const ProblemDescDB &problem_db)
Constructor: start Matlab engine.
Definition: MatlabInterface.cpp:45
bool nonlinear_variables_mapping() const
return nonlinearVarsMapping
Definition: RecastModel.hpp:663
const IntVector & inactive_discrete_int_variables() const
return the inactive discrete variables in currentVariables
Definition: DakotaModel.hpp:2098
const std::set< UShortArray > & active_multi_index() const
returns SparseGridDriver::active_multi_index()
Definition: NonDSparseGrid.hpp:196
int maxHifiEvals
maximum number of high-fidelity model runs to be used for adaptive Bayesian experimental design
Definition: NonDBayesCalibration.hpp:345
std::map< UShortArray, DAGSolutionData > dagSolns
book-keeping of previous numerical optimization solutions for each DAG; used for warm starting
Definition: NonDGenACVSampling.hpp:216
int num_tpl_nonlin_ineq_constraints() const
Number of nonlinear inequality constraints from TPL perspective.
Definition: DakotaTPLDataTransfer.hpp:53
void active_variables(const Variables &vars)
set the active variables in currentVariables
Definition: DakotaModel.hpp:1824
unsigned short tabularFormat
format for tabular data files (see enum)
Definition: DataEnvironment.hpp:90
bool importApproxActive
whether to import active variables only
Definition: DataMethod.hpp:1305
size_t idsv() const
get number of inactive discrete string vars
Definition: SharedVariablesData.hpp:1718
size_t qoi() const
return number of unique response functions (managing any aggregations)
Definition: RecastModel.hpp:761
Container class for a set of ParallelLevel list iterators that collectively identify a particular mul...
Definition: ParallelLibrary.hpp:413
RealVector nonlinearIneqUpperBnds
vector of nonlinear inequality constraint upper bounds (from the nonlinear_inequality_upper_bounds sp...
Definition: DataResponses.hpp:125
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:1584
size_t startCAUV
starting index of continuous aleatory uncertain variables within active continuous variables (conveni...
Definition: DakotaNonD.hpp:293
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:1235
virtual void initialize_ml_regression(size_t num_lev, bool &import_pilot)
initializations for multilevel_regression()
Definition: NonDExpansion.cpp:1742
bool query_batch(bool rebuild)
perform nonblocking synchronization for parallel evaluation of truth responses and replace liar respo...
Definition: EffGlobalMinimizer.cpp:577
Variables prpVariables
the set of parameters for the function evaluation
Definition: ParamResponsePair.hpp:160
Real log_average_estvar(const RealVector &cd_vars)
flattens contours of average_estimator_variance() using std::log
Definition: NonDNonHierarchSampling.cpp:1105
size_t numLinearConstraints
total number of linear constraints
Definition: DakotaMinimizer.hpp:265
int numGenerations
number of generations
Definition: NonDDREAMBayesCalibration.hpp:104
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:1494
void compute_delta_variance(bool update_ref, bool print_metric)
helper function to compute deltaRespVariance
Definition: NonDStochCollocation.cpp:475
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: COLINOptimizer.hpp:55
void initialize_scaling(Model &sub_model)
initialize scaling types, multipliers, and offsets; perform error checking
Definition: ScalingModel.cpp:283
short correction_type() const
retrieve subModel's correction type
Definition: RecastModel.hpp:918
Real solutionTarget
holds the solution target minimum to drive towards
Definition: NCSUOptimizer.hpp:135
PRPQueue asynchLocalActivePRPQueue
used by nonblocking asynchronous local schedulers to bookkeep active local jobs
Definition: ApplicationInterface.hpp:543
~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:135
void find_scaled_coefficients()
compute TANA coefficients based on scaled inputs
Definition: QMEApproximation.cpp:132
virtual void build()
builds the approximation from scratch
Definition: DakotaApproximation.cpp:229
String exportDiscrepFile
filename for discrepancy calculations output
Definition: NonDBayesCalibration.hpp:363
virtual void set_cell_bounds()
set the optimization variable bounds for each cell
Definition: NonDLocalInterval.cpp:242
int random_seed() const
return specification for random seed (may be part of a sequence specification)
Definition: NonDMultilevelStochCollocation.hpp:98
TrackerHTTP: a usage tracking module that uses HTTP/HTTPS via the curl library.
Definition: TrackerHTTP.hpp:31
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:1723
std::shared_ptr< TPLDataTransfer > dataTransferHandler
Emerging helper class for handling data transfers to/from Dakota and the underlying TPL.
Definition: DakotaMinimizer.hpp:315
String convergenceType
The means by which this JEGA should converge.
Definition: DataMethod.hpp:684
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:550
int randomSeed
the current seed
Definition: NonDSampling.hpp:309
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:552
RealVector discreteStateSetRealUpperBnds
discrete state real set upper bounds inferred from set values
Definition: DataVariables.hpp:810
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:379
String modelExportPrefix
the filename prefix for export_model
Definition: DataMethod.hpp:1327
void decrement_grid()
helper function to manage different grid decrement cases
Definition: NonDExpansion.cpp:1193
String quesoOptionsFilename
file containing advanced QUESO option overrides
Definition: DataMethod.hpp:1150
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:955
void register_signal_handlers()
Tie various signal handlers to Dakota's abort_handler function.
Definition: dakota_global_defs.cpp:149
String runOutput
filename for run output
Definition: DataEnvironment.hpp:73
size_t numContinuousIntervalUncVars
number of continuous epistemic interval uncertain variables (from the continuous_interval_uncertain s...
Definition: DataVariables.hpp:186
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:64
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:380
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:37
virtual bool seed_updated()
detect whether the seed has been updated since the most recent sample set generation
Definition: NonDSampling.hpp:530
Real solverRoundingTol
Rounding tolerance for FT regression.
Definition: DataMethod.hpp:818
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:74
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:183
void correction_type(short corr_type)
update correctionType
Definition: DiscrepancyCorrection.hpp:292
Derived nondeterministic class that generates N-dimensional numerical quadrature points for evaluatio...
Definition: NonDQuadrature.hpp:45
int evalIdRefPt
iteration reference point for evalIdCntr
Definition: DakotaInterface.hpp:394
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:138
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:539
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:262
int min_coefficients() const override
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: SurfpackApproximation.cpp:359
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:3310
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:41
unsigned short sampleType
the sample_type specification in MethodNonDMC, MethodNonDPCE, and MethodNonDSC
Definition: DataMethod.hpp:1012
static RealVector lastEvalVars
copy of variables from constraint evaluators
Definition: SNLLBase.hpp:172
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:459
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:472
int paramsMsgLen
length of MPI buffer for parameter input instance(s)
Definition: IteratorScheduler.hpp:201
DataVariables()
constructor
Definition: DataVariables.cpp:338
Interpolation method for interpolating between experimental and model data. I need to work on inputs/...
Definition: ExperimentData.hpp:69
bool corrComputed
flag indictaing whether correlations have been computed
Definition: SensAnalysisGlobal.hpp:196
void initialize_run()
utility function to perform common operations prior to pre_run(); typically memory initialization; se...
Definition: DakotaMinimizer.cpp:297
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:212
void write(std::ostream &s) const
write a DataVariables object to an std::ostream
Definition: DataVariables.hpp:1027
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:536
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: SNLLOptimizer.hpp:72
void transform_variables(const Variables &recast_vars, Variables &sub_model_vars)
perform transformation of Variables (recast --> sub-model)
Definition: RecastModel.cpp:608
size_t continuous_variables()
return total number of continuous variables
Definition: DataVariables.hpp:978
Derived model class which performs a complete sub-iterator execution within every evaluation of the m...
Definition: NestedModel.hpp:44
int buildSamples
number of samples of the simulation to construct the GP
Definition: NonDGPMSABayesCalibration.hpp:120
SizetArray complement1ADSVarMapIndices
"primary" variable mappings for inserting the complement of the active discrete string currentVariabl...
Definition: NestedModel.hpp:394
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:909
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:344
RealVector linearEqScaleMultipliers
scales for linear constraints
Definition: ScalingModel.hpp:200
short statsMetricMode
mode of computing statistics metrics used for convergence assessment of multilevel/multifidelity refi...
Definition: DataMethod.hpp:351
~MixedVariables()
destructor
Definition: MixedVariables.hpp:101
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:107
void prior_sample(Engine &rng, RealVector &prior_samples)
draw a multivariate sample from the prior distribution
Definition: NonDBayesCalibration.hpp:742
virtual void warm_start_flag(const bool flag)
set the warm start flag (warmStartFlag)
Definition: DakotaModel.cpp:4784
std::shared_ptr< QUESO::MhOptionsValues > calIpMhOptionsValues
MH-specific inverse problem options.
Definition: NonDQUESOBayesCalibration.hpp:222
std::string resultsFileWritten
actual, qualified name of the results file written, possibly with workdir
Definition: ProcessApplicInterface.hpp:196
Class MPIManager to manage Dakota's MPI world, which may be a subset of MPI_COMM_WORLD.
Definition: MPIManager.hpp:42
void set_blocking_synch(const bool blockingSynchFlag)
publishes whether or not COLIN is operating synchronously
Definition: COLINApplication.hpp:63
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:188
NonDPolynomialChaos(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDPolynomialChaos.cpp:39
NoDBBaseConstructor(int=0)
C++ structs can have constructors.
Definition: dakota_global_defs.hpp:178
APPSOptimizer()
alternate constructor for even more rudimentary on-the-fly instantiation
Definition: APPSOptimizer.hpp:147
int numSamples
the number of samples used in the surrogate
Definition: NonDGlobalInterval.hpp:150
RealVector continuousEpistemicUncUpperBnds
distribution upper bounds for all continuous epistemic uncertain variables
Definition: DataVariables.hpp:762
virtual void derived_map_asynch(const ParamResponsePair &pair)
Python supports batch only, not true asynch (this is no-op)
Definition: Pybind11Interface.cpp:122
RealVector continuousDesignScales
scales array for the continuous design variables (from the continuous_design scales specification in ...
Definition: DataVariables.hpp:231
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:1192
Dakota linear algebra utilities.
void init_hyper_parameters()
initialize the hyper-parameter priors
Definition: NonDBayesCalibration.cpp:554
std::string MetaDataKeyType
Data type for metadata key.
Definition: dakota_results_types.hpp:54
bool dedicatedMasterFlag
signals dedicated master partitioning
Definition: ParallelLibrary.hpp:120
void run_queso_solver()
perform the MCMC process
Definition: NonDQUESOBayesCalibration.cpp:390
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:980
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:716
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:143
NonDMultilevelSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultilevelSampling.cpp:41
std::shared_ptr< QUESO::SipOptionsValues > calIpOptionsValues
general inverse problem options
Definition: NonDQUESOBayesCalibration.hpp:219
void weight_model()
Wrap iteratedModel in a RecastModel that weights the residuals.
Definition: DakotaLeastSq.cpp:124
void clear_current_active_data()
Definition: QMEApproximation.hpp:125
virtual void replace(const IntResponsePair &response_pr, size_t fn_index)
replace the response data
Definition: DakotaApproximation.cpp:274
SensAnalysisGlobal()
constructor
Definition: SensAnalysisGlobal.hpp:200
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:677
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:1139
bool resize()
reinitializes iterator based on new variable size
Definition: DakotaNonD.cpp:129
IntVector allDiscreteIntVars
array combining all of the discrete integer variables
Definition: DakotaVariables.hpp:610
RealMatrixArray discreteDesignSetStrAdj
Adjacency matrices for each of the discrete design variables defined by a string set (from the discre...
Definition: DataVariables.hpp:285
Environment corresponding to execution as an embedded library.
Definition: LibraryEnvironment.hpp:32
OPTPP::FDNLF1 * fdnlf1
pointer to objective NLF for (finite diff) gradient-based optimizers
Definition: SNLLOptimizer.hpp:323
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:1042
IteratorList iteratorList
list of iterator objects, one for each method specification
Definition: ProblemDescDB.hpp:495
RealMatrix impFactor
importance factors predicted by MV
Definition: NonDLocalReliability.hpp:352
RealVector loguniformUncUpperBnds
distribution upper bounds for the loguniform uncertain variables (from the upper_bounds specification...
Definition: DataVariables.hpp:367
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:162
short responseLevelTargetReduce
the system series or parallel specification in MethodNonD
Definition: DataMethod.hpp:1081
const IntVector & all_discrete_int_variables() const
return all discrete variables in currentVariables
Definition: DakotaModel.hpp:2189
void x_truth_evaluation(short mode)
evaluate iteratedModel at current point to collect x-space truth data
Definition: NonDGlobalReliability.hpp:153
short outputLevel
output verbosity level
Definition: ExperimentData.hpp:474
bool multifidelity() const
identify if hierarchy is across model forms
Definition: EnsembleSurrModel.hpp:564
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: DakotaAnalyzer.cpp:1029
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:2784
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:702
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:4611
size_t drv_start() const
start index of active discrete real vars
Definition: DakotaVariables.hpp:738
ResultsManager()
default constructor: no databases active until they are added
Definition: ResultsManager.hpp:108
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDLocalReliability.cpp:543
unsigned short cubIntOrderRef
reference point for Pecos::CubatureDriver::cubIntOrder: the original user specification for the numbe...
Definition: NonDCubature.hpp:105
String trendOrder
scalar integer indicating the order of the Gaussian process mean (0= constant, 1=linear,...
Definition: DataModel.hpp:290
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:365
const RealVector & linear_ineq_constraint_upper_bounds() const
return the linear inequality constraint upper bounds
Definition: DakotaConstraints.hpp:1033
Real percentFold
percentage of data to withhold for cross validation process
Definition: DataModel.hpp:301
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:450
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:351
bool check_inactive_variables(const Model &sub_model)
check sub_model for consistency in inactive variable counts
Definition: SurrogateModel.cpp:159
short ensembleSampSolnMode
the solution_mode selection for ML/MF sampling methods
Definition: DataMethod.hpp:1045
Real minMeshSize
the minMeshSize choice for NOMAD in MethodNOMADDC
Definition: DataMethod.hpp:796
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:106
virtual void increment_order()
increments polynomial expansion order (PCE, FT)
Definition: SharedApproxData.cpp:459
RealVector truthFnsCenter
truth function values at the current correction point
Definition: DiscrepancyCorrection.hpp:248
virtual bool advancement_available()
check if resolution advancement (e.g., order, rank) is available for this approximation instance
Definition: DakotaApproximation.cpp:831
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:240
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:248
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:1157
short prevDSRView
previous view used in discrete_set_real_values(view): avoids recomputation of activeDiscSetRealValues
Definition: DakotaModel.hpp:1720
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:276
RealVector initialDRVPoint
the discrete real start point for vector and centered parameter studies
Definition: ParamStudy.hpp:210
virtual ~Constraints()
destructor
Definition: DakotaConstraints.cpp:174
RealVector continuousStateLowerBnds
lower bounds array for the continuous state variables (from the continuous_state lower_bounds specifi...
Definition: DataVariables.hpp:617
size_t continuous_epistemic_uncertain()
return total number of epistemic uncertain variables
Definition: DataVariables.hpp:950
void pre_output()
Definition: DakotaAnalyzer.cpp:615
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:224
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:204
const RealSymMatrix & response_error_estimates() const
return error estimates associated with each of the finalStatistics
Definition: NonDSampling.hpp:690
Real sum(const Real *vec, size_t vec_len) const
compute sum of a set of observations
Definition: NonDEnsembleSampling.hpp:499
String exportDiscrepFile
specify the name of file to which discrepancy calculations are output
Definition: DataMethod.hpp:1198
bool varBasedDecompFlag
flag which specifies calculating variance based decomposition sensitivity analysis metrics
Definition: DakotaPStudyDACE.hpp:78
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:793
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:370
void archive_input(const ProgramOptions &prog_opts) const
Archive the input file to the results database.
Definition: OutputManager.cpp:666
void send_ea(int &send_int, int dest, int tag)
blocking send at the evaluation-analysis communication level
Definition: ParallelLibrary.hpp:1493
String lipschitzType
the Lipschitz type specification in MethodNonDPOFDarts (e.g. either local or global estimation)
Definition: DataMethod.hpp:1159
~ScilabInterface()
Destructor: close Scilab engine.
Definition: ScilabInterface.cpp:60
IntVector refineSamples
Sequence of refinement samples, e.g., the size of the batch (e.g. number of supplemental points added...
Definition: DataMethod.hpp:1032
int asynchLocalEvalConcurrency
limits the number of concurrent evaluations in asynchronous local scheduling and specifies hybrid con...
Definition: ApplicationInterface.hpp:454
size_t levelCount
counter for which response/probability level is being analyzed
Definition: NonDReliability.hpp:102
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:1265
RealVector frechetUncVars
initial values of the frechet uncertain variables (from the initial_point specification in VarCAUV_Fr...
Definition: DataVariables.hpp:430
bool interpolate_flag() const
flag for interpolation. If 0, no interpolation. If 1, interpolate.
Definition: ExperimentData.cpp:912
Real singConvTol
singular convergence tolerance
Definition: DataMethod.hpp:502
MultiApproxOpts * multiApproxOpts
n-D approximation options, augmenting one-D options
Definition: SharedC3ApproxData.hpp:214
Real solverRoundingTol
Rounding tolerance for FT regression.
Definition: DataModel.hpp:422
NLSSOLLeastSqTraits()
default constructor
Definition: NLSSOLLeastSq.hpp:34
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:519
virtual void get_best_sample(bool maximize, bool eval_approx)
determine truthFnStar and approxFnStar
Definition: NonDGlobalInterval.cpp:525
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:353
const Constraints & user_defined_constraints() const
return the user-defined constraints (userDefinedConstraints) as const reference (preferred)
Definition: DakotaModel.hpp:3560
unsigned short cubIntSpec
cubature integrand
Definition: NonDPolynomialChaos.hpp:191
int extract_id(IntVarsMCIter it, const IntVariablesMap &map)
manage special value when iterator has advanced to end
Definition: EffGlobalMinimizer.hpp:410
UShortArray startOrderSeq
starting polynomial order
Definition: DataMethod.hpp:845
const size_t maxIterations
Maximum number of times to refine the surrogate.
Definition: DataFitSurrModel.hpp:347
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:2805
Model intervalOptModel
recast model which formulates the surrogate-based optimization subproblem (recasts as design problem;...
Definition: NonDGlobalInterval.hpp:107
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:358
NonDC3FunctionTrain(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDC3FunctionTrain.cpp:45
MPIManager()
Default constructor; Dakota will not call MPI_Init.
Definition: MPIManager.cpp:24
bool backfillFailures
(inactive) option to backfill simulation failures by comparing targets against successful sample comp...
Definition: NonDEnsembleSampling.hpp:198
Model scalingModel
Shallow copy of the scaling transformation model, when present (cached in case further wrapped by oth...
Definition: DakotaMinimizer.hpp:304
Pecos::SharedBasisApproxData pecosSharedData
the Pecos shared approximation data
Definition: SharedPecosApproxData.hpp:171
unsigned short sampling_scheme() const
return sampling name
Definition: PSUADEDesignCompExp.hpp:135
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDPOFDarts.cpp:2266
StringArray priFieldLabels
labels for each primary response field
Definition: SharedResponseData.hpp:114
int numChains
number of concurrent chains
Definition: DataMethod.hpp:1225
void master_dynamic_schedule_evaluations()
blocking dynamic schedule of all evaluations in beforeSynchCorePRPQueue using message passing on a de...
Definition: ApplicationInterface.cpp:978
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:935
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:1497
RealSymMatrix fnHessX
actual x-space Hessian for current function from most recent response evaluation
Definition: NonDLocalReliability.hpp:279
void print_statistics(std::ostream &s) const
prints the statistics computed in compute_statistics()
Definition: NonDSampling.cpp:1826
void check_key(int key1, int key2) const
check for consistency in response map keys
Definition: SurrogateModel.hpp:324
bool multi_proc_eval() const
returns a flag signaling the use of multiprocessor evaluation partitions
Definition: DakotaInterface.hpp:517
void increment_grid_preference()
increment SSG level/TPQ order and preserve anisotropy
Definition: NonDQuadrature.hpp:294
unsigned compute_folds()
compute number of folds from numFols/percentFold
DataVariables operator=(const DataVariables &)
assignment operator
Definition: DataVariables.cpp:347
std::map< int, int > tagList
map of DAKOTA eval id to APPS eval id (for asynchronous evaluations)
Definition: APPSEvalMgr.hpp:122
SizetArray randomIndices
indices for random subset when approximating in all-variables mode
Definition: SharedC3ApproxData.hpp:315
bool respScalingFlag
flag to indicate bounds-based scaling of current response data set prior to surrogate build; importan...
Definition: DataModel.hpp:229
int derived_evaluation_id() const
return the current evaluation id for the AdapterModel
Definition: AdapterModel.hpp:212
void write(std::ostream &s) const
write a DataResponsesRep object to an std::ostream
Definition: DataResponses.cpp:103
const RealVector & nonlinear_ineq_constraint_lower_bounds() const
return the nonlinear inequality constraint lower bounds
Definition: DakotaConstraints.hpp:1093
Real delta_combined_variance()
return the change in variance resulting from combined expansion refinement, where all active variable...
Definition: PecosApproximation.hpp:589
void sample_allocation_metric(Real &sparsity_metric, Real power)
accumulate one of the level metrics for {RIP,RANK}_SAMPLING cases
Definition: NonDPolynomialChaos.cpp:1211
pid_t evalProcGroupId
the process group id used to identify a set of child evaluation processes used by this interface inst...
Definition: ForkApplicInterface.hpp:102
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:551
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:118
unsigned short exportCorrModelFormat
format options for corrected model output
Definition: NonDBayesCalibration.hpp:367
int mogatest3()
Srinivas' from Van Veldhuizen, pp. B-5.
Definition: TestDriverInterface.cpp:3948
void close_streams()
helper to close streams during destructor or abnormal abort
Definition: OutputManager.cpp:223
size_t globalIterCount
global iteration counter corresponding to number of surrogate-based minimizations
Definition: SurrBasedMinimizer.hpp:160
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:33
void core_run()
Calls the OptDarts algorithm.
Definition: OptDartsOptimizer.cpp:63
StringArray discreteStateSetStrLowerBnds
discrete state string set lower bounds inferred from set values
Definition: DataVariables.hpp:804
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:138
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:1103
void apply_nonlinear_constraints(const Model &model, CONSTRAINT_EQUALITY_TYPE etype, const VecT &in_vals, VecT &values, bool adjoint=false)
Definition: DakotaOptimizer.hpp:385
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:373
void update_from_subordinate_model(size_t depth=SZ_MAX)
pass request to actualModel if recursing and then update from it
Definition: DataFitSurrModel.hpp:726
void output_version(std::ostream &os=Cout) const
Output the current Dakota version.
Definition: OutputManager.cpp:358
int batchSizeExploration
number of new sampling points defined from maximizing posterior variance
Definition: EffGlobalMinimizer.hpp:300
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:2170
void build_approx_interface()
build the approxInterface surrogate, passing variable bounds
Definition: DataFitSurrModel.cpp:1047
StringMultiArrayConstView continuous_variable_labels() const
return the active continuous variable labels
Definition: DakotaVariables.hpp:1067
void driver_argument_list(int analysis_id)
set argList for execution of the specified analysis driver
Definition: ProcessHandleApplicInterface.hpp:216
static SOLBase * solInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: SOLBase.hpp:146
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:2640
void archive_allocate_cps() const
specialized per-variable slice output for centered param study
Definition: ParamStudy.cpp:1086
void calibrate()
Definition: NonDQUESOBayesCalibration.cpp:114
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:742
RealVector linearIneqConLowerBnds
linear inequality constraint lower bounds
Definition: DakotaConstraints.hpp:390
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: COLINOptimizer.hpp:52
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:38
NonDNonHierarchSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDNonHierarchSampling.cpp:48
size_t adiv() const
returns total number of discrete integer vars
Definition: DakotaModel.hpp:1803
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:781
size_t numCells
total number of interval combinations
Definition: NonDInterval.hpp:141
IntVector sequenceLeap
the sequenceLeap specification in MethodFSUDACE
Definition: DataMethod.hpp:771
UShortMultiArrayConstView discrete_int_variable_types() const
return the active discrete integer variable types
Definition: DakotaVariables.hpp:1292
Real threshDelta
the variable_tolerance specification for APPS/COBYLA/PS/SW methods in MethodAPPS, MethodSCOLIBCOB,...
Definition: DataMethod.hpp:602
SharedVariablesData()
default constructor
Definition: SharedVariablesData.hpp:1005
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:1783
IntVectorArray cellIntSetBounds
Storage array to hold cell values for discrete integer set variables.
Definition: NonDInterval.hpp:126
static void free_iterator(Iterator &sub_iterator, ParLevLIter pl_iter)
convenience function for deallocating comms after running an iterator
Definition: IteratorScheduler.cpp:460
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:1089
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:183
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:222
virtual void pre_output()
write variables to file, following pre-run
Definition: DakotaIterator.cpp:1869
OPTPP::NLF2 * nlf2
pointer to objective NLF for full Newton optimizers
Definition: SNLLOptimizer.hpp:327
static Real get_wilks_alpha_min()
Get the lower and upper bounds supported by Wilks bisection solves.
Definition: NonDSampling.hpp:170
void all_discrete_real_variable(Real adr_var, size_t index)
set a variable within the all discrete array
Definition: DakotaVariables.hpp:1673
std::ofstream exportVarianceFileStream
output file stream for export_approx_variance_file specification
Definition: DataFitSurrModel.hpp:474
short dataOrder
order of correction data in 3-bit format: overlay of 1 (value), 2 (gradient), and 4 (Hessian)
Definition: DiscrepancyCorrection.hpp:136
RealVector allContinuousUpperBnds
a continuous upper bounds array combining continuous design, uncertain, and continuous state variable...
Definition: DakotaConstraints.hpp:356
Model gpModel
GP model of response, one approximation per response function.
Definition: NonDAdaptiveSampling.hpp:86
bool hessFlag
signals use of fnHessians in direct simulator functions
Definition: DirectApplicInterface.hpp:159
ResponseList dbResponseList
transfers database captures from estimate_derivatives() to synchronize_derivatives()
Definition: DakotaModel.hpp:1660
std::vector< Approximation > & approximations()
retrieve the Approximations within an ApproximationInterface
Definition: ApproximationInterface.hpp:588
const StoredType * dbDataPtr
non-const pointer to const data we don't own in the core case
Definition: ResultsManager.hpp:381
Real H
the scalar Hessian value in the TANA-3 approximation
Definition: QMEApproximation.hpp:93
bool initLHS
flag to identify if initial points are generated from an LHS sample
Definition: NonDAdaptImpSampling.hpp:165
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:2626
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:858
void ifilter_argument_list()
set argList for execution of the input filter
Definition: ProcessHandleApplicInterface.hpp:200
size_t numGeometricUncVars
number of geometric uncertain variables (from the geometric_uncertain specification in VarAUV
Definition: DataVariables.hpp:171
Real constraint_penalty(const Real &constraint, const RealVector &c_variables)
calculate the penalty to be applied to the PMA constraint value
Definition: NonDGlobalReliability.cpp:1070
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:1297
~PecosApproximation()
destructor
Definition: PecosApproximation.hpp:358
IntArray fnHessCounter
number of Hessian evaluations by resp fn
Definition: DakotaInterface.hpp:401
void post_process_run_results(bool maximize)
post-process an optimization execution: output results, update convergence controls,...
Definition: NonDGlobalInterval.cpp:417
BitArray hyperGeomUncCat
is each hypergeom var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:512
void initialize_solution_recovery(const String &cost_label)
process the solution level inputs to define solnCntlVarType, solnCntlCostMap, and solnCntl{AV,...
Definition: SimulationModel.cpp:52
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:284
unsigned short max_cross_validation_order_candidates() const
return maxCVOrderCandidates
Definition: SharedC3ApproxData.hpp:442
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:87
void partition(int max_iterator_concurrency, IntIntPair &ppi_pr)
convenience function for initializing iterator communicators, setting parallel configuration attribut...
Definition: IteratorScheduler.cpp:152
void read_tabular(std::istream &s, unsigned short vars_part=ALL_VARS)
Definition: MixedVariables.cpp:106
IntSet optInterfHessIdAnalytic
analytic IDs for mixed Hessians on the optional interface
Definition: NestedModel.hpp:338
MatchesWC(const bfs::path &wild_card)
ctor that builds and stores the regular expression
Definition: WorkdirHelper.hpp:72
UShortArray linearEqScaleTypes
scale flags for linear eq.
Definition: ScalingModel.hpp:199
~NonD()
destructor
Definition: DakotaNonD.hpp:405
unsigned short postRunInputFormat
tabular format for post_run input
Definition: ProgramOptions.hpp:270
virtual bool multifidelity() const
identify if hierarchy is across model forms
Definition: DakotaModel.cpp:3534
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:129
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:1987
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:432
size_t maximum_iterations() const
return the maximum iterations for this iterator
Definition: DakotaIterator.hpp:698
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:213
const RealVector & continuous_upper_bounds() const
return the active continuous variable upper bounds
Definition: DakotaConstraints.hpp:482
Wrapper class for the NPSOL optimization library.
Definition: NPSOLOptimizer.hpp:56
const ParallelLevel & mi_parallel_level(size_t index=_NPOS) const
return the ParallelLevel corresponding to miPLIters[index]
Definition: ParallelLibrary.hpp:542
int numNomadNonlinearIneqConstr
Number of nonlinear constraints after put into Nomad format.
Definition: NomadOptimizer.hpp:215
void pre_finalize()
finalize the shared approximation data following a set of increments
Definition: SharedPecosApproxData.hpp:244
bool approxConverged
indicates convergence of approximation-based iterations
Definition: NonDReliability.hpp:97
String approxType
string indicating the discrepancy approximation type
Definition: DiscrepancyCorrection.hpp:212
int hub_server_communicator_size() const
return hubServerCommSize
Definition: ParallelLibrary.hpp:355
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:2612
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:738
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:645
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:273
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:1155
bool calibrationDataFlag
whether the user specified a calibration data block
Definition: ExperimentData.hpp:429
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:3393
RealVector & continuous_variables_view()
return a mutable view of the active continuous variables
Definition: DakotaVariables.hpp:1045
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.cpp:857
bool allDataFlag
flag which triggers the update of allVars/allResponses for use by Iterator::all_variables() and Itera...
Definition: DDACEDesignCompExp.hpp:116
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:269
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:516
size_t solution_levels() const
return size of subModel::solnControlCostMap
Definition: RecastModel.hpp:869
bool is_null() const
function to check variablesRep (does this envelope contain a letter)
Definition: DakotaVariables.hpp:1787
virtual void pull_candidate(RealVector &stats_star)
extract statistics from native stats arrays for a selected candidate
Definition: NonDExpansion.hpp:823
void pre_push()
push a previous state of the shared approximation data
Definition: SharedPecosApproxData.hpp:231
~SharedVariablesData()
destructor
Definition: SharedVariablesData.hpp:1050
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: NLSSOLLeastSq.hpp:49
virtual void assign_instance()
assign static pointer instance to this for use in static transformation functions
Definition: RecastModel.cpp:1575
size_t numDACERuns
counter for number of executions for this object
Definition: PSUADEDesignCompExp.hpp:93
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:631
RealVectorArray gpMeans
Vector to hold the current values of the current mean estimates for the sample values on the GP.
Definition: NonDGPImpSampling.hpp:107
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:1036
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:1205
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:1043
RealVector indicator
IntVector to hold indicator for actual simulation values vs. threshold.
Definition: NonDGPImpSampling.hpp:119
void compute_delta_mean(bool update_ref)
helper function to compute deltaRespVariance
Definition: NonDStochCollocation.cpp:427
ResultsManager iterator_results_db
Global results database for iterator results.
Definition: dakota_global_defs.cpp:66
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:551
double * SCAL
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:243
void optimize_theta_global()
sets up and performs the optimization of the negative log likelihood to determine the optimal values ...
Definition: GaussProcApproximation.cpp:375
unsigned int numBestSamples
number of best samples (max log_posterior values) to keep
Definition: NonDMUQBayesCalibration.hpp:124
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:46
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:151
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:286
bool npsolFlag
flag representing the optimization MPP search algorithm selection (NPSOL SQP or OPT++ NIP)
Definition: NonDLocalReliability.hpp:332
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:495
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:159
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:485
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:4181
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:4798
static double * prior_sample(int par_num)
Sample the prior and return an array of parameter values.
Definition: NonDDREAMBayesCalibration.cpp:417
size_t numFieldNonlinearEqConstraints
number of field nonlinear equality constraints (from the num_scalar_nonlinear_equality_constraints sp...
Definition: DataResponses.hpp:107
bool boundConstraintFlag
convenience flag for denoting the presence of user-specified bound constraints. Used for method selec...
Definition: DakotaMinimizer.hpp:282
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:166
int alternate_short_column_forms(int form)
helper fn for alternate forms
Definition: TestDriverInterface.cpp:2703
void samples(size_t samples)
set numSamples
Definition: NonDQuadrature.hpp:223
void build_designs(VariablesArray &design_matrix)
build matrix of candidate points
Definition: NonDBayesCalibration.cpp:1555
int N5
Size variable for CONMIN arrays. See CONMIN manual.
Definition: CONMINOptimizer.hpp:186
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:248
~NonDLocalSingleInterval()
destructor
Definition: NonDLocalSingleInterval.cpp:27
virtual Real compute_level_mappings_metric(bool revert, bool print_metric)
compute 2-norm of change in final statistics
Definition: NonDExpansion.cpp:2243
Real value(const std::vector< Real > &x, Real &tol) override
Function to return the objective value (response) to ROL.
Definition: ROLOptimizer.cpp:532
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:93
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NOWPACOptimizer.hpp:165
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:1133
void read(std::istream &s)
read a variable constraints object from an std::istream
Definition: MixedVarConstraints.cpp:142
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: NOWPACOptimizer.hpp:171
static SNLLOptimizer * snllOptInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: SNLLOptimizer.hpp:305
~EffGlobalMinimizer()
destructor
Definition: EffGlobalMinimizer.hpp:336
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: SNLLOptimizer.hpp:78
size_t statCount
counter for which final statistic is being computed
Definition: NonDReliability.hpp:104
short data_order() const
return dataOrder
Definition: DiscrepancyCorrection.hpp:312
IntVector discreteIntEpistemicUncUpperBnds
distribution upper bounds for all discrete integer epistemic uncertain variables
Definition: DataVariables.hpp:773
@ MandatoryValue
option with required value
Definition: CommandLineHandler.hpp:53
bool dedicated_master() const
return dedicatedMasterFlag
Definition: ParallelLibrary.hpp:316
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:383
void declare_sources()
Declare this model's sources.
Definition: SimulationModel.cpp:508
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:347
RealVector calcExpIndicator(const int respFnCount, const Real respThresh)
function to calculate the expected indicator probabilities
Definition: NonDGPImpSampling.cpp:524
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:842
int conminInfo
INFO from CONMIN manual.
Definition: CONMINOptimizer.hpp:140
unsigned short sampling_scheme() const
return sampling name
Definition: FSUDesignCompExp.hpp:160
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:3526
int initialSamples
initial samples to build the subspace model
Definition: DataModel.hpp:357
int numSamples
the number of samples used
Definition: NonDLHSInterval.hpp:70
APPSEvalMgr(Optimizer &, Model &model)
constructor
Definition: APPSEvalMgr.cpp:32
void archive_sobol_indices() const
archive VBD-based Sobol indices
Definition: DakotaAnalyzer.cpp:845
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:633
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:274
void calcRhoDraw()
function to update the rhoDraw data, adding x values and rho draw values
Definition: NonDGPImpSampling.cpp:500
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:542
RealSymMatrix deltaRespCovariance
change in (FULL) response covariance induced by a refinement candidate
Definition: NonDStochCollocation.hpp:140
Real covariance_determinant() const override
covariance determinant for this experiment (default 1.0)
Definition: ExperimentResponse.cpp:139
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:1586
void update_projected_samples(Real avg_hf_targets, const RealVector &avg_eval_ratios, const SizetArray &N_H_actual, size_t &N_H_alloc, size_t &delta_N_H_actual, Real &delta_equiv_hf)
Definition: NonDACVSampling.cpp:1243
int num_dakota_nonlin_ineq_constraints() const
Number of nonlinear inequality constraints from Dakota perspective.
Definition: DakotaTPLDataTransfer.hpp:49
bool crossValidNoiseOnly
flag to restrict cross-validation to only estimate the noise tolerance in order to manage computation...
Definition: NonDPolynomialChaos.hpp:198
String hybridLocalMethodName
local method name for embedded hybrids (from the local_method_name specification)
Definition: DataMethod.hpp:399
String logFile
The filename to use for logging.
Definition: DataMethod.hpp:732
Real mindistindx(const RealVector &x, const RealMatrix &xset, const IntArray &indx)
Definition: GaussProcApproximation.cpp:94
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
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:409
DataEnvironment()
constructor
Definition: DataEnvironment.cpp:78
bool graph2DFlag
whether user requested 2D graphics plots
Definition: OutputManager.hpp:355
void check_submodel_compatibility(const Model &sub_model)
verify compatibility between SurrogateModel attributes and attributes of the submodel (DataFitSurrMod...
Definition: DataFitSurrModel.cpp:357
void update_projected_lf_samples(Real avg_hf_targets, const RealVector &avg_eval_ratios, const SizetArray &N_H_actual, size_t &N_H_alloc, Real &delta_equiv_hf)
Definition: NonDACVSampling.cpp:1216
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:205
void post_run(std::ostream &s)
generate statistics
Definition: NonDRKDDarts.cpp:122
void reset()
restore initial state for repeated sub-iterator executions
Definition: SNLLOptimizer.cpp:1116
NonDRKDDarts(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDRKDDarts.cpp:54
virtual void read(std::istream &s)
read a variable constraints object from an std::istream
Definition: DakotaConstraints.cpp:310
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:599
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:1152
Base class for managing common aspects of verification studies.
Definition: DakotaVerification.hpp:29
bool eaDedMasterFlag
flag for dedicated master partitioning at ea level
Definition: ApplicationInterface.hpp:229
IteratorList & iterator_list()
return a list of all Iterator objects that have been instantiated
Definition: ProblemDescDB.hpp:554
Real refinementRate
rate of mesh refinement in Richardson extrapolation
Definition: DataMethod.hpp:1289
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:2670
Interface & derived_interface()
Return the "default" or maximal ActiveSet for the model.
Definition: SimulationModel.hpp:227
IntVector discIntStepsPerVariable
number of offsets in the plus and the minus direction for each discrete integer variable in a centere...
Definition: ParamStudy.hpp:247
RealVector linearEqScales
scaling factors for the linear equality constraints (from the linear_equality_scales specification in...
Definition: DataVariables.hpp:842
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:356
bool commandLineArgs
flag indicating use of passing of filenames as command line arguments to the analysis drivers and inp...
Definition: ProcessApplicInterface.hpp:163
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:1461
bool randomizeOrderFlag
the stochastic specification for the PS method in MethodSCOLIBPS
Definition: DataMethod.hpp:629
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:56
String modelExportPrefix
the filename prefix for export_model
Definition: DataModel.hpp:203
Definition: ROLOptimizer.hpp:431
String pointReuse
allows PCE construction to reuse points from previous sample sets or data import using the reuse_poin...
Definition: DataMethod.hpp:997
ParallelConfiguration & operator=(const ParallelConfiguration &pl)
assignment operator
Definition: ParallelLibrary.hpp:530
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:3193
std::string get_hostname() const
get the system hostname
Definition: TrackerHTTP.cpp:302
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:914
unsigned short daceMethod
oas, lhs, oa_lhs, random, box_behnken, central_composite, or grid
Definition: DDACEDesignCompExp.hpp:99
virtual ~Variables()
destructor
size_t num_linear_ineq_constraints() const
return the number of linear inequality constraints
Definition: DakotaConstraints.hpp:990
void post_run(std::ostream &s)
generate statistics for LHS runs in non-VBD cases
Definition: NonDLHSSampling.cpp:723
const IntResponseMap & synchronize_nowait()
Execute a nonblocking scheduling algorithm to collect all available results from a group of asynchron...
Definition: DakotaModel.cpp:1485
void update_from_specification(bool update_exp, bool update_sampler, bool update_from_ratio)
perform specification updates (shared code from
Definition: NonDMultilevelPolynomialChaos.cpp:722
Real nh_penalty_merit(const RealVector &c_vars, const RealVector &fn_vals)
compute a penalty merit function after an optimization solve
Definition: NonDNonHierarchSampling.cpp:998
String trialType
the trial_type specification in MethodFSUDACE
Definition: DataMethod.hpp:781
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:1227
IntIntMap rawEvalIdMap
maps from the raw evaluation ids returned by derived_synchronize() and derived_synchronize_nowait() t...
Definition: DakotaModel.hpp:1671
IntArray newFnValCounter
number of new value evaluations by resp fn
Definition: DakotaInterface.hpp:402
LibraryEnvironment()
default constructor
Definition: LibraryEnvironment.cpp:26
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:1210
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:180
ParallelDirectApplicInterface(const Dakota::ProblemDescDB &problem_db, const MPI_Comm &analysis_comm)
constructor
Definition: PluginParallelDirectApplicInterface.cpp:29
MPIManager dummy_mpi_mgr
dummy MPIManager for ref initialization
Definition: dakota_global_defs.cpp:74
void finalize_run()
performs cleanup, restores instances and calls parent finalize
Definition: SNLLOptimizer.cpp:1104
void assign_rep(std::shared_ptr< Iterator > iterator_rep)
replaces existing letter with a new one
Definition: DakotaIterator.cpp:834
StringMultiArray xDRLabels
discrete real variable labels
Definition: DirectApplicInterface.hpp:184
void push_level_mappings(const RealVector &level_maps, size_t offset)
update computed{Resp,Prob,Rel,GenRel}Levels from level_maps
Definition: DakotaNonD.cpp:393
short surrBasedLocalConstrRelax
SBL constraint relaxation method: NO_RELAX or HOMOTOPY.
Definition: DataMethod.hpp:469
size_t num_total_exppoints() const
retrieve the total number of experimental data points over all experiments
Definition: ExperimentData.cpp:830
OPTPP::OptPDS * optpds
PDS optimizer pointer.
Definition: SNLLOptimizer.hpp:333
RetT copy_array_to_pybind11(const ArrayT &src) const
copy Dakota arrays to pybind11 lists via std::vector<> copy
Definition: Pybind11Interface.cpp:190
void finalize_approximation()
finalize an approximation by applying all previous trial increments
Definition: RecastModel.hpp:988
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:112
Base class for OPT++ optimization and least squares methods.
Definition: SNLLBase.hpp:47
unsigned short modelExportFormat
Format selection for export_model.
Definition: DataModel.hpp:205
void clear_model_keys()
remove keys in subModel
Definition: RecastModel.hpp:781
Real final_probability()
returns the final probability calculated by the importance sampling
Definition: NonDAdaptImpSampling.hpp:223
void get_nonlinear_eq_constraints(const Model &model, VecT &values, Real scale, int offset=-1)
Definition: DakotaOptimizer.hpp:920
const RealMatrix & linear_eq_constraint_coeffs() const
return the linear equality constraint coefficients
Definition: DakotaModel.hpp:3431
const Pecos::SurrogateData & approximation_data(size_t fn_index)
retrieve the approximation data from the subModel
Definition: RecastModel.hpp:1039
void close()
Close the database, if supported. This removes it from the active list of databases.
Definition: ResultsManager.cpp:43
Real log_covariance_determinant() const override
log covariance determinant for this experiment (default 0.0)
Definition: ExperimentResponse.cpp:142
const RealVector & discrete_real_lower_bounds() const
return the active discrete variable lower bounds
Definition: DakotaConstraints.hpp:566
String batchSelectionType
the batch selection type specification in MethodNonDAdaptive
Definition: DataMethod.hpp:1156
Derived approximation class for global basis polynomials.
Definition: C3Approximation.hpp:44
Class for the Gaussian Process-based Importance Sampling method.
Definition: NonDGPImpSampling.hpp:36
virtual void execute()
the run function for the environment: invoke the iterator(s) on the model(s). Called from main....
Definition: DakotaEnvironment.cpp:345
Base class for the optimizer and least squares branches of the iterator hierarchy.
Definition: DakotaMinimizer.hpp:33
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:1582
bool tabularDataFlag
whether user requested tabular data file
Definition: OutputManager.hpp:356
const String & filename()
output filename for this writer
Definition: OutputManager.cpp:1063
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:1947
void select_increment_candidate()
promote selected refinement increment candidate into reference grid + expansion
Definition: NonDExpansion.cpp:1816
Real lmax0
initial trust-region radius (initial_trust_radius)
Definition: NL2SOLLeastSq.hpp:150
Sizet2DArray secondaryRespMapIndices
For each recast secondary function, identifies the indices of the subModel functions used to define i...
Definition: RecastModel.hpp:604
Class for multilevel-multifidelity optimization algorithm.
Definition: HierarchSurrBasedLocalMinimizer.hpp:41
~SurrBasedMinimizer()
destructor
Definition: SurrBasedMinimizer.cpp:117
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:676
void print_refinement_diagnostics(std::ostream &s)
print additional refinement diagnostics not covered by compute_*_metric()
Definition: NonDExpansion.cpp:4134
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:397
driver_t iFilterType
enum type of the direct function input filter
Definition: DirectApplicInterface.hpp:151
Model subModel
the sub-model underlying the transformations
Definition: RecastModel.hpp:545
Model surrModel
shallow copy of the surrogate model instance as returned by Model::surrogate_model() (the DataFitSurr...
Definition: DiscrepancyCorrection.hpp:231
const bool exportSurrogate
whether to export the surrogate to file
Definition: DataFitSurrModel.hpp:342
int numPushforwardSamples
number of samples from the prior that is pushed forward through the model
Definition: NonDWASABIBayesCalibration.hpp:88
unsigned short kickOrder
polynomial order increment when adapting
Definition: DataMethod.hpp:824
ParConfigLIter parallel_configuration_iterator() const
return modelPCIter
Definition: DakotaModel.hpp:3777
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:1244
virtual ~EffGlobalTraits()
destructor
Definition: EffGlobalMinimizer.hpp:43
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:428
Real mutationRate
the mutation_rate specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:589
short output_level() const
return the outputLevel
Definition: DakotaModel.hpp:3751
const IntIntPairRealMapArray & get_iirma(const String &entry_name) const
get an IntIntPairRealMapArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1896
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:605
int multimodal()
multimodal UQ test function
Definition: TestDriverInterface.cpp:981
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:1493
String preRunInput
filename for pre_run input
Definition: DataEnvironment.hpp:70
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:166
StringArray responseLabels
the response labels array (from the response_descriptors specification in RespLabels)
Definition: DataResponses.hpp:62
const StringArray & analysis_drivers() const
retrieve the analysis drivers specification for application interfaces
Definition: ProcessApplicInterface.hpp:276
void scale_model()
Wrap iteratedModel in a RecastModel that performs response scaling.
Definition: NonDBayesCalibration.cpp:3782
void insert_node(const DataEnvironment &data_env)
set the DataEnvironment object
Definition: ProblemDescDB.hpp:594
void wait_local_evaluation_sequence(PRPQueue &prp_queue)
version of wait_local_evaluations() managing of set of individual asynchronous evaluations
Definition: GridApplicInterface.hpp:70
IntRealMapArray histogramUncPointIntPairs
An array for each integer-valued point-based histogram uncertain variable. Each array entry is a map ...
Definition: DataVariables.hpp:519
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:381
Approximation()
default constructor
Definition: DakotaApproximation.cpp:72
size_t numFieldObjectiveFunctions
field_objectives: number of objective functions which are field-valued
Definition: DataResponses.hpp:97
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:605
RealVector continuousEpistemicUncVars
array of values for all continuous epistemic uncertain variables
Definition: DataVariables.hpp:758
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:3590
void active_view(short view1) const
set the active Variables view
Definition: SharedVariablesData.hpp:1642
int first_seed() const
return first seed in sequence specification (defaults to random_seed())
Definition: NonDMultilevelFunctionTrain.hpp:146
int newEvalIdCntr
new (non-duplicate) interface evaluation counter
Definition: DakotaInterface.hpp:393
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:217
SharedApproxData()
default constructor
Definition: SharedApproxData.cpp:134
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:364
size_t numTotalCalibTerms
number of total calibration terms (sum over experiments of number of experimental data per experiment...
Definition: DakotaMinimizer.hpp:295
RealVector rhoOne
rhoOne, original importance density
Definition: NonDGPImpSampling.hpp:129
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:350
T abort_handler_t(int code)
Definition: dakota_global_defs.hpp:201
void derived_init_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set up actualModel for parallel operations
Definition: DataFitSurrModel.cpp:462
String scalarDataFileName
name of experimental data file containing response data (with optional state variable and sigma data)...
Definition: DataResponses.hpp:177
RealVector rhoDraw
Vector to hold the rhoDraw values for the current GP samples.
Definition: NonDGPImpSampling.hpp:114
unsigned short obsErrorMultiplierMode
mode for number of observation error multipliers to calibrate (default none)
Definition: NonDBayesCalibration.hpp:418
short trendOrder
The number of variables in each X variable (number of dimensions of the problem).
Definition: GaussProcApproximation.hpp:254
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:470
short correction_type() const
return the correction type from the DiscrepancyCorrection object used by SurrogateModels
Definition: SurrogateModel.hpp:334
virtual void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to derived model classes
Definition: DakotaModel.cpp:3283
ParallelLibrary & parallel_library() const
return the parallel library (parallelLib)
Definition: DakotaIterator.hpp:654
~NonDSparseGrid()
destructor
Definition: NonDSparseGrid.cpp:206
void compute_expansion()
form the expansion by calling uSpaceModel.build_approximation()
Definition: NonDPolynomialChaos.cpp:952
PythonInterface(const ProblemDescDB &problem_db)
constructor
Definition: PythonInterface.cpp:61
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:4380
bool nearbyDuplicateDetect
flag indicating optional usage of tolerance-based duplication detection (less efficient,...
Definition: ApplicationInterface.hpp:484
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:199
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:697
virtual void finalize_coefficients()
finalize approximation by applying all remaining trial sets
Definition: DakotaApproximation.cpp:366
const RealVectorArray & approximation_coefficients(bool normalized=false)
retrieve the approximation coefficients from the subModel
Definition: RecastModel.hpp:1023
Wrapper class for the NLSSOL nonlinear least squares library.
Definition: NLSSOLLeastSq.hpp:84
virtual void combine_coefficients()
combine all level approximations into a single aggregate approximation
Definition: DakotaApproximation.cpp:373
RealVector weibullUncBetas
beta factors for the weibull uncertain variables (from the betas specification in VarCAUV_Weibull)
Definition: DataVariables.hpp:436
int synchronous_local_analysis(int analysis_id)
Definition: ProcessHandleApplicInterface.hpp:162
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:328
unsigned short globalIterCount
counter for global iteration
Definition: EffGlobalMinimizer.hpp:332
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:31
IntVector negBinomialUncNumTrials
Number of trials (N) for the negative binomial uncertain variables from the num_trials specification ...
Definition: DataVariables.hpp:482
String parserOptions
Deprecated option for NIDR parser options.
Definition: ProgramOptions.hpp:240
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:556
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:167
String exportCorrVarFile
filename for corrected model variance calculations
Definition: NonDBayesCalibration.hpp:365
const IntVector & all_discrete_int_lower_bounds() const
returns a single array with all discrete lower bounds
Definition: DakotaConstraints.hpp:769
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:417
virtual void finalize_approximation()
finalizes the approximation by applying all trial increments
Definition: DakotaInterface.cpp:1249
StringArray location
Location used to create the dataset.
Definition: ResultsDBHDF5.hpp:149
void resolve_inputs(short &u_space_type, short &data_order)
perform error checks and mode overrides
Definition: NonDStochCollocation.cpp:318
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:263
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:760
void init_communicators(ParLevLIter pl_iter)
initialize the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1194
UShortMultiArrayConstView all_discrete_real_variable_types() const
return all discrete variable types from currentVariables
Definition: DakotaModel.hpp:2287
Derived approximation class for global basis polynomials.
Definition: SharedC3ApproxData.hpp:33
SizetList nonlinIneqConMappingIndices
a list of indices for referencing the DAKOTA nonlinear inequality constraints used in computing the c...
Definition: NOWPACOptimizer.hpp:77
bool check_active_variables(const Model &sub_model)
check sub_model for consistency in active variable counts
Definition: SurrogateModel.cpp:80
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDPolynomialChaos.cpp:842
Real functionPrev
previous function value
Definition: NonlinearCGOptimizer.hpp:128
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:107
bool push_available()
query for whether a trial increment is restorable within a surrogate
Definition: DataFitSurrModel.hpp:803
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:407
DataMethod()
constructor
Definition: DataMethod.cpp:709
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:1436
unsigned int post_run_input_format() const
tabular format for post-run input
Definition: ProgramOptions.cpp:201
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:679
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:1046
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDLocalInterval.cpp:128
short solution_control_variable_type() const
return solnCntlVarType
Definition: SimulationModel.hpp:240
Class to manage in-core vs. file database lookups.
Definition: ResultsManager.hpp:346
void continuous_variable_id(size_t cv_id, size_t i)
set an active continuous variable identifier in currentVariables
Definition: DakotaModel.hpp:2072
~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:686
BitArray pdfComputed
Whether PDF was computed for function i; used to determine whether a pdf should be archived.
Definition: DakotaNonD.hpp:366
static size_t noSpecIdNum
the last used model ID number for on-the-fly instantiations (increment before each use)
Definition: DakotaModel.hpp:1732
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:5114
const RealVector & numerical_integration_moments() const
return numerical moments from Pecos::PolynomialApproximation
Definition: PecosApproximation.hpp:688
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:1106
void post_refinement(Real &metric, bool reverted=false)
finalization of expansion refinement, if necessary
Definition: NonDExpansion.cpp:1123
virtual short interface_synchronization() const
return the user-specified interface synchronization
Definition: DakotaInterface.cpp:960
bool ea_parallel_level_defined() const
test current parallel configuration for definition of evaluation-analysis parallel level
Definition: ParallelLibrary.hpp:1199
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:857
void archive_tolerance_intervals(size_t inc_id=0)
archive the tolerance intervals statistics in results DB
Definition: NonDSampling.cpp:2046
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:2649
size_t adsv() const
returns total number of discrete string vars
Definition: DakotaModel.hpp:1810
std::shared_ptr< DataMethodRep > data_rep()
return dataMethodRep
Definition: DataMethod.hpp:1424
const Model & algorithm_space_model() const
Definition: NonDBayesCalibration.hpp:569
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:1328
SNLLLeastSq * prevSnllLSqInstance
pointer to the previously active object instance used for restoration in the case of iterator/model r...
Definition: SNLLLeastSq.hpp:181
Iterator importanceSampler
importance sampling instance used to compute/refine probabilities
Definition: NonDReliability.hpp:82
RealVector nicheVector
The discretization percentage along each objective.
Definition: DataMethod.hpp:707
RealVector solutionLevelCost
array of relative simulation costs corresponding to each of the solution levels (from solution_level_...
Definition: DataModel.hpp:133
int evaluationCapacity
capacity for concurrent evaluations supported by the Model
Definition: DakotaModel.hpp:1505
NonDCubature(Model &model, unsigned short cub_int_order)
Definition: NonDCubature.cpp:55
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:459
unsigned short mapOptAlgOverride
user setting of the MAP optimization algorithm type
Definition: NonDBayesCalibration.hpp:307
size_t regression_size()
return number of FT unknowns using start_rank(), max_rank(), start_orders(), max_order()
Definition: SharedC3ApproxData.hpp:500
RealVector krigingMinCorrelations
lower bound on kriging correlation vector
Definition: DataModel.hpp:245
size_t numPredConfigs
number of prediction configurations at which to calculate model discrepancy
Definition: NonDBayesCalibration.hpp:376
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: APPSOptimizer.hpp:79
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:104
virtual short discrepancy_reduction() const
return the discrepancy type for approximations that support MLMF
Definition: SharedApproxData.cpp:323
DakotaROLIneqConstraintsHess(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:689
RealVector predictionConfigList
list of prediction configurations at which to calculate model discrepancy
Definition: DataMethod.hpp:1176
int numIteratorServers
number of concurrent iterator partitions
Definition: IteratorScheduler.hpp:172
void read(MPIUnpackBuffer &s)
read a DataModelRep object from a packed MPI buffer
Definition: DataModel.cpp:122
virtual Real combined_covariance(Approximation &approx_2)
return the covariance between two combined response expansions, where all active variables are random
Definition: DakotaApproximation.cpp:584
short surrBasedLocalSubProbObj
SBL approximate subproblem objective: ORIGINAL_PRIMARY, SINGLE_OBJECTIVE, LAGRANGIAN_OBJECTIVE,...
Definition: DataMethod.hpp:459
bool nipModeOverrideFlag
flag indicating the use of move overrides within OPT++ NIP
Definition: NonDLocalReliability.hpp:336
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:1179
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:806
void clear_approx_interface()
clear current data from approxInterface
Definition: DataFitSurrModel.cpp:1025
NonD(ProblemDescDB &problem_db, Model &model)
constructor
Definition: DakotaNonD.cpp:35
String krigingOptMethod
optimization method to use in finding optimal correlation parameters: none, sampling,...
Definition: DataModel.hpp:239
const String & command_line_pre_run_output() const
preRunOutput filename
Definition: ParallelLibrary.hpp:1357
size_t num_experiments() const
retrieve the number of experiments
Definition: ExperimentData.hpp:119
size_t start_rank() const
return active start value for expansion rank
Definition: SharedC3ApproxData.hpp:406
virtual void init_metadata()
default clear metadata in Recasts; derived classes can override to no-op
Definition: RecastModel.cpp:1579
size_t numScalarNonlinearIneqConstraints
number of scalar nonlinear inequality constraints (from the num_scalar_nonlinear_inequality_constrain...
Definition: DataResponses.hpp:89
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:1508
int bigIntBoundSize
cutoff value for discrete variable bounds
Definition: DakotaMinimizer.hpp:250
short precondRequestValue
the active set request value to use in proposal preconditioning
Definition: NonDQUESOBayesCalibration.hpp:180
RealVector expStdDeviations
list of 1 or num_calibration_terms observation standard deviations
Definition: DataResponses.hpp:173
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:230
Derived approximation class for first- or second-order Taylor series (a local approximation).
Definition: TaylorApproximation.hpp:34
unsigned short adaptedBasisAdvancements
initial grid level for the ADAPTED_BASIS_EXPANDING_FRONT approach to defining the candidate basis for...
Definition: DataMethod.hpp:990
std::list< ParallelConfiguration > parallelConfigurations
the set of parallel configurations which manage list iterators for indexing into parallelLevels
Definition: ParallelLibrary.hpp:1035
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:1537
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:5194
Lightweight class to manage conditionally active Curl-based HTTP tracker via PIMPL.
Definition: UsageTracker.hpp:32
StringArray ordered_labels() const
Return labels of all active variables in "input spec" order.
Definition: DakotaModel.hpp:2709
bool model_has_interface(const DataModelRep &model_rep) const
helper function for determining whether an interface specification should be active,...
Definition: ProblemDescDB.hpp:722
Environment operator=(const Environment &env)
assignment operator
Definition: DakotaEnvironment.cpp:187
ROL::OptimizationProblem< Real > & get_rol_problem()
Accessor for the underlying ROL Problem.
Definition: ROLOptimizer.hpp:85
void update_local_reference()
Updates fit arrays for local or multipoint approximations.
Definition: DataFitSurrModel.cpp:965
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:133
StringMultiArrayConstView inactive_continuous_variable_labels() const
return the inactive continuous variable labels in currentVariables
Definition: DakotaModel.hpp:2514
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:200
RealVectorArray gpVar
Vector to hold the current values of the current variance estimates for the sample values on the GP.
Definition: NonDAdaptiveSampling.hpp:108
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:285
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:2036
void set_ip_options()
Set inverse problem options calIpOptionsValues common to all solvers.
Definition: NonDQUESOBayesCalibration.cpp:891
StringMultiArrayConstView inactive_discrete_string_variables() const
return the inactive discrete string variables
Definition: DakotaVariables.hpp:1435
This class encapsulates scheduling operations for concurrent sub-iteration within an outer level cont...
Definition: IteratorScheduler.hpp:39
void initialize_constraints()
initialize userDefinedConstraints
Definition: MinimizerAdapterModel.hpp:140
IntResponseMapArray cachedRespMaps
maps of responses retrieved in derived_synchronize_nowait() that could not be returned since correspo...
Definition: EnsembleSurrModel.hpp:321
bool gradFlag
signals use of fnGrads in direct simulator functions
Definition: DirectApplicInterface.hpp:158
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:34
Derived approximation class for QMEA Quadratic Multipoint Exponential Approximation (a multipoint app...
Definition: QMEApproximation.hpp:32
bool fileSaveFlag
flags retention of parameter/results files
Definition: ProcessApplicInterface.hpp:160
Derived model class within the surrogate model branch for managing data fit surrogates (global and lo...
Definition: DataFitSurrModel.hpp:47
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:612
BitArray extraDRVarsData
flags for updating subModel discrete real bounds and labels, one for each active discrete real variab...
Definition: NestedModel.hpp:410
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:168
virtual void clear_computed_bits()
clear tracking of computed moments, due to (expansion) change that invalidates previous results
Definition: DakotaApproximation.cpp:1084
int iteratorCommRank
processor rank in iteratorComm
Definition: IteratorScheduler.hpp:176
RealVector approxCUpperBnds
approximation continuous upper bounds (used by 3D graphics and Surfpack KrigingModel)
Definition: SharedApproxData.hpp:267
void replace_nonlinear_bounds(size_t num_cv, size_t num_lin_con, RealVector &aggregate_l_bnds, RealVector &aggregate_u_bnds, const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_targets)
replace nonlinear bounds within aggregate arrays
Definition: SOLBase.cpp:444
void all_discrete_real_type(unsigned short drv_type, size_t index)
set discrete real type at index
Definition: SharedVariablesData.hpp:1576
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:240
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:32
unsigned short interfaceType
the interface type: enum for system, fork, direct, grid, or approximation
Definition: DakotaInterface.hpp:366
var_t
enumeration of possible variable types (to index to names)
Definition: DirectApplicInterface.hpp:33
RealVector normalUncMeans
means of the normal uncertain variables (from the means specification in VarCAUV_Normal)
Definition: DataVariables.hpp:315
int numCR
number of CR-factors
Definition: NonDDREAMBayesCalibration.hpp:106
int numTotalVars
Total across all types of variables.
Definition: APPSOptimizer.hpp:185
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:4533
void validate_metrics(const std::set< std::string > &allowed_metrics)
validate metric names and cross validation options
Definition: SharedSurfpackApproxData.cpp:203
String fitnessMetricType
the fitness metric type specification in MethodNonDAdaptive
Definition: DataMethod.hpp:1153
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDGPImpSampling.cpp:120
void check_surrogate()
check model definition (redirect function_train model to surr-based UQ)
Definition: NonDC3FunctionTrain.cpp:176
size_t div_start() const
get start index of active discrete int vars
Definition: SharedVariablesData.hpp:1682
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:110
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.cpp:905
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:1117
Derived application interface class which spawns simulation codes using system calls.
Definition: SysCallApplicInterface.hpp:32
void set_active_parameter(String var, const UShortArray &val)
set active UShortArray attribute value based on identifier string
Definition: SharedC3ApproxData.hpp:627
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:173
void abort_handler(int code)
global function which handles serial or parallel aborts
Definition: dakota_global_defs.cpp:91
RealSymMatrix covMatrix
The covariance matrix where each element (i,j) is the covariance between points Xi and Xj in the init...
Definition: GaussProcApproximation.hpp:219
bool isReadyForWork() const
tells APPS whether or not there is a processor available to perform a function evaluation
Definition: APPSEvalMgr.cpp:44
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:73
String useSurrogate
the HAS_SGTE specification for NOMAD
Definition: DataMethod.hpp:808
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:73
RealVector linearEqScaleOffsets
offsets for linear constraints
Definition: ScalingModel.hpp:201
std::string get_username() const
get the username as reported by the environment
Definition: TrackerHTTP.cpp:296
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:660
Real initDelta
the initial_delta specification for APPS/COBYLA/PS/SW methods in MethodAPPS, MethodSCOLIBCOB,...
Definition: DataMethod.hpp:598
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:3865
MPIUnpackBuffer * recvBuffers
array of unpack buffers for evaluation jobs returned by a server
Definition: ApplicationInterface.hpp:554
void derived_evaluate_nowait(const ActiveSet &set)
Definition: DataFitSurrModel.cpp:1726
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:897
IntVector fieldLengths
number of entries in each field
Definition: DataResponses.hpp:249
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:37
void simple_corr(RealMatrix &total_data, const int &num_in, RealMatrix &corr_matrix)
computes simple correlations, populating corr_matrix
Definition: SensAnalysisGlobal.cpp:271
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:730
void metric_roll_up(short results_state=FINAL_RESULTS)
perform any required expansion roll-ups prior to metric computation
Definition: NonDExpansion.hpp:713
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NLSSOLLeastSq.hpp:43
const VariablesArray & all_variables()
return the complete set of evaluated variables
Definition: DakotaAnalyzer.hpp:254
bool returns_multiple_points() const
some COLIN methods can return multiple points
Definition: COLINOptimizer.cpp:475
void shape_bounds()
shape the lower/upper bound arrays based on sharedVarsData
Definition: DakotaConstraints.cpp:417
int extra_lf_rosenbrock()
an extra low fidelity version of the Rosenbrock function
Definition: TestDriverInterface.cpp:1443
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:762
RealVector gradCurr
current gradient
Definition: NonlinearCGOptimizer.hpp:131
std::map< Pecos::ActiveKey, bool > c3MaxRankAdvance
flag indicating availability of rank advancement (accumulated from C3Approximation::advancement_avail...
Definition: SharedC3ApproxData.hpp:299
bool allDataFlag
flags update of allResponses (allVariables or allSamples already defined)
Definition: NonDSampling.hpp:353
Real covariance(Approximation &approx_2)
return the covariance between two response expansions, treating all variables as random
Definition: PecosApproximation.hpp:496
virtual ~Model()
destructor
Definition: DakotaModel.cpp:359
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:196
void set_mc_ptr_int(int ptr_int)
set the DAKOTA pointer to ModelCenter
Definition: dakota_dll_api.cpp:318
void prior_proposal_covariance()
use covariance of prior distribution for setting proposal covariance
Definition: NonDMUQBayesCalibration.cpp:530
RealVector mapSoln
solution for most recent MAP pre-solve; also serves as initial guess for initializing the first solve...
Definition: NonDBayesCalibration.hpp:329
Constraints userDefinedConstraints
Explicit constraints on variables are maintained in the Constraints class hierarchy....
Definition: DakotaModel.hpp:1414
void opt_darts_plot_hull_2d(size_t icandidate, size_t ifunc)
Convenience function for plotting convex hull.
Definition: OptDartsOptimizer.cpp:1316
void sampling_increment()
increment to next in sequence of refinement samples
Definition: NonDLHSSampling.cpp:183
RealVector paramMins
lower bounds on calibrated parameters
Definition: NonDWASABIBayesCalibration.hpp:118
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:135
IntIntPairRealMapArray discreteIntervalUncBasicProbs
Probability values per interval cell per epistemic interval uncertain variable (from the discrete_int...
Definition: DataVariables.hpp:572
std::vector< var_t > xDSMLabels
var_t enumerations corresponding to discrete string variable labels
Definition: DirectApplicInterface.hpp:207
BitArray geometricUncCat
is each geometric var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:496
String2DArray analysisComponents
Analysis components for interface types that support them.
Definition: DakotaInterface.hpp:440
virtual const String & interface_id() const
return the interface identifier
Definition: DakotaModel.cpp:3784
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:1940
Pecos::ActiveKey & key_from_index(size_t k_index)
return the key from {truthModel,surrModel}Key{,s} corresponding to k_index
Definition: EnsembleSurrModel.hpp:744
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:232
int numSamplesOnModel
number of truth samples performed on g_u_model to form the expansion
Definition: NonDExpansion.hpp:475
bool version() const
is version mode active?
Definition: ProgramOptions.cpp:160
void post_combine()
clean up stored data sets after aggregation
Definition: SharedPecosApproxData.hpp:260
~SharedResponseDataRep()
destructor must be public for shared_ptr
Definition: SharedResponseData.hpp:144
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:312
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:2777
~SpawnApplicInterface()
destructor
Definition: SpawnApplicInterface.hpp:70
size_t get_db_method_node()
return the index of the active node in dataMethodList
Definition: ProblemDescDB.hpp:574
size_t numRelAnalyses
number of invocations of core_run()
Definition: NonDReliability.hpp:92
Container class encapsulating variables data that can be shared among a set of Response instances.
Definition: SharedResponseData.hpp:158
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:249
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:493
RealVectorArray gpMeans
Vector to hold the current values of the current mean estimates for the sample values on the GP.
Definition: NonDAdaptiveSampling.hpp:105
IntSetArray activeDiscSetIntValues
aggregation of the admissible value sets for all active discrete set integer variables
Definition: DakotaModel.hpp:1695
bool advancement_available()
check if resolution advancement (e.g., order, rank) is available for this approximation instance
Definition: PecosApproximation.hpp:817
Real delta_combined_mean()
return the change in mean resulting from combined expansion refinement, where all active variables ar...
Definition: PecosApproximation.hpp:556
unsigned short exportSamplesFormat
format for exporting sample increments using tagged tabular files
Definition: NonDEnsembleSampling.hpp:221
Real grThreshold
threshold for the Gelmin-Rubin statistic
Definition: DataMethod.hpp:1231
void asynchronous_local_evaluations(PRPQueue &prp_queue)
perform all jobs in prp_queue using asynchronous approaches on the local processor
Definition: ApplicationInterface.cpp:1244
SizetArray active1ADIVarMapIndices
"primary" variable mappings for inserting active discrete int currentVariables within all discrete in...
Definition: NestedModel.hpp:355
void post_input()
read tabular data for post-run mode
Definition: NonDLHSSampling.cpp:643
const IntVector & all_discrete_int_upper_bounds() const
returns a single array with all discrete upper bounds
Definition: DakotaConstraints.hpp:791
virtual int num_constraints() const
return the number of constraints to be enforced via an anchor point
Definition: DakotaApproximation.cpp:988
RealMatrix gradNegLogLikTheta
matrix to hold the gradient of the negative log likelihood with respect to the theta correlation term...
Definition: GaussProcApproximation.hpp:228
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:1595
const SizetArray & derivative_vector() const
return the derivative variables vector
Definition: DakotaActiveSet.hpp:229
Real gammaContract
trust region contraction factor
Definition: SurrBasedLocalMinimizer.hpp:215
Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: QMEApproximation.cpp:469
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:127
void pop(bool save_surr_data)
back out the previous increment to the shared approximation data
Definition: SharedPecosApproxData.hpp:211
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:255
RealVector krigingMaxCorrelations
upper bound on kriging correlation vector
Definition: DataModel.hpp:243
SurrBasedMinimizer(ProblemDescDB &problem_db, Model &model, std::shared_ptr< TraitsBase > traits)
constructor
Definition: SurrBasedMinimizer.cpp:61
DakotaROLObjectiveGrad(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:545
bool vendorNumericalGradFlag
convenience flag for gradient_type == numerical && method_source == vendor
Definition: DakotaMinimizer.hpp:312
GeneticAlgorithm * ExtractAllData(const AlgorithmConfig &algConfig)
Reads all required data from the problem description database stored in the supplied algorithm config...
Definition: JEGAOptimizer.cpp:635
PebbldBranchSub()
Constructor.
Definition: PEBBLBranching.cpp:35
Class for the LHS-based interval methods within DAKOTA/UQ.
Definition: NonDLHSInterval.hpp:32
int procsPerIterator
partition size request
Definition: IteratorScheduler.hpp:173
bool w_parallel_level_defined() const
test current parallel configuration for definition of world parallel level
Definition: ParallelLibrary.hpp:1178
void reset()
set Pecos::TensorProductDriver::quadOrder to dimension orders indicated by quadOrderSpec & dimPrefSpe...
Definition: NonDQuadrature.hpp:198
void discrete_int_variable_label(const String &div_label, size_t index)
set an active discrete integer variable label
Definition: DakotaVariables.hpp:1106
ParamResponsePair & operator=(const ParamResponsePair &pair)
assignment operator
Definition: ParamResponsePair.hpp:215
void active_bounds(const Constraints &cons)
copy active {cv,div,drv} {lower,upper} bounds from incoming object
Definition: DakotaConstraints.hpp:863
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:1067
void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: NonDSparseGrid.cpp:210
double FDCHM
Absolute finite difference step size.
Definition: CONMINOptimizer.hpp:199
Real procVar
The process variance, the multiplier of the correlation matrix.
Definition: GaussProcApproximation.hpp:268
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
Definition: NonDQuadrature.cpp:356
SizetArray active1ACVarMapIndices
"primary" variable mappings for inserting active continuous currentVariables within all continuous su...
Definition: NestedModel.hpp:350
void print_restart(StringArray pos_args, String print_dest)
print a restart file
Definition: restart_util.cpp:210
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NomadOptimizer.hpp:76
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:265
String replacementType
the replacement_type specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:634
void archive_acceptance_chain()
save the final x-space acceptance chain and corresponding function values
Definition: NonDDREAMBayesCalibration.cpp:465
RealVector gammaUncAlphas
alpha factors for the gamma uncertain variables (from the alphas specification in VarCAUV_Gamma)
Definition: DataVariables.hpp:406
unsigned short integrationRefinement
integration refinement type (NO_INT_REFINE, IS, AIS, or MMAIS) provided by refinement specification
Definition: NonDReliability.hpp:85
IntShortMap failCountMap
map linking function evaluation id's to number of response read failures
Definition: SysCallApplicInterface.hpp:92
short interfaceSynchronization
interface synchronization specification: synchronous (default) or asynchronous
Definition: ApplicationInterface.hpp:466
bool coreActive
whether the ResultsManager has an active in-core database
Definition: ResultsManager.hpp:375
NonDSurrogateExpansion(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDSurrogateExpansion.cpp:30
void center_matrix_cols(RealMatrix &mat)
center the incoming matrix columns by their means, in-place
Definition: dakota_data_util.cpp:297
String location
Link name of the HDF5 object to add attributes to.
Definition: ResultsDBHDF5.hpp:82
virtual void compute_statistics()
Compute final stats for MCMC chains.
Definition: NonDBayesCalibration.cpp:2610
int cyl_head()
the cylinder head constrained optimization test fn
Definition: TestDriverInterface.cpp:902
void set_surrogate_usage(std::string useSurrogate)
publishes surrogate usage
Definition: NomadOptimizer.hpp:286
std::list< DataInterface >::iterator dataInterfaceIter
iterator identifying the active list node in dataInterfaceList
Definition: ProblemDescDB.hpp:490
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:1127
void compute_vbd_stats(const size_t num_samples, const IntResponseMap &resp_samples)
compute VBD-based Sobol indices
Definition: DakotaAnalyzer.cpp:444
String dataDistType
the type of data distribution: kde, or gaussian
Definition: DataMethod.hpp:1240
String responsesPointer
string pointer to the responses specification to be used by this model (from the responses_pointer sp...
Definition: DataModel.hpp:111
unsigned short exportApproxVarianceFormat
tabular format for the approx variance export file
Definition: DataModel.hpp:198
void clear_inactive()
clear inactive data stored in the approxInterface
Definition: DataFitSurrModel.hpp:807
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:269
void increment_grid()
increment SSG level/TPQ order
Definition: NonDCubature.cpp:165
RealVector origNonlinEqTargets
original nonlinear equality constraint targets (no relaxation)
Definition: SurrBasedMinimizer.hpp:175
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:360
Real compute_rmspe()
Using the validationSet, compute the RMSE over the surface.
Definition: NonDAdaptiveSampling.cpp:1371
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:165
IntSetArray discreteDesignSetInt
complete set of admissible values for each of the discrete design variables defined by an integer set...
Definition: DataVariables.hpp:263
bool restartFileFlag
used to manage a user request to deactivate the restart file (i.e., insertions into write_restart).
Definition: ApplicationInterface.hpp:490
void fine_grained_evaluation_counters()
request fine-grained evaluation reporting within subModel
Definition: RecastModel.hpp:1167
int iteratorCommRank
processor rank within iteratorComm
Definition: ApplicationInterface.hpp:412
bool statsFlag
flags computation/output of statistics
Definition: NonDSampling.hpp:352
size_t numFunctions
number of response functions
Definition: DakotaAnalyzer.hpp:179
const String & read_restart_file() const
restart file base name (no tag)
Definition: ProgramOptions.cpp:147
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:1453
Real bigRealBoundSize
cutoff value for inequality constraint and continuous variable bounds
Definition: DakotaMinimizer.hpp:248
const RealSymMatrix & hessian(const Variables &vars) override
retrieve the approximate function Hessian for a given parameter vector x
Definition: SurfpackApproximation.cpp:553
Real apply_covariance(const RealVector &residual) const override
method to compute the triple product v'*inv(C)*v.
Definition: ExperimentResponse.cpp:101
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:3249
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:761
void read(MPIUnpackBuffer &s)
read a DataEnvironment object from a packed MPI buffer
Definition: DataEnvironment.hpp:219
StringArray discreteRealAleatoryUncLabels
labels for all discrete real aleatory uncertain variables
Definition: DataVariables.hpp:755
size_t response_size() const
return (potentially aggregated) size of response vector in currentResponse
Definition: DakotaModel.hpp:2737
static std::string init_startup_path()
Initializes class member, startupPATH.
Definition: WorkdirHelper.cpp:151
static RealArray rawData
static data used by static rank_sort() fn
Definition: NonDLHSSampling.hpp:174
void calculate_kde()
calculate a Kernel Density Estimate (KDE) for the posterior samples
Definition: NonDBayesCalibration.cpp:2896
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:1067
virtual void update_samples_from_order_decrement()
update (restore previous) numSamplesOnModel after an order decrement
Definition: NonDExpansion.cpp:1917
size_t solution_level_cost_index() const
return active entry in subModel::solnControlCostMap
Definition: RecastModel.hpp:877
size_t numSymbols
current number of symbols to be used in generating the sample set (inversely related to number of rep...
Definition: DDACEDesignCompExp.hpp:108
~NonlinearCGOptimizer()
destructor
Definition: NonlinearCGOptimizer.cpp:67
std::map< size_t, ParConfigLIter > parallel_configuration_iterator_map() const
return methodPCIterMap
Definition: DakotaIterator.hpp:635
SurrogateModel(ProblemDescDB &problem_db)
constructor
Definition: SurrogateModel.cpp:31
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:586
void initialize_products()
initialize covariance accumulators (also reinitialize after change in stats type)
Definition: PecosApproximation.hpp:446
virtual void rebuild_approximation()
incremental rebuild of an existing SurrogateModel approximation
Definition: DakotaModel.cpp:3940
size_t idsv() const
returns number of inactive discrete string vars
Definition: DakotaModel.hpp:1783
IntVector discreteDesignRangeUpperBnds
upper bounds array for the discrete design variables defined by an integer range(from the discrete_de...
Definition: DataVariables.hpp:244
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDMultilevelStochCollocation.cpp:190
virtual bool restart_file(bool recurse_flag=true) const
Indicates the usage of a restart file by the Model.
Definition: DakotaModel.cpp:5900
VariablesArray allVariables
array of all variables to be evaluated in evaluate_parameter_sets()
Definition: DakotaAnalyzer.hpp:188
void run_chain()
short term option to restart the MCMC chain with updated proposal density computed from the emulator ...
Definition: NonDQUESOBayesCalibration.cpp:137
int numPushforwardSamples
Number of samples from the prior that is pushed forward through the model to obtain the initial set o...
Definition: DataMethod.hpp:1238
int discrete_int_upper_bound(size_t i) const
return an active discrete int upper bound from userDefinedConstraints
Definition: DakotaModel.hpp:2888
short discrepPolyOrder
specify polynomial or trend order for discrepancy correction
Definition: NonDBayesCalibration.hpp:373
RealVector prevSubProbSoln
previous solution to EIF approximation sub-problem
Definition: EffGlobalMinimizer.hpp:287
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:261
bool stdRegressionCoeffs
flags computation/output of standardized regression coefficients
Definition: NonDSampling.hpp:336
int evalCommRank
processor rank within evalComm
Definition: ApplicationInterface.hpp:226
std::vector< double > constrMapMultipliers
multipliers for constraint transformations
Definition: NomadOptimizer.hpp:221
void parallel_interface_plugin(Dakota::LibraryEnvironment &env)
Convenience function to plug a library client's interface into the appropriate model,...
Definition: library_mode.cpp:420
void update()
propagate any numSamples updates and/or grid updates/increments
Definition: NonDQuadrature.hpp:241
NonDGenACVSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDGenACVSampling.cpp:35
unsigned short integrand_order() const
return cubIntOrder
Definition: NonDCubature.hpp:120
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:1081
int barnes()
barnes test for SBO perforamnce from Rodriguez, Perez, Renaud, et al.
Definition: TestDriverInterface.cpp:4121
BitArray discreteStateRangeCat
is each dsr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:635
Weighting specialization of RecastModel.
Definition: WeightingModel.hpp:25
String posteriorSamplesImportFilename
The filename of the import file containing samples at which the posterior will be evaluated.
Definition: DataMethod.hpp:1258
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:769
StringArray discreteStrEpistemicUncLowerBnds
distribution lower bounds for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:781
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:136
void evaluate_batch(bool rebuild)
evaluate batch in parallel and replace liar responses
Definition: EffGlobalMinimizer.cpp:529
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:2006
RealList linIneqConMappingMultipliers
a list of multipliers for mapping the DAKOTA linear inequality constraints to the corresponding NOWPA...
Definition: NOWPACOptimizer.hpp:90
void check_mi_index(size_t &index) const
process _NPOS default and perform error checks
Definition: ParallelLibrary.hpp:1441
boost::basic_regex< bfs::path::value_type > wildCardRegEx
archived RegEx; wchar-based on Windows
Definition: WorkdirHelper.hpp:100
String outputFilename
the name of the output file (empty when constructed from pointer)
Definition: OutputManager.hpp:56
IntSet completionSet
the set of completed fn_eval_id's populated by wait_local_evaluations() and test_local_evaluations()
Definition: ApplicationInterface.hpp:257
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:307
DataResponsesRep()
constructor
Definition: DataResponses.cpp:21
short refinementType
refinement type for stochastic expansions from dimension refinement keyword group
Definition: DataMethod.hpp:908
Optimizer & dakOpt
reference to the DakotaOptimizer
Definition: APPSEvalMgr.hpp:101
bool trackEvalIds
flag to activate the tracking of evaluation ids within surrogate data
Definition: ApproximationInterface.hpp:239
virtual void print_sobol_indices(std::ostream &s)
print global sensitivity indices
Definition: NonDExpansion.cpp:3999
unsigned short exportVarianceFormat
file export format for variables and approximate response variance
Definition: DataFitSurrModel.hpp:472
virtual void create_tabular_datastream()
create a tabular output stream for automatic logging of vars/response data
Definition: DakotaModel.cpp:3343
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:560
size_t idiv_start() const
get start index of inactive discrete int vars
Definition: SharedVariablesData.hpp:1714
virtual ~COLINTraits()
destructor
Definition: COLINOptimizer.hpp:41
void approximate_control_variate_online_pilot()
Definition: NonDACVSampling.cpp:86
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:505
std::string sysCommand
The command string that is constructed through one or more << insertions and then executed by flush.
Definition: CommandShell.hpp:72
SizetMultiArray allDiscreteStringIds
array of 1-based ids (into total variable set) for discrete string
Definition: SharedVariablesData.hpp:308
void set_communicators_checks(int max_eval_concurrency)
Definition: SysCallApplicInterface.hpp:136
void barrier_i(size_t index=_NPOS)
enforce MPI_Barrier on an iterator communicator
Definition: ParallelLibrary.hpp:1931
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:1240
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:390
Real meritFnStar
minimum penalized response from among truth build data
Definition: EffGlobalMinimizer.hpp:284
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:149
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:2761
BitArray adiv_to_all_mask() const
create a BitArray indicating the all discrete int subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1315
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:820
bool modelEvidence
flag indicating calculation of the evidence of the model
Definition: DataMethod.hpp:1127
virtual int recommended_points(bool constraint_flag) const
returns the recommended number of points required to build a particular ApproximationInterface (used ...
Definition: DakotaInterface.cpp:978
String fitnessType
the fitness assessment operator to use.
Definition: DataMethod.hpp:680
void discrete_string_variable_label(const String &dsv_label, size_t index)
set an active discrete string variable label
Definition: DakotaVariables.hpp:1130
void size_all_labels()
size all{Continuous,DiscreteInt,DiscreteString,DiscreteReal}Labels, with or without discrete relaxati...
Definition: SharedVariablesData.hpp:531
void writeCovMat(char[])
Writes out the covariance matrix to a specified file.
Definition: GaussProcApproximation.cpp:1252
void increment_order()
increments polynomial expansion order (PCE, FT)
Definition: SharedC3ApproxData.cpp:261
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:1272
ResultsNames results_names
Copy of valid results names for when manager is passed around.
Definition: ResultsManager.hpp:198
void all_discrete_int_label(const String &div_label, size_t index)
set discrete integer label at index start
Definition: SharedVariablesData.hpp:1440
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:117
BitArray binomialUncCat
is each binomial var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:474
A sample namespace for derived classes that use assign_rep() to plug facilities into DAKOTA.
Definition: PluginParallelDirectApplicInterface.cpp:23
short rbfMinPartition
minimum partition for radial basis function approximation
Definition: DataModel.hpp:259
SizetSet surrogateFnIndices
for mixed response sets, this array specifies the response function subset that is approximated
Definition: SurrogateModel.hpp:195
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:755
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:3024
void initialize_run()
utility function to perform common operations prior to pre_run(); typically memory initialization; se...
Definition: DakotaNonD.hpp:437
Real continuous_lower_bound(size_t i) const
return an active continuous variable lower bound
Definition: DakotaConstraints.hpp:461
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:217
SizetArray primaryADSVarMapIndices
"primary" all discrete string variable mapping indices flowed down from higher level iteration
Definition: EnsembleSurrModel.hpp:331
The derived input file database utilizing the new IDR parser.
Definition: NIDRProblemDescDB.hpp:37
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
Definition: NonDCubature.cpp:136
void enforce_input_rules()
enforce sanity checks/modifications for the user input specification
Definition: PSUADEDesignCompExp.cpp:292
IntVector initialDIVPoint
the discrete int start point for vector and centered parameter studies
Definition: ParamStudy.hpp:206
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:974
virtual void init_communicators_checks(int max_eval_concurrency)
perform construct-time error checks on the parallel configuration
Definition: ApplicationInterface.cpp:275
Model approxSubProbModel
recast model which assimilates either (a) mean and variance to solve the max(EIF) sub-problem (used b...
Definition: EffGlobalMinimizer.hpp:275
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:222
int numChains
number of concurrent chains
Definition: NonDDREAMBayesCalibration.hpp:102
Container class for a variables object, a response object, and an evaluation id.
Definition: ParamResponsePair.hpp:44
String advancedOptionsFilename
file containing advanced ROL option overrides
Definition: DataMethod.hpp:1148
const StringRealMapArray & get_srma(const String &entry_name) const
get an StringRealMapArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1840
void parse_tracking_string(const std::string &dt)
Populate serverList with tracker and proxy URLs from dt.
Definition: TrackerHTTP.cpp:137
EvaluationsDBState modelEvaluationsDBState
Whether to write model evals to the evaluations DB.
Definition: DakotaModel.hpp:1474
bool trackExtremeValues
flag for tracking min/max values encountered when evaluating samples
Definition: NonDAdaptImpSampling.hpp:171
size_t globalIterCntr
global iteration counter for number of surrogate-based min/max solves
Definition: NonDGlobalInterval.hpp:184
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:1513
StringArray primaryRespFnSense
optimization sense for each objective function: minimize or maximize
Definition: DataResponses.hpp:114
UShortArray discIntVarPartitions
number of partitions for each discrete integer variable in a multidim_parameter_study
Definition: ParamStudy.hpp:260
virtual Real covariance(Approximation &approx_2)
return the covariance between two response expansions, treating all variables as random
Definition: DakotaApproximation.cpp:562
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:245
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:753
NCSUTraits()
default constructor
Definition: NCSUOptimizer.hpp:31
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:552
bool onlineCost
indicates use of online cost recovery rather than offline user-specified cost ratios
Definition: NonDEnsembleSampling.hpp:186
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NLSSOLLeastSq.hpp:40
void update_continuous_variables_active_complement_from_model(const Model &model)
update complement of active continuous variables/bounds/labels from subModel
Definition: RecastModel.cpp:1169
IntVector finalDIVPoint
the discrete int range value or set index ending point for vector_parameter_study
Definition: ParamStudy.hpp:216
IntVector approxDIUpperBnds
approximation continuous upper bounds
Definition: SharedApproxData.hpp:271
bool backfillFlag
the backfill option allows one to augment in LHS sample by enforcing the addition of unique discrete ...
Definition: DataMethod.hpp:867
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:195
bool derived_master_overload() const
flag which prevents overloading the master with a multiprocessor evaluation (request forwarded to use...
Definition: SimulationModel.hpp:348
py::dict params_to_dict() const
Translate Dakota parameters into returned Python dictionary in numpy or array format.
Definition: Pybind11Interface.cpp:207
The Graphics class provides a single interface to 2D (motif) and 3D (PLPLOT) graphics; there is only ...
Definition: DakotaGraphics.hpp:34
void pop_grid_increment()
removes a previously computed grid increment
Definition: NonDSparseGrid.hpp:257
Real delta_variance()
return the change in variance resulting from expansion refinement, where all active variables are ran...
Definition: PecosApproximation.hpp:581
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: DOTOptimizer.hpp:83
bool adaptPosteriorRefine
flag indicating adaptive refinement of the emulator in regions of high posterior probability
Definition: DataMethod.hpp:1107
void process_asynch_local(int fn_eval_id)
process a completed asynchronous local evaluation
Definition: ApplicationInterface.cpp:2947
RealVector linearEqConTargets
linear equality constraint targets
Definition: DakotaConstraints.hpp:394
void assign_key_index(size_t key_index)
extract and assign i-th embedded active key
Definition: DakotaApproximation.hpp:457
bool compactMode
switch for allSamples (compact mode) instead of allVariables (normal mode)
Definition: DakotaAnalyzer.hpp:186
Base class for the interface class hierarchy.
Definition: DakotaInterface.hpp:56
void merge_grid()
helper function to manage different grid merge cases
Definition: NonDExpansion.cpp:1248
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:1038
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:431
bool compute_step()
compute step: fixed, simple decrease, sufficient decrease
Definition: NonlinearCGOptimizer.cpp:226
int steady_state_diffusion_1d()
solve the 1d steady-state diffusion eqn with uncertain field diffusivity
Definition: TestDriverInterface.cpp:1966
PRPCacheOIter PRPCacheIter
default cache iterator <0>
Definition: PRPMultiIndex.hpp:180
UShortMultiArrayConstView all_discrete_string_variable_types() const
return all discrete variable types from currentVariables
Definition: DakotaModel.hpp:2279
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:627
void initialize_level_data()
convenience function for initializing/warm starting MPP search data for each response function prior ...
Definition: NonDLocalReliability.cpp:1231
SizetSizetPairArray costMetadataIndices
indices of cost data within response metadata, one per model form
Definition: NonDEnsembleSampling.hpp:188
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:118
void offset(const RealVector &x, RealVector &s)
based on minX, apply offset scaling to x to define s
Definition: QMEApproximation.cpp:370
void configure_pecos_options()
configure expansion and basis configuration options for Pecos polynomial approximations
Definition: NonDExpansion.cpp:572
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:159
UShortMultiArrayConstView all_discrete_int_variable_types() const
return all discrete variable types
Definition: DakotaVariables.hpp:1743
void concatenate_restart(StringArray pos_args)
concatenate multiple restart files
Definition: restart_util.cpp:814
Definition: EffGlobalMinimizer.hpp:64
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:896
void multilevel_control_variate_mc_Qcorr()
Perform multilevel Monte Carlo across levels in combination with control variate Monte Carlo across m...
Definition: NonDMultilevControlVarSampling.cpp:342
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:277
void post_process_samples()
post-process the output from executing lhsSampler
Definition: NonDLHSEvidence.cpp:38
void derived_set_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
set active parallel configuration within subModel
Definition: RecastModel.hpp:1094
void copy_data(const MatrixXd &src_mat, RealMatrix &dst_mat)
Copy data from Eigen::MatrixXd to RealMatrix.
Definition: dakota_data_util.cpp:355
Generic uncertainty quantification with Model-based stochastic expansions.
Definition: NonDSurrogateExpansion.hpp:29
DiscrepancyCorrection & discrepancy_correction()
return the DiscrepancyCorrection object used by SurrogateModels
Definition: DataFitSurrModel.hpp:577
unsigned short exportDiscrepFormat
tabular format for model discrepancy export file
Definition: DataMethod.hpp:1200
RealSymMatrixArray fnHessiansMeanX
response function Hessians evaluated at mean x
Definition: NonDLocalReliability.hpp:292
NonDGPImpSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDGPImpSampling.cpp:39
RealVector solution_level_costs() const
return cost estimates from subModel::solnControlCostMap
Definition: RecastModel.hpp:881
Real avgEstVarRatio
average estimator variance ratio (1 - R^2) for model graph: the ratio of final estimator variance (op...
Definition: NonDNonHierarchSampling.hpp:82
size_t div() const
get number of active discrete int vars
Definition: SharedVariablesData.hpp:1678
int recastModelEvalCntr
local evaluation id counter used for id mapping
Definition: RecastModel.hpp:548
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDMultilevelPolynomialChaos.cpp:300
ParLevLIter eaPLIter
list iterator identifying the evaluation-analysis parallelLevel (there can only be one)
Definition: ParallelLibrary.hpp:497
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:460
void init_comms_bcast_flag(bool icb_flag)
set initCommsBcastFlag
Definition: DakotaModel.hpp:3729
double * conminUpperBnds
Array of upper bounds used by CONMIN (length N1 = numdv+2)
Definition: CONMINOptimizer.hpp:221
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...
short setUpType
controls iteration mode: SETUP_MODEL (normal usage) or SETUP_USERFUNC (user-supplied functions mode f...
Definition: NCSUOptimizer.hpp:129
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:699
void push_approximation()
Definition: ApproximationInterface.hpp:472
short allocationTarget
the allocationTarget selection in MethodMultilevelMC
Definition: DataMethod.hpp:1054
size_t maxSolverIterations
maximum number of internal solver iterations allowed for the method (from the max_solver_iterations s...
Definition: DataMethod.hpp:320
void init_metadata() override
default clear metadata in Recasts; derived classes can override to no-op
Definition: WeightingModel.hpp:47
size_t numHistogramBinUncVars
number of histogram bin uncertain variables (from the histogram_bin_uncertain specification in VarAUV...
Definition: DataVariables.hpp:159
std::shared_ptr< Pecos::CubatureDriver > cubDriver
convenience pointer to the numIntDriver representation
Definition: NonDCubature.hpp:98
const Variables & variables_results() const
return the final environment solution (variables)
Definition: DakotaEnvironment.hpp:204
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:190
void free(MPI_Request &request)
free an MPI_Request
Definition: ParallelLibrary.hpp:2017
const RealMatrix & linear_eq_constraint_coeffs() const
return the linear equality constraint coefficients
Definition: DakotaConstraints.hpp:1048
void sdv_to_realarray(const Pecos::SurrogateDataVars &sdv, RealArrayType &ra)
aggregate {continuous,discrete int,discrete real} variables from SurrogateDataVars into ra
Definition: SharedSurfpackApproxData.hpp:179
bool gpModelFlag
flag indicating use of GP surrogate emulation
Definition: NonDGlobalInterval.hpp:154
UShortSetArray reverseActiveDAG
reverse of active DAG: for each model, the set of models that point to it
Definition: NonDGenACVSampling.hpp:207
RealVector statsStar
stats of the best refinement candidate for the current model indices
Definition: NonDExpansion.hpp:534
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:448
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:1638
virtual void initialize_final_statistics()
initializes finalStatistics for storing NonD final results
Definition: DakotaNonD.cpp:278
py::function py11CallBack
callback function for analysis driver
Definition: Pybind11Interface.hpp:73
short pointsManagement
configuration for points management in build_global()
Definition: DataFitSurrModel.hpp:454
size_t num_samples() const
Definition: NonDSparseGrid.hpp:265
void user_space_to_iterator_space(const Variables &user_vars, const Response &user_resp, Variables &iter_vars, Response &iter_resp)
employ the model recursion to transform from bottom level user-space data to top level iterator-space...
Definition: DakotaModel.cpp:3181
const IntResponseMap & synchronize_nowait()
executes a nonblocking schedule for asynchronous evaluations in the beforeSynchCorePRPQueue and retur...
Definition: ApplicationInterface.cpp:823
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:138
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:526
Real value(const Variables &vars) override
Return the value of the Surfpack surface for a given parameter vector x.
Definition: SurfpackApproximation.cpp:523
UShortMultiArrayConstView discrete_int_variable_types() const
return the active discrete variable types from currentVariables
Definition: DakotaModel.hpp:1975
void initialize()
shared constructor initializations
Definition: SurrBasedLocalMinimizer.cpp:84
size_t numBetaUncVars
number of beta uncertain variables (from the beta_uncertain specification in VarAUV)
Definition: DataVariables.hpp:144
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:209
bool crossValidateFlag
flag indicating the use of cross validation on the metrics specified
Definition: DataModel.hpp:297
bool adaptPosteriorRefine
flag indicating usage of adaptive posterior refinement; currently makes sense for unstructured grids ...
Definition: NonDBayesCalibration.hpp:456
void GPmodel_build()
Function to compute hyperparameters governing the GP.
Definition: GaussProcApproximation.cpp:221
SharedApproxData & shared_approximation()
retrieve the SharedApproxData within an ApproximationInterface
Definition: ApproximationInterface.hpp:584
size_t miPLIndex
the index of the active metaiterator-iterator parallelism level (corresponding to ParallelConfigurati...
Definition: SurrogateModel.hpp:229
void nested_response_mappings(const RealMatrix &primary_coeffs, const RealMatrix &secondary_coeffs)
set primaryResponseCoefficients, secondaryResponseCoefficients within derived Iterators; Necessary fo...
Definition: NonDMultilevelSampling.hpp:591
static Optimizer * optimizerInstance
pointer to Optimizer instance used in static member functions
Definition: DakotaOptimizer.hpp:537
IntVector discreteIntEpistemicUncVars
array of values for all discrete integer epistemic uncertain variables
Definition: DataVariables.hpp:767
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: TANA3Approximation.cpp:41
QMEApproximation()
default constructor
Definition: QMEApproximation.hpp:102
Definition: ROLOptimizer.hpp:304
const RealVectorArray & get_rva(const String &entry_name) const
get a RealVectorArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1702
short surrBasedLocalSubProbCon
SBL approximate subproblem constraints: NO_CONSTRAINTS, LINEARIZED_CONSTRAINTS, or ORIGINAL_CONSTRAIN...
Definition: DataMethod.hpp:462
StringArray hybridMethodPointers
array of methods for the sequential and collaborative hybrid meta-iterators (from the method_pointer_...
Definition: DataMethod.hpp:384
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:162
bool resetStep
whether to reset step with each linesearch
Definition: NonlinearCGOptimizer.hpp:109
void post_push()
clean up popped bookkeeping following push
Definition: SharedPecosApproxData.hpp:235
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:1120
size_t push_index(const Pecos::ActiveKey &key)
return index for restoring trial set within stored data sets
Definition: SharedC3ApproxData.hpp:717
bool user_modes() const
are any non-default, user-specified run modes active?
Definition: ProgramOptions.cpp:175
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:1719
static void initialize()
initialize (at runtime) cached values for paths and environment
Definition: WorkdirHelper.cpp:70
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:2397
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:729
bool adaptOrder
C3 FT can support CV over polynomial order in addition to adapt_rank.
Definition: SharedC3ApproxData.hpp:234
StringArray metaDataLabels
labels for optional metadata
Definition: DirectApplicInterface.hpp:189
Real mutationScale
the mutation_scale specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:591
virtual bool accepts_multiple_points() const
indicates if this iterator accepts multiple initial points. Default return is false....
Definition: DakotaIterator.cpp:1575
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:72
void open_tabular_datastream()
open the tabular datastream on iterator leaders
Definition: OutputManager.cpp:424
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:1906
A version of TraitsBase specialized for OptDarts.
Definition: OptDartsOptimizer.hpp:34
RealList nonlinIneqConMappingMultipliers
a list of multipliers for mapping the DAKOTA nonlinear inequality constraints to the corresponding NO...
Definition: NOWPACOptimizer.hpp:80
size_t numCandidateDesigns
number of candidate designss in D-optimal design selection
Definition: DataMethod.hpp:1016
size_t adsv() const
total number of discrete string vars
Definition: DakotaVariables.hpp:788
size_t numHistogramPtIntUncVars
number of integer-valued histogram point uncertain variables (from the histogram_point_uncertain spec...
Definition: DataVariables.hpp:177
bool constantPenalty
the constant_penalty flag for COLINY methods in MethodSCOLIBPS and MethodSCOLIBSW
Definition: DataMethod.hpp:562
RealVector exponentialUncVars
initial values of the exponential uncertain variables (from the initial_point specification in VarCAU...
Definition: DataVariables.hpp:388
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:950
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:273
size_t numHistogramPtStrUncVars
number of string-valued histogram point uncertain variables (from the histogram_point_uncertain speci...
Definition: DataVariables.hpp:180
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:2827
virtual int synchronous_local_analysis(int analysis_id)
Execute a particular analysis (identified by analysis_id) synchronously on the local processor....
Definition: ApplicationInterface.hpp:640
virtual void construct_basis(const Pecos::MultivariateDistribution &mv_dist)
construct the shared basis for an expansion-based approximation
Definition: SharedApproxData.cpp:484
Real convergenceTolerance
iteration convergence tolerance for the method (from the convergence_tolerance specification in Metho...
Definition: DataMethod.hpp:345
const String & input_file() const
Dakota input file base name (no tag)
Definition: ProgramOptions.cpp:117
unsigned linesearchType
type of line search (if any)
Definition: NonlinearCGOptimizer.hpp:105
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:266
IntArray messageLengths
length of packed MPI buffers containing vars, vars/set, response, and PRPair
Definition: DakotaModel.hpp:1480
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:47
~FSUDesignCompExp()
destructor
Definition: FSUDesignCompExp.cpp:177
StringMultiArrayConstView discrete_string_variables() const
return the active discrete string variables (Note: returns a view by const reference,...
Definition: DakotaVariables.hpp:874
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:331
size_t maxIterations
maximum number of iterations for the method
Definition: DakotaIterator.hpp:496
virtual void push_approximation()
retrieves approximation data from a previous state (negates pop)
Definition: DakotaInterface.cpp:1223
const String & variables_id() const
returns the variables identifier string
Definition: DakotaVariables.hpp:1779
void warm_start_flag(const bool flag)
set the warm start flag, including the orderedModels
Definition: RecastModel.hpp:1186
int intWorkSpaceSize
size of intWorkSpace
Definition: SOLBase.hpp:152
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:1291
~ExperimentResponse()
destructor
Definition: ExperimentResponse.hpp:120
int burnInSamples
number of MCMC samples to discard from acceptance chain
Definition: DataMethod.hpp:1167
int numEmulEval
the number of points evaluated by the GP each iteration
Definition: NonDGPImpSampling.hpp:100
void continuous_variable_id(size_t cv_id, size_t index)
set an active continuous variable position identifier
Definition: DakotaVariables.hpp:1376
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:984
unsigned short interfEvalsSelection
Interfaces selected to store their evaluations.
Definition: OutputManager.hpp:371
void compute_total_effects()
Performs global sensitivity analysis using Sobol' indices by computing total effects.
Definition: PecosApproximation.hpp:402
RealVector varH
variances for HF truth (length numFunctions)
Definition: NonDEnsembleSampling.hpp:208
~NonDGlobalReliability()
destructor
Definition: NonDGlobalReliability.cpp:351
void abort_helper(int code)
finalize MPI with correct communicator for abort
Definition: ParallelLibrary.cpp:1184
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:822
String solutionLevelControl
(state) variable identifier that defines a set or range of solution level controls (space/time discre...
Definition: DataModel.hpp:128
IntSet idNumericalHessians
mixed Hessian numerical identifiers (from the id_numerical_hessians specification in RespHessMixed)
Definition: DataResponses.hpp:236
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:442
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:821
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:358
const Pecos::SurrogateData & approximation_data(size_t fn_index)
retrieve the approximation data from a particular Approximation within an ApproximationInterface
Definition: ApproximationInterface.hpp:593
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:1764
void combine_coefficients()
combine all level approximations into a single aggregate approximation
Definition: C3Approximation.cpp:564
Definition: ROLOptimizer.hpp:134
~NestedModel()
destructor
Definition: NestedModel.hpp:435
Real l2Penalty
L2 penalty for LASSO algorithm (elastic net variant)
Definition: NonDPolynomialChaos.hpp:228
void increment_grid_weights()
increment ssgDriver::ssgLevel based on existing anisotropic weighting
Definition: NonDSparseGrid.hpp:158
Wrapper class for the OPT++ optimization library.
Definition: SNLLOptimizer.hpp:114
RealVector initialPtU
stores the initial variables data in u-space
Definition: NonDExpansion.hpp:507
short multilevAllocControl
the allocation_control selection in MethodMultilevelPCE
Definition: DataMethod.hpp:1064
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:337
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:1054
Real approxVariance
value of the approximation returned by prediction_variance()
Definition: VPSApproximation.hpp:194
void update_linear_constraints(const Constraints &cons)
copy linear constraint data between existing Constraints objects
Definition: DakotaConstraints.cpp:368
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:165
Model & surrogate_model(size_t i=_NPOS)
return approxModels[i]
Definition: EnsembleSurrModel.hpp:838
Iterator gpEval
LHS iterator for sampling on the GP.
Definition: NonDGPImpSampling.hpp:89
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
DAGSolutionData mfmcSolnData
final solution data for MFMC (default DAG = 1,2,...,numApprox)
Definition: NonDMultifidelitySampling.hpp:207
Model & iterated_model()
return the iteratedModel (iterators & meta-iterators using a single model instance)
Definition: DakotaIterator.hpp:646
void integer_variable_mapping(int i_var, size_t av_index, short svm_target)
insert i_var into appropriate recipient
Definition: NestedModel.cpp:2722
A version of TraitsBase specialized for DLSolver.
Definition: DLSolver.hpp:23
RealVector nonlinIneqLowerBndsSlack
individual violations of nonlinear inequality constraint lower bounds
Definition: SurrBasedLocalMinimizer.hpp:238
size_t numDiscreteStringVars
number of active discrete string vars
Definition: DakotaAnalyzer.hpp:182
Iterator hifiSampler
LHS iterator to generate hi-fi model data.
Definition: NonDBayesCalibration.hpp:411
~NonDInterval()
destructor
Definition: NonDInterval.cpp:86
void all_continuous_variable(Real ac_var, size_t index)
set a variable within the all continuous array
Definition: DakotaVariables.hpp:1605
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:630
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:2238
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:29
const IntSet & gradient_id_analytic() const
return the mixed gradient analytic IDs (gradIdAnalytic)
Definition: DakotaModel.hpp:3640
int samplesSpec
initial specification of number of samples
Definition: PSUADEDesignCompExp.hpp:82
bool product_interpolants()
query whether product interpolants are defined (non-empty)
Definition: PecosApproximation.hpp:450
void update_basis_distribution_parameters(const Pecos::MultivariateDistribution &u_dist)
invoke Pecos::SharedPolyApproxData::update_basis_distribution_parameters()
Definition: SharedPecosApproxData.hpp:279
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:344
void initialize_graphics(int iterator_server_id=1)
initialize graphics customized for surrogate-based iteration
Definition: SurrBasedLocalMinimizer.cpp:319
RealVector continuousDesignLowerBnds
lower bounds array for the continuous design variables (from the continuous_design lower_bounds speci...
Definition: DataVariables.hpp:222
void initialize_active_start_counts()
initialize {c,di,ds,dr}vStart and num{D,DI,DS,DR}V
Definition: SharedVariablesData.hpp:555
Definition: Pybind11Interface.hpp:32
short numParallelLevels
number of parallel levels
Definition: ParallelLibrary.hpp:487
int outputPrecision
output precision for tabular and screen output
Definition: DataEnvironment.hpp:93
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:890
const RealVector & inactive_continuous_variables() const
return the inactive continuous variables
Definition: DakotaVariables.hpp:1387
Model & dakotaModel
Dakota problem data provided by user.
Definition: ROLOptimizer.hpp:209
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:385
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: NPSOLOptimizer.hpp:75
virtual SharedApproxData & shared_approximation()
retrieve the shared approximation data within the ApproximationInterface of a DataFitSurrModel
Definition: DakotaModel.cpp:4295
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:735
MPI_Comm dakotaMPIComm
MPI_Comm on which DAKOTA is running.
Definition: MPIManager.hpp:70
std::list< ShortArray > asvList
if estimate_derivatives() is used, transfers ASVs from evaluate_nowait() to synchronize()
Definition: DakotaModel.hpp:1648
void pop(bool save_surr_data)
back out the previous increment to the shared approximation data
Definition: SharedC3ApproxData.hpp:698
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:1454
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:77
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDStochCollocation.cpp:383
UsageTracker()
default construction: no output
Definition: UsageTracker.cpp:23
unsigned short maxCVOrderCandidates
maximum number of expansion order candidates for cross-validation in regression-based PCE
Definition: NonDPolynomialChaos.hpp:201
String postRunInput
filename for post_run input
Definition: DataEnvironment.hpp:74
OPTPP::OptBCQNewton * optbcqnewton
Bnd constrained Quasi-Newton opt ptr.
Definition: SNLLOptimizer.hpp:340
~ProcessHandleApplicInterface()
destructor
Definition: ProcessHandleApplicInterface.hpp:154
NonDExpansion(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDExpansion.cpp:43
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:30
void repair_restart(StringArray pos_args, String identifier_type)
repair a restart file by removing corrupted evaluations
Definition: restart_util.cpp:666
std::vector< RespMetadataT > metaData
metadata storage
Definition: DakotaResponse.hpp:420
virtual bool restart_file() const
return flag indicating usage of the restart file
Definition: DakotaInterface.cpp:1499
const String & command_line_post_run_output() const
postRunOutput fname
Definition: ParallelLibrary.hpp:1373
size_t numCV
number of active continuous variables
Definition: SharedVariablesData.hpp:271
int lenPRPairMessage
length of a MPIPackBuffer containing a ParamResponsePair object; computed in Model::init_communicator...
Definition: ApplicationInterface.hpp:441
The representation of a SharedResponseData instance. This representation, or body,...
Definition: SharedResponseData.hpp:39
Iterator minMaxOptimizer
local gradient-based optimizer
Definition: NonDLocalInterval.hpp:88
unsigned short exportFileFormat
Format of imported posterior samples and values file.
Definition: NonDWASABIBayesCalibration.hpp:110
ConsoleRedirector cerrRedirector
set of redirections for Dakota::Cerr; stores any tagged filename when there are concurrent Iterators ...
Definition: OutputManager.hpp:405
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:157
void core_run()
perform the GP importance sampling and return probability of failure
Definition: NonDGPImpSampling.cpp:153
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:964
int solution_level_int_value() const
return a discrete int variable value corresponding to solnCntlADVIndex
Definition: SimulationModel.cpp:370
const ActiveSet & active_set() const
return the default active set (used by iterators that employ evaluate_parameter_sets())
Definition: DakotaIterator.hpp:756
RealVector nonlinEqTargetsSlack
individual violations of nonlinear equality constraint targets
Definition: SurrBasedLocalMinimizer.hpp:242
RelaxedVariables(const ProblemDescDB &problem_db, const ShortShortPair &view)
standard constructor
Definition: RelaxedVariables.cpp:33
short refineType
refinement type: NO_REFINEMENT, P_REFINEMENT, or H_REFINEMENT
Definition: NonDExpansion.hpp:510
RealMatrix qoiSamplesMatrix
Datastructure to store samples which can be used for bootstrapping.
Definition: NonDLHSSampling.hpp:186
size_t state()
return total number of state variables
Definition: DataVariables.hpp:976
void archive_pdf(size_t fn_index, size_t inc_id=0)
archive a single pdf histogram for specified function
Definition: DakotaNonD.cpp:1515
short emulatorType
the emulator specification in MethodNonDBayesCalib
Definition: DataMethod.hpp:1100
std::shared_ptr< ProblemDescDB > dbRep
pointer to the letter (initialized only for the envelope)
Definition: ProblemDescDB.hpp:524
bool importSurrogate
Option to turn on surrogate model import (import_model)
Definition: DataModel.hpp:208
Real avgEstVar
final estimator variance for targeted moment (usually mean), averaged across QoI
Definition: NonDHierarchSampling.hpp:84
String preRunOutput
filename for pre_run output
Definition: DataEnvironment.hpp:71
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:720
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:3541
ParallelLibrary & parallel_library()
return parallelLib
Definition: DakotaEnvironment.hpp:196
const RealVector & gradient(const Variables &vars)
retrieve the approximate function gradient for a given parameter vector
Definition: TANA3Approximation.cpp:327
const Real * function_gradient(int i) const
return the i-th function gradient as a const Real*
Definition: DakotaResponse.hpp:674
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:128
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:248
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:120
NOWPACTraits()
default constructor
Definition: NOWPACOptimizer.hpp:159
DataModel & operator=(const DataModel &)
assignment operator
Definition: DataModel.cpp:231
void derived_init_serial()
set up SimulationModel for serial operations (request forwarded to userDefinedInterface).
Definition: SimulationModel.hpp:376
void multilevel_control_variate_mc_pilot_projection()
Qcorr approach projecting estimator performance from a pilot sample.
Definition: NonDMultilevControlVarSampling.cpp:782
void unpack(u_long &data)
Unpack a unsigned long.
Definition: MPIPackBuffer.hpp:247
String advancedOptionsFilename
file containing advanced surrogate option overrides
Definition: DataModel.hpp:316
std::string dakotaVersion
DAKOTA version.
Definition: TrackerHTTP.hpp:130
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:667
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:263
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:179
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: APPSOptimizer.hpp:69
virtual void wait_local_evaluations(PRPQueue &prp_queue)
Python supports batch only, not true asynch (this does the work)
Definition: Pybind11Interface.cpp:126
bool pstudyFileActive
whether to import active variables only
Definition: DataMethod.hpp:1282
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:2070
RealVector initialPtUSpec
user specification or default initial guess for local optimization
Definition: NonDLocalReliability.hpp:306
StringMultiArrayConstView continuous_variable_labels() const
return the active continuous variable labels from currentVariables
Definition: DakotaModel.hpp:2444
void execute()
the run function for the environment: invoke the iterator(s) on the model(s). Called from main....
Definition: ExecutableEnvironment.cpp:63
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:487
Model operator=(const Model &model)
assignment operator
Definition: DakotaModel.cpp:352
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:1929
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:739
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:3798
virtual size_t solution_level_cost_index() const
return currently active level within the solution level control (SimulationModel)
Definition: DakotaModel.cpp:3656
void stop_servers()
executed by the master to terminate userDefinedInterface server operations when SimulationModel itera...
Definition: SimulationModel.hpp:412
size_t adiv() const
accumulate all discrete int variables from variablesCompsTotals, allRelaxedDiscreteInt
Definition: SharedVariablesData.hpp:378
SizetMultiArrayConstView continuous_variable_ids() const
return the active continuous variable position identifiers
Definition: DakotaVariables.hpp:1362
bool wilksFlag
Flag to specify use of Wilks formula to calculate num samples.
Definition: DataMethod.hpp:875
std::list< DataResponses >::iterator dataResponsesIter
iterator identifying the active list node in dataResponsesList
Definition: ProblemDescDB.hpp:492
unsigned maxLinesearchIters
maximum evaluations in line search
Definition: NonlinearCGOptimizer.hpp:106
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:119
UShortArraySet::const_iterator bestDAGIter
the best performing model graph among the set from generate_dags()
Definition: NonDGenACVSampling.hpp:213
bool standardizedSpace
flag indicating use of a variable transformation to standardized probability space for the model or e...
Definition: NonDBayesCalibration.hpp:431
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:949
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:179
void DAKOTA_DLL_FN dakota_destroy(int id)
delete Dakota runner instance id and remove from active list
Definition: dakota_dll_api.cpp:290
void update_secondary_response(const Model &model)
update only the secondary response data from subModel
Definition: RecastModel.cpp:1393
void push_output_tag(const ParallelLevel &pl)
conditionally append an iterator server id tag to the hierarchical output tag, manage restart,...
Definition: ParallelLibrary.cpp:1047
SharedVariablesData sharedVarsData
configuration data shared from a Variables instance
Definition: DakotaConstraints.hpp:349
Real probability(Real beta)
Convert reliability to probability using a first-order integration.
Definition: NonDLocalReliability.hpp:380
void check_zeros(const Real *ptr, int ptr_len) const
ensure zeros in removed columns when contracting linear constraints coeffs
Definition: DakotaConstraints.hpp:1160
Container class for numerical solutions for a given DAG.
Definition: NonDNonHierarchSampling.hpp:42
std::map< pid_t, int > analysisProcessIdMap
map of fork process id's to analysis job id's for asynchronous analyses
Definition: ProcessHandleApplicInterface.hpp:130
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:90
virtual void archive_model_variables(const Model &, size_t idx) const
archive model evaluation points
Definition: DakotaAnalyzer.hpp:149
unsigned short dagDepthLimit
depth throttle for partial recursion in generate_dags()
Definition: NonDGenACVSampling.hpp:197
short refinementControl
refinement control for stochastic expansions from dimension refinement keyword group
Definition: DataMethod.hpp:911
std::shared_ptr< Constraints > constraintsRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaConstraints.hpp:450
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NCSUOptimizer.hpp:40
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:491
bool varyPattern
flag for continuing the random number or QMC sequence from a previous execution (e....
Definition: FSUDesignCompExp.hpp:124
int steel_column_cost()
solve a predator prey population dynamics model
Definition: TestDriverInterface.cpp:2841
const SizetArray & components_totals() const
return variable type counts for {continuous,discrete integer,discrete real} {design,...
Definition: SharedVariablesData.hpp:1626
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:134
void combine_approximation()
combine the current approximation with previously stored data sets
Definition: RecastModel.hpp:992
void core_run()
Performs the iterations to determine the optimal solution.
Definition: SNLLOptimizer.cpp:1057
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:269
unsigned short exportCorrVarFormat
tabular format for corrected model variance export file
Definition: DataMethod.hpp:1196
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:158
String method_hdf5_link_name(const StrStrSizet &iterator_id)
Create a method name (HDF5 link name) from iterator_id.
Definition: ResultsDBHDF5.cpp:47
virtual void post_finalize()
clean up popped bookkeeping following aggregation
Definition: SharedApproxData.cpp:411
bool help() const
is help mode active?
Definition: ProgramOptions.cpp:157
void init_evaluation_counters(size_t num_fns)
initialize fine grained evaluation counters, sizing if needed
Definition: DakotaInterface.cpp:391
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:1185
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:1032
RealVectorArray requestedRelLevels
requested reliability levels for all response functions
Definition: DakotaNonD.hpp:331
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:694
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:4134
unsigned short tabularFormat
tabular format options; see enum
Definition: OutputManager.hpp:424
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:402
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:682
LeastSq * prevLSqInstance
pointer containing previous value of leastSqInstance
Definition: DakotaLeastSq.hpp:74
bool warmStartFlag
flag indicating the use of warm starts
Definition: NonDLocalReliability.hpp:334
void ofilter_argument_list()
set argList for execution of the output filter
Definition: ProcessHandleApplicInterface.hpp:208
Iterator approxSubProbMinimizer
the minimizer used on the surrogate model to solve the approximate subproblem on each surrogate-based...
Definition: SurrBasedMinimizer.hpp:156
Perform Approximate Control Variate Monte Carlo sampling for UQ.
Definition: NonDMultifidelitySampling.hpp:33
Model truthModel
the single truth reference model
Definition: EnsembleSurrModel.hpp:287
String outputDir
Temporary string for dumping validation files used in TopoAS visualization.
Definition: NonDAdaptiveSampling.hpp:129
const RealVector & nonlinear_ineq_constraint_upper_bounds() const
return the nonlinear inequality constraint upper bounds
Definition: DakotaModel.hpp:3506
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:436
~NonDCubature()
destructor
Definition: NonDCubature.cpp:76
void update_constraints(const RealVector &fn_vals)
update constraint penalties and multipliers for a single response
Definition: EffGlobalMinimizer.hpp:375
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:519
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:327
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:1390
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:274
Real threshStepLength
the threshStepLength choice for nonlinearly constrained APPS in MethodAPPSDC
Definition: DataMethod.hpp:543
Real solution_level_cost() const
return active cost estimate from subModel::solnControlCostMap
Definition: RecastModel.hpp:885
double * linConstraintMatrixF77
[A] matrix from NPSOL manual: linear constraint coefficients
Definition: SOLBase.hpp:177
RealMatrix field_coords_view(size_t i)
return a "view" of the i-th field's coordinates
Definition: DakotaResponse.hpp:593
short expansionBasisType
type of expansion basis: DEFAULT_BASIS or Pecos::{NODAL,HIERARCHICAL}_INTERPOLANT for SC or Pecos::{T...
Definition: NonDExpansion.hpp:414
void update_var_labels()
update variable labels
Definition: SubspaceModel.cpp:316
bool showAllEval
the DISPLAY_ALL_EVAL specification for NOMAD
Definition: DataMethod.hpp:806
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:495
Model dummy_model
dummy Model object used for mandatory reference initialization or default virtual function return by ...
Definition: DakotaModel.cpp:46
~NonDLHSSingleInterval()
destructor
Definition: NonDLHSSingleInterval.cpp:31
predicate for comparing ONLY the interfaceId and Vars attributes of PRPair
Definition: PRPMultiIndex.hpp:141
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:763
String decompCellType
type of local cell of domain decomp
Definition: DataModel.hpp:276
virtual void sampling_increment()
increment to next in sequence of refinement samples
Definition: DakotaIterator.cpp:1682
size_t adrv() const
total number of discrete real vars
Definition: DakotaVariables.hpp:795
size_t numLeastSqTerms
number of least squares terms
Definition: DakotaLeastSq.hpp:69
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: COLINOptimizer.hpp:49
bool fineGrainEvalCounters
controls use of fn val/grad/hess counters for detailed evaluation report
Definition: DakotaInterface.hpp:391
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:292
RealVector rhoDrawThis
rhoDrawThis, appended locally to hold the rhoDraw density for calculating draws
Definition: NonDGPImpSampling.hpp:125
Real sequence_cost(size_t step, const RealVector &cost)
return aggregate cost (one or more models) for a level sample
Definition: NonDExpansion.hpp:700
void get_process_variance()
Gets the estimate of the process variance given the values of beta and the correlation lengthscales
Definition: GaussProcApproximation.cpp:549
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:499
void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: DDACEDesignCompExp.cpp:185
Real stepLenToBoundary
the steplength_to_boundary specification for nonlinear interior-point methods in MethodOPTPPDC
Definition: DataMethod.hpp:523
Definition: ScilabInterface.hpp:29
size_t numDiscreteStateSetStrVars
number of discrete state variables defined by a set of strings (from the discrete_state_set string sp...
Definition: DataVariables.hpp:210
bool retrievedIterPriFns
whether final primary iterator space functions have been retrieved (possibly by a derived class)
Definition: DakotaLeastSq.hpp:88
Model & dakotaModel
Dakota problem data provided by user.
Definition: ROLOptimizer.hpp:457
RealVector prevICVars
previous design vector. Used for warm-starting initialPtU within RBDO.
Definition: NonDLocalReliability.hpp:324
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:56
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:891
void derived_map_asynch(const Dakota::ParamResponsePair &pair)
no-op hides base error; job batching occurs within wait_local_evaluations()
Definition: PluginParallelDirectApplicInterface.hpp:99
RealVector primaryRespFnScales
vector of primary response function scaling factors (from the objective_function_scales specification...
Definition: DataResponses.hpp:139
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:152
CURL * curlPtr
pointer to the curl handler instance
Definition: TrackerHTTP.hpp:108
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDPolynomialChaos.cpp:852
size_t numSamples
current number of samples to be evaluated
Definition: FSUDesignCompExp.hpp:89
int sobol_ishigami()
Sobol SA transcendental test function.
Definition: TestDriverInterface.cpp:3133
bool diagnostics_available() override
check if the diagnostics are available (true for the Surfpack types)
Definition: SurfpackApproximation.hpp:194
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:299
int iteratorCommSize
size of iteratorComm
Definition: ApplicationInterface.hpp:411
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:2438
unsigned short optSubProblemSolver
SQP or NIP.
Definition: NonDNonHierarchSampling.hpp:310
RelaxedVarConstraints(const SharedVariablesData &svd)
lightweight constructor
Definition: RelaxedVarConstraints.hpp:74
NL2SOLLeastSq(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NL2SOLLeastSq.cpp:29
PRPQueue beforeSynchAlgPRPQueue
used to bookkeep vars/set/response of asynchronous algebraic evaluations. This is the queue of algebr...
Definition: ApplicationInterface.hpp:539
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:405
size_t miPLIndex
index for the active ParallelLevel within ParallelConfiguration::miPLIters
Definition: SurrBasedMinimizer.hpp:188
void add_metadata_to_study(const AttributeArray &attrs)
Associate key:value metadata with the object at the location.
Definition: ResultsManager.cpp:75
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:172
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:322
bool ignoreBounds
option to ignore bounds when doing finite differences (default is to honor bounds)
Definition: DataResponses.hpp:194
RealVector discreteRealUpperBnds
the active discrete upper bounds array view
Definition: DakotaConstraints.hpp:411
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:173
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:278
virtual void combine_approximation()
combine the current approximation with previously stored data sets
Definition: DakotaModel.cpp:4190
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:388
void core_run()
Definition: NonDRKDDarts.cpp:97
Real xftol
false-convergence tolerance (false_conv_tol)
Definition: NL2SOLLeastSq.hpp:136
size_t numLinearIneqCons
number of linear inequality constraints
Definition: DakotaConstraints.hpp:382
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:1319
void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to RecastModel (forward to subModel.evaluate_nowait())
Definition: RecastModel.cpp:543
void launch_batch()
launch all jobs in the variables map queues
Definition: EffGlobalMinimizer.cpp:628
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:114
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:1662
Model & subordinate_model()
return subModel
Definition: RecastModel.hpp:769
unsigned short sampleType
the sample type: default, random, lhs, incremental random, or incremental lhs
Definition: NonDSampling.hpp:314
Real scalar_data(size_t response, size_t experiment)
retrieve the data value for the given response, for the given experiment
Definition: ExperimentData.cpp:841
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:135
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:2633
virtual size_t solution_control_discrete_variable_index() const
return index of solution control variable within all discrete variables
Definition: DakotaModel.cpp:3715
void update_final_statistics()
update finalStatistics and (if MC sampling) finalStatErrors
Definition: NonDLHSSampling.cpp:750
virtual ~Approximation()
destructor
Definition: DakotaApproximation.cpp:222
bool estDerivsFlag
flags presence of estimated derivatives within a set of calls to evaluate_nowait()
Definition: DakotaModel.hpp:1626
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:897
void cache_acceptance_chain()
retrieve the chain from QUESO and populate acceptanceChain / acceptedFnVals
Definition: NonDGPMSABayesCalibration.cpp:599
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:2700
virtual void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1254
UShortArray tensorGridOrder
order of tensor-product grid points that are sub-sampled within orthogonal least interpolation PCE; b...
Definition: DataMethod.hpp:1005
RealVector discreteRealVars
the active discrete real variables array view
Definition: DakotaVariables.hpp:628
bool warmStartFlag
if in warm-start mode, don't reset accumulated data (e.g., quasiHessians)
Definition: DakotaModel.hpp:1461
std::multimap< Real, size_t > solnCntlCostMap
sorted array of relative costs associated with a set of solution levels
Definition: SimulationModel.hpp:206
const RealVectorArray & approximation_coefficients(bool normalized=false)
retrieve the approximation coefficients from each Approximation within an ApproximationInterface
Definition: ApproximationInterface.cpp:933
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:378
bool grid_file_test(const String &root_file)
test file(s) for existence based on root_file name
Definition: GridApplicInterface.cpp:264
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:542
int main(int argc, char *argv[])
A mock simulator main for testing Dakota in library mode.
Definition: library_mode.cpp:100
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:962
int respFnCount
counter for which response function is being analyzed
Definition: NonDReliability.hpp:100
IntArray newFnGradCounter
number of new gradient evaluations by resp fn
Definition: DakotaInterface.hpp:403
int numEvalServers
current number of evaluation servers
Definition: ApplicationInterface.hpp:417
NonDMultifidelitySampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultifidelitySampling.cpp:42
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:229
bool backfillDuplicates
flags whether to use backfill to enforce uniqueness of discrete LHS samples
Definition: NonDSampling.hpp:378
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:1518
bool advancement_available()
query approxInterface for available advancements in order, rank, etc.
Definition: DataFitSurrModel.hpp:811
void compute_col_means(RealMatrix &matrix, RealVector &avg_vals)
Computes means of columns of matrix.
Definition: dakota_data_util.cpp:200
RealVector predictionConfigList
list of prediction configurations at which to calculate model discrepancy
Definition: NonDBayesCalibration.hpp:388
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:241
const SizetArray & get_sza(const String &entry_name) const
get an SizetArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1645
size_t numIDIV
number of inactive discrete integer variables
Definition: SharedVariablesData.hpp:276
SharedResponseData & operator=(const SharedResponseData &srd)
assignment operator
Definition: SharedResponseData.hpp:321
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:308
bool computeAdditive
flag indicating the need for additive correction calculations
Definition: DiscrepancyCorrection.hpp:207
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:1052
const String & command_line_post_run_input() const
postRunInput filename
Definition: ParallelLibrary.hpp:1369
bool variablesDBLocked
prevents use of get_<type> retrieval and set_<type> update functions prior to setting the list node f...
Definition: ProblemDescDB.hpp:515
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:287
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: NLPQLPOptimizer.hpp:92
void get_confidence_intervals(const Variables &native_vars, const Response &iter_resp)
Calculate confidence intervals on estimated parameters.
Definition: DakotaLeastSq.cpp:552
void reset_base()
reset last{FnEvalLocn,EvalMode,EvalVars}
Definition: SNLLBase.hpp:189
RealVector ranVarMeansX
vector of means for all uncertain random variables in x-space
Definition: NonDLocalReliability.hpp:298
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:133
std::shared_ptr< SurfpackModel > spModel
The native Surfpack approximation.
Definition: SurfpackApproximation.hpp:176
const Model & algorithm_space_model() const
Definition: EffGlobalMinimizer.hpp:340
void set_rol_parameters()
Convenience function to map Dakota input and power-user parameters to ROL.
Definition: ROLOptimizer.cpp:361
size_t numDiscSetRealUncVars
number of variables of type DISCRETE_UNCERTAIN_SET_REAL
Definition: NonDInterval.hpp:103
RealVector uniformUncUpperBnds
distribution upper bounds for the uniform uncertain variables (from the upper_bounds specification in...
Definition: DataVariables.hpp:358
virtual const RealMatrix & all_samples()
return the complete set of evaluated samples
Definition: DakotaIterator.cpp:1778
void initialize()
perform any required initialization
Definition: NonDLocalEvidence.cpp:36
virtual void init_serial()
reset certain defaults for serial interface objects.
Definition: DakotaInterface.cpp:941
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:1490
void multifidelity_individual_refinement()
separately refine each of the multifidelity reference expansions
Definition: NonDExpansion.cpp:1460
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:110
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:81
GetLongOpt(const char optmark='-')
Constructor.
Definition: CommandLineHandler.cpp:22
const String & run_output() const
filename for run output
Definition: ProgramOptions.cpp:188
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:320
StringArray hyperparam_labels(unsigned short multiplier_mode) const
generate variable labels for the covariance (error) multiplier hyperparams
Definition: ExperimentData.cpp:2059
const RealVector & all_discrete_real_upper_bounds() const
returns a single array with all discrete upper bounds
Definition: DakotaConstraints.hpp:839
void update_model(Model &model)
update model with data that could change per function evaluation (active variable values/bounds)
Definition: DataFitSurrModel.cpp:438
const Model & algorithm_space_model() const
Definition: NonDGlobalInterval.hpp:197
bool varyPattern
flag for generating a sequence of seed values within multiple get_parameter_sets() calls so that thes...
Definition: NonDSampling.hpp:369
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:256
bool surrBasedGlobalReplacePts
user-specified method for adding points to the set upon which the next surrogate is based in the surr...
Definition: DataMethod.hpp:472
Real discrete_real_upper_bound(size_t i) const
return an active discrete variable upper bound
Definition: DakotaConstraints.hpp:601
Handle class for method specification data.
Definition: DataMethod.hpp:1372
IntResponseMap simResponseMap
map of simulation-based responses returned by derived_synchronize() and derived_synchronize_nowait()
Definition: SimulationModel.hpp:219
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the cumulative distribution functions for belief and plausibility
Definition: NonDInterval.cpp:571
Cell * table
option table
Definition: CommandLineHandler.hpp:129
size_t numHyperGeomUncVars
number of hypergeometric uncertain variables (from the hypergeometric_uncertain specification in VarA...
Definition: DataVariables.hpp:174
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:44
bool modelUseDerivsFlag
flags the use of derivatives in building global approximations (from the use_derivatives specificatio...
Definition: DataModel.hpp:225
RealVector confBoundsUpper
upper bounds for confidence intervals on calibration parameters
Definition: DakotaLeastSq.hpp:81
virtual ~NomadTraits()
destructor
Definition: NomadOptimizer.hpp:70
virtual int first_seed() const
return first seed in sequence specification (defaults to random_seed())
Definition: NonDExpansion.hpp:664
void estvar_ratios_to_avg_estvar(const RealVector &estvar_ratios, const RealVector &var_H, const SizetArray &N_H, Real &avg_est_var)
convert estimator variance ratios to average estimator variance
Definition: NonDEnsembleSampling.hpp:317
RealVector referenceCUBnds
stores a reference copy of active continuous upper bounds when the approximation is built; used to de...
Definition: DataFitSurrModel.hpp:498
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:1661
RealVector gumbelUncVars
initial values of the gumbel uncertain variables (from the initial_point specification in VarCAUV_Gum...
Definition: DataVariables.hpp:421
size_t numSteps
number of model forms/resolution in the (outer) sequence
Definition: NonDEnsembleSampling.hpp:161
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:3903
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:983
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:338
const double BIG_REAL_BOUND
bound beyond which constraints are considered inactive
Definition: dakota_global_defs.hpp:33
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:655
int numFinalEmulEval
number of points evaluated on the final GP
Definition: NonDAdaptiveSampling.hpp:96
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:1123
Derived nondeterministic class that generates N-dimensional numerical integration points for evaluati...
Definition: NonDIntegration.hpp:34
NonDACVSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDACVSampling.cpp:35
unsigned short eifConvergenceLimit
limit for EIF convergence counter
Definition: EffGlobalMinimizer.hpp:329
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:30
Predicate that returns true when the passed path matches the wild_card with which it was configured....
Definition: WorkdirHelper.hpp:66
IntVector stepsPerVariable
the deltas_per_variable specification in MethodPSCPS
Definition: DataMethod.hpp:1274
Approximation operator=(const Approximation &approx)
assignment operator
Definition: DakotaApproximation.cpp:215
BitArray discreteStateSetIntCat
is each dssi var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:664
NonDCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDCalibration.cpp:28
void all_continuous_variable_label(const String &acv_label, size_t index)
set a label within the all continuous label array
Definition: DakotaVariables.hpp:1690
bool formulation_updated() const
query whether the form of an approximation has been updated
Definition: SharedApproxData.cpp:504
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:660
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:167
virtual ~HierarchSurrBasedLocalTraits()
destructor
Definition: HierarchSurrBasedLocalMinimizer.hpp:48
virtual int derived_map_if(const Dakota::String &if_name)
execute the input filter portion of a direct evaluation invocation
Definition: DirectApplicInterface.cpp:177
bool suppressOutput
flag for suppressing output on slave processors
Definition: ApplicationInterface.hpp:223
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:523
CommandLineHandler()
default constructor, requires check_usage() call for parsing
Definition: CommandLineHandler.hpp:207
SizetArray variablesCompsTotals
totals for variable type counts for {continuous,discrete integer,discrete string,discrete real} {desi...
Definition: SharedVariablesData.hpp:238
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:91
void destruct()
Deallocate parallel partitioning for topLevelIterator.
Definition: DakotaEnvironment.cpp:400
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:438
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:1465
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:468
static void reset()
Resets the working directory "state" to its initial state when DAKOTA was launched.
Definition: WorkdirHelper.cpp:415
Body class for responses specification data.
Definition: DataResponses.hpp:41
virtual void build()
builds the shared approximation data from scratch
Definition: SharedApproxData.cpp:330
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:39
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:672
size_t idrv() const
get number of inactive discrete real vars
Definition: SharedVariablesData.hpp:1726
RealVector yTrue
True function responses at the values corresponding to validationSet.
Definition: NonDAdaptiveSampling.hpp:117
void export_final_surrogates(Model &data_fit_surr_model)
export final surrogates generated, e.g., GP in EGO and friends
Definition: DakotaIterator.cpp:1953
Container class for response functions and their derivatives. Response provides the enveloper base ...
Definition: DakotaResponse.hpp:50
void assign_key(size_t i)
assign the resolution level for the i-th model key
Definition: EnsembleSurrModel.hpp:921
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:279
IntVector discreteIntUpperBnds
the active discrete upper bounds array view
Definition: DakotaConstraints.hpp:407
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:521
const RealVector & all_continuous_variables() const
return all continuous variables in currentVariables
Definition: DakotaModel.hpp:2168
void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to AdapterModel
Definition: AdapterModel.cpp:162
int aniso_quad_form()
1-D function using a anisotropic quadratic form
Definition: TestDriverInterface.cpp:5157
unsigned short ssgLevelPrev
value of ssgDriver->level() prior to increment_grid(), for restoration in decrement_grid() since incr...
Definition: NonDSparseGrid.hpp:154
const String & interval_type() const
return the numerical gradient evaluation interval type (intervalType)
Definition: DakotaModel.hpp:3620
RealVector lognormalUncErrFacts
error factors for the lognormal uncertain variables (from the error_factors specification in VarCAUV_...
Definition: DataVariables.hpp:343
String hybridGlobalMethodPointer
global method pointer for embedded hybrids (from the global_method_pointer specification)
Definition: DataMethod.hpp:396
static std::string init_preferred_env_path()
Initializes class member, dakPreferredEnvPath.
Definition: WorkdirHelper.cpp:102
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:622
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:508
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:836
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:222
Model & active_truth_model()
return the model corresponding to truthModelKey
Definition: EnsembleSurrModel.hpp:856
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:227
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:399
bool formulation_updated() const
query for change in approximation formulation
Definition: ApproximationInterface.hpp:556
short discrepancy_reduction() const
return the discrepancy type for approximations that support MLMF
Definition: SharedPecosApproxData.hpp:199
unsigned short importPredConfigFormat
tabular format for prediction configurations import file
Definition: NonDBayesCalibration.hpp:393
void initialize_corrections()
internal convenience function shared by overloaded initialize() variants
Definition: DiscrepancyCorrection.cpp:78
BitArray negBinomialUncCat
is each negbinomial var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:487
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:122
unsigned short approxImportFormat
build data import tabular format
Definition: NonDGPMSABayesCalibration.hpp:126
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:534
bool modelIsImported
whether model serialized in from disk
Definition: SurfpackApproximation.hpp:186
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:87
exception class for function evaluation failures
Definition: dakota_global_defs.hpp:127
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:2447
void print_system_mappings(std::ostream &s) const
print system series/parallel mappings for response levels
Definition: DakotaNonD.cpp:1088
size_t maximum_refinement_iterations() const
return maxRefineIterations
Definition: NonDExpansion.hpp:684
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:1602
RealVector normConst
Vector to hold the normalization constant calculated for each point added.
Definition: NonDGPImpSampling.hpp:117
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:1260
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:166
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:26
RealVector approxGradient
gradient of the approximation returned by gradient()
Definition: DakotaApproximation.hpp:406
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:894
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:55
size_t one_sided_delta(Real current, Real target)
compute a one-sided sample increment for multilevel methods to move current sampling level to a new t...
Definition: DakotaNonD.hpp:521
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:886
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:230
MixedVarConstraints(const SharedVariablesData &svd)
lightweight constructor
Definition: MixedVarConstraints.hpp:72
StringSetArray discreteDesignSetStr
complete set of admissible values for each of the discrete design variables defined by a string set (...
Definition: DataVariables.hpp:267
Real variance_Ysum(Real sum_Y, Real sum_YY, size_t Nlq)
compute variance scalar from sum accumulators
Definition: NonDMultilevelSampling.hpp:646
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:632
RealVector dataDistMeans
raw list of real data for the data distribution gaussian means
Definition: DataMethod.hpp:1245
static String user_auto_id()
return the next available interface ID for no-ID user methods
Definition: DakotaInterface.cpp:1523
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:466
const String & solution_control_label()
helper to select among Variables::all_discrete_{int,string,real}_ variable_labels() for exporting a s...
Definition: EnsembleSurrModel.cpp:2002
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:93
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:1210
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:1774
RealVector referenceDRLBnds
stores a reference copy of active discrete real lower bounds when the approximation is built; used to...
Definition: DataFitSurrModel.hpp:507
void kl_post_prior(RealMatrix &acceptanceChain)
Compute information metrics.
Definition: NonDBayesCalibration.cpp:3251
void filter_chain_by_conditioning() override
extract batchSize points from the MCMC chain and store final aggregated set within allSamples; unique...
Definition: NonDQUESOBayesCalibration.cpp:593
void compute_evidence_statistics()
method for computing belief and plausibility values for response levels or vice-versa
Definition: NonDInterval.cpp:442
SharedC3ApproxData()
default constructor
Definition: SharedC3ApproxData.hpp:330
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:50
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:116
ModelList & subordinate_models(bool recurse_flag=true)
return the sub-models in nested and surrogate models
Definition: DakotaModel.cpp:3580
~NonDGlobalSingleInterval()
destructor
Definition: NonDGlobalSingleInterval.cpp:32
RealVectorArray gpCvars
Vector to hold the current values of the current sample inputs on the GP.
Definition: NonDAdaptiveSampling.hpp:102
Base class for Monte Carlo sampling across Model ensembles.
Definition: NonDEnsembleSampling.hpp:32
String setUpType
flag for iteration mode: "model" (normal usage) or "user_functions" (user-supplied functions mode for...
Definition: SNLLOptimizer.hpp:349
void solver_setup(unsigned short method_name)
convenience function for setting up the particular COLIN solver and appropriate Application
Definition: COLINOptimizer.cpp:496
static Minimizer * optLSqInstance
pointer to the active base class object instance used within the static evaluator functions in order ...
Definition: SNLLBase.hpp:138
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDGPImpSampling.cpp:142
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:1398
ExperimentData expData
Container for experimental data to which to calibrate model using least squares or other formulations...
Definition: DakotaMinimizer.hpp:290
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:957
void select_rep_points(const RealVectorArray &var_samples_u, const RealVector &fn_samples)
select representative points from a set of samples
Definition: NonDAdaptImpSampling.cpp:348
void initialize_run()
Definition: DakotaLeastSq.cpp:265
NONLINEAR_EQUALITY_FORMAT nonlinear_equality_format()
Return the format used for nonlinear equality constraints.
Definition: NomadOptimizer.hpp:85
int nopt
Number of optimization variables.
Definition: SurrogatesGPObjective.hpp:99
void push_increment()
helper function to manage different push increment cases
Definition: NonDC3FunctionTrain.cpp:512
ShortArray active2ADRVarMapTargets
"secondary" variable mappings for inserting active discrete real currentVariables into sub-parameters...
Definition: NestedModel.hpp:383
Model & truth_model()
return actualModel
Definition: DataFitSurrModel.hpp:677
Sample derived interface class for testing serial simulator plug-ins using assign_rep().
Definition: PluginSerialDirectApplicInterface.hpp:40
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:522
Model subModel
the sub-model used in sub-iterator evaluations
Definition: NestedModel.hpp:290
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:1353
virtual short solution_control_variable_type() const
return type of solution control variable
Definition: DakotaModel.cpp:3689
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:2838
void add_tabular_scalar(T val)
augments the data set for a row in the tabular data file
Definition: OutputManager.hpp:446
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:1252
const RealVector & discrete_real_variables() const
return the active discrete real variables (Note: returns a view by const reference,...
Definition: DakotaVariables.hpp:909
virtual ~BootstrapSamplerBase()
Destructor.
Definition: BootstrapSampler.hpp:62
int evidenceSamples
number of samples to be used in model evidence calculation
Definition: NonDBayesCalibration.hpp:453
bool evaluation_cache(bool recurse_flag=true) const
if recurse_flag, return the actualModel evaluation cache usage
Definition: DataFitSurrModel.hpp:1002
StringMultiArrayConstView all_discrete_string_variable_labels() const
return all discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2650
std::map< int, std::pair< PRPQueueHIter, Response > > beforeSynchDuplicateMap
used to bookkeep evalIdCntr, beforeSynchCorePRPQueue iterator, and response of asynchronous evaluatio...
Definition: ApplicationInterface.hpp:529
virtual bool compact_mode() const
returns Analyzer::compactMode
Definition: DakotaIterator.cpp:1804
Derived application interface class that spawns a simulation code using a separate process and commun...
Definition: ProcessApplicInterface.hpp:46
bool supportsEstimDerivs
whether model should perform or forward derivative estimation
Definition: DakotaModel.hpp:1463
RealVectorArray listCVPoints
array of continuous evaluation points for the list_parameter_study
Definition: ParamStudy.hpp:195
bool converged()
check convergence indicators to assess if EGO has converged
Definition: EffGlobalMinimizer.cpp:783
void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaOptimizer.hpp:656
int samplesOnEmulator
number of samples to perform on emulator
Definition: DataMethod.hpp:1096
void push_coefficients()
restores state prior to previous pop()
Definition: PecosApproximation.hpp:792
virtual void push_approximation()
push a previous approximation data state; reverse of pop_approximation
Definition: DakotaModel.cpp:4160
void replace_linear_bounds(size_t num_cv, size_t num_nln_con, RealVector &aggregate_l_bnds, RealVector &aggregate_u_bnds, const RealVector &lin_ineq_l_bnds, const RealVector &lin_ineq_u_bnds, const RealVector &lin_eq_targets)
replace linear bounds within aggregate arrays
Definition: SOLBase.cpp:403
~DataMethod()
destructor
Definition: DataMethod.cpp:725
String tabularDataFile
the filename used for tabular data collection by the environment (from the tabular_graphics_file spec...
Definition: DataEnvironment.hpp:88
void write(MPIPackBuffer &s) const
helper function for writing some class data to MPI buffer
Definition: ProgramOptions.cpp:415
void fill_experiment_data()
populate the experiment data, applying scaling if needed
Definition: NonDGPMSABayesCalibration.cpp:539
void compute_main_effects()
builds a DDaceMainEffects::OneWayANOVA if mainEffectsFlag is set
Definition: DDACEDesignCompExp.cpp:500
IntIntMap numFDEvalsMap
tracks the number of evaluations used within estimate_derivatives(). Used in synchronize() as a key f...
Definition: DakotaModel.hpp:1667
const BitArray & get_ba(const String &entry_name) const
get a BitArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1612
int seedSpec
the user seed specification (default is 0)
Definition: NonDSampling.hpp:308
Model & dakotaModel
Dakota problem data provided by user.
Definition: ROLOptimizer.hpp:330
void init_metadata() override
default clear metadata in Recasts; derived classes can override to no-op
Definition: ScalingModel.hpp:81
~ParamStudy()
destructor
Definition: ParamStudy.hpp:270
DDACEDesignCompExp(ProblemDescDB &problem_db, Model &model)
primary constructor for building a standard DACE iterator
Definition: DDACEDesignCompExp.cpp:38
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:1459
void compute_numerical_statistics()
numerical portion of compute_statistics() from sampling on the expansion (used for FINAL_RESULTS)
Definition: NonDExpansion.cpp:3192
size_t qoi() const
return number of unique response functions (managing any aggregations)
Definition: EnsembleSurrModel.hpp:473
~SOLBase()
destructor
Definition: SOLBase.hpp:198
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:590
void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to NestedModel
Definition: NestedModel.cpp:1442
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:41
Interface dummy_interface
dummy Interface object used for mandatory reference initialization or default virtual function return...
Definition: DakotaModel.cpp:42
void snll_post_run(OPTPP::NLP0 *nlf_objective)
convenience function for managing OPT++ results after method execution
Definition: SNLLBase.cpp:316
size_t continuous_aleatory_uncertain()
return total number of continuous aleatory uncertain variables
Definition: DataVariables.hpp:934
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:198
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:170
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:1309
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:478
Definition: OutputManager.hpp:123
friend bool operator!=(const Model &m1, const Model &m2)
inequality operator (detect different letter instances)
Definition: DakotaModel.hpp:3976
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:292
IntSet gradIdAnalytic
analytic id's for mixed gradients
Definition: DakotaModel.hpp:1467
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:212
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:700
void eval_tag_prefix(const String &eval_id_str)
set the hierarchical eval ID tag prefix
Definition: RecastModel.hpp:1195
static Minimizer * optLSqInstance
pointer to the active base class object instance used within the static evaluator functions in order ...
Definition: SOLBase.hpp:149
Handle class for interface specification data.
Definition: DataInterface.hpp:283
short rbfBases
bases for radial basis function approximation
Definition: DataModel.hpp:253
Iterator daceIterator
LHS iterator for constructing initial GP for all response functions.
Definition: NonDGlobalInterval.hpp:97
virtual ~NPSOLTraits()
destructor
Definition: NPSOLOptimizer.hpp:63
Real centeringParam
value from centering_parameter specification
Definition: SNLLBase.hpp:154
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:318
int numConminConstr
total number of linear and nonlinear constraints seen by CONMIN
Definition: CONMINOptimizer.hpp:167
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:262
size_t numSubIterMappedEqCon
number of top-level equality constraints mapped from the sub-iteration results
Definition: NestedModel.hpp:310
const RealVector & primary_response_fn_weights() const
get the relative weightings for multiple objective functions or least squares terms
Definition: DakotaModel.hpp:3691
size_t numFieldLeastSqTerms
field_calibration_terms: number of calibration terms which are field-valued
Definition: DataResponses.hpp:100
const ResponseArray & response_array_results()
return multiple final iterator solutions (response). This should only be used if returns_multiple_poi...
Definition: DakotaAnalyzer.hpp:297
std::shared_ptr< DataMethodRep > dataMethodRep
pointer to the body (handle-body idiom)
Definition: DataMethod.hpp:1420
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:177
std::shared_ptr< SharedApproxData > dataRep
pointer to the letter (initialized only for the envelope)
Definition: SharedApproxData.hpp:303
void configure_cost(unsigned short num_steps, bool multilevel, RealVector &cost)
extract cost estimates from model hierarchy (forms or resolutions)
Definition: DakotaNonD.hpp:410
void check_parallelism()
function that checks if model supports asynchronous parallelism
Definition: EffGlobalMinimizer.cpp:290
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:394
StringArray hybridModelPointers
array of models for the sequential and collaborative hybrid meta-iterators (from the model_pointer_li...
Definition: DataMethod.hpp:381
const RealMatrix & linear_ineq_constraint_coeffs() const
return the linear inequality constraint coefficients
Definition: DakotaModel.hpp:3374
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:770
bool initialPtUserSpec
flag indicating user specification of (any portion of) initialPtU
Definition: NonDLocalReliability.hpp:304
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:653
boost::mt19937 rng
RNG to persist for varying pattern.
Definition: FSUDesignCompExp.hpp:114
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: NLPQLPOptimizer.hpp:98
void derived_map_asynch(const ParamResponsePair &pair)
Called by map() and other functions to execute the simulation in asynchronous mode....
Definition: ProcessApplicInterface.cpp:264
void DAKOTA_DLL_FN set_mc_ptr_int(int ptr_int)
set the DAKOTA pointer to ModelCenter
Definition: dakota_dll_api.cpp:318
void map_bookkeeping(pid_t pid, int fn_eval_id)
bookkeeping of process and evaluation ids for asynchronous maps
Definition: ProcessHandleApplicInterface.cpp:27
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:352
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:6138
unsigned short preRunOutputFormat
tabular format for pre_run output
Definition: DataEnvironment.hpp:77
void push_c3_start_orders(const UShortArray &start_orders)
Publish configuration data for initial function train cores, prior to any adaptation.
Definition: NonDC3FunctionTrain.cpp:462
DataInterface & operator=(const DataInterface &)
assignment operator
Definition: DataInterface.cpp:101
unsigned short challengeFormat
tabular format of the challenge points file
Definition: ApproximationInterface.hpp:247
Interface()
default constructor
Definition: DakotaInterface.cpp:187
RealMatrix partialCorr
matrix to hold partial raw correlations
Definition: SensAnalysisGlobal.hpp:173
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:572
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:1575
bool sameInterfaceInstance
flag indicating that the models identified by {low,high}FidelityKey employ the same interface instanc...
Definition: EnsembleSurrModel.hpp:304
void combine_discrete_ranks(const RealMatrix &initial_values, const RealMatrix &increm_values)
merge the discrete ranks into a submatrix of sampleRanks
Definition: NonDLHSSampling.cpp:473
unsigned short eifConvergenceCntr
counter for consecutive iterates with EIF value < convergenceTol
Definition: EffGlobalMinimizer.hpp:327
long startClock
start reference for local clock() timer measuring parent+child CPU
Definition: ParallelLibrary.hpp:1026
RealVectorArray probabilityLevels
the probability_levels specification in MethodNonD
Definition: DataMethod.hpp:1085
virtual void clear_inactive()
clear inactive approximation data
Definition: DakotaInterface.cpp:1262
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:232
SizetArray collocPtsSeqSpec
user specification of number of initial samples per model instance, including adaptive cases where an...
Definition: NonDExpansion.hpp:427
EnsembleSurrModel(ProblemDescDB &problem_db)
constructor
Definition: EnsembleSurrModel.cpp:25
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:93
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:333
RealVector stepVector
the step_vector specification in MethodPSVPS and MethodPSCPS
Definition: DataMethod.hpp:1270
void set_evaluation_reference()
set the evaluation counter reference points for the DataFitSurrModel (request forwarded to approxInte...
Definition: DataFitSurrModel.hpp:1016
bool force_rebuild()
determine whether a surrogate model rebuild should be forced based on changes in the inactive data
Definition: DataFitSurrModel.hpp:551
OPTPP::NLP * nlpConstraint
constraint NLP pointer
Definition: SNLLOptimizer.hpp:313
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:433
void print_moments(std::ostream &s) const
prints the moments computed in compute_moments() with default qoi_type and moment_labels
Definition: NonDSampling.hpp:486
size_t num_fields() const
retrieve the number of fields (applies to all experiments)
Definition: ExperimentData.cpp:752
void reset_multipliers()
reset Lagrange multipliers to initial values for cases where they are accumulated instead of computed...
Definition: SurrBasedLocalMinimizer.hpp:280
size_t idrvStart
start index of inactive discrete real variables within allDiscreteRealVars
Definition: SharedVariablesData.hpp:270
size_t maxRank
maximum rank
Definition: DataMethod.hpp:834
SizetArray complement1ACVarMapIndices
"primary" variable mappings for inserting the complement of the active continuous currentVariables wi...
Definition: NestedModel.hpp:387
Real discrete_real_lower_bound(size_t i) const
return an active discrete variable lower bound
Definition: DakotaConstraints.hpp:573
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:362
short annNodes
number of nodes for artificial neural network approximation
Definition: DataModel.hpp:267
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:470
void reset_solver_options(const Teuchos::ParameterList &)
Support resetting ROL solver options.
Definition: ROLOptimizer.cpp:352
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:61
DakotaROLObjectiveHess(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:565
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:188
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:5140
int minimizeCycles
counter for number of minimization cycles that have accumulated prior to convergence at the minimizeI...
Definition: SurrBasedLocalMinimizer.hpp:200
const size_t maxFuncEvals
Maximum number of evaluations while refining a surrogate.
Definition: DataFitSurrModel.hpp:349
void increment_grid_preference()
Definition: NonDCubature.hpp:130
Real localBalanceParam
the local_balance_parameter for the DIRECT method in MethodSCOLIBDIR
Definition: DataMethod.hpp:568
bool update_filter(SurrBasedLevelData &tr_data, const RealVector &fn_vals)
update filter using a new set of function values
Definition: SurrBasedMinimizer.cpp:361
void load_parameters(Model &model)
Convenience function for Parameter loading.
Definition: OptDartsOptimizer.cpp:126
void initialize_response_map(void(*resp_map)(const Variables &vars, const ActiveSet &set, Response &response))
initialize map callbacks after alternate construction
Definition: AdapterModel.hpp:206
size_t num_samples() const
Definition: NonDQuadrature.hpp:321
IntVector binomialUncNumTrials
Number of trials (N) for the binomial uncertain variables from the num_trials specification in VarDAU...
Definition: DataVariables.hpp:469
void export_coefficients()
export the PCE coefficient array to expansionExportFile
Definition: NonDPolynomialChaos.cpp:1306
void bcast_hs(int &data, const ParallelLevel &pl)
broadcast an integer across the hubServerIntraComm of a ParallelLevel
Definition: ParallelLibrary.hpp:1797
size_t numVars
number of variables in the approximation
Definition: SharedApproxData.hpp:228
String preRunInput
filename for pre_run input
Definition: ProgramOptions.hpp:262
DiscrepancyCorrection()
default constructor
Definition: DiscrepancyCorrection.hpp:260
void specify_prior() override
initialize the MUQ parameter space, min, max, initial, domain, and prior define solver options,...
Definition: NonDMUQBayesCalibration.cpp:125
RealMatrix gradCovVector
A matrix, where each column is the derivative of the covVector with respect to a particular componene...
Definition: GaussProcApproximation.hpp:234
RealMatrix betaCoeffs
matrix to hold the beta coefficients for the trend function
Definition: GaussProcApproximation.hpp:216
virtual bool is_derived()
A temporary query used in the refactor.
Definition: COLINOptimizer.hpp:44
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:845
DataMethodRep()
constructor
Definition: DataMethod.cpp:24
UShortArray sparseGridLevelSeq
the sparse_grid_level_sequence specification in MethodNonDPCE and MethodNonDSC
Definition: DataMethod.hpp:934
bool is_null() const
function to check dbRep (does this envelope contain a letter)
Definition: ProblemDescDB.hpp:672
void set_variables(const VectorType &source, Model &model, Variables &vars)
Definition: DakotaOptimizer.hpp:807
int refineSamples
size of sample batch within each refinement iteration
Definition: NonDAdaptImpSampling.hpp:174
void update_final_statistics()
update finalStatistics::functionValues
Definition: NonDEnsembleSampling.cpp:237
int world_rank() const
return MPIManager::worldRank
Definition: ParallelLibrary.hpp:1050
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:562
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:343
SOLBase()
default constructor
Definition: SOLBase.hpp:192
Real collocationRatio
the collocation_ratio specification in MethodNonDPCE
Definition: DataMethod.hpp:964
size_t adrv() const
accumulate all discrete real variables from variablesCompsTotals, allRelaxedDiscreteReal
Definition: SharedVariablesData.hpp:393
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:2718
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:310
RealVector discreteRealAleatoryUncVars
array of values for all discrete real aleatory uncertain variables
Definition: DataVariables.hpp:747
String idVariables
string identifier for the variables specification data set (from the id_variables specification in Va...
Definition: DataVariables.hpp:99
String searchMethod
value_based_line_search, gradient_based_line_search, trust_region, or tr_pds
Definition: SNLLBase.hpp:142
bool check_final_point(const RealVector &final_pt)
perform error checks on finalPoint
Definition: ParamStudy.hpp:472
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDGlobalInterval.cpp:272
virtual void post_combine()
clean up stored data sets after aggregation
Definition: SharedApproxData.cpp:436
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:434
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NOWPACOptimizer.hpp:168
IntVector discStringStepsPerVariable
number of offsets in the plus and the minus direction for each discrete string variable in a centered...
Definition: ParamStudy.hpp:250
void reset()
restore initial state for repeated sub-iterator executions
Definition: NonDCubature.hpp:111
void core_run()
Performs a gradient-based optimization to determine interval bounds for an entire function or interva...
Definition: NonDLocalInterval.cpp:161
void test_local_evaluation_batch(PRPQueue &prp_queue)
batch version of test_local_evaluations()
Definition: ProcessApplicInterface.cpp:375
void clear_inactive_coefficients()
prune inactive coefficients following combination and promotion to active
Definition: PecosApproximation.hpp:813
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:889
virtual ~DataFitSurrBasedLocalTraits()
destructor
Definition: DataFitSurrBasedLocalMinimizer.hpp:49
void parallel_configuration_iterator_map(std::map< size_t, ParConfigLIter > pci_map)
set methodPCIterMap
Definition: DakotaIterator.hpp:627
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:79
Real curvatureThresh
cut-off value for 1/sqrt() term in second-order probability corrections.
Definition: NonDLocalReliability.hpp:347
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:621
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:784
int evidenceSamples
number of prior samples to use in model evidence calculation
Definition: DataMethod.hpp:1131
RealVector deltaRespVariance
change in (DIAGONAL) response variance induced by a refinement candidate
Definition: NonDStochCollocation.hpp:138
void add_lhs_hifi_data()
supplement high-fidelity data with LHS samples
Definition: NonDBayesCalibration.cpp:1437
MixedVariables(const ProblemDescDB &problem_db, const ShortShortPair &view)
standard constructor
Definition: MixedVariables.cpp:29
void initialize_inactive_components()
initialize the inactive components totals given inactive variable counts
Definition: SharedVariablesData.hpp:1387
void set_evaluation_communicators(const IntArray &message_lengths)
convenience function for updating the local evaluation partition data following ParallelLibrary::init...
Definition: ApplicationInterface.cpp:175
IntVector discreteIntAleatoryUncUpperBnds
distribution upper bounds for all discrete integer aleatory uncertain variables
Definition: DataVariables.hpp:731
String errorFile
file name for error redirection (overrides command-line)
Definition: DataEnvironment.hpp:58
RealMatrix trendFunction
matrix to hold the trend function
Definition: GaussProcApproximation.hpp:214
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:1647
void print_usage(std::ostream &s)
print restart utility help message
Definition: restart_util.cpp:185
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:636
void update_all_variables(const Model &model)
update all variable values from passed sub-model
Definition: RecastModel.cpp:1047
RealMatrix filteredFnVals
cached filtered function values for printing (may be a view of acceptedFnVals)
Definition: NonDBayesCalibration.hpp:517
Evaluation manager class for APPSPACK.
Definition: APPSEvalMgr.hpp:39
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:229
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:615
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:272
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:522
~ParallelLevel()
destructor
Definition: ParallelLibrary.hpp:157
SizetArray algebraicACVIndices
set of indices mapping AMPL algebraic variables to DAKOTA all continuous variables
Definition: DakotaInterface.hpp:473
pebbl::solution * extractSolution()
Method that returns a PEBBL-based solution.
Definition: PEBBLBranching.cpp:133
~NonDStochCollocation()
destructor
Definition: NonDStochCollocation.cpp:198
size_t regression_size()
return the regression size used for different refinement options
Definition: NonDC3FunctionTrain.cpp:152
void recast_model_view(const ShortShortPair &view_override)
layer a RecastModel on top of iteratedModel to enact a view override
Definition: DakotaAnalyzer.cpp:111
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:1129
std::ostream * outputStream
pointer to the stream for this writer
Definition: OutputManager.hpp:62
size_t total_variables()
return total number of variables
Definition: DataVariables.hpp:986
Real2DArray cv_diagnostics(const StringArray &metrics, unsigned num_folds)
approximation cross-validation quality metrics per response function
Definition: ApproximationInterface.cpp:901
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:146
void copy_gsl(const QUESO::GslVector &qv, RealVector &rv)
local copy_data utility from GslVector to RealVector
Definition: NonDQUESOBayesCalibration.cpp:1118
DakotaROLIneqConstraints(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:608
size_t miPLIndex
index for the active ParallelLevel within ParallelConfiguration::miPLIters
Definition: DakotaNonD.hpp:362
RealVectorArray cellFnLowerBounds
Storage array to hold cell min.
Definition: NonDInterval.hpp:130
SizetArray startRankSeq
starting rank
Definition: DataMethod.hpp:847
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:992
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:111
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:85
void assign_rep(std::shared_ptr< Model > model_rep)
replaces existing letter with a new one
Definition: DakotaModel.cpp:376
void compute_best_sample()
determine meritFnStar from among the GP build data for use in EIF
Definition: EffGlobalMinimizer.cpp:707
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:107
short primaryFnType
data set type for primary response: generic, objective, calibration
Definition: SharedResponseData.hpp:104
size_t acv() const
get total number of continuous vars
Definition: SharedVariablesData.hpp:1734
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:200
StringArray all_ordered_labels() const
Return labels of all variables in "input spec" order.
Definition: DakotaModel.hpp:2727
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:398
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: DOTOptimizer.hpp:67
std::vector< int > constraintMapIndices
map from Dakota constraint number to APPS constraint number
Definition: DakotaOptimizer.hpp:545
void write(std::ostream &s) const
write a ParamResponsePair object to an std::ostream
Definition: ParamResponsePair.hpp:294
void DAKOTA_DLL_FN dakota_stop(int *id)
command DakotaRunner instance id to stop execution
Definition: dakota_dll_api.cpp:296
virtual void clear_model_keys()
reset initial state by removing all model keys for an approximation
Definition: DakotaApproximation.hpp:581
int random_seed() const
return specification for random seed (may be part of a sequence specification)
Definition: NonDMultilevelPolynomialChaos.hpp:154
String final_batch_id_tag()
form and return the final batch ID tag
Definition: ApplicationInterface.cpp:372
Iterator gpBuild
LHS iterator for building the initial GP.
Definition: NonDGPImpSampling.hpp:87
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:508
UShortArray expansionOrderSeq
the expansion_order_sequence specification in MethodNonDPCE
Definition: DataMethod.hpp:936
Real lmaxs
radius for singular-convergence test (singular_radius)
Definition: NL2SOLLeastSq.hpp:135
bool fileTagFlag
flags tagging of parameter/results files
Definition: ProcessApplicInterface.hpp:158
Response optInterfaceResponse
the response object resulting from optional interface evaluations
Definition: NestedModel.hpp:320
void operator()(const RealScale &scale)
Called by boost::apply_vistitor to process a RealScale.
Definition: ResultsDBHDF5.hpp:105
const IntVector & inactive_discrete_int_upper_bounds() const
return the inactive discrete upper bounds
Definition: DakotaConstraints.hpp:673
RealVector beta
vector of QMEA reduced space diagonal Hessian coefficients
Definition: QMEApproximation.hpp:94
void recover_paired_online_cost(RealVector &seq_cost, size_t step)
accumulate cost and counts and then perform averaging
Definition: NonDHierarchSampling.hpp:115
Real constraintTol
optimizer/least squares constraint tolerance
Definition: DakotaMinimizer.hpp:245
Class for the Dempster-Shafer Evidence Theory methods within DAKOTA/UQ.
Definition: NonDLocalEvidence.hpp:38
void compute_active_diagonal_variance()
calculate the diagonal response variance of the active expansion
Definition: NonDExpansion.cpp:2577
bool resize()
reinitializes iterator based on new variable size
Definition: DakotaVerification.cpp:52
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:652
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:430
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:336
ActiveSet()
default constructor
Definition: DakotaActiveSet.hpp:137
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:49
friend bool operator==(const ActiveSet &set1, const ActiveSet &set2)
equality operator
int synchronous_local_analysis(int analysis_id)
Definition: GridApplicInterface.hpp:82
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:767
int randomSeed
random seed for MCMC process
Definition: NonDBayesCalibration.hpp:317
std::vector< int > requestedEvals
Evaluations queued for asynch evaluation.
Definition: COLINApplication.hpp:122
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:1051
void free_communicators(ParLevLIter pl_iter, int max_eval_concurrency, bool recurse_flag=true)
deallocate communicator partitions for a model
Definition: DakotaModel.cpp:4861
String postRunInput
filename for post_run input
Definition: ProgramOptions.hpp:266
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:1599
virtual ~QuesoVectorRV()
Virtual destructor.
Definition: QUESOImpl.cpp:105
std::vector< var_t > varTypeDVV
var_t enumerations corresponding to DVV components
Definition: DirectApplicInterface.hpp:199
RealMatrix simpleCorr
matrix to hold simple raw correlations
Definition: SensAnalysisGlobal.hpp:169
bool ownCommFlag
signals Comm ownership for deallocation
Definition: ParallelLibrary.hpp:118
bool allVars
flag for combined variable expansions which include a non-probabilistic subset (design,...
Definition: NonDExpansion.hpp:449
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:32
~CONMINOptimizer()
destructor
Definition: CONMINOptimizer.cpp:133
const String & interface_id() const
return the approxInterface identifier
Definition: DataFitSurrModel.hpp:998
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:311
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDAdaptiveSampling.cpp:193
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:2254
Real logCovarianceDeterminant
cached sum of each experiment covariance's log determinant
Definition: ExperimentData.hpp:445
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:219
String interfacePointer
string pointer to the interface specification to be used by this model (from the interface_pointer sp...
Definition: DataModel.hpp:108
Nonintrusive stochastic collocation approaches to uncertainty quantification.
Definition: NonDMultilevelStochCollocation.hpp:33
String pstudyFilename
the import_points_file spec for a file-based parameter study
Definition: DataMethod.hpp:1278
RealMatrix priorCovCholFactor
the Cholesky factor of the prior covariance
Definition: NonDBayesCalibration.hpp:414
SharedResponseData simulationSRD
archived shared data for use in sizing fields, total functions (historically we read all functions,...
Definition: ExperimentData.hpp:469
bool weightFlag
flag indicating whether weighted least squares is active
Definition: DakotaLeastSq.hpp:77
void read(std::istream &s)
read a ParamResponsePair object from an std::istream
Definition: ParamResponsePair.hpp:290
unsigned short max_order() const
return active maximum value for basis order
Definition: SharedC3ApproxData.hpp:390
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:2023
void build()
builds the shared approximation data from scratch
Definition: SharedC3ApproxData.hpp:687
BitArray extraDIVarsData
flags for updating subModel discrete int bounds and labels, one for each active discrete int variable...
Definition: NestedModel.hpp:404
bool message_pass() const
return messagePass
Definition: ParallelLibrary.hpp:325
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:309
stop_grid_computing_t stop_grid_computing
handle to dynamically linked stop_grid_computing function
Definition: GridApplicInterface.hpp:118
RealVector xC
continuous variables used within direct simulator fns
Definition: DirectApplicInterface.hpp:178
RealVector discreteRealAleatoryUncLowerBnds
distribution lower bounds for all discrete real aleatory uncertain variables
Definition: DataVariables.hpp:750
RealVector expObservations
list of num_calibration_terms observation data
Definition: DataResponses.hpp:171
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:532
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:760
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:101
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: NLPQLPOptimizer.hpp:101
size_t idsvStart
start index of inactive discrete string vars within allDiscreteStringVars
Definition: SharedVariablesData.hpp:268
TraitsBase()
default constructor
Definition: DakotaTraitsBase.cpp:28
size_t numLinearIneqConstraints
number of linear inequality constraints
Definition: DakotaMinimizer.hpp:258
int serverCommSize
size of serverIntraComm
Definition: ParallelLibrary.hpp:135
std::shared_ptr< QUESO::FullEnvironment > quesoEnv
top-level QUESO Environment
Definition: NonDQUESOBayesCalibration.hpp:195
void increment_order_from_grid()
define an expansion order that is consistent with an advancement in structured/unstructured grid leve...
Definition: NonDPolynomialChaos.cpp:1137
Real getRmax(const RealMatrix &xset)
Definition: GaussProcApproximation.cpp:116
void resize_final_statistics_gradients()
resizes finalStatistics::functionGradients based on finalStatistics ASV
Definition: DakotaNonD.cpp:592
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:1293
void clear()
deallocate the communicators in this ParallelLevel
Definition: ParallelLibrary.hpp:178
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:144
BitArray cdiv_to_all_mask() const
create a BitArray indicating the complement discrete int subset of all {continuous,...
Definition: SharedVariablesData.hpp:1307
int matlab_engine_run(const Dakota::String &ac_name)
Helper function supporting derived_map_ac. Sends data to Matlab, executes analysis,...
Definition: MatlabInterface.cpp:137
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:2186
bool chainDiagnosticsCI
flag indicating calculation of confidence intervals as a chain diagnositc
Definition: NonDBayesCalibration.hpp:445
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:418
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:256
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:486
void operator&(const T &data_out)
serialize the passed data_out to the restart file
Definition: OutputManager.hpp:146
void peer_static_schedule_evaluations()
blocking static schedule of all evaluations in beforeSynchCorePRPQueue using message passing on a pee...
Definition: ApplicationInterface.cpp:1065
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:594
const RealVector & inactive_discrete_real_variables() const
return the inactive discrete real variables
Definition: DakotaVariables.hpp:1464
size_t mi_parallel_level_index() const
return subModel's MI parallel level index
Definition: RecastModel.hpp:1059
RealVector continuousStateUpperBnds
upper bounds array for the continuous state variables (from the continuous_state upper_bounds specifi...
Definition: DataVariables.hpp:620
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:4033
~NonDC3FunctionTrain()
destructor
Definition: NonDC3FunctionTrain.cpp:148
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: GaussProcApproximation.cpp:166
short expansionBasisType
enumeration for type of basis in sparse grid interpolation (Pecos::{NODAL,HIERARCHICAL}_INTERPOLANT) ...
Definition: DataMethod.hpp:927
std::vector< Approximation > & approximations()
retrieve the set of Approximations from approxInterface
Definition: DataFitSurrModel.hpp:827
unsigned short quadOrderSpec
user request of quadrature order
Definition: NonDPolynomialChaos.hpp:244
bool w_parallel_level_defined() const
test for definition of world parallel level
Definition: ParallelLibrary.hpp:569
RealVector negBinomialUncProbPerTrial
probabilities per each trial (p) for the negative binomial uncertain variables from the prob_per_tria...
Definition: DataVariables.hpp:479
bool seed_updated()
Definition: NonDEnsembleSampling.hpp:286
virtual bool derived_master_overload() const
Return a flag indicating the combination of multiprocessor evaluations and a dedicated master iterato...
Definition: DakotaModel.cpp:3324
void master_dynamic_schedule_evaluations_nowait()
execute a nonblocking dynamic schedule in a master-slave partition
Definition: ApplicationInterface.cpp:1528
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:176
void assign(const ParallelConfiguration &pl)
assign the attributes of the incoming pl to this object
Definition: ParallelLibrary.hpp:514
size_t numADRV
total number of discete real variables
Definition: DirectApplicInterface.hpp:165
bool lf_perform_samples(size_t iter, size_t lev)
parameter set definition and evaluation for LF sample increment
Definition: NonDMultilevControlVarSampling.cpp:1127
Iterator mppOptimizer
Iterator which optimizes the mppModel.
Definition: NonDReliability.hpp:74
size_t wait_local_analyses()
wait for asynchronous analyses on the local processor, completing at least one job
Definition: SpawnApplicInterface.cpp:185
size_t adiv() const
get total number of discrete int vars
Definition: SharedVariablesData.hpp:1738
int asynchLocalAnalysisConcurrency
limits the number of concurrent analyses in asynchronous local scheduling and specifies hybrid concur...
Definition: ApplicationInterface.hpp:243
~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:102
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:252
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:1440
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:760
void fine_grained_evaluation_counters()
request fine-grained evaluation reporting within optionalInterface and subModel
Definition: NestedModel.hpp:690
const String & interface_id() const
return the optionalInterface identifier
Definition: NestedModel.hpp:666
Real hybridLSProb
local search probability for embedded hybrids (from the local_search_probability specification)
Definition: DataMethod.hpp:408
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:1131
void bcast_a(int &data)
broadcast an integer across an analysis communicator
Definition: ParallelLibrary.hpp:1833
StrStrSizet iteratorID
Iterator ID for the method and execuation.
Definition: ResultsDBHDF5.hpp:147
void clear_covariance_pointers()
clear covariance pointers to other QoI
Definition: PecosApproximation.hpp:442
bool firstUpdate
boolean to trigger one-time updates on first call to update_sub_model()
Definition: NestedModel.hpp:266
Bayesian inference using the QUESO library from UT Austin.
Definition: NonDQUESOBayesCalibration.hpp:52
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:1826
unsigned short preRunOutputFormat
tabular format for pre_run output
Definition: ProgramOptions.hpp:269
void truncate_to_cell_bounds(RealVector &initial_pt)
truncate initial_pt to respect current cell lower/upper bounds
Definition: NonDLocalEvidence.cpp:64
void all_discrete_int_variable(int adi_var, size_t index)
set a variable within the all discrete array
Definition: DakotaVariables.hpp:1626
std::map< int, IntSizetPair > msgPassRunningMap
used by nonblocking message passing schedulers to bookkeep which jobs are running remotely
Definition: ApplicationInterface.hpp:546
BitArray idsv_to_all_mask() const
create a BitArray indicating the inactive discrete string subset of all {continuous,...
Definition: SharedVariablesData.hpp:1327
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:353
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:1710
~SurrBasedGlobalMinimizer()
destructor
Definition: SurrBasedGlobalMinimizer.cpp:92
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:787
UShortArray linIneqScaleTypes
linear inequality constraint scale types
Definition: ScalingOptions.hpp:52
RealVector mostProbPointU
location of MPP in u-space
Definition: NonDLocalReliability.hpp:312
exception thrown when data read truncated
Definition: dakota_global_defs.hpp:110
size_t maxFunctionEvals
maximum number of fn evaluations for the method
Definition: DakotaIterator.hpp:497
The database containing information parsed from the DAKOTA input file.
Definition: ProblemDescDB.hpp:49
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:199
void variable_bounds(const RealVector &cv_lower_bnds, const RealVector &cv_upper_bnds)
assign nonlinear inequality and equality constraint allowables for this iterator (user-functions mode...
Definition: SNLLOptimizer.hpp:380
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:629
std::map< Pecos::ActiveKey, bool > formUpdated
tracker for changes in order,rank configuration since last build (used by DataFitSurrModel::rebuild_a...
Definition: SharedApproxData.hpp:279
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:141
RealArray realWorkSpace
real work space for NPSOL/NLSSOL
Definition: SOLBase.hpp:153
void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to AdapterModel
Definition: AdapterModel.cpp:169
void update_quasi_hessians(const Variables &vars, Response &new_response, const ActiveSet &original_set)
perform quasi-Newton Hessian updates
Definition: DakotaModel.cpp:2768
std::shared_ptr< QUESO::GPMSAOptions > gpmsaOptions
Configuration options for the GPMSA solver.
Definition: NonDGPMSABayesCalibration.hpp:153
virtual const RealSymMatrix & hessian(const Variables &vars)
retrieve the approximate function Hessian for a given parameter vector
Definition: DakotaApproximation.cpp:427
virtual void pre_push()
push a previous state of the shared approximation data
Definition: SharedApproxData.cpp:375
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:2671
String hessianType
type of Hessian data: analytic, numerical, quasi, mixed, or none
Definition: DakotaModel.hpp:1430
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:1377
void parallel_configuration_iterator(ParConfigLIter pc_iter)
set the current ParallelConfiguration node
Definition: ParallelLibrary.hpp:1077
ParConfigLIter parallel_configuration_iterator() const
return methodPCIter
Definition: DakotaIterator.hpp:622
void inactive_variables(const Variables &vars)
set the inactive variables in currentVariables
Definition: DakotaModel.hpp:1831
void generalized_acv_offline_pilot()
Definition: NonDGenACVSampling.cpp:392
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:485
void check_response_map(const ShortArray &mapped_asv)
check function counts for the mapped_asv
Definition: NestedModel.cpp:1995
void initialize_active_components()
initialize the active components totals given active variable counts
Definition: SharedVariablesData.hpp:1383
int scilabEngine
identifier for the running Scilab enginer
Definition: ScilabInterface.hpp:44
int dakotaWorldSize
size of MPI_Comm in which DAKOTA is running
Definition: MPIManager.hpp:72
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:155
void derived_evaluate_nowait(const ActiveSet &set)
Definition: EnsembleSurrModel.cpp:680
OPTPP::NLP0 * nlfConstraint
constraint NLF base class pointer
Definition: SNLLOptimizer.hpp:312
OPTPP::SearchStrategy searchStrat
enum: LineSearch, TrustRegion, or TrustPDS
Definition: SNLLBase.hpp:145
static void cache_chain(const double *const z)
Callback to archive the chain from DREAM, potentially leaving it in u-space.
Definition: NonDDREAMBayesCalibration.cpp:443
unsigned short sampling_scheme() const
return sampleType
Definition: NonDSampling.hpp:538
size_t numGammaUncVars
number of gamma uncertain variables (from the gamma_uncertain specification in VarAUV)
Definition: DataVariables.hpp:147
Real solverTol
optimization tolerance for FT regression
Definition: DataModel.hpp:420
const SizetArray & nested_acv1_indices() const
return primaryACVarMapIndices
Definition: EnsembleSurrModel.hpp:528
RealVector stdRegressCODs
vector to hold coefficients of determination, eg R^2 values
Definition: SensAnalysisGlobal.hpp:180
void nonlinear_cost_gradient(const RealVector &r_and_N, RealVector &grad_c)
constraint gradient helper fn shared by NPSOL/OPT++ static evaluators
Definition: NonDNonHierarchSampling.cpp:1165
ShortArray requestVector
the vector of response requests
Definition: DakotaActiveSet.hpp:129
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:3227
void convert_moments(const RealMatrix &raw_mom, RealMatrix &final_mom)
convert uncentered raw moments (multilevel expectations) to standardized moments
Definition: NonDEnsembleSampling.cpp:363
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:66
Definition: library_mode.cpp:64
int * MS1
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:240
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: SNLLOptimizer.hpp:66
size_t numSamples
the current number of samples to evaluate
Definition: NonDSampling.hpp:312
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:988
std::shared_ptr< TrackerHTTP > pTrackerHTTP
posts usage data to Web server; using shared_ptr due to potentially incomplete type and requirements ...
Definition: UsageTracker.hpp:56
const String & function_label(size_t i) const
return a response function identifier string
Definition: SharedResponseData.hpp:391
int scoringMethod
the type of scoring metric to use for sampling
Definition: NonDAdaptiveSampling.hpp:98
void rebuild_global()
Rebuilds a global approximation by generating new data using daceIterator and appending to approxInte...
Definition: DataFitSurrModel.cpp:1268
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:108
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: CONMINOptimizer.hpp:48
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:505
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:1315
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:2056
Model actualModel
the truth model which provides evaluations for building the surrogate (optional for global,...
Definition: DataFitSurrModel.hpp:425
bool adaptRank
internal C3 adaptation that identifies the best rank representation for a set of sample data based on...
Definition: SharedC3ApproxData.hpp:259
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:392
PRPQueue subIteratorPRPQueue
job queue for asynchronous execution of subIterator jobs
Definition: NestedModel.hpp:292
Real * r
residual r = r(x)
Definition: NL2SOLLeastSq.cpp:122
RealVector trainMeans
The mean of the input columns of trainPoints.
Definition: GaussProcApproximation.hpp:208
virtual ~NOWPACTraits()
destructor
Definition: NOWPACOptimizer.hpp:162
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:406
Base class for the model class hierarchy.
Definition: DakotaModel.hpp:67
virtual int derived_map_of(const Dakota::String &of_name)
execute the output filter portion of a direct evaluation invocation
Definition: DirectApplicInterface.cpp:247
DakotaROLEqConstraintsHess(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:817
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: SurrBasedLocalMinimizer.cpp:349
~TPLDataTransfer()
destructor
Definition: DakotaTPLDataTransfer.hpp:35
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDPolynomialChaos.cpp:901
bool empty_queues() const
helper for checking queued jobs in vars{Acquisition,Exploration}Map
Definition: EffGlobalMinimizer.hpp:405
short outputLevel
output verbosity level: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT
Definition: DakotaInterface.hpp:379
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:250
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:213
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:999
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
DAGSolutionData acvSolnData
final solution data for ACV (default DAG = numApprox,...,numApprox)
Definition: NonDACVSampling.hpp:266
~PebbldBranching()
Destructor.
Definition: PEBBLBranching.cpp:22
bool finalize_mapping()
Definition: DataFitSurrModel.cpp:413
virtual const RealSymMatrix & response_error_estimates() const
return error estimates associated with the final iterator solution
Definition: DakotaIterator.cpp:1468
void build_global()
Builds a global approximation using daceIterator.
Definition: DataFitSurrModel.cpp:1125
~GridApplicInterface()
destructor
Definition: GridApplicInterface.cpp:91
SizetArray primaryACVarMapIndices
"primary" all continuous variable mapping indices flowed down from higher level iteration
Definition: EnsembleSurrModel.hpp:325
A version of TraitsBase specialized for NL2SOL nonlinear least squares library.
Definition: NL2SOLLeastSq.hpp:31
BoolList dbCaptureList
transfers db_capture flag values from estimate_derivatives() to synchronize_derivatives()
Definition: DakotaModel.hpp:1657
void iterated_model(const Model &model)
set the iteratedModel (iterators and meta-iterators using a single model instance)
Definition: DakotaIterator.hpp:639
virtual bool is_derived()
A temporary query used in the refactor.
Definition: NL2SOLLeastSq.hpp:41
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:613
int pointsTotal
total points the user specified to construct the surrogate
Definition: DataFitSurrModel.hpp:452
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:2044
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:272
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NL2SOLLeastSq.hpp:44
virtual const IntResponseMap & synchronize_nowait()
recovers data from a series of asynchronous evaluations (nonblocking)
Definition: DakotaInterface.cpp:843
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:633
size_t drv() const
number of active discrete real vars
Definition: DakotaVariables.hpp:734
IntVector discreteStateRangeLowerBnds
lower bounds array for the discrete state variables defined by an integer range (from the discrete_st...
Definition: DataVariables.hpp:629
RealVector fnVals
response fn values within direct simulator fns
Definition: DirectApplicInterface.hpp:214
void exit_mode(const String &mode="exit")
allow environment clients to set Dakota exit behavior (throw vs. exit)
Definition: DakotaEnvironment.cpp:203
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:956
virtual size_t num_samples() const
get the current number of samples
Definition: DakotaIterator.cpp:1652
PRPQueue beforeSynchCorePRPQueue
used to bookkeep vars/set/response of nonduplicate asynchronous core evaluations. This is the queue o...
Definition: ApplicationInterface.hpp:534
void peer_static_schedule_evaluations_nowait()
execute a nonblocking static schedule in a peer partition
Definition: ApplicationInterface.cpp:1655
Iterator & subordinate_iterator()
return daceIterator
Definition: DataFitSurrModel.hpp:626
UShortMultiArrayConstView all_discrete_real_variable_types() const
return all discrete variable types
Definition: DakotaVariables.hpp:1753
Interface & derived_interface()
return subModel interface
Definition: RecastModel.hpp:865
size_t numSubIterMappedIneqCon
number of top-level inequality constraints mapped from the sub-iteration results
Definition: NestedModel.hpp:307
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:955
const std::vector< RespMetadataT > & metadata() const
get the (possibly empty) response metadata; (get labels through shared_data())
Definition: DakotaResponse.hpp:883
Real failThresh
the failure threshold (z-bar) for the problem.
Definition: NonDAdaptImpSampling.hpp:191
void assign_value(vecType &target, valueType val)
assign a value to an arbitrary vector
Definition: dakota_data_util.hpp:393
void reset_all()
blow away all data for all keys
Definition: NonDSparseGrid.hpp:186
void calibrate()
Definition: NonDDREAMBayesCalibration.cpp:160
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:414
IntResponseMap recastResponseMap
map of recast responses used by RecastModel::derived_synchronize() and RecastModel::derived_synchroni...
Definition: RecastModel.hpp:563
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:309
Real gradDotGrad_init
initial gradient norm squared
Definition: NonlinearCGOptimizer.hpp:146
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:34
Iterator operator=(const Iterator &iterator)
assignment operator
Definition: DakotaIterator.cpp:810
bool interpolateFlag
whether one should interpolate between the experiment and simulation field data
Definition: DataResponses.hpp:167
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:1048
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:1742
RealVector function_values_view()
return all function values as a view for updating in place
Definition: DakotaResponse.hpp:614
size_t miPLIndex
index of active parallel level (corresponding to ParallelConfiguration::miPLIters) to use for paralle...
Definition: IteratorScheduler.hpp:187
void clear_inactive()
clear inactive approximation data
Definition: ApproximationInterface.hpp:528
virtual const String2DArray & analysis_components() const
retrieve the analysis components, if available
Definition: DakotaInterface.cpp:1474
RealVector invGammaBetas
alphas for inverse gamma distribution on hyper-params
Definition: NonDBayesCalibration.hpp:425
unsigned short softConvLimit
number of consecutive iterations within tolerance required to indicate soft convergence
Definition: NonDExpansion.hpp:525
void build_local_multipoint()
Builds a local or multipoint approximation using actualModel.
Definition: DataFitSurrModel.cpp:1080
std::shared_ptr< Interface > get_interface(ProblemDescDB &problem_db)
Used by the envelope to instantiate the correct letter class.
Definition: DakotaInterface.cpp:206
int derived_evaluation_id() const
return the current evaluation id (simModelEvalCntr)
Definition: SimulationModel.hpp:428
int populationSize
the population_size specification for GA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:735
double CTLMIN
Minimum value of CTL used during optimization.
Definition: CONMINOptimizer.hpp:208
DataMethod & operator=(const DataMethod &)
assignment operator
Definition: DataMethod.cpp:718
NonDReliability(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDReliability.cpp:26
boost::filesystem::path dataPathPrefix
path to prepend to any data file names
Definition: ExperimentData.hpp:448
ActiveSet(size_t num_fns, size_t num_deriv_vars)
standard constructor
char optmarker
option marker
Definition: CommandLineHandler.hpp:132
size_t numIterPrimaryFns
number of objective functions or least squares terms in iterator's view, after transformations; alway...
Definition: DakotaMinimizer.hpp:278
DAGSolutionData()
default constructor
Definition: NonDNonHierarchSampling.hpp:90
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:1448
void refinement_statistics_mode(short stats_mode)
update statsMetricMode, here and in Pecos::ExpansionConfigOptions
Definition: NonDExpansion.cpp:2015
const RealSymMatrixArray & function_hessians() const
return all function Hessians
Definition: DakotaResponse.hpp:786
bool method_in_cache(const StrStrSizet &iterator_id) const
Check whether the name has already been added to a method group.
Definition: ResultsDBHDF5.cpp:267
void create_tabular_header(const Variables &vars, const Response &resp)
output a complete header to the tabular datastream
Definition: OutputManager.cpp:447
IntResponseMap cachedResponseMap
Set of available asynchronous responses completed within a blocking or nonblocking scheduler that can...
Definition: DakotaInterface.hpp:420
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:324
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:615
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:78
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:570
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: NLSSOLLeastSq.hpp:52
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:360
~APPSOptimizer()
destructor
Definition: APPSOptimizer.hpp:150
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:497
RealVector & discrete_real_variables_view()
return a mutable view of the active discrete real variables
Definition: DakotaVariables.hpp:1063
RealVector fnGradU
u-space gradient for current function updated from fnGradX and Jacobian dx/du
Definition: NonDLocalReliability.hpp:276
virtual bool evaluation_cache(bool recurse_flag=true) const
Indicates the usage of an evaluation cache by the Model.
Definition: DakotaModel.cpp:5887
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:504
UShortMultiArray allContinuousTypes
array of variable types for all of the continuous variables
Definition: SharedVariablesData.hpp:290
virtual ~PebbldTraits()
destructor
Definition: PEBBLMinimizer.hpp:30
NonDLHSSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDLHSSampling.cpp:51
const RealVector & discrete_real_variables() const
return the active discrete real variables from currentVariables
Definition: DakotaModel.hpp:1922
bool push_available()
queries the approximation for the ability to retrieve a previous increment
Definition: ApproximationInterface.hpp:488
bool suppress_output_flag() const
get the suppressOutputFlag
Definition: CommandShell.hpp:121
std::set< String > methodIdCache
Cached method Ids; used to know which methods have already had their method_name attribute set....
Definition: ResultsDBHDF5.hpp:277
size_t div() const
returns number of active discrete integer vars
Definition: DakotaModel.hpp:1752
~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:3600
size_t numCandidateDesigns
number of candidate designs to generate for classical D-optimal designs
Definition: NonDLHSSampling.hpp:168
size_t num_scalar_responses() const
number of scalar responses: primary_scalar + nonlinear constraints; note that these are non-contiguou...
Definition: SharedResponseData.hpp:333
Pecos::SurrogateData approxData
contains the variables/response data for constructing a single approximation model (one response func...
Definition: DakotaApproximation.hpp:403
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:370
~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:1394
void pre_combine()
aggregate the shared approximation data from current and stored states
Definition: SharedC3ApproxData.cpp:422
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:210
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:147
void update_chain_size(unsigned int size)
update MH-specific inverse problem options calIpMhOptionsValues
~NonDGlobalInterval()
destructor
Definition: NonDGlobalInterval.cpp:238
void launch_single(const Variables &vars_star)
launch a single job
Definition: EffGlobalMinimizer.cpp:647
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:1236
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:1505
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:107
int proposalCovUpdatePeriod
number of samples after which to update the proposal covariance from misfit Hessian (using residual v...
Definition: DataMethod.hpp:1140
int numPtsTotal
the total number of points
Definition: NonDGPImpSampling.hpp:98
RealVector nonlinearIneqScales
vector of nonlinear inequality constraint scaling factors (from the nonlinear_inequality_scales speci...
Definition: DataResponses.hpp:145
RealMatrix momentCIs
Matrix of confidence internals on moments, with rows for mean_lower, mean_upper, sd_lower,...
Definition: NonDSampling.hpp:429
unsigned short maxOrderSpec
scalar specification for maximum basis order (bounds uniform refinement)
Definition: NonDC3FunctionTrain.hpp:129
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:895
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:304
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:1806
int trialType
Trial type in CVT. Specifies where the points are placed for consideration relative to the centroids....
Definition: FSUDesignCompExp.hpp:134
RealVector lognormalUncLambdas
lambdas (means of the corresponding normals) of the lognormal uncertain variables (from the lambdas s...
Definition: DataVariables.hpp:330
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:518
size_t kickRank
user specification for increment in rank used within adapt_rank
Definition: SharedC3ApproxData.hpp:250
SizetArray approxSequence
tracks ordering of a metric (correlations, eval ratios) across set of approximations
Definition: NonDNonHierarchSampling.hpp:317
double hMeas
quality measure
Definition: DakotaPStudyDACE.hpp:91
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:1261
short solverType
COLIN solver sub-type as enumerated in COLINOptimizer.cpp.
Definition: COLINOptimizer.hpp:167
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:460
void wait_local_evaluations(Dakota::PRPQueue &prp_queue)
evaluate the batch of jobs contained in prp_queue
Definition: SoleilDirectApplicInterface.cpp:78
RealVector scX2
vector of scaled and/or offset x2 values
Definition: TANA3Approximation.hpp:90
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:123
virtual std::vector< Approximation > & approximations()
retrieve the Approximations within an ApproximationInterface
Definition: DakotaInterface.cpp:1390
bool pcaFlag
Flag to specify the calculation of principal components when using LHS.
Definition: DataMethod.hpp:870
Real percentFold
percentage of data for CV
Definition: SharedSurfpackApproxData.hpp:149
void initialize_model()
initialize emulator model and probability space transformations
Definition: NonDBayesCalibration.cpp:822
void read(MPIUnpackBuffer &s)
read a DataInterface object from a packed MPI buffer
Definition: DataInterface.hpp:358
struct FunctionTrain * function_train()
get pointer to the FunctionTrain approximation
Definition: C3FnTrainData.hpp:266
void replace_nonlinear_arrays(int num_cv, size_t num_lin_con, size_t num_nln_con)
update nonlinear constraint arrays
Definition: SOLBase.hpp:223
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:229
short varsView
user selection/override of variables view: {DEFAULT,ALL,DESIGN, UNCERTAIN,ALEATORY_UNCERTAIN,...
Definition: DataVariables.hpp:102
void primary_diagnostics(size_t fn_index) override
compute and print all requested diagnostics and cross-validation
Definition: SurfpackApproximation.cpp:719
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:155
void get_trend()
Gets the trend (basis) functions for the calculation of the mean of the GP If the order = 0,...
Definition: GaussProcApproximation.cpp:343
RealMatrix rho2LH
squared Pearson correlations among approximations and truth
Definition: NonDNonHierarchSampling.hpp:326
virtual void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1324
ParallelConfiguration()
default constructor
Definition: ParallelLibrary.hpp:505
Real functionCurr
current function value
Definition: NonlinearCGOptimizer.hpp:125
IntSet idAnalyticHessians
mixed Hessian analytic identifiers (from the id_analytic_hessians specification in RespHessMixed)
Definition: DataResponses.hpp:242
size_t numContinuousStateVars
number of continuous state variables (from the continuous_state specification in VarSV)
Definition: DataVariables.hpp:201
int maximum_evaluation_concurrency() const
return the maximum evaluation concurrency supported by the iterator
Definition: DakotaIterator.hpp:687
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:1105
virtual void archive_best_results()
top-level archival method
Definition: DakotaMinimizer.cpp:1140
void core_run()
perform a forward uncertainty propagation using PCE/SC methods
Definition: NonDMultilevelPolynomialChaos.cpp:478
const int refineCVFolds
Number of cross validation folds for surrogate refinement.
Definition: DataFitSurrModel.hpp:357
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:419
static double negloglikNCSU(const RealVector &x)
function used by NCSUOptimizer to optimize negloglik objective
Definition: GaussProcApproximation.cpp:790
RealMatrix covLH
covariances between each LF approximation and HF truth (the c vector in ACV); organized numFunctions ...
Definition: NonDNonHierarchSampling.hpp:321
String hessianType
Hessian type: none, numerical, quasi, analytic, or mixed (from the no_hessians, numerical_hessians,...
Definition: DataResponses.hpp:191
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:946
StringArray functionLabels
fine-grained (unrolled) set of response function identifiers used to improve output readability; leng...
Definition: SharedResponseData.hpp:111
MPIUnpackBuffer(int size_)
Constructor that specifies the size of the buffer.
Definition: MPIPackBuffer.hpp:194
RealArray metaData
real-valued metadata
Definition: DirectApplicInterface.hpp:188
short ruleNestingOverride
user override of default rule nesting: NO_NESTING_OVERRIDE, NESTED, or NON_NESTED
Definition: NonDExpansion.hpp:487
bool server_master() const
return serverMasterFlag
Definition: ParallelLibrary.hpp:322
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:1138
void update_approximation(const Variables &vars, const IntResponsePair &response_pr)
Definition: ApproximationInterface.cpp:351
StringMultiArray referenceIDSVars
stores a reference copy of the inactive discrete string variables when the approximation is built usi...
Definition: DataFitSurrModel.hpp:487
double CT
Constraint thickness parameter.
Definition: CONMINOptimizer.hpp:202
size_t maxRefineIterations
maximum number of uniform/adaptive refinement iterations (specialization of maxIterations)
Definition: NonDExpansion.hpp:616
const bool autoRefine
whether to automatically refine the surrogate during the build phase
Definition: DataFitSurrModel.hpp:345
const StringArray & field_group_labels()
return the user-provided field group labels instead of the unrolled labels available through function...
Definition: DakotaResponse.hpp:874
double * constraintJacMatrixF77
[CJAC] matrix from NPSOL manual: nonlinear constraint Jacobian
Definition: SOLBase.hpp:182
void setGlobalInfo(PebbldBranching *global_)
Method that sets up the main Branching object.
Definition: PEBBLBranching.cpp:53
void core_run()
Definition: NonDGenACVSampling.cpp:300
virtual bool force_rebuild()
determine whether a surrogate model rebuild should be forced based on changes in the inactive data
Definition: DakotaModel.cpp:4286
BitArray extraDSVarsData
flags for updating subModel discrete string labels, one for each active discrete string variable in c...
Definition: NestedModel.hpp:407
IntVector hyperGeomUncTotalPop
Size of total populations (N) for the hypergeometric uncertain variables from the total_population sp...
Definition: DataVariables.hpp:500
virtual void evaluate_grid_increment()
computes a grid increment and evaluates the new parameter sets
Definition: NonDIntegration.cpp:167
bool recastings() const
return true if recastFlags is defined
Definition: DakotaModel.hpp:1740
virtual ~DOTTraits()
destructor
Definition: DOTOptimizer.hpp:58
bool responsesDBLocked
prevents use of get_<type> retrieval and set_<type> update functions prior to setting the list node f...
Definition: ProblemDescDB.hpp:521
Real solverTol
optimization tolerance for FT regression
Definition: DataMethod.hpp:816
COLINApplication()
Default constructor. Rrequired by COLIN's ApplicationHandle creation.
Definition: COLINApplication.hpp:48
const RealVector & inactive_continuous_lower_bounds() const
return the inactive continuous lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3006
IntVector & discrete_int_variables_view()
return a mutable view of the active discrete integer variables
Definition: DakotaVariables.hpp:1049
void cov_std_deviation(RealVectorArray &std_deviation) const
get the standard deviation of the observation error process, one vector per experiment
Definition: ExperimentData.cpp:1046
size_t numUncertainQuant
number of invocations of core_run()
Definition: NonDExpansion.hpp:537
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:1082
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:368
size_t solnCntlAVIndex
index of solution control variable within all variables
Definition: EnsembleSurrModel.hpp:306
size_t maxRankSpec
scalar specification for maximum rank (bounds adapt_rank)
Definition: NonDC3FunctionTrain.hpp:125
sigtype
special values for sigmaType
Definition: ExperimentData.hpp:36
PrefixingLineFilter(const std::string &prefix_in)
Constructor.
Definition: ROLOptimizer.hpp:573
ParLevLIter iePLIter
list iterator identifying the iterator-evaluation parallelLevel (there can only be one)
Definition: ParallelLibrary.hpp:494
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:264
~MPIManager()
destructor: calls finalize if Dakota owns MPI
Definition: MPIManager.cpp:83
String topMethodPointer
method identifier for the environment (from the top_method_pointer specification
Definition: DataEnvironment.hpp:107
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:224
void print_tolerance_intervals_statistics(std::ostream &s) const
prints the tolerance intervals stastics
Definition: NonDSampling.cpp:2011
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:983
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:594
Variables actualModelVars
copy of the actualModel variables object used to simplify conversion among differing variable views
Definition: ApproximationInterface.hpp:259
std::string iFilterName
the name of the input filter (input_filter user specification)
Definition: ProcessApplicInterface.hpp:174
Derived nondeterministic class that generates N-dimensional numerical cubature points for evaluation ...
Definition: NonDCubature.hpp:38
IntResponseMap nestedResponseMap
used to return a map of nested responses (including subIterator and optionalInterface contributions) ...
Definition: NestedModel.hpp:271
virtual bool is_derived()
A temporary query used in the refactor.
Definition: SurrBasedGlobalMinimizer.hpp:47
MPI_Comm serverIntraComm
intracomm. for each server partition
Definition: ParallelLibrary.hpp:133
Verification(ProblemDescDB &problem_db, Model &model)
constructor
Definition: DakotaVerification.cpp:24
std::vector< Approximation > functionSurfaces
list of approximations, one per response function
Definition: ApproximationInterface.hpp:224
virtual void deactivate_distribution_parameter_derivatives()
deactivate derivative setting w.r.t. distribution parameters
Definition: DakotaModel.cpp:5131
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:171
void all_bounds(const Constraints &cons)
copy all {cv,div,drv} {lower,upper} bounds from incoming object
Definition: DakotaConstraints.hpp:887
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:154
friend class boost::serialization::access
allow boost access to serialize this class
Definition: ParamResponsePair.hpp:57
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:419
DataResponses & operator=(const DataResponses &)
assignment operator
Definition: DataResponses.cpp:145
bool numericalIssuesRaw
flag indicating numerical issues in partial raw correlation calculations
Definition: SensAnalysisGlobal.hpp:191
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:1308
void compute_numerical_stat_refinements(RealVectorArray &imp_sampler_stats, RealRealPairArray &min_max_fns)
refinements to numerical probability statistics from importanceSampler
Definition: NonDExpansion.cpp:3299
bool volQualityFlag
flag which specifies evaluation of volumetric quality measures
Definition: DakotaPStudyDACE.hpp:75
void random_seed(int seed)
set randomSeed, if present
Definition: NonDQuadrature.hpp:237
void update_projected_samples(const DAGSolutionData &soln, const SizetArray &N_H_actual, size_t &N_H_alloc, size_t &delta_N_H_actual, Real &delta_equiv_hf)
Definition: NonDMultifidelitySampling.cpp:415
void increment_samples(SizetArray &N_l, size_t incr)
increment samples array with a shared scalar
Definition: NonDEnsembleSampling.hpp:329
PRPQueueHIter hashedQueueBegin(PRPQueue &prp_queue)
hashed definition of queue begin
Definition: PRPMultiIndex.hpp:228
void assign_modes()
verify supported and define default correction / emulation modes
Definition: NonDExpansion.cpp:1296
Real tiConfidenceLevel
confidence interval to be used in the calculation of the double sided tolerance interval equivalent n...
Definition: NonDSampling.hpp:343
NonDLocalInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLocalInterval.cpp:37
ResultsEntry()
return a reference to the stored data, whether from core or file
~CommandLineHandler()
destructor
Definition: CommandLineHandler.hpp:218
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:538
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:858
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:287
IntVectorArray listDIVPoints
array of discrete int evaluation points for the list_parameter_study
Definition: ParamStudy.hpp:197
ParConfigLIter parallel_configuration_iterator() const
return the current ParallelConfiguration node
Definition: ParallelLibrary.hpp:1081
RealVector prevCVStar
stores previous optimal point for continuous variables; used for assessing convergence
Definition: NonDGlobalInterval.hpp:174
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:1211
const RealVector & all_continuous_lower_bounds() const
returns a single array with all continuous lower bounds
Definition: DakotaConstraints.hpp:726
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:396
Nonintrusive uncertainty quantification with the C3 library ...
Definition: NonDC3FunctionTrain.hpp:28
RealVector searchDirection
current aggregate search direction
Definition: NonlinearCGOptimizer.hpp:140
Environment()
default constructor: empty envelope
Definition: DakotaEnvironment.cpp:113
void compute_numerical_level_mappings()
compute only numerical level mappings; this uses a lightweight approach for incremental statistics (n...
Definition: NonDExpansion.cpp:2855
void update_response_from_model(const Model &model)
update labels and nonlinear constraint bounds/targets from subModel
Definition: RecastModel.cpp:1356
virtual void fine_grained_evaluation_counters()
Request fine-grained evaluation reporting within the Model.
Definition: DakotaModel.cpp:5921
static const char parallel_input[]
Default Dakota input string for parallel case (text_book)
Definition: library_mode.cpp:175
size_t idrv_start() const
get start index of inactive discrete real vars
Definition: SharedVariablesData.hpp:1730
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:246
bool posteriorStatsMutual
flag indicating the calculation of mutual information between prior and posterior in Bayesian methods
Definition: DataMethod.hpp:1117
const Response & response() const
return the response object
Definition: ParamResponsePair.hpp:261
StringMultiArrayView all_continuous_labels(size_t start, size_t num_items) const
get num_items continuous labels beginning at index start
Definition: SharedVariablesData.hpp:1400
void assign_surrogate_response_mode()
define the surrogate response mode for an ensemble model in multilevel/multifidelity expansions
Definition: NonDExpansion.cpp:1316
RealVector proposalCovarData
data from user input of proposal covariance
Definition: NonDBayesCalibration.hpp:461
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:840
RealMatrix linEqCoeffs
linear equality constraint coefficients used in "user_functions" mode
Definition: SNLLOptimizer.hpp:363
virtual ~AppsTraits()
destructor
Definition: APPSOptimizer.hpp:87
size_t max_order_regression_size()
return number of FT unknowns using start_rank(), max_rank(), and maximum basis order
Definition: SharedC3ApproxData.hpp:526
void optimize_gaussian_process()
construct the GP using EGO/SKO
Definition: NonDGlobalReliability.cpp:453
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:718
size_t scalarSigmaPerRow
number of sigma values to read from each row in simple data file format (calculated from variance typ...
Definition: ExperimentData.hpp:461
short krigingMaxTrials
maximum number of trials in optimization of kriging correlations
Definition: DataModel.hpp:241
OptDartsOptimizer(ProblemDescDB &problem_db, Model &model)
Constructor.
Definition: OptDartsOptimizer.cpp:36
RealMatrix momentGrads
gradients of standardized or central moments of response functions, as determined by finalMomentsType...
Definition: NonDSampling.hpp:325
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:369
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:333
bool messagePass
flag for message passing among iterator servers
Definition: IteratorScheduler.hpp:180
const IntSet & hessian_id_numerical() const
return the mixed Hessian analytic IDs (hessIdNumerical)
Definition: DakotaModel.hpp:3672
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:1737
RealVector betaUncUpperBnds
distribution upper bounds for the beta uncertain variables (from the upper_bounds specification in Va...
Definition: DataVariables.hpp:400
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDGPMSABayesCalibration.cpp:185
StringArray metadataLabels
descriptors for each metadata field
Definition: DataResponses.hpp:259
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:258
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:402
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:492
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:737
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:719
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:1379
int server_communicator_rank() const
return serverCommRank
Definition: ParallelLibrary.hpp:343
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
Definition: SurrBasedMinimizer.cpp:822
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:268
void opt_darts_plot_discs_2d(size_t icandidate)
Convenience function for plotting iterates.
Definition: OptDartsOptimizer.cpp:969
size_t kickRank
rank increment when adapting
Definition: DataMethod.hpp:832
size_t adsv() const
accumulate all discrete string variables from variablesCompsTotals
Definition: SharedVariablesData.hpp:386
ExperimentData()
default constructor
Definition: ExperimentData.cpp:17
int synchronous_local_analysis(int analysis_id)
Definition: DirectApplicInterface.hpp:250
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: CONMINOptimizer.hpp:42
BitArray acv_to_all_mask() const
create a BitArray indicating the all continuous subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1287
void initialize_response()
initialize currentResponse
Definition: MinimizerAdapterModel.hpp:144
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:860
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:687
Iterator daceIterator
selects parameter sets on which to evaluate actualModel in order to generate the necessary data for b...
Definition: DataFitSurrModel.hpp:429
RealVector loguniformUncLowerBnds
distribution lower bounds for the loguniform uncertain variables (from the lower_bounds specification...
Definition: DataVariables.hpp:364
MPIManager mpiManager
the MPI manager instance
Definition: DakotaEnvironment.hpp:154
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:69
size_t numParents
The number of parents to use in a crossover operation.
Definition: DataMethod.hpp:674
RealVector thetaParams
Theta is the vector of covariance parameters for the GP. We determine the values of theta by optimiza...
Definition: GaussProcApproximation.hpp:266
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:2698
size_t discrete_epistemic_uncertain()
return total number of epistemic uncertain variables
Definition: DataVariables.hpp:953
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
UShortArray ssgLevelSeqSpec
user request of sparse grid level
Definition: NonDMultilevelPolynomialChaos.hpp:143
const MPIManager & mpiManager
reference to the MPI manager with Dakota's MPI options
Definition: ParallelLibrary.hpp:1015
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:138
Real contractStepLength
the contractStepLength choice for nonlinearly constrained APPS in MethodAPPSDC
Definition: DataMethod.hpp:540
void get_parameter_sets(Model &model)
Generate one block of numSamples samples (ndim * num_samples), populating allSamples; ParamStudy is t...
Definition: NonDCubature.cpp:112
~COLINOptimizer()
destructor
Definition: COLINOptimizer.hpp:101
const char * FIELD_NAMES[]
Definition: MatlabInterface.cpp:33
String scalarDataFilename
the user-specied scalar data filename
Definition: ExperimentData.hpp:453
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:2167
void all_discrete_string_label(const String &dsv_label, size_t index)
set discrete string label at index start
Definition: SharedVariablesData.hpp:1463
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:615
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:483
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:1203
Real variance()
return the variance of the expansion, where all active vars are random
Definition: PecosApproximation.hpp:479
std::ostream * defaultOStream
initial stream to reset to when redirections are done (typically std::cout or std::cerr)
Definition: OutputManager.hpp:102
void decrement_grid()
decrement SSG level/TPQ order
Definition: NonDCubature.cpp:169
Class for pure interval propagation using LHS.
Definition: NonDLHSSingleInterval.hpp:33
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:263
DataInterface()
constructor
Definition: DataInterface.cpp:92
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:163
void write(std::ostream &s) const
write a DataMethod object to an std::ostream
Definition: DataMethod.hpp:1442
bool supports_linear_inequality()
Return the flag indicating whether method supports linear inequalities.
Definition: SurrBasedGlobalMinimizer.hpp:59
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:109
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:124
Dummy struct for overloading constructors used in on-the-fly instantiations without ProblemDescDB sup...
Definition: dakota_global_defs.hpp:177
size_t numDiscreteStateRangeVars
number of discrete state variables defined by an integer range (from the discrete_state_range specifi...
Definition: DataVariables.hpp:204
IntVector referenceDILBnds
stores a reference copy of active discrete int lower bounds when the approximation is built; used to ...
Definition: DataFitSurrModel.hpp:501
virtual bool advancement_available()
queries availability of advancing the approximation resolution
Definition: SharedApproxData.cpp:452
const StringArray & get_sa(const String &entry_name) const
get a StringArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1913
Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > MatType
Convenience definition.
Definition: BootstrapSampler.hpp:203
bool resize()
reinitializes iterator based on new variable size
Definition: DDACEDesignCompExp.cpp:100
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:110
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:46
virtual void finalize_approximation()
finalize an approximation by applying all previous trial increments
Definition: DakotaModel.cpp:4177
RealMatrix acceptedFnVals
cached function values corresponding to acceptanceChain for final statistics reporting
Definition: NonDBayesCalibration.hpp:475
RealMatrix fnGradsPrev
previous gradient vectors used in computing y for quasi-Newton updates
Definition: DakotaModel.hpp:1676
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:834
boost::bimap< unsigned short, std::string > UShortStrBimap
bimaps to convert from enums <--> strings
Definition: DakotaIterator.cpp:841
void bcast_e(int &data)
broadcast an integer across an evaluation communicator
Definition: ParallelLibrary.hpp:1829
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:1541
StringArray discreteStrEpistemicUncUpperBnds
distribution upper bounds for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:784
void initialize_active_start_counts()
initialize start index and counts for active variables
Definition: SharedVariablesData.hpp:1375
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:1242
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: HierarchSurrBasedLocalMinimizer.hpp:57
const RealVector & inactive_continuous_upper_bounds() const
return the inactive continuous upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3028
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:584
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:91
virtual void post_process_response_fn_results()
post-process the interval computed for a response function
Definition: NonDGlobalInterval.cpp:533
ProgramOptions & programOptions
programOptions is non-const due to updates from broadcast
Definition: ParallelLibrary.hpp:1017
void archive_moments(size_t inc_id=0)
archive moment statistics in results DB
Definition: NonDSampling.cpp:1353
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:294
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDGlobalInterval.cpp:242
short quadMode
point generation mode: FULL_TENSOR, FILTERED_TENSOR, RANDOM_TENSOR
Definition: NonDQuadrature.hpp:187
void replace_variable_bounds(size_t num_lin_con, size_t num_nln_con, RealVector &aggregate_l_bnds, RealVector &aggregate_u_bnds, const RealVector &cv_lower_bnds, const RealVector &cv_upper_bnds)
replace variable bounds within aggregate arrays
Definition: SOLBase.cpp:376
int stopRestart
record at which to stop reading restart
Definition: DataEnvironment.hpp:62
~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:547
std::map< Pecos::ActiveKey, UShortArray > startOrdersMap
starting values for polynomial order (prior to adaptive refinement); for each model key,...
Definition: SharedC3ApproxData.hpp:224
StringMultiArrayView all_continuous_variable_labels() const
returns a single array with all continuous variable labels
Definition: DakotaVariables.hpp:1680
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:340
unsigned short modelImportFormat
Format selection for import_model.
Definition: DataModel.hpp:212
virtual void post_input()
read tabular data for post-run mode
Definition: DakotaIterator.cpp:1892
ProblemDescDB & problem_description_db()
return probDescDB
Definition: DakotaEnvironment.hpp:200
int lf_poly_prod()
modified low fidelity Rosenbrock to test SBO with hierarchical approximations
Definition: TestDriverInterface.cpp:1525
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:150
void write(std::ostream &s) const
write a DataModelRep object to an std::ostream
Definition: DataModel.cpp:172
RealVector fdHessByFnStepSize
relative finite difference step size for numerical Hessians estimated using second-order differences ...
Definition: DakotaModel.hpp:1449
virtual size_t cost_metadata_index() const
return index of online cost estimates within metadata
Definition: DakotaModel.cpp:3768
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:113
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:800
void assign_rule(const Pecos::MultivariateDistribution &mvd)
define cubIntRule from random variable type
Definition: NonDCubature.cpp:81
void set(const String &entry_name, const RealVector &rv)
set a RealVector within the database based on an identifier string
Definition: ProblemDescDB.cpp:2767
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:78
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:1445
void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDLocalEvidence.cpp:81
Container class for response functions and their derivatives. ExperimentResponse provides the body ...
Definition: ExperimentResponse.hpp:49
size_t qoi() const
return number of unique response functions (managing any aggregations)
Definition: DataFitSurrModel.hpp:560
Response(const Response &response)
copy constructor
size_t num_samples() const
Definition: PSUADEDesignCompExp.hpp:114
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:1622
void active_model_key(const Pecos::ActiveKey &key)
activate an approximation state based on its key
Definition: ApproximationInterface.hpp:304
IntArray algebraicFnTypes
function type: > 0 = objective, < 0 = constraint |value|-1 is the objective (constraint) index when m...
Definition: DakotaInterface.hpp:482
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:100
std::string tabularInterfLabel
label for interface used in first line comment w/i the tabular data file
Definition: OutputManager.hpp:435
void run_dakota_data()
Run a Dakota LibraryEnvironment, mode 2: from C++ API inserted data.
Definition: library_mode.cpp:224
int burnInSamples
number of MCMC samples to discard from acceptance chain
Definition: NonDBayesCalibration.hpp:482
Wrapper class for HOPSPACK.
Definition: APPSOptimizer.hpp:133
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:577
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:203
short c3AdvanceType
quantity to increment (start rank, start order, max rank, max order, max rank + max order) for FT (un...
Definition: DataMethod.hpp:843
int newSolnsGenerated
the new_solutions_generated specification for GA/EPSA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:608
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:231
String expansionExportFile
filename for export of chaos coefficients
Definition: NonDPolynomialChaos.hpp:211
get_jobs_completed_t get_jobs_completed
handle to dynamically linked get_jobs_completed grid function
Definition: GridApplicInterface.hpp:116
const RealVector & discrete_real_upper_bounds() const
return the active discrete variable upper bounds
Definition: DakotaConstraints.hpp:594
SizetSet surrogateFnIndices
for mixed response sets, this array specifies the response function subset that is approximated
Definition: DiscrepancyCorrection.hpp:123
void resize_communicators(ParLevLIter pl_iter, bool reinit_comms)
Resize the communicators. This is called from the letter's resize()
Definition: DakotaIterator.cpp:1162
ParLevLIter ea_parallel_level_iterator() const
return eaPLIter
Definition: ParallelLibrary.hpp:606
int offlineEvalConcurrency
Concurrency to use when building subspace.
Definition: SubspaceModel.hpp:184
unsigned short modelExportFormat
Format selection for export_model.
Definition: DataMethod.hpp:1330
~NonDRKDDarts()
destructor
Definition: NonDRKDDarts.cpp:68
bool method_locked() const
return methodDBLocked
Definition: ProblemDescDB.hpp:652
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:1393
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:445
String failureMessage
base message for managing failed evals; will be followed with more details in screen output
Definition: ApplicationInterface.hpp:261
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:193
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:96
OPTPP::OptBCNewton * optbcnewton
Bound constrained Newton optimizer ptr.
Definition: SNLLLeastSq.hpp:199
~NonDWASABIBayesCalibration()
destructor
Definition: NonDWASABIBayesCalibration.cpp:58
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: EffGlobalMinimizer.hpp:55
std::map< var_t, Real > xDRM
map from var_t enum to discrete real value
Definition: DirectApplicInterface.hpp:195
void initialize_inactive_components()
initialize inactiveVarsCompsTotals given i{c,di,dr}vStart and numI{C,DI,DR}V
virtual ~NCSUTraits()
destructor
Definition: NCSUOptimizer.hpp:34
void update_basis()
update oneApproxOpts with active basis orders after an order change
Definition: SharedC3ApproxData.hpp:366
const IntVector & field_lengths() const
return the field lengths (from SharedResponseData)
Definition: DakotaResponse.hpp:846
OutputManager outputManager
(tagged) output stream manager
Definition: DakotaEnvironment.hpp:156
ProgramOptions dummy_prg_opt
dummy ProgramOptions for ref initialization
Definition: dakota_global_defs.cpp:75
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:147
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:246
std::vector< var_t > xDIMLabels
var_t enumerations corresponding to discrete integer variable labels
Definition: DirectApplicInterface.hpp:203
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: APPSOptimizer.hpp:72
bool is_scale(const H5::DataSet dset) const
Is the dataset a dimenions scale?
Definition: HDF5_IO.cpp:466
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:122
RealVector predictionErrors
Vector to hold the RMSE after each round of adaptively fitting the model.
Definition: NonDAdaptiveSampling.hpp:112
std::vector< size_t > varsMapIndices
If populated, reorder variables when evaluating surrogate these are indices into the Model's vars so ...
Definition: SharedSurfpackApproxData.hpp:131
size_t numFinalSolutions
number of solutions to retain in best variables/response arrays
Definition: DakotaIterator.hpp:509
String advancedOptionsFile
advanced options file name (GPMSA only); settings from this file override any C++ / Dakota input file...
Definition: NonDQUESOBayesCalibration.hpp:237
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:1748
size_t num_nonlinear_eq_constraints() const
return the number of nonlinear equality constraints
Definition: DakotaConstraints.hpp:1085
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:726
bool command_line_user_modes() const
return userModesFlag
Definition: ParallelLibrary.hpp:1349
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:3456
void read(MPIUnpackBuffer &s)
read a DataResponses object from a packed MPI buffer
Definition: DataResponses.hpp:377
size_t numLinearEqCons
number of linear equality constraints
Definition: DakotaConstraints.hpp:384
size_t numNegBinomialUncVars
number of negative binomial uncertain variables (from the negative_binomial_uncertain specification i...
Definition: DataVariables.hpp:168
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:359
bool ie_parallel_level_defined() const
test for definition of iterator-evaluation parallel level
Definition: ParallelLibrary.hpp:582
unsigned short improvementConvergeCntr
counter for number of successive iterations that the iteration improvement is less than the convergen...
Definition: NonDGlobalInterval.hpp:160
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:903
virtual short correction_type() const
return the correction type from the DiscrepancyCorrection object used by SurrogateModels
Definition: DakotaModel.cpp:4457
IntResponseMap responseMap
used to return a map of responses for asynchronous evaluations in final concatenated form....
Definition: DakotaModel.hpp:1685
RealVector pExp
vector of exponent values
Definition: TANA3Approximation.hpp:87
void coefficients_norms_flag(bool flag)
invoke Pecos::SharedOrthogPolyApproxData::coefficients_norms_flag()
Definition: SharedPecosApproxData.hpp:341
virtual int derived_map_ac(const String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: MatlabInterface.cpp:109
SizetMultiArrayConstView all_continuous_ids(size_t start, size_t num_items) const
get num_items continuous ids beginning at index start
Definition: SharedVariablesData.hpp:1581
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:101
IntVariablesMap rawVarsMap
map of raw continuous variables used by apply_correction(). Model::varsList cannot be used for this p...
Definition: SurrogateModel.hpp:213
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:198
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:3192
void assign_surrogate_key(size_t i)
synchronize the LF model's solution level control with surrModelKey
Definition: EnsembleSurrModel.hpp:901
ResponseArray bestResponseArray
collection of N best solution responses found during the study; always in context of Model originally...
Definition: DakotaIterator.hpp:517
void construct_map_model()
construct the negative log posterior RecastModel (negLogPostModel)
Definition: NonDBayesCalibration.cpp:653
StringArray fnLabels
response function descriptors (used in print_evaluation_summary() and derived direct interface classe...
Definition: DakotaInterface.hpp:426
const ExperimentCovariance & experiment_covariance() const override
retrieve the ExperimentCovariance structure
Definition: ExperimentResponse.cpp:98
IntVector hyperGeomUncVars
initial values of the hypergeometric uncertain variables (from the initial_point specification in Var...
Definition: DataVariables.hpp:510
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:1558
Iterator(std::shared_ptr< TraitsBase > traits=std::shared_ptr< TraitsBase >(new TraitsBase()))
default constructor
Definition: DakotaIterator.cpp:267
void write_data(double *response_data)
write to an incoming double* array
~NL2SOLLeastSq()
destructor
Definition: NL2SOLLeastSq.cpp:100
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:5053
static StringStringPairIntMap recastModelIdCounters
Counters for naming RecastModels.
Definition: RecastModel.hpp:567
void derived_map_asynch(const ParamResponsePair &pair)
Called by map() and other functions to execute the simulation in asynchronous mode....
Definition: DirectApplicInterface.cpp:281
Real probEstimate
the probability estimate that is iteratively refined by importance sampling
Definition: NonDAdaptImpSampling.hpp:189
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:403
const int NUMBER_OF_FIELDS
Definition: MatlabInterface.cpp:41
void derived_subordinate_models(ModelList &ml, bool recurse_flag)
return actualModel (and optionally its sub-models)
Definition: DataFitSurrModel.hpp:686
IntVector discreteStateSetIntLowerBnds
discrete state integer set lower bounds inferred from set values
Definition: DataVariables.hpp:800
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:1055
size_t numScalarResponses
number of scalar responses (scalar primary + scalar constraints)
Definition: SharedResponseData.hpp:120
void compute_statistics() override
Compute final stats for MCMC chains.
Definition: NonDWASABIBayesCalibration.hpp:71
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:268
IntArray newFnGradRefPt
iteration reference point for newFnGradCounter
Definition: DakotaInterface.hpp:409
std::shared_ptr< Iterator > iteratorRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaIterator.hpp:604
void fill_simulation_data()
populate the simulation data, calculating and applying scaling if needed
Definition: NonDGPMSABayesCalibration.cpp:497
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:216
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:275
RealVector designVars
current decision variables in the major iteration
Definition: NonlinearCGOptimizer.hpp:119
BitArray allRelaxedDiscreteReal
array of booleans to indicate relaxation (promotion from DiscreteReal to Continuous) for all specifie...
Definition: SharedVariablesData.hpp:319
void build()
builds the approximation from scratch
Definition: PecosApproximation.hpp:761
RealVector lognormalUncLowerBnds
distribution lower bounds for the lognormal uncertain variables (from the lower_bounds specification ...
Definition: DataVariables.hpp:346
RealSymMatrixArray quasiHessians
quasi-Newton Hessian approximations
Definition: DakotaModel.hpp:1679
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:692
NonDGlobalReliability(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDGlobalReliability.cpp:69
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDGlobalInterval.cpp:259
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDMultilevelPolynomialChaos.cpp:891
void stop_servers()
Executed by the master to terminate all server operations for a particular model when iteration on th...
Definition: EnsembleSurrModel.hpp:663
UShortMultiArrayConstView discrete_real_variable_types() const
return the active discrete real variable types
Definition: DakotaVariables.hpp:1339
bool showMiscOptions
the show_misc_options specification in MethodSCOLIBDC
Definition: DataMethod.hpp:581
HOPSPACK::ParameterList * citizenParams
Pointer to APPS citizen/algorithm parameter sublist.
Definition: APPSOptimizer.hpp:200
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:96
virtual void serve_evaluations()
evaluation server function for multiprocessor executions
Definition: DakotaInterface.cpp:881
Real deltaEquivHF
for sample projections, the calculated increment in equivHFEvals that would be incurred if full itera...
Definition: NonDEnsembleSampling.hpp:205
UShortArray quadratureOrderSeq
the quadrature_order_sequence specification in MethodNonDPCE and MethodNonDSC
Definition: DataMethod.hpp:931
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:153
bool null(const MPI_Comm &comm)
test comm for MPI_COMM_NULL
Definition: ParallelLibrary.hpp:175
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:35
void pack(const int &data)
Pack a int.
Definition: MPIPackBuffer.hpp:89
virtual void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDGlobalInterval.cpp:529
bool preRunFlag
flags invocation with command line option -pre_run
Definition: DataEnvironment.hpp:66
bool calibrationDataFlag
flag indicating whether user-supplied calibration data is active
Definition: DakotaMinimizer.hpp:287
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:67
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:360
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:1223
int numCVTTrials
specifies the number of sample points taken at internal CVT iteration
Definition: FSUDesignCompExp.hpp:126
bool multifidelity_precedence() const
return precedence for hierarchy definition, model forms or resolution levels
Definition: EnsembleSurrModel.hpp:587
SensAnalysisGlobal pStudyDACESensGlobal
initialize statistical post processing
Definition: DakotaPStudyDACE.hpp:72
virtual void variable_bounds(const RealVector &cv_lower_bnds, const RealVector &cv_upper_bnds)
assign nonlinear inequality and equality constraint allowables for this iterator (user-functions mode...
Definition: DakotaIterator.cpp:1530
double priorPropCovMult
optional multiplier to scale prior-based proposal covariance
Definition: NonDMUQBayesCalibration.hpp:130
void declare_sources()
Declare sources to the evaluations database.
Definition: NCSUOptimizer.cpp:384
int DAKOTA_DLL_FN dakota_start(int id)
command DakotaRunner instance id to start (plugin interface and run strategy)
Definition: dakota_dll_api.cpp:278
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:974
void init_communicators_checks(int max_eval_concurrency)
Definition: SysCallApplicInterface.hpp:127
IntVector discreteIntVars
the active discrete integer variables array view
Definition: DakotaVariables.hpp:623
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:677
OPTPP::FDNLF1 * fdnlf1Con
pointer to constraint NLF for (finite diff) gradient-based optimizers
Definition: SNLLOptimizer.hpp:325
wrapper to delegate to the ParamResponsePair hash_value function
Definition: PRPMultiIndex.hpp:134
virtual const Pecos::SurrogateData & approximation_data(size_t fn_index)
retrieve the approximation data from a particular Approximation within an ApproximationInterface
Definition: DakotaInterface.cpp:1404
static bfs::path system_tmp_file(const std::string &prefix)
generate a valid temporary file name prefix_%%%%%%%%
Definition: WorkdirHelper.cpp:452
void derived_evaluate_nowait(const ActiveSet &set)
portion of evaluate_nowait() specific to SimulationModel (invokes an asynchronous map() on userDefine...
Definition: SimulationModel.hpp:281
short outputLevel
output level (for debugging only; not passed in)
Definition: OutputManager.hpp:438
std::list< ParallelLevel > parallelLevels
the complete set of parallelism levels for managing multilevel parallelism among one or more configur...
Definition: ParallelLibrary.hpp:1031
size_t epistemic_uncertain()
return total number of epistemic uncertain variables
Definition: DataVariables.hpp:971
bool get_variable_bounds_from_dakota(typename AdapterT::VecT &lower, typename AdapterT::VecT &upper)
Definition: DakotaOptimizer.hpp:462
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:701
~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:709
int crossMaxIter
maximum number of iterations for (future) cross iteration solver
Definition: SharedC3ApproxData.hpp:277
String exportCorrModelFile
specify the name of file to which corrected model (model+discrepancy) calculations are output
Definition: DataMethod.hpp:1189
const String & responses_id() const
return the response identifier
Definition: SharedResponseData.hpp:369
size_t adrv() const
returns total number of discrete real vars
Definition: DakotaModel.hpp:1817
void parse_options()
constructor helper function to parse misc_options from ProblemDescDB
Definition: NonlinearCGOptimizer.cpp:616
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:1187
bool is_null() const
function to check modelRep (does this envelope contain a letter)
Definition: DakotaModel.hpp:3794
const size_t SZ_MAX
special value returned by index() when entry not found
Definition: dakota_global_defs.hpp:30
bool readSimFieldCoords
whether to read coordinate data files for simulation fields
Definition: ExperimentData.hpp:464
void coefficient_labels(std::vector< std::string > &coeff_labels) const
print the coefficient array computed in build()/rebuild()
Definition: PecosApproximation.hpp:837
size_t solution_levels(bool lwr_bnd=true) const
return size of solnCntlCostMap, optionally enforcing lower bound of 1 solution level
Definition: SimulationModel.hpp:233
String tabularDataFile
filename for tabulation of graphics data
Definition: OutputManager.hpp:365
StringArray algebraicFnTags
set of function tags from AMPL stub.row
Definition: DakotaInterface.hpp:478
RealVector bestIterPriFns
storage for iterator best primary functions (which shouldn't be stored in bestResponseArray when ther...
Definition: DakotaLeastSq.hpp:85
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:825
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDGPImpSampling.cpp:131
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:921
unsigned short maxCVOrderCandidates
maximum number of cross-validation candidates for adaptOrder
Definition: DataMethod.hpp:840
void set_mh_options()
Set MH-specific inverse problem options calIpMhOptionsValues.
Definition: NonDQUESOBayesCalibration.cpp:912
void all_continuous_label(const String &cv_label, size_t index)
set continuous label at index start
Definition: SharedVariablesData.hpp:1417
void parse_options()
Parse misc_options specified in a user input deck.
Definition: NonDAdaptiveSampling.cpp:1382
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:94
ProblemDescDB & problem_description_db() const
return the problem description database (probDescDB)
Definition: DakotaModel.hpp:3578
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:1903
int eval_id() const
return the evaluation identifier
Definition: ParamResponsePair.hpp:229
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:1865
String hybridLocalModelPointer
local model pointer for embedded hybrids (from the local_model_pointer specification)
Definition: DataMethod.hpp:402
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:286
const ActiveSet & active_set() const
return the active set object from the response object
Definition: ParamResponsePair.hpp:277
bool crossValidateFlag
whether to perform cross validation
Definition: SharedSurfpackApproxData.hpp:145
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:203
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:1320
void asynch_flag(const bool flag)
set the asynchFlag
Definition: CommandShell.hpp:112
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:99
short optSubProblemForm
formulation for optimization sub-problem that minimizes R^2 subject to different variable sets and di...
Definition: NonDNonHierarchSampling.hpp:308
bool lead_rank() const
determines if current processor is rank 0 of the parent comm
Definition: IteratorScheduler.hpp:557
size_t solnCntlAVIndex
index of the discrete variable (within all variables / RandomVariables array) that controls the set/r...
Definition: SimulationModel.hpp:204
char * pname
program basename
Definition: CommandLineHandler.hpp:131
void construct_basis(const Pecos::MultivariateDistribution &mv_dist)
construct the shared basis for an expansion-based approximation
Definition: SharedPecosApproxData.hpp:274
RealMatrix correctedVariances
matrix containing variances of model+discrepancy
Definition: NonDBayesCalibration.hpp:386
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:121
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:155
~TANA3Approximation()
destructor
Definition: TANA3Approximation.hpp:113
const String & model_type() const
return the model type (modelType)
Definition: DakotaModel.hpp:3586
bool calModelEvidence
flag indicating calculation of the evidence of the model
Definition: NonDBayesCalibration.hpp:447
Derived model class which wraps call-back functions for solving minimization sub-problems.
Definition: MinimizerAdapterModel.hpp:33
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:771
virtual void response_results_active_set(const ActiveSet &set)
set the requested data for the final iterator response results
Definition: DakotaIterator.cpp:1459
BitArray discreteDesignSetIntCat
is each ddsi var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:274
void derivative_start_value(size_t dvv_start_val)
set the derivative variables vector values
Definition: DakotaActiveSet.hpp:245
RealVector truthFnsPrevCenter
copy of truth function values at center of previous correction cycle
Definition: DiscrepancyCorrection.hpp:254
void test_local_evaluations(Dakota::PRPQueue &prp_queue)
invokes wait_local_evaluations() (no special nowait support)
Definition: PluginParallelDirectApplicInterface.hpp:112
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:293
void initialize()
perform any required initialization
Definition: NonDLocalSingleInterval.cpp:31
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:338
LightWtBaseConstructor(int=0)
C++ structs can have constructors.
Definition: dakota_global_defs.hpp:187
pid_t create_evaluation_process(bool block_flag)
Definition: ProcessHandleApplicInterface.cpp:99
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:351
void set_communicators(ParLevLIter pl_iter)
set the communicators associated with this Iterator instance
Definition: DakotaIterator.cpp:1263
Real linesearchTolerance
approximate accuracy of absissca in LS
Definition: NonlinearCGOptimizer.hpp:104
void derived_init_serial()
set up optionalInterface and subModel for serial operations.
Definition: NestedModel.hpp:572
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:558
void finalize_approximation()
finalize an approximation by applying all previous trial increments
Definition: DataFitSurrModel.cpp:918
virtual void assign_specification_sequence()
assign the current values from the input specification sequence
Definition: NonDExpansion.cpp:2429
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: CONMINOptimizer.hpp:45
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:1263
Definition: OutputManager.hpp:72
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:5180
int text_book2()
portion of text_book() evaluating constraint 1
Definition: TestDriverInterface.cpp:3333
void declare_sources()
Declare a model's sources to the evaluationsDB.
Definition: NestedModel.cpp:553
size_t increment_sets(Real &delta_star, bool revert, bool print_metric)
perform an adaptive refinement increment using generalized sparse grids
Definition: NonDExpansion.cpp:2069
static bool id_compare(const DataResponses &dr, const std::string &id)
compares the idResponses attribute of DataResponses objects
Definition: DataResponses.hpp:316
~NonDGPImpSampling()
destructor
Definition: NonDGPImpSampling.cpp:104
Real gradDotGrad_prev
gradPrev dot gradPrev
Definition: NonlinearCGOptimizer.hpp:152
size_t numIntegrations
counter for number of integration executions for this object
Definition: NonDIntegration.hpp:135
static NonD * nondInstance
pointer to the active object instance used within static evaluator functions in order to avoid the ne...
Definition: DakotaNonD.hpp:287
String optInterfGradientType
Gradient type for the optional interface.
Definition: NestedModel.hpp:340
const IntResponseMap & derived_synchronize_nowait()
Definition: EnsembleSurrModel.cpp:888
~DataEnvironmentRep()
destructor (public for shared_ptr)
Definition: DataEnvironment.hpp:136
size_t respFnCntr
response function counter
Definition: NonDInterval.hpp:137
unsigned short startOrderSpec
scalar specification for initial basis order (prior to uniform refinement)
Definition: NonDC3FunctionTrain.hpp:127
IntVector numCoordsPerField
number of coordinates per field
Definition: DataResponses.hpp:251
Teuchos::ParameterList ParameterList
Teuchos ParameterList for options management in Dakota namespace.
Definition: util_data_types.hpp:65
size_t numFns
number of responses
Definition: SensAnalysisGlobal.hpp:186
String writeRestart
file name for restart write (overrides command-line)
Definition: DataEnvironment.hpp:64
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:395
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:359
String rngName
the basic random-number generator for NonD
Definition: DataMethod.hpp:905
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:287
void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaNonD.hpp:445
void store_evaluations()
Store samples in a matrix for bootstrapping.
Definition: NonDLHSSampling.cpp:668
Base class for the shared approximation data class hierarchy.
Definition: SharedApproxData.hpp:44
size_t numNonlinearConstraints
total number of nonlinear constraints
Definition: DakotaMinimizer.hpp:263
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:703
void initialize_model_graphics(Model &model, int iterator_server_id)
helper function that encapsulates initialization operations, modular on incoming Model instance
Definition: DakotaIterator.cpp:1610
void evaluate_set()
invokes SparseGridDriver::compute_trial_grid()
Definition: NonDSparseGrid.hpp:224
IntVector negBinomialUncVars
initial values of the negative binomial uncertain variables (from the initial_point specification in ...
Definition: DataVariables.hpp:485
Real minBoxSize
holds the minimum boxsize
Definition: NCSUOptimizer.hpp:131
Real eta
constant used in etaSequence updates
Definition: SurrBasedMinimizer.hpp:178
unsigned short importCandFormat
tabular format for the candidate design points import file
Definition: NonDBayesCalibration.hpp:342
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:283
bool dirTag
whether to tag the working directory
Definition: ProcessApplicInterface.hpp:220
DAGSolutionData & operator=(const DAGSolutionData &)
assignment operator
Definition: NonDNonHierarchSampling.hpp:117
virtual bool update_variables_from_model(Model &model)
update active variables/bounds/labels from subModel
Definition: RecastModel.cpp:996
IntResponseMap surrResponseMap
map of surrogate responses returned by derived_synchronize() and derived_synchronize_nowait()
Definition: SurrogateModel.hpp:220
const Pecos::ActiveKey & active_model_key() const
return key from subModel
Definition: RecastModel.hpp:777
void set_evaluation_reference()
set evaluation count reference points for the interface
Definition: DakotaInterface.cpp:412
~NonDAdaptImpSampling()
destructor
Definition: NonDAdaptImpSampling.hpp:195
void spawn_analysis_to_shell(int analysis_id, bool block_flag)
spawn a single analysis as part of a function evaluation
Definition: SysCallApplicInterface.cpp:331
void push_data()
restores SurrogateData state prior to previous pop()
Definition: DakotaApproximation.cpp:294
size_t idrv_start() const
start index of inactive discrete real vars
Definition: DakotaVariables.hpp:770
const RealVector & continuous_lower_bounds() const
return the active continuous lower bounds from userDefinedConstraints
Definition: DakotaModel.hpp:2758
size_t idiv() const
get number of inactive discrete int vars
Definition: SharedVariablesData.hpp:1710
void tabular_counter_label(const std::string &label)
set tabularCntrLabel equal to label
Definition: OutputManager.cpp:624
virtual RealArray challenge_diagnostics(const String &metric_type, const RealMatrix &challenge_pts)
approximation challenge data metrics per response function
Definition: DakotaInterface.cpp:1344
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:327
SharedApproxData sharedData
data that is shared among all functionSurfaces
Definition: ApproximationInterface.hpp:218
bool operator()(const ParamResponsePair &database_pr, const ParamResponsePair &search_pr) const
access operator
Definition: PRPMultiIndex.hpp:143
void update_from_model(const Model &model)
set inherited data attributes based on extractions from incoming model
Definition: DakotaMinimizer.cpp:134
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDMultilevelFunctionTrain.cpp:230
IntIntMap subIteratorIdMap
mapping from subIterator evaluation counter to nested model counter (different when subIterator evalu...
Definition: NestedModel.hpp:302
static SurrBasedLocalMinimizer * sblmInstance
pointer to SBLM instance used in static member functions
Definition: SurrBasedLocalMinimizer.hpp:249
String importCandPtsFile
whether to import candidate design points for adaptive Bayesian experimental design
Definition: NonDBayesCalibration.hpp:340
EvaluationsDBState evaluations_db_state(const Interface &interface)
Return the interface flag for the EvaluationsDB state.
Definition: DakotaModel.cpp:6143
bool fixedSeedFlag
flag for fixing the value of the seed among different NonD/DACE sample sets. This results in the use ...
Definition: DataMethod.hpp:856
bfs::path get_workdir_name()
construct a work directory name (tmp or named), with optional tag
Definition: ProcessApplicInterface.cpp:931
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:2550
Derived model class within the surrogate model branch for managing a truth model alongside approximat...
Definition: EnsembleSurrModel.hpp:39
void send_data_using_get(const std::string &urltopost) const
transmit data to the web server using GET
Definition: TrackerHTTP.cpp:225
const std::vector< Pecos::BasisPolynomial > & polynomial_basis() const
get Pecos::SharedOrthogPolyApproxData::polynomialBasis
Definition: SharedPecosApproxData.hpp:307
virtual int random_seed() const
return specification for random seed (may be part of a sequence specification)
Definition: NonDExpansion.hpp:660
void core_run()
iterates the COLIN solver to determine the optimal solution
Definition: COLINOptimizer.cpp:297
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:1758
Base class for surrogate models (DataFitSurrModel and HierarchSurrModel).
Definition: SurrogateModel.hpp:36
bool interface_id_compare(const Interface &interface_in, const void *id)
global comparison function for Interface
Definition: DakotaInterface.hpp:533
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:579
const StringArray & response_labels() const
return the response labels from currentResponse
Definition: DakotaModel.hpp:2744
int main(int argc, char *argv[])
The main program for the DAKOTA restart utility.
Definition: restart_util.cpp:64
bool initializedFlag
indicates that discrepancy correction instance has been initialized following construction
Definition: DiscrepancyCorrection.hpp:127
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:640
bool graphicsFlag
flags use of graphics by the environment (from the graphics specification in EnvIndControl)
Definition: DataEnvironment.hpp:82
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:4513
NOWPACBlackBoxEvaluator(Model &model)
constructor
Definition: NOWPACOptimizer.hpp:97
RealVector initialPoint
initial point used in "user_functions" mode
Definition: SNLLOptimizer.hpp:351
int evaluation_capacity() const
return the evaluation capacity for use in iterator logic
Definition: DakotaModel.hpp:3736
Real augmented_lagrangian(const RealVector &mean)
helper for evaluating the value of the augmented Lagrangian merit fn
Definition: EffGlobalMinimizer.hpp:366
UShortMultiArrayConstView discrete_string_variable_types() const
return the active discrete variable types from currentVariables
Definition: DakotaModel.hpp:2001
const IntResponseMap & derived_synchronize_nowait()
portion of synchronize_nowait() specific to SimulationModel (invokes synch_nowait() on userDefinedInt...
Definition: SimulationModel.hpp:323
void set_problem()
Helper function called during construction to extract problem information from the Model and set it f...
Definition: ROLOptimizer.cpp:142
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:1061
StringMultiArrayConstView inactive_discrete_string_variable_labels() const
return the inactive discrete variable labels
Definition: DakotaVariables.hpp:1522
RealVector configLowerBnds
lower bounds on configuration domain
Definition: NonDBayesCalibration.hpp:378
OPTPP::OptimizeClass * theOptimizer
optimizer base class pointer
Definition: SNLLOptimizer.hpp:331
~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:188
RealVector continuousLowerBnds
the active continuous lower bounds array view
Definition: DakotaConstraints.hpp:401
ParallelLibrary parallelLib
the parallel library instance
Definition: DakotaEnvironment.hpp:158
Definition: NonlinearCGOptimizer.hpp:58
String hybridLocalMethodPointer
local method pointer for embedded hybrids (from the local_method_pointer specification)
Definition: DataMethod.hpp:405
virtual String root_model_id()
Return the model ID of the "innermost" model. For all derived Models except RecastModels,...
Definition: DakotaModel.cpp:6186
BitArray poissonUncCat
is each poisson var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:462
int lenVarsActSetMessage
length of a MPIPackBuffer containing a Variables object and an ActiveSet object; computed in Model::i...
Definition: ApplicationInterface.hpp:435
void retrieve_final_results()
post-processing: retrieve and export best samples and responses
Definition: EffGlobalMinimizer.cpp:884
virtual bool is_derived()
A temporary query used in the refactor.
Definition: DataFitSurrBasedLocalMinimizer.hpp:52
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:58
std::shared_ptr< Pecos::PolynomialApproximation > polyApproxRep
convenience pointer to representation of Pecos polynomial approximation
Definition: PecosApproximation.hpp:347
Derived application interface class which spawns simulation codes and testers using direct procedure ...
Definition: DirectApplicInterface.hpp:80
void pre_run()
generate samples
Definition: NonDRKDDarts.cpp:84
IntVectorArray cellRealSetBounds
Storage array to hold cell value for discrete real set variables.
Definition: NonDInterval.hpp:128
const RealVector & inactive_continuous_variables() const
return the inactive continuous variables in currentVariables
Definition: DakotaModel.hpp:2081
void add_metadata_to_study(const AttributeArray &attrs) override
Associate key:value metadata with the study.
Definition: ResultsDBHDF5.cpp:231
std::map< String, driver_t > driverTypeMap
map from driver name to enum
Definition: DirectApplicInterface.hpp:192
unsigned short uses_method() const
return name of active optimizer method
Definition: NonDNonHierarchSampling.hpp:404
void get_best_sample(bool maximize, bool eval_approx)
determine truthFnStar and approxFnStar
Definition: NonDGlobalSingleInterval.cpp:40
RealVector allContinuousLowerBnds
a continuous lower bounds array combining continuous design, uncertain, and continuous state variable...
Definition: DakotaConstraints.hpp:353
~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:289
String proposalCovType
the type of proposal covariance: user, derivatives, or prior
Definition: DataMethod.hpp:1135
virtual void push_candidate(const RealVector &stats_star)
restore statistics into native stats arrays for a selected candidate
Definition: NonDExpansion.hpp:827
BitArray icv_to_all_mask() const
create a BitArray indicating the inactive continuous subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1271
StringMultiArrayConstView all_discrete_string_variables() const
return all discrete variables in currentVariables
Definition: DakotaModel.hpp:2212
NonDMultilevelPolynomialChaos(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultilevelPolynomialChaos.cpp:32
size_t numADIV
total number of discete integer variables
Definition: DirectApplicInterface.hpp:164
int numSymbols
the symbols specification for DACE methods
Definition: DataMethod.hpp:751
std::string paramsFileWritten
actual, qualified name of the params file written, possibly with workdir
Definition: ProcessApplicInterface.hpp:187
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:211
size_t max_cross_validation_rank_candidates() const
return maxCVRankCandidates
Definition: SharedC3ApproxData.hpp:437
void test_local_evaluation_sequence(PRPQueue &prp_queue)
version of test_local_evaluations() managing of set of individual asynchronous evaluations
Definition: ForkApplicInterface.cpp:53
String dataPathPrefix
path to prepend to any data file names
Definition: DataResponses.hpp:247
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:672
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:1095
const RealVector & inactive_continuous_lower_bounds() const
return the inactive continuous lower bounds
Definition: DakotaConstraints.hpp:622
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:1028
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:549
bool boundConverged
flag indicating convergence of a minimization or maximization cycle
Definition: NonDGlobalInterval.hpp:186
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:701
void initialize_timers()
initialize DAKOTA and UTILIB timers
Definition: ParallelLibrary.cpp:121
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:833
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:209
Real stepLenToBndry
value from steplength_to_boundary specification
Definition: SNLLBase.hpp:152
bool operator!=(const IntArray &dia1, const IntArray &dia2)
inequality operator for IntArray
Definition: dakota_data_util.hpp:121
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:584
const RealVector & inactive_discrete_real_variables() const
return the inactive discrete variables in currentVariables
Definition: DakotaModel.hpp:2134
short finalMomentsType
the final_moments specification in MethodNonD, subordinate to the type of final statistics
Definition: DataMethod.hpp:1073
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:935
virtual bool provides_final_hessian()
Return the flag indicating whether method provides final hessian result.
Definition: DakotaTraitsBase.hpp:112
bool supports_linear_equality()
Return the flag indicating whether method supports linear equalities.
Definition: NLSSOLLeastSq.hpp:46
~NOWPACOptimizer()
destructor
Definition: NOWPACOptimizer.cpp:50
Wrapper class for the NCSU DIRECT optimization library.
Definition: NCSUOptimizer.hpp:55
bool nearby(const RealVector &rv1, const RealVector &rv2, Real rel_tol)
tolerance-based equality operator for RealVector
Definition: dakota_data_util.cpp:27
unsigned short exportCorrVarFormat
format options for corrected model variance output
Definition: NonDBayesCalibration.hpp:371
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:899
void pre_refinement()
initialization of expansion refinement, if necessary
Definition: NonDExpansion.cpp:1042
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:1967
NonDLHSEvidence(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLHSEvidence.cpp:25
void normalize_training_data()
Normalizes the initial inputs upon which the GP surface is based.
Definition: GaussProcApproximation.cpp:303
ActiveSet(size_t num_fns)
partial constructor
virtual void clear_inactive()
clear inactive approximation data
Definition: SharedApproxData.cpp:419
void build_error_matrix(const RealVector &sim_error_vec, RealMatrix &sim_error_matrix, int &seed)
build matrix of errors
Definition: NonDBayesCalibration.cpp:1515
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:135
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:561
std::map< int, PathTriple > fileNameMap
Maps function evaluation ID to triples (parameters, results, and workdir) paths used in spawning func...
Definition: ProcessApplicInterface.hpp:211
String batchStrategy
String describing the tpye of batch addition to use. Allowable values are naive, distance,...
Definition: NonDAdaptiveSampling.hpp:127
int mxiter
iteration limit (max_iterations)
Definition: NL2SOLLeastSq.hpp:126
void derived_evaluate(const ActiveSet &set)
Definition: DataFitSurrModel.cpp:1566
Utility used in derived write_core to write values in tabular format.
Definition: DakotaVariables.hpp:75
virtual Interface & derived_interface()
return the interface employed by the derived model class, if present: SimulationModel::userDefinedInt...
Definition: DakotaModel.cpp:3626
short emulatorType
the emulator type: NO_EMULATOR, GP_EMULATOR, PCE_EMULATOR, SC_EMULATOR, ML_PCE_EMULATOR,...
Definition: NonDBayesCalibration.hpp:281
bool latinizeFlag
flag which specifies latinization of QMC or CVT sample sets
Definition: FSUDesignCompExp.hpp:96
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:103
bool expansion_coefficient_flag() const
get pecosBasisApprox.configOptions.expansionCoeffFlag
Definition: PecosApproximation.hpp:382
void response_results_active_set(const ActiveSet &set)
set the active set within finalStatistics
Definition: DakotaNonD.hpp:456
Iterator mapOptimizer
SQP or NIP optimizer for pre-solving for the MAP point prior to MCMC. This is restricted to emulator ...
Definition: NonDBayesCalibration.hpp:302
void allocate_constraints()
Allocates constraint mappings.
Definition: CONMINOptimizer.cpp:137
NonDQUESOBayesCalibration * nonDQUESOInstance
pointer for callbacks to Dakota QUESO class
Definition: QUESOImpl.hpp:253
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: CONMINOptimizer.hpp:55
unsigned short active_surrogate_model_form(size_t i) const
return the model form corresponding to surrModelKeys[i]
Definition: EnsembleSurrModel.hpp:825
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:1027
String resultsOutputFile
named file for results output
Definition: DataEnvironment.hpp:98
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:24
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:450
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:514
virtual void join_analysis_process_group(bool new_group)
create (if new_group) and join the process group for asynch analyses
Definition: ProcessHandleApplicInterface.cpp:502
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:689
int nowaitEvalIdRef
fnEvalId reference point for preserving modulo arithmetic-based job assignment in case of peer static...
Definition: ApplicationInterface.hpp:549
NonDLHSInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLHSInterval.cpp:29
virtual void update_expansion()
update an expansion; avoids overhead in compute_expansion()
Definition: NonDExpansion.cpp:1940
bool strbegins(const std::string &input, const std::string &test)
Return true if input string begins with string test.
Definition: dakota_data_util.hpp:328
void cache_chain()
cache the chain to acceptanceChain and acceptedFnVals
Definition: NonDQUESOBayesCalibration.cpp:437
int mogatest1()
MOP2 from Van Veldhuizen, pp. 5-13.
Definition: TestDriverInterface.cpp:3844
const String & run_input() const
filename for run input
Definition: ProgramOptions.cpp:185
MS_Complex * AMSC
The approximate Morse-Smale complex data structure.
Definition: NonDAdaptiveSampling.hpp:231
void increment_parallel_configuration()
add a new node to parallelConfigurations and increment currPCIter; copy all of miPLIters into new con...
Definition: ParallelLibrary.hpp:1166
Real maxStep
value from max_step specification
Definition: SNLLBase.hpp:150
CG_UPDATETYPE
NonlinearCG update options.
Definition: NonlinearCGOptimizer.hpp:48
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:2349
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:4173
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:1021
static bool create_directory(const bfs::path &dir_path, short mkdir_option)
Create a directory, with options for remove or error.
Definition: WorkdirHelper.cpp:508
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:449
short responseLevelTarget
the compute probabilities, reliabilities, or gen_reliabilities specification in MethodNonD
Definition: DataMethod.hpp:1079
int subSamplingPeriod
period or skip in post-processing the acceptance chain
Definition: NonDBayesCalibration.hpp:484
IntVector geometricUncVars
initial values of the geometric uncertain variables (from the initial_point specification in VarDAUV_...
Definition: DataVariables.hpp:494
ParLevLIter w_parallel_level_iterator()
for this level, access through ParallelConfiguration is not necessary
Definition: ParallelLibrary.hpp:1206
void iterator_space_to_user_space(const Variables &iter_vars, const Response &iter_resp, Variables &user_vars, Response &user_resp)
employ the model recursion to transform from top level iterator-space data to bottom level user-space...
Definition: DakotaModel.cpp:3226
String posteriorSamplesExportFilename
The filename of the export file containing samples from the posterior and their corresponding density...
Definition: DataMethod.hpp:1255
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:757
size_t numResponseFunctions
number of response functions; used to distinguish NonD from opt/NLS usage
Definition: NonDLHSSampling.hpp:159
HOPSPACK-specific traits class.
Definition: APPSOptimizer.hpp:36
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:2593
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:158
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:55
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:402
RealVector betaUncAlphas
alpha factors for the beta uncertain variables (from the means specification in VarCAUV_Beta)
Definition: DataVariables.hpp:391
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDPolynomialChaos.cpp:862
StringMultiArray allContinuousLabels
array of variable labels for all of the continuous variables
Definition: SharedVariablesData.hpp:281
~NonDLocalReliability()
destructor
Definition: NonDLocalReliability.cpp:415
short approxOrder
polynomial order of the discrepancy approximation (basis or trend order)
Definition: DiscrepancyCorrection.hpp:214
short nestingOverride
override for default point nesting policy: NO_NESTING_OVERRIDE, NESTED, or NON_NESTED
Definition: DataMethod.hpp:914
RealMatrix G_reduced_xfm
Grahm-Schmidt orthonormal reduced subspace transformation.
Definition: QMEApproximation.hpp:95
~APPSEvalMgr()
destructor
Definition: APPSEvalMgr.hpp:51
SharedResponseData()
default constructor
Definition: SharedResponseData.hpp:299
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:1128
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:52
String failAction
mitigation action for captured simulation failures: abort, retry, recover, or continuation
Definition: ApplicationInterface.hpp:514
int numDakotaObjectiveFns
number of objective functions from Dakota perspective
Definition: DakotaTPLDataTransfer.hpp:146
IntIntMap surrIdMap
map from surrogateModel evaluation ids to RecastModel ids
Definition: ActiveSubspaceModel.hpp:309
Definition: ROLOptimizer.hpp:394
RestartWriter()
optional default ctor allowing a non-outputting RestartWriter
Definition: OutputManager.cpp:1012
int writePrecision
write precision as specified by the user
Definition: DakotaAnalyzer.hpp:229
Definition: ROLOptimizer.hpp:565
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, bool accumulate_cost, bool pilot_estvar)
helper for shared code among offline-pilot and pilot-projection modes
Definition: NonDMultilevControlVarSampling.cpp:818
size_t drv() const
returns number of active discrete real vars
Definition: DakotaModel.hpp:1764
size_t outerMIPLIndex
the miPLIndex for the outer parallelism context, prior to any subIterator partitioning
Definition: NestedModel.hpp:279
~Minimizer()
destructor
Definition: DakotaMinimizer.hpp:335
ModelList & model_list()
return a list of all Model objects that have been instantiated
Definition: ProblemDescDB.hpp:558
std::string methodList
list of active methods
Definition: TrackerHTTP.hpp:127
RealMatrix predVals
Compute credibility and prediction intervals of final chain.
Definition: NonDBayesCalibration.hpp:515
Real volBoxSize
hold the minimum volume boxsize
Definition: NCSUOptimizer.hpp:133
edtype
special values for experimental data type
Definition: ExperimentData.hpp:38
virtual ~SNLLLeastSqTraits()
destructor
Definition: SNLLLeastSq.hpp:46
OutputManager()
Default constructor (needed for default environment ctors)
Definition: OutputManager.cpp:51
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:1154
RealVector discrepancyFieldResponses
array containing predicted of model+discrepancy
Definition: NonDBayesCalibration.hpp:400
size_t numFns
total number of response functions (of which surrogateFnIndices may define a subset)
Definition: DiscrepancyCorrection.hpp:144
IntVector coordsPerPriField
number of independent coordinates, e.g., x, t, for each field f(x,t)
Definition: SharedResponseData.hpp:129
IntArray constraintState
ISTATE from NPSOL manual: constraint status.
Definition: SOLBase.hpp:164
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:768
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:4752
RealVector triangularUncLowerBnds
distribution lower bounds for the triangular uncertain variables (from the lower_bounds specification...
Definition: DataVariables.hpp:376
const RealVector & nonlinear_ineq_constraint_lower_bounds() const
return the nonlinear inequality constraint lower bounds
Definition: DakotaModel.hpp:3485
const IntVectorArray & get_iva(const String &entry_name) const
get an IntVectorArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1721
Pecos::SurrogateDataVars variables_to_sdv(const Real *sample_c_vars)
create a SurrogateDataVars instance from a Real*
Definition: DakotaApproximation.cpp:1115
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:570
bool postRunFlag
flags invocation with command line option -post_run
Definition: DataEnvironment.hpp:68
bool regressDiag
whether to print the regression diagnostic vector
Definition: DataMethod.hpp:507
Model mppModel
RecastModel which formulates the optimization subproblem: RIA, PMA, EGO.
Definition: NonDReliability.hpp:72
void continuous_variable_label(const String &cv_label, size_t index)
set an active continuous variable label
Definition: DakotaVariables.hpp:1083
UShortMultiArrayConstView inactive_continuous_variable_types() const
return the inactive continuous variable types
Definition: DakotaVariables.hpp:1554
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:749
bool normalizedCoeffOutput
user request for use of normalization when outputting PCE coefficients
Definition: NonDPolynomialChaos.hpp:253
void active_set_mapping()
in the case of sub-iteration, map from finalStatistics.active_set() requests to activeSet used in eva...
Definition: NonDEnsembleSampling.cpp:268
virtual bool is_derived()
A temporary query used in the refactor.
Definition: APPSOptimizer.hpp:57
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:1901
Real H
the scalar Hessian value in the TANA-3 approximation
Definition: TANA3Approximation.hpp:91
RealVector continuousAleatoryUncLowerBnds
distribution lower bounds for all continuous aleatory uncertain variables (collected from nuv_lower_b...
Definition: DataVariables.hpp:709
virtual void combined_to_active()
combine coefficients, promote to active, and update statsMetricMode
Definition: NonDExpansion.cpp:2053
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:663
PebbldTraits()
default constructor
Definition: PEBBLMinimizer.hpp:27
RealVector histogramPointRealUncVars
initial values of the real-valued histogram point uncertain variables (from the initial_point specifi...
Definition: DataVariables.hpp:548
int N3
Size variable for CONMIN arrays. See CONMIN manual.
Definition: CONMINOptimizer.hpp:180
const IntResponseMap & derived_synchronize_nowait()
portion of synchronize_nowait() specific to RecastModel (forward to subModel.synchronize_nowait())
Definition: RecastModel.cpp:591
void print_sobol_indices(std::ostream &s)
print global sensitivity indices
Definition: NonDC3FunctionTrain.cpp:723
size_t numNonlinearIneqCons
number of nonlinear inequality constraints
Definition: DakotaConstraints.hpp:371
short mcmcDerivOrder
order of derivatives used in MCMC process (bitwise like ASV)
Definition: NonDBayesCalibration.hpp:324
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:185
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:1209
int shubert()
returns the N-D shubert function
Definition: TestDriverInterface.cpp:4580
NONLINEAR_EQUALITY_FORMAT nonlinear_equality_format()
Return ROL format for nonlinear equality constraints.
Definition: ROLOptimizer.hpp:167
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:618
void sample_to_variables(const Real *sample_vars, Variables &vars)
override default mapping of continuous variables only
Definition: NonDSampling.hpp:685
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:1023
NonDLHSSingleInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLHSSingleInterval.cpp:26
std::vector< int > constrMapIndices
map from Dakota constraint number to Nomad constraint number
Definition: NomadOptimizer.hpp:218
short query_distribution_parameter_derivatives() const
calculate and return derivative composition of final results w.r.t. distribution parameters (none,...
Definition: DataFitSurrModel.hpp:544
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:259
static const std::string & startup_pwd()
Query for dakota's startup $PWD.
Definition: WorkdirHelper.hpp:124
void add_database(std::unique_ptr< ResultsDBBase >)
Add a database.
Definition: ResultsManager.cpp:27
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:78
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:2623
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:224
void combine_approximation()
combine the current approximation with previously stored data sets
Definition: ApproximationInterface.hpp:508
bool check_response_qoi(const Model &sub_model)
check sub_model for consistency in response QoI counts
Definition: SurrogateModel.cpp:187
short outputLevel
output verbosity level: {SILENT,QUIET,NORMAL,VERBOSE,DEBUG}_OUTPUT
Definition: DakotaIterator.hpp:524
bool adaptOrder
whether or not to adapt order by cross validation
Definition: DataModel.hpp:434
void check_sub_iterator_conflict()
detect any conflicts due to recursive use of the same Fortran solver
Definition: CONMINOptimizer.cpp:236
bool appendIfaceId
whether to append the interface ID to the prefix during map (default true)
Definition: DakotaInterface.hpp:437
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:426
~ApproximationInterface()
destructor
Definition: ApproximationInterface.hpp:273
Real finalProb
the final calculated probability (p)
Definition: NonDAdaptiveSampling.hpp:100
RealVector linIneqScales
linear inequality constraint scale values
Definition: ScalingOptions.hpp:54
Base class for discrepancy corrections.
Definition: DiscrepancyCorrection.hpp:36
void compute_sobol_indices()
compute Sobol' indices for main, interaction, and total effects; this is intended for incremental sta...
Definition: NonDExpansion.cpp:2945
bool vbdFlag
flag indicating the activation of variance-bsaed decomposition for computing Sobol' indices
Definition: NonDExpansion.hpp:623
const String & fd_gradient_step_type() const
return the finite difference gradient step type (fdGradStepType)
Definition: DakotaModel.hpp:3636
void post_input()
read tabular data for post-run mode
Definition: FSUDesignCompExp.cpp:216
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:155
Model gpModel
GP model of response, one approximation per response function.
Definition: NonDGPImpSampling.hpp:91
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:358
void resize_from_subordinate_model(size_t depth=SZ_MAX)
pass request to actualModel if recursing
Definition: DataFitSurrModel.hpp:696
size_t stop_restart_evals() const
eval ID at which to stop reading restart
Definition: ProgramOptions.cpp:150
bool postRunFlag
flags invocation with command line option -post_run
Definition: ProgramOptions.hpp:258
NonDGlobalSingleInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDGlobalSingleInterval.cpp:27
const IntResponseMap & synchronize()
executes a blocking schedule for asynchronous evaluations in the beforeSynchCorePRPQueue and returns ...
Definition: ApplicationInterface.cpp:702
UShortArray startOrders
starting user specification for polynomial orders (from start_order scalar plus anisotropic dimension...
Definition: SharedC3ApproxData.hpp:221
void set_analysis_communicators()
convenience function for updating the local analysis partition data following ParallelLibrary::init_a...
Definition: ApplicationInterface.cpp:221
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:1276
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:160
int num_dakota_nonlin_eq_constraints() const
Number of nonlinear equality constraints from Dakota perspective.
Definition: DakotaTPLDataTransfer.hpp:41
void spawn_output_filter_to_shell(bool block_flag)
spawn the output filter portion of a function evaluation
Definition: SysCallApplicInterface.cpp:386
PRPCache data_pairs
contains all parameter/response pairs.
Definition: ApproximationInterface.cpp:27
bool importBuildActive
whether to import active variables only
Definition: DataModel.hpp:179
Real distance(const RealVector &a, const RealVector &b)
compute Euclidean distance between points a and b
Definition: NonDAdaptImpSampling.hpp:232
const Pecos::RealVector & sobol_indices() const
return polyApproxRep->sobolIndices
Definition: PecosApproximation.hpp:406
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:569
NonDLocalEvidence(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLocalEvidence.cpp:27
Real relGradientTol
stopping criterion for rel reduction in g
Definition: NonlinearCGOptimizer.hpp:108
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:349
Model iteratedModel
cache a local copy of the Model
Definition: NOWPACOptimizer.hpp:65
int modelEvalCntr
evaluation counter for top-level evaluate() and evaluate_nowait() calls. Differs from lower level cou...
Definition: DakotaModel.hpp:1622
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDMultilevControlVarSampling.cpp:57
RealVector linearIneqConstraintCoeffs
coefficient matrix for the linear inequality constraints (from the linear_inequality_constraint_matri...
Definition: DataVariables.hpp:817
unsigned short wilksOrder
Wilks order parameter.
Definition: DataMethod.hpp:877
~MinimizerAdapterModel()
destructor
Definition: MinimizerAdapterModel.hpp:123
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:3911
const Pecos::RealVector & total_sobol_indices() const
return polyApproxRep->totalSobolIndices
Definition: PecosApproximation.hpp:410
std::shared_ptr< QUESO::VectorSpace< QUESO::GslVector, QUESO::GslMatrix > > paramSpace
QUESO parameter space based on number of calibrated parameters.
Definition: NonDQUESOBayesCalibration.hpp:199
size_t collocPtsSpec
user specification for collocation_points (array for multifidelity)
Definition: NonDPolynomialChaos.hpp:240
void all_continuous_id(size_t id, size_t index)
set num_items continuous ids beginning at index start
Definition: SharedVariablesData.hpp:1618
~NonDMultilevelFunctionTrain()
destructor
Definition: NonDMultilevelFunctionTrain.cpp:198
int jumpStep
how often to perform a long jump in generations
Definition: NonDDREAMBayesCalibration.hpp:112
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:246
void best_to_all()
copy bestSamples to allSamples to use in surrogate update
Definition: NonDBayesCalibration.cpp:925
String subMethodName
string identifier for a sub-method name within a multi-option method specification (e....
Definition: DataMethod.hpp:360
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:540
RealVector approxFnsCenter
Surrogate function values at the current correction point.
Definition: DiscrepancyCorrection.hpp:250
bfs::path curWorkdir
active working directory for this evaluation; valid only from define_filenames to create_evaluation_p...
Definition: ProcessApplicInterface.hpp:225
bool stdRegressionCoeffs
flag indicating the calculation/output of standardized regression coefficients
Definition: DataMethod.hpp:884
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:3261
const Pecos::RealVector & dimension_decay_rates() const
return OrthogPolyApproximation::decayRates
Definition: PecosApproximation.hpp:423
void read_annotated(std::istream &s)
read a ParamResponsePair object in annotated format from an std::istream
void append_approximation(const Variables &vars, const IntResponsePair &response_pr)
Definition: ApproximationInterface.cpp:462
~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:46
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:139
ShortArray active2ACVarMapTargets
"secondary" variable mappings for inserting active continuous currentVariables into sub-parameters (e...
Definition: NestedModel.hpp:371
short primary_fn_type() const
get the primary response function type (generic, objective, calibration)
Definition: DakotaModel.hpp:3699
std::vector< Approximation > addCorrections
array of additive corrections; surrogate models of a model discrepancy function (formed from model di...
Definition: DiscrepancyCorrection.hpp:223
const String & method_source() const
return the numerical gradient evaluation method source (methodSource)
Definition: DakotaModel.hpp:3616
virtual ~NL2SOLLeastSqTraits()
destructor
Definition: NL2SOLLeastSq.hpp:38
Real volBoxSize
the volume_boxsize_limit for the DIRECT method in MethodNCSUDC
Definition: DataMethod.hpp:746
short approxSubProbCon
type of approximate subproblem constraints: NO_CON, LINEARIZED_CON, or ORIGINAL_CON
Definition: SurrBasedLocalMinimizer.hpp:186
int newEvalIdRefPt
iteration reference point for newEvalIdCntr
Definition: DakotaInterface.hpp:395
void build_approximation()
use the high fidelity model to compute the truth values needed for correction of the low fidelity mod...
Definition: EnsembleSurrModel.cpp:2041
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:960
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:3223
bool algebraicMappings
flag for the presence of algebraic_mappings that define the subset of an Interface's parameter to res...
Definition: DakotaInterface.hpp:372
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:2397
unsigned short numericalSolveMode
approach for overriding an analytic solution based on simplifying assumptions that might be violated,...
Definition: DataMethod.hpp:1040
IntResponseMap graphicsRespMap
used to cache the data returned from derived_synchronize_nowait() prior to sequential input into the ...
Definition: DakotaModel.hpp:1691
OPTPP::NLP0 * nlfObjective
objective NLF base class pointer
Definition: SNLLLeastSq.hpp:184
void initialize_inactive_start_counts()
initialize i{c,di,ds,dr}vStart and numI{D,DI,DS,DR}V
Definition: SharedVariablesData.hpp:562
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:485
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:68
bool isMatrix
2d or 1d?
Definition: dakota_results_types.hpp:496
RealVector paramMins
lower bounds on calibrated parameters
Definition: NonDDREAMBayesCalibration.hpp:95
virtual void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDExpansion.cpp:530
StringMultiArrayConstView inactive_discrete_string_variables() const
return the inactive discrete variables in currentVariables
Definition: DakotaModel.hpp:2116
RealVectorArray computedProbLevels
output probability levels for all response functions resulting from requestedRespLevels
Definition: DakotaNonD.hpp:312
IntArray fnGradRefPt
iteration reference point for fnGradCounter
Definition: DakotaInterface.hpp:406
~DataInterface()
destructor
Definition: DataInterface.cpp:108
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:839
Real requestedTargetLevel
the {response,reliability,generalized reliability} level target for the current response function
Definition: NonDReliability.hpp:111
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:256
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:487
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:151
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:1833
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:1149
~PStudyDACE()
destructor
Definition: DakotaPStudyDACE.cpp:66
StringArray discreteStateRangeLabels
labels array for the discrete state variables defined by an integer range (from the discrete_state_ra...
Definition: DataVariables.hpp:674
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:1478
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:687
std::map< var_t, int > xDIM
map from var_t enum to discrete int value
Definition: DirectApplicInterface.hpp:194
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:814
int derivative_concurrency() const
return the gradient concurrency for use in parallel configuration logic
Definition: DakotaModel.cpp:3814
void print_results(std::ostream &s, short results_state=FINAL_RESULTS) override
print the final iterator results
Definition: NonDWASABIBayesCalibration.cpp:398
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:80
void serve_evaluations()
run on evaluation servers to serve the iterator master
Definition: ApplicationInterface.cpp:2154
virtual void clear_model_keys()
reset initial state by removing all model keys for an approximation
Definition: DakotaInterface.cpp:995
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:302
Iterator lhsSampler
the LHS sampler instance
Definition: NonDLHSInterval.hpp:68
void compute_col_stdevs(RealMatrix &matrix, RealVector &avg_vals, RealVector &std_devs)
Computes standard deviations of columns of matrix.
Definition: dakota_data_util.cpp:218
IntArray intWorkSpace
int work space for NPSOL/NLSSOL
Definition: SOLBase.hpp:154
unsigned short active_truth_model_form() const
return the model form corresponding to truthModelKey
Definition: EnsembleSurrModel.hpp:852
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:1094
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:609
bool check_variable_partitions(const UShortArray &partitions)
perform error checks on variable partitions
Definition: ParamStudy.hpp:540
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:861
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:5269
bool methodScaling
flag indicating scaling status (from the scaling specification in MethodIndControl)
Definition: DataMethod.hpp:339
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:1244
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:172
IntVector prevDIVStar
stores previous optimal point for discrete integer variables; used for assessing convergence
Definition: NonDGlobalInterval.hpp:177
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:124
Real convergenceTol
iteration convergence tolerance
Definition: DakotaIterator.hpp:495
void add_eol()
complete tabular row with EOL
Definition: OutputManager.hpp:457
virtual void update_samples_from_order_increment()
update numSamplesOnModel after an order increment
Definition: NonDExpansion.cpp:1908
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:914
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:88
int derived_map_ac(const Dakota::String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: PluginParallelDirectApplicInterface.cpp:48
Real approxVariance
value of the approximation returned by prediction_variance()
Definition: GaussProcApproximation.hpp:200
Real oversampleRatio
oversampling ratio for Leja D-optimal candidate set generation
Definition: NonDLHSSampling.hpp:171
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:1228
size_t numUsed
number of previous data points used (size of reduced subspace)
Definition: QMEApproximation.hpp:96
void acquire_simulation_data(RealMatrix &sim_data)
Populate simulation data (run design of experiments or load build data)
Definition: NonDGPMSABayesCalibration.cpp:434
void initialize()
Shared constructor code.
Definition: CONMINOptimizer.cpp:54
ProblemDescDB probDescDB
the parser database instance
Definition: DakotaEnvironment.hpp:159
double rosen_cdv_upper_bd
upper bound value to pass through parser to callback function
Definition: library_mode.cpp:66
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:1009
void all_continuous_variable(Real a_c_var, size_t i)
set a variable within the all continuous variables in currentVariables
Definition: DakotaModel.hpp:2182
int penaltyIterOffset
iteration offset used to update the scaling of the penalty parameter for adaptive_penalty merit funct...
Definition: SurrBasedLocalMinimizer.hpp:203
bool uncertainVarsInitPt
flag indicating user specification of initial points (for local optimization-based UQ methods) for at...
Definition: DataVariables.hpp:108
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:311
bool readFieldCoords
need field coordinates for model discrepancy
Definition: NonDBayesCalibration.hpp:355
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 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:146
String historyFile
the HISTORY_FILE specification for NOMAD
Definition: DataMethod.hpp:798
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:295
void write(MPIPackBuffer &s) const
write a ParallelLevel object to a packed MPI buffer
Definition: ParallelLibrary.hpp:378
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:79
int increment_size() const
invokes SparseGridDriver::unique_trial_points()
Definition: NonDSparseGrid.hpp:216
Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: TANA3Approximation.cpp:270
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:831
void export_point(int eval_id, const Variables &vars, const Response &resp)
initialize file stream for exporting surrogate evaluations
Definition: DataFitSurrModel.cpp:2269
StringMultiArrayConstView discrete_string_variable_labels() const
return the active discrete string variable labels
Definition: DakotaVariables.hpp:1114
void update_model_active_constraints(Model &model)
update incoming (sub-)model with active bounds from userDefinedConstraints
Definition: SurrogateModel.cpp:406
virtual const RealVector & approximation_variances(const Variables &vars)
retrieve the prediction variances from each Approximation within a DataFitSurrModel
Definition: DakotaModel.cpp:4352
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:1155
int numDakotaNonlinearIneqConstraints
number of nonlinear inequality constraints from Dakota perspective
Definition: DakotaTPLDataTransfer.hpp:167
const ShortShortPair & view() const
returns variablesView
Definition: DakotaVariables.hpp:1775
ShortArray active2ADSVarMapTargets
"secondary" variable mappings for inserting active discrete string currentVariables into sub-paramete...
Definition: NestedModel.hpp:379
void archive_best_results()
top-level archival method
Definition: DakotaLeastSq.cpp:671
int random_seed() const
return specification for random seed (may be part of a sequence specification)
Definition: NonDMultilevelFunctionTrain.hpp:142
OPTPP::OptFDNIPS * optfdnips
Finite Difference NIPS opt pointer.
Definition: SNLLOptimizer.hpp:344
ProblemDescDB dummy_db
dummy ProblemDescDB for ref initialization
Definition: dakota_global_defs.cpp:78
ModelList modelList
list of model objects, one for each model specification
Definition: ProblemDescDB.hpp:499
size_t numDesigns
The maximum number of designs to keep when using the max_designs nicher.
Definition: DataMethod.hpp:711
void component_parallel_mode(short mode)
update component parallel mode for supporting parallelism in actualModel
Definition: DataFitSurrModel.cpp:2304
void initialize_graphics(int iterator_server_id=1)
initialize graphics customized for local reliability methods
Definition: NonDLocalReliability.cpp:510
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:350
virtual RealVector solution_level_costs() const
return ordered cost estimates across solution levels (SimulationModel)
Definition: DakotaModel.cpp:3663
void cache_unmatched_response(int raw_id)
migrate an unmatched response record from rawResponseMap to cachedResponseMap
Definition: DakotaInterface.cpp:856
~TaylorApproximation()
destructor
Definition: TaylorApproximation.hpp:89
int refinement_samples() const
return refineSamples
Definition: NonDAdaptImpSampling.hpp:219
std::ofstream exportFileStream
output file stream for export_approx_points_file specification
Definition: DataFitSurrModel.hpp:467
IntVector stepsPerVariable
number of offsets in the plus and the minus direction for each variable in a centered_parameter_study
Definition: ParamStudy.hpp:240
void reshape_linear(size_t num_lin_ineq_cons, size_t num_lin_eq_cons)
reshape the linear constraint array sizes
Definition: DakotaConstraints.cpp:521
short acceptLogic
type of iterate acceptance test logic: FILTER or TR_RATIO
Definition: SurrBasedLocalMinimizer.hpp:193
short prevDSIView
previous view used in discrete_set_int_values(view): avoids recomputation of activeDiscSetIntValues
Definition: DakotaModel.hpp:1714
const Pecos::RealSymMatrix & hessian(const Variables &vars)
retrieve the approximate function Hessian for a given parameter vector
Definition: PecosApproximation.hpp:750
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:57
void core_run()
Definition: NonDMultilevelSampling.cpp:119
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:49
int derived_evaluation_id() const
Return the current evaluation id for the NestedModel.
Definition: NestedModel.hpp:673
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:658
int npsolDerivLevel
derivative level for NPSOL executions (1 = analytic grads of objective fn, 2 = analytic grads of cons...
Definition: NonDLocalReliability.hpp:355
int dimension
Dimension of the dataset to attach the scale to.
Definition: ResultsDBHDF5.hpp:151
void components_to_totals()
update variablesCompsTotals from variablesComponents
Real constraintPenalty
the initial constraint_penalty for COLINY methods in MethodAPPS, MethodSCOLIBDIR, MethodSCOLIBPS,...
Definition: DataMethod.hpp:559
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
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:317
bool printPopFlag
The print_each_pop flag to set the printing of the population at each generation.
Definition: DataMethod.hpp:738
Real assess_emulator_convergence()
compute the L2 norm of the change in emulator coefficients
Definition: NonDBayesCalibration.cpp:1003
RealVector field_values_view(size_t i) const
return const field values for the i-th field
Definition: DakotaResponse.hpp:566
void core_run()
compute the least squares solution
Definition: SNLLLeastSq.cpp:523
String refineCVMetric
metric to use in cross-validation guided refinement
Definition: DataModel.hpp:465
DataFitSurrBasedLocalTraits()
default constructor
Definition: DataFitSurrBasedLocalMinimizer.hpp:46
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:146
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:214
void init_serial()
Definition: ApplicationInterface.hpp:568
static int nerr
number of parse error encountered
Definition: NIDRProblemDescDB.hpp:92
virtual size_t solution_control_variable_index() const
return index of solution control variable within all variables
Definition: DakotaModel.cpp:3702
virtual void rebuild()
rebuilds the shared approximation data incrementally
Definition: SharedApproxData.cpp:337
~NonDMultilevelPolynomialChaos()
destructor
Definition: NonDMultilevelPolynomialChaos.cpp:296
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:105
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:90
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:923
virtual void stop_servers()
Executed by the master to terminate all server operations for a particular model when iteration on th...
Definition: DakotaModel.cpp:4623
std::vector< String > programNames
the names of the analysis code programs (analysis_drivers user specification)
Definition: ProcessApplicInterface.hpp:179
size_t continuous_state()
return total number of state variables
Definition: DataVariables.hpp:959
size_t tv() const
total number of vars
Definition: DakotaVariables.hpp:695
size_t numCandidates
number of candidate designs for adaptive Bayesian experimental design
Definition: NonDBayesCalibration.hpp:337
size_t numDiscreteUncSetRealVars
number of discrete epistemic uncertain real set variables (from the discrete_uncertain_set real speci...
Definition: DataVariables.hpp:198
void infer_pilot_sample(size_t num_steps, SizetArray &delta_N_l)
Definition: NonDMultilevelPolynomialChaos.cpp:748
size_t num_response_groups() const
total number of response groups (number scalars + number pri field groups)
Definition: SharedResponseData.hpp:345
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:1101
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:1567
std::vector< var_t > xDRMLabels
var_t enumerations corresponding to discrete real variable labels
Definition: DirectApplicInterface.hpp:205
UShortMultiArrayConstView inactive_continuous_variable_types() const
return the inactive continuous variable types from currentVariables
Definition: DakotaModel.hpp:2152
~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:478
std::shared_ptr< Interface > interface_rep()
function to return the letter
Definition: DakotaInterface.hpp:528
bool resize()
reinitializes iterator based on new variable size
Definition: DakotaPStudyDACE.cpp:69
bool asynchLocalEvalStatic
whether the asynchronous local evaluations are to be performed with a static schedule (default false)
Definition: ApplicationInterface.hpp:458
RealVector discreteRealEpistemicUncVars
array of values for all discrete real epistemic uncertain variables
Definition: DataVariables.hpp:789
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:377
static short response_order(const Model &sub_model)
helper to compute the recast response order during member initialization
Definition: RecastModel.cpp:308
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:475
virtual const RealVectorArray & approximation_coefficients(bool normalized=false)
retrieve the approximation coefficients from each Approximation within an ApproximationInterface
Definition: DakotaInterface.cpp:1418
static double sample_likelihood(int par_num, double zp[])
Likelihood function for call-back from DREAM to DAKOTA for evaluation.
Definition: NonDDREAMBayesCalibration.cpp:303
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:1218
String modelId
model identifier string from the input file
Definition: DakotaModel.hpp:1417
void build_linear_system(RealMatrix &A, const UShort2DArray &multi_index)
construct the Vandermonde matrix "A" for PCE regression for Ax = b
Definition: PecosApproximation.hpp:713
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:1044
std::shared_ptr< DataResponsesRep > data_rep()
return dataRespRep
Definition: DataResponses.hpp:355
unsigned short resultsFileFormat
results file format
Definition: ProcessApplicInterface.hpp:168
SizetArray inactiveVarsCompsTotals
totals for inactive variable type counts for {continuous,discrete integer,discrete string,...
Definition: SharedVariablesData.hpp:250
bool calibrationDataFlag
whether calibration data was specified
Definition: DataResponses.hpp:156
RealMatrix functionGradients
first derivatives of the response functions
Definition: DakotaResponse.hpp:410
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:708
RealVector globalUpperBnds
Global Upper bounds.
Definition: SurrBasedLocalMinimizer.hpp:234
ResultsManager & resultsDB
reference to the global iterator results database
Definition: DakotaIterator.hpp:530
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:1308
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:526
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:1241
String variablesPointer
string pointer to the variables specification to be used by this model (from the variables_pointer sp...
Definition: DataModel.hpp:104
void inactive_continuous_variable(Real ic_var, size_t index)
set an inactive continuous variable
Definition: DakotaVariables.hpp:1402
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:758
ResponseArray correctedResponses
array containing predicted of model+discrepancy
Definition: NonDBayesCalibration.hpp:384
virtual void set_cell_bounds()
set the optimization variable bounds for each cell
Definition: NonDGlobalInterval.cpp:413
std::shared_ptr< QUESO::VectorSpace< QUESO::GslVector, QUESO::GslMatrix > > nEtaSpace
vector space defining the output (response) space for the simulations
Definition: NonDGPMSABayesCalibration.hpp:146
RealMatrix normTrainPoints
Current working set of normalized points upon which the GP is based.
Definition: GaussProcApproximation.hpp:212
Real continuous_upper_bound(size_t i) const
return an active continuous variable upper bound
Definition: DakotaConstraints.hpp:489
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:1450
RealVector continuousAleatoryUncVars
array of values for all continuous aleatory uncertain variables
Definition: DataVariables.hpp:703
StringArray primaryRespFnScaleTypes
vector of primary response function scaling types (from the objective_function_scale_types specificat...
Definition: DataResponses.hpp:135
String exportVarianceFile
file name from export_approx_variance_file specification
Definition: DataFitSurrModel.hpp:470
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:76
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:561
size_t numDerivVars
the number of active continuous variables used in computing most response derivatives (i....
Definition: DakotaModel.hpp:1397
bool blockingSynch
the synchronization setting: true if blocking, false if nonblocking
Definition: COLINOptimizer.hpp:183
int currEvalId
identifier for the current evaluation, which may differ from the evaluation counters in the case of e...
Definition: DakotaInterface.hpp:385
String mcmcType
MCMC type ("dram" or "delayed_rejection" or "adaptive_metropolis" or "metropolis_hastings" or "multil...
Definition: NonDQUESOBayesCalibration.hpp:176
short statsMetricMode
type of statistical metric roll-up: {NO,ACTIVE,COMBINED}_EXPANSION_STATS
Definition: NonDExpansion.hpp:417
void enforce_input_rules()
enforce sanity checks/modifications for the user input specification
Definition: FSUDesignCompExp.cpp:410
virtual void vary_pattern(bool pattern_flag)
sets varyPattern in derived classes that support it
Definition: DakotaAnalyzer.cpp:1072
void core_run()
Definition: NonDMultilevControlVarSampling.cpp:77
RealArray algebraicConstraintWeights
set of weights for computing Hessian matrices for algebraic constraints;
Definition: DakotaInterface.hpp:487
void wait(MPI_Request &request, MPI_Status &status)
wait for a nonblocking send/receive request to complete
Definition: ParallelLibrary.hpp:1984
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:222
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:241
short growthOverride
override for default point growth restriction policy: NO_GROWTH_OVERRIDE, RESTRICTED,...
Definition: DataMethod.hpp:917
void send_data_using_post(const std::string &datatopost)
POST separate location and query; datatopost="name=daniel&project=curl".
Definition: TrackerHTTP.cpp:242
void sampling_reset(size_t min_samples, bool all_data_flag, bool stats_flag)
Definition: NonDSparseGrid.cpp:237
RealVectorArray validationSet
Validation point set used to determine predictionErrors above.
Definition: NonDAdaptiveSampling.hpp:115
Real compute_level_mappings_metric(bool revert, bool print_metric)
compute 2-norm of change in final statistics
Definition: NonDStochCollocation.cpp:616
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:1626
virtual void specify_prior()
Methods for instantiating a Bayesian inverse problem. No-ops in the base class that can be specialize...
Definition: NonDBayesCalibration.hpp:116
Model uSpaceModel
importance sampling is performed in standardized probability space. This u-space model is either pass...
Definition: NonDAdaptImpSampling.hpp:159
unsigned short quadratureOrder
the quadrature_order specification in MethodNonDPCE and MethodNonDSC
Definition: DataMethod.hpp:944
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:473
StringArray discreteDesignSetStrUpperBnds
discrete design stinr set upper bounds inferred from set values
Definition: DataVariables.hpp:697
Class for provably-convergent local surrogate-based optimization and nonlinear least squares.
Definition: DataFitSurrBasedLocalMinimizer.hpp:42
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: FSUDesignCompExp.cpp:191
bool idle_partition() const
return idlePartition
Definition: ParallelLibrary.hpp:328
void print_sobol_indices(std::ostream &s) const
Printing of VBD results.
Definition: DakotaAnalyzer.cpp:792
RealVector distanceVector
The discretization percentage along each objective.
Definition: DataMethod.hpp:719
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: EffGlobalMinimizer.cpp:232
size_t mi_parallel_level_last_index() const
return the index of the last entry in miPLIters
Definition: ParallelLibrary.hpp:557
Real trustRegionContractTrigger
trust region minimum improvement level (ratio of actual to predicted decrease in objective fcn) in th...
Definition: DataMethod.hpp:444
void spawn_input_filter_to_shell(bool block_flag)
spawn the input filter portion of a function evaluation
Definition: SysCallApplicInterface.cpp:364
const IntResponseMap & synchronize()
recovers data from a series of asynchronous evaluations (blocking)
Definition: ApproximationInterface.cpp:320
bool supports_linear_inequality()
Return flag indicating ROL supports linear inequalities.
Definition: ROLOptimizer.hpp:161
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:1213
pid_t analysis_process_group_id() const
return analysisProcGroupId
Definition: ForkApplicInterface.hpp:142
virtual void push_coefficients()
restores state prior to previous pop()
Definition: DakotaApproximation.cpp:359
unsigned short exportDiscrepFormat
format options for discrepancy output
Definition: NonDBayesCalibration.hpp:369
UShortMultiArrayConstView continuous_variable_types() const
return the active continuous variable types from currentVariables
Definition: DakotaModel.hpp:1950
NestedModel(ProblemDescDB &problem_db)
constructor
Definition: NestedModel.cpp:29
void process_synch_local(PRPQueueIter &prp_it)
process a completed synchronous local evaluation
Definition: ApplicationInterface.cpp:2978
~PSUADEDesignCompExp()
destructor
Definition: PSUADEDesignCompExp.cpp:55
bool checkFlag
flag for whether to run in check only mode (default false)
Definition: DataEnvironment.hpp:53
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:39
void increment_specification_sequence()
increment the input specification sequence and assign values
Definition: NonDMultilevelFunctionTrain.cpp:362
bool interpolateFlag
flag for interpolation.
Definition: ExperimentData.hpp:472
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:839
Derived approximation class for Surfpack approximation classes. Interface between Surfpack and Dakota...
Definition: SharedSurfpackApproxData.hpp:42
~DataModel()
destructor
Definition: DataModel.cpp:238
short responseType
enumeration of BASE_RESPONSE, SIMULATION_RESPONSE, or EXPERIMENT_RESPONSE
Definition: SharedResponseData.hpp:101
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:99
Active subspace model for input (variable space) reduction.
Definition: ActiveSubspaceModel.hpp:52
Response prpResponse
the response set for the function evaluation
Definition: ParamResponsePair.hpp:162
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:177
RealVector prevDRVStar
stores previous optimal point for discrete real variables; used for assessing convergence
Definition: NonDGlobalInterval.hpp:180
void clear_computed_bits()
clear tracking of computed moments, due to a change that invalidates previous results
Definition: PecosApproximation.hpp:809
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:549
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:625
~OutputManager()
Destructor that closes streams and other outputs.
Definition: OutputManager.cpp:84
RealVector hyperPriorBetas
hyperparameters inverse gamma prior alphas
Definition: DataMethod.hpp:1165
A version of TraitsBase specialized for COLIN optimizers.
Definition: COLINOptimizer.hpp:34
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:4107
void free_iterator_parallelism()
convenience function for deallocating the concurrent iterator parallelism level
Definition: IteratorScheduler.cpp:201
void assign_specification_sequence(size_t index)
advance any sequence specifications
Definition: NonDEnsembleSampling.cpp:167
IntRealMapArray discreteUncSetIntValuesProbs
complete set of admissible values with associated basic probability assignments for each of the discr...
Definition: DataVariables.hpp:583
std::pair< colin::ApplicationHandle, COLINApplication * > colinProblem
handle and pointer to the COLINApplication object
Definition: COLINOptimizer.hpp:173
const String & method_id() const
return the method identifier (methodId)
Definition: DakotaIterator.hpp:683
virtual bool is_derived()
A temporary query used in the refactor.
Definition: CONMINOptimizer.hpp:39
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:1080
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:3676
void finalize_sets(bool converged_within_tol, bool reverted=false)
finalization of adaptive refinement using generalized sparse grids
Definition: NonDExpansion.cpp:2145
void construct_mcmc_model()
construct mcmcModel (no emulation, GP, PCE, or SC) that wraps inbound Model
Definition: NonDBayesCalibration.cpp:268
IntVector discreteStateRangeUpperBnds
upper bounds array for the discrete state variables defined by an integer range(from the discrete_sta...
Definition: DataVariables.hpp:633
size_t numDiscreteStringVars
number of active discrete string vars
Definition: DakotaMinimizer.hpp:242
Optimizer * prevOptInstance
pointer containing previous value of optimizerInstance
Definition: DakotaOptimizer.hpp:539
virtual void clear_current_active_data()
clears current data from an approximation interface
Definition: DakotaInterface.cpp:1358
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:1113
bool ownPython
true if this class created the interpreter instance
Definition: Pybind11Interface.hpp:71
unsigned short importPredConfigFormat
tabular format for prediction configurations import file
Definition: DataMethod.hpp:1181
virtual void pop_grid_increment()
removes a previously computed grid increment
Definition: NonDIntegration.cpp:183
String exportExpansionFile
the export_expansion_file specification in MethodNonDPCE
Definition: DataMethod.hpp:1009
void inactive_variables(const Variables &vars)
copy the inactive cv/div/dsv/drv variables from vars
Definition: DakotaVariables.hpp:1004
bool mappingInitialized
track use of initialize_mapping() and finalize_mapping()
Definition: DakotaModel.hpp:1483
short sequenceType
type of model sequence enumerated with primary MF/ACV loop over steps
Definition: NonDEnsembleSampling.hpp:163
const ParallelLevel & ea_parallel_level() const
return the ParallelLevel corresponding to eaPLIter
Definition: ParallelLibrary.hpp:565
RealVector discreteRealLowerBnds
the active discrete lower bounds array view
Definition: DakotaConstraints.hpp:409
size_t startRank
starting user specification for rank (not augmented by dimension preference); Note: rank sequence spe...
Definition: SharedC3ApproxData.hpp:244
size_t num_primary_functions() const
number of primary functions (pri scalars + 1-norm of priFieldLengths)
Definition: SharedResponseData.hpp:353
RealVector nonlinearIneqConUpperBnds
nonlinear inequality constraint upper bounds
Definition: DakotaConstraints.hpp:377
APPSEvalMgr * evalMgr
Pointer to the APPS evaluation manager object.
Definition: APPSOptimizer.hpp:203
Body class for environment specification data.
Definition: DataEnvironment.hpp:36
bool ieMessagePass
flag for message passing at ie scheduling level
Definition: ApplicationInterface.hpp:415
void pop_back()
pop the last redirection
Definition: OutputManager.cpp:992
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: NPSOLOptimizer.hpp:81
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:296
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:1366
Model & truth_model()
return the truth model within subModel
Definition: RecastModel.hpp:801
void unpack(short *data, const int num=1)
Unpack one or more short's.
RealVector upperBounds
holds variable upper bounds passed in for "user_functions" mode.
Definition: NCSUOptimizer.hpp:139
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:37
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:254
UShortMultiArrayConstView all_discrete_int_variable_types() const
return all discrete variable types from currentVariables
Definition: DakotaModel.hpp:2270
RealVector linearIneqScaleMultipliers
scales for linear ineq constrs.
Definition: ScalingModel.hpp:196
BoolDeque recastFlags
a key indicating which models within a model recursion involve recasting
Definition: DakotaModel.hpp:1725
IntVariablesMap varsExplorationMap
variable sets for batch evaluation of truth model, accumulated by construct_batch_exploration()
Definition: EffGlobalMinimizer.hpp:310
const IntResponseMap & derived_synchronize_nowait()
Definition: DataFitSurrModel.cpp:1924
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDGlobalReliability.cpp:385
Real absConvTol
absolute function convergence tolerance
Definition: DataMethod.hpp:500
bool win2dOn
flag to indicate if 2D graphics window is active
Definition: DakotaGraphics.hpp:78
Teuchos::RCP< ROL::StdVector< Real > > lowerBounds
Handle to ROL's lower bounds vector.
Definition: ROLOptimizer.hpp:116
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:618
PSUADEDesignCompExp(ProblemDescDB &problem_db, Model &model)
primary constructor for building a standard DACE iterator
Definition: PSUADEDesignCompExp.cpp:32
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:315
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:1478
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:873
Definition: ROLOptimizer.hpp:54
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:683
String lowFidModelPointer
string to point to the low fidelity model for Bayesian experimental design
Definition: DataMethod.hpp:306
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:297
Iterator subIterator
the sub-iterator that is executed on every evaluation of this model
Definition: NestedModel.hpp:284
static void init_fn(int n, RealVector &x)
An initialization mechanism provided by OPT++ (not currently used).
Definition: SNLLBase.cpp:178
int numHyperparams
calculated number of hyperparameters augmenting the calibration parameter set, e.g....
Definition: NonDBayesCalibration.hpp:421
int asynchLocalAnalysisConcSpec
user specification for asynchronous local analysis concurrency
Definition: ApplicationInterface.hpp:249
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:608
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:1866
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:1455
void string_variable_mapping(const String &s_var, size_t av_index, short svm_target)
insert s_var into appropriate recipient
Definition: NestedModel.cpp:2760
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:899
void done_modifying_db()
Check database contents, broadcast, and construct iterators.
Definition: LibraryEnvironment.cpp:91
void finalize_export()
finalize file stream for exporting surrogate evaluations
Definition: DataFitSurrModel.cpp:2254
bool varBasedDecompFlag
flags computation of variance-based decomposition indices
Definition: NonDLHSSampling.hpp:177
bool strcontains(const std::string &input, const std::string &test)
Return true if input string contains string test.
Definition: dakota_data_util.hpp:336
virtual void map_pre_solve()
Definition: NonDBayesCalibration.cpp:841
short rbfMaxSubsets
maximum number of subsets for radial basis function approximation
Definition: DataModel.hpp:257
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:2408
const UShortArray & get_usa(const String &entry_name) const
get an UShortArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1665
void resize_maps()
size id_maps and cached_resp_maps arrays according to responseMode
Definition: EnsembleSurrModel.hpp:1009
void reset_process_environment()
reset PATH and current directory after system/spawn (workdir case)
Definition: ProcessApplicInterface.cpp:975
bool centralHess
option to use old 2nd-order finite diffs for Hessians
Definition: DakotaModel.hpp:1459
BaseConstructor(int=0)
C++ structs can have constructors.
Definition: dakota_global_defs.hpp:169
unsigned short numericalSolveMode
controls use of numerical solve option: either a fallback in case of model misordering (default = NUM...
Definition: NonDMultifidelitySampling.hpp:204
VectorXd pold
Previous value of the parameter vector.
Definition: SurrogatesGPObjective.hpp:105
unsigned short warningBits
set of warnings accumulated during execution
Definition: NonDLocalReliability.hpp:358
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:49
void multilevel_mc_Qsum()
Perform multilevel Monte Carlo across the discretization levels for a particular model form using QoI...
Definition: NonDMultilevelSampling.cpp:311
short respLevelTarget
indicates mapping of z->p (PROBABILITIES), z->beta (RELIABILITIES), or z->beta* (GEN_RELIABILITIES)
Definition: DakotaNonD.hpp:321
void assign_max_strings(const Pecos::MultivariateDistribution &mv_dist, Variables &vars)
assign all of the longest possible string values into vars
Definition: DakotaModel.cpp:4952
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: SurrBasedMinimizer.cpp:144
RealVector linearIneqScales
scaling factors for the linear inequality constraints (from the linear_inequality_scales specificatio...
Definition: DataVariables.hpp:829
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:387
virtual ~Environment()
destructor
Definition: DakotaEnvironment.cpp:194
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:1186
void update_all_discrete_variables(const Model &model)
update discrete variable values from passed sub-model
Definition: RecastModel.cpp:1068
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:539
DOTTraits()
default constructor
Definition: DOTOptimizer.hpp:55
void reshape_update_linear(const SharedVariablesData &prev_svd, const SharedVariablesData &curr_svd)
reshape and repopulate the linear constraint arrays
Definition: DakotaConstraints.cpp:552
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:593
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:293
const char * ustring
usage message
Definition: CommandLineHandler.hpp:130
void predict(bool variance_flag, bool gradients_flag)
Calculates the predicted new response value for x in normalized space.
Definition: GaussProcApproximation.cpp:600
const ParallelLevel & w_parallel_level() const
return the ParallelLevel corresponding to miPLIters.front()
Definition: ParallelLibrary.hpp:534
Interface userDefinedInterface
the interface used for mapping variables to responses
Definition: SimulationModel.hpp:194
void update_response_from_model(const Model &model)
update response/constraints with data from model
Definition: SurrogateModel.cpp:511
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:139
String modelDiscrepancyType
type of model discrepancy emulation
Definition: DataMethod.hpp:1183
std::shared_ptr< HDF5IOHelper > hdf5Stream
HDF5IOHelper instance.
Definition: ResultsDBHDF5.hpp:84
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:703
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:190
const Model & algorithm_space_model() const
Definition: DakotaMinimizer.hpp:347
double solverRoundingTol
tolerance for rounding (performing a truncation operation on a FT expansion) within the regression so...
Definition: SharedC3ApproxData.hpp:269
void u_evaluation(const RealVector &c_vars_u, short mode)
evaluate uSpaceModel to collect u-space surrogate data at specified point
Definition: NonDGlobalReliability.hpp:200
BitArray extraCVarsData
flags for updating subModel continuous bounds and labels, one for each active continuous variable in ...
Definition: NestedModel.hpp:401
Handle class for variables specification data.
Definition: DataVariables.hpp:882
IntSet gradMixedAnalyticIds
IDs of analytic gradients when mixed gradients present.
Definition: ApplicationInterface.hpp:502
int first_seed() const
return first seed in sequence specification (defaults to random_seed())
Definition: NonDMultilevelStochCollocation.hpp:102
void update_aleatory_final_statistics()
update finalStatistics::functionValues from momentStats and computed{Prob,Rel,GenRel,...
Definition: DakotaNonD.cpp:624
void common_output_filtering(Response &response)
common output filtering operations, e.g. data filtering
Definition: ApplicationInterface.cpp:2996
ParLevLIter ie_parallel_level_iterator() const
return iePLIter
Definition: ParallelLibrary.hpp:602
StringSetArray discreteStateSetStr
complete set of admissible values for each of the discrete state variables defined by a string set (f...
Definition: DataVariables.hpp:657
size_t numScalarObjectiveFunctions
scalar_objectives: number of objective functions which are scalar
Definition: DataResponses.hpp:83
RealVector priScales
primary response scale values
Definition: ScalingOptions.hpp:42
int numIteratorJobs
number of iterator executions to schedule
Definition: IteratorScheduler.hpp:171
virtual void default_options()=0
Initialize the Surrogate's defaultConfigOptions.
virtual pid_t analysis_process_group_id() const
return analysisProcGroupId
Definition: ProcessHandleApplicInterface.cpp:518
virtual void integration_iterator(const Iterator &iterator)
set integration driver for structured grid approximations
Definition: SharedApproxData.cpp:312
ParConfigLIter modelPCIter
the ParallelConfiguration node used by this Model instance
Definition: DakotaModel.hpp:1495
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:385
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
short marsMaxBases
maximum number of bases for MARS approximation
Definition: DataModel.hpp:261
RealVector hyperPriorAlphas
hyperparameters inverse gamma prior alphas
Definition: DataMethod.hpp:1163
virtual void derived_subordinate_models(ModelList &ml, bool recurse_flag)
portion of subordinate_models() specific to derived model classes
Definition: DakotaModel.cpp:3592
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:221
NL2SOLLeastSqTraits()
default constructor
Definition: NL2SOLLeastSq.hpp:35
size_t divStart
start index of active discrete integer variables within allDiscreteIntVars
Definition: SharedVariablesData.hpp:258
bool find_model_in_keys(unsigned short m_index)
identify whether a model form is currently included within active keys
Definition: EnsembleSurrModel.hpp:809
Real approxValue
value of the approximation returned by value()
Definition: VPSApproximation.hpp:192
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:132
void set_apps_traits()
sets traits for specific TPL
int IPRINT
Flag to control amount of output data.
Definition: CONMINOptimizer.hpp:193
String fdHessStepType
type of finite difference step to use for numerical Hessian: relative - step length is relative to x ...
Definition: DataResponses.hpp:227
ExperimentResponse()
default constructor
Definition: ExperimentResponse.hpp:116
const RealVector & continuous_upper_bounds() const
return the active continuous upper bounds from userDefinedConstraints
Definition: DakotaModel.hpp:2798
void field_values(const RealVector &field_val, size_t i)
set the values for the i-th field
Definition: DakotaResponse.hpp:643
const IntResponseMap & derived_synchronize()
portion of synchronize() specific to RecastModel (forward to subModel.synchronize())
Definition: RecastModel.cpp:575
SNLLOptimizer * prevSnllOptInstance
pointer to the previously active object instance used for restoration in the case of iterator/model r...
Definition: SNLLOptimizer.hpp:308
void debug_print_dist_counters(Real dist_cv_star)
print counters if debug flag is ON
Definition: EffGlobalMinimizer.hpp:459
const IntVector & discrete_int_variables() const
return the active discrete integer variables (Note: returns a view by const reference,...
Definition: DakotaVariables.hpp:843
void serve_analyses_synch()
serve the master analysis scheduler and manage one synchronous analysis job at a time
Definition: ApplicationInterface.cpp:2647
void serve_evaluations_synch()
serve the evaluation message passing schedulers and perform one synchronous evaluation at a time
Definition: ApplicationInterface.cpp:2186
bool variables_locked() const
return variablesDBLocked
Definition: ProblemDescDB.hpp:660
bool hierarchicalTagging
whether to perform hierarchical evalID tagging of params/results
Definition: DakotaModel.hpp:1544
const RealVector & all_continuous_variables() const
returns a single array with all continuous variables
Definition: DakotaVariables.hpp:1593
String interfaceId
the interface specification identifier string from the DAKOTA input file
Definition: DakotaInterface.hpp:368
void initialize_grid(const std::vector< Pecos::BasisPolynomial > &poly_basis)
initialize integration grid by drawing from polynomial basis settings
Definition: NonDSparseGrid.cpp:187
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:278
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:1672
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:356
virtual void merge_grid_increment()
merges a grid increment into the reference grid
Definition: NonDIntegration.cpp:191
std::shared_ptr< SurfpackModelFactory > spFactory
factory for the SurfpackModel instance
Definition: SurfpackApproximation.hpp:178
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:133
virtual void initialize_expansion()
initialize random variable definitions and final stats arrays
Definition: NonDExpansion.cpp:745
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:81
int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: PecosApproximation.hpp:757
Base class for the Recursive k-d Dart methods within DAKOTA/UQ.
Definition: NonDRKDDarts.hpp:33
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:1445
Pecos::ProbabilityTransformation & probability_transformation()
return probability transformation employed by the Model (forwarded along to ProbabilityTransformModel...
Definition: SurrogateModel.hpp:254
short c3AdvancementType
type of advancement used by (uniform) refinement: START_{RANK,ORDER} or MAX_{RANK,...
Definition: NonDC3FunctionTrain.hpp:133
int batchSize
number of optimal designs selected per iteration of experimental design algorithm; also number of con...
Definition: DataMethod.hpp:1215
RealVector inactiveDiscreteRealLowerBnds
the inactive discrete lower bounds array view
Definition: DakotaConstraints.hpp:422
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:1224
void pack(const short *data, const int num=1)
Pack one or more short's.
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:199
Class for the Adaptive Importance Sampling methods within DAKOTA.
Definition: NonDAdaptImpSampling.hpp:34
StringArray allHeaders
array of headers to insert into output while evaluating allVariables
Definition: DakotaAnalyzer.hpp:194
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:1876
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:70
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:1081
short discrepancy_emulation_mode() const
return discrepancy emulation mode for approximating response differences
Definition: SharedApproxData.hpp:322
const String & pre_run_output() const
filename for pre-run output
Definition: ProgramOptions.cpp:182
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:595
const RealVector & all_discrete_real_lower_bounds() const
return all discrete lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3274
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:91
Real fprec
expected response function precision (function_precision)
Definition: NL2SOLLeastSq.hpp:148
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:655
SurrBasedLocalMinimizer(ProblemDescDB &problem_db, Model &model, std::shared_ptr< TraitsBase > traits)
constructor
Definition: SurrBasedLocalMinimizer.cpp:44
Teuchos::SerialSpdDenseSolver< int, Real > covSlvr
The global solver for all computations involving the inverse of the covariance matrix.
Definition: GaussProcApproximation.hpp:231
void master_dynamic_schedule_analyses()
blocking dynamic schedule of all analyses within a function evaluation using message passing
Definition: ApplicationInterface.cpp:2552
void debug_print_values(const Variables &vars)
print mean and variance if debug flag is ON
Definition: EffGlobalMinimizer.hpp:444
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:651
ExecutableEnvironment()
default constructor
Definition: ExecutableEnvironment.cpp:23
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:238
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:408
int seedSpec
the user seed specification for the random number generator (allows repeatable results)
Definition: FSUDesignCompExp.hpp:118
String solution_level_string_value() const
return a discrete string variable value corresponding to solnCntlADVIndex
Definition: SimulationModel.cpp:384
unsigned short importanceSamplingType
integration type (is, ais, mmais) provided by input specification
Definition: NonDAdaptImpSampling.hpp:162
void method_name(unsigned short m_name)
set the method name to an enumeration value
Definition: DakotaIterator.hpp:658
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:90
Pecos::BasisApproximation pecosBasisApprox
the Pecos basis approximation, encompassing orthogonal and interpolation polynomial approximations
Definition: PecosApproximation.hpp:345
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:185
~NonDGlobalEvidence()
destructor
Definition: NonDGlobalEvidence.cpp:34
bool resize()
reinitializes iterator based on new variable size
Definition: NonDExpansion.cpp:152
bool operator()(const bfs::path &dir_entry)
return true is dir_entry matches wildCardRegEx
Definition: WorkdirHelper.hpp:92
~NonDGenACVSampling()
destructor
Definition: NonDGenACVSampling.cpp:48
void approximate_control_variate_pilot_projection()
Definition: NonDACVSampling.cpp:205
~QRSolver()
Destructor.
Definition: UtilLinearSolvers.cpp:176
void core_run()
performs an epistemic uncertainty propagation using LHS samples
Definition: NonDLHSInterval.cpp:81
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:285
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:1634
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:652
size_t maxRank
scalar user specification for maximum allowable rank when adapting
Definition: SharedC3ApproxData.hpp:252
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:2021
std::map< Pecos::ActiveKey, bool > c3MaxOrderAdvance
flag indicating availability of order advancement (accumulated from C3Approximation::advancement_avai...
Definition: SharedC3ApproxData.hpp:302
bool compact_mode() const
returns Analyzer::compactMode
Definition: DakotaAnalyzer.hpp:315
const RealVector & gradient(const Variables &vars)
retrieve the function gradient at the predicted value for a given parameter set
Definition: GaussProcApproximation.cpp:213
short qoiAggregation
store the qoi_aggregation_norm input specification, prior to run-time Options right now:
Definition: NonDMultilevelSampling.hpp:528
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:594
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:661
size_t numFns
number of functions in fnVals
Definition: DirectApplicInterface.hpp:161
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:565
bool model_id_compare(const Model &model, const void *id)
global comparison function for Model
Definition: DakotaModel.hpp:3966
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:669
int hubServerCommSize
size of hubServerIntraComm
Definition: ParallelLibrary.hpp:140
std::string dataDistFilename
The filename of the file containing the data that with density estimator defines the distribution of ...
Definition: NonDWASABIBayesCalibration.hpp:95
void set_y_label2d(int i, const char *y_label)
set y label for ith plot equal to y_label
Definition: DakotaGraphics.cpp:371
int lenVarsMessage
length of a MPIPackBuffer containing a Variables object; computed in Model::init_communicators()
Definition: ApplicationInterface.hpp:432
void output_helper(const String &message, std::ostream &os) const
Output only on Dakota world rank 0 (for version, help, etc.)
Definition: OutputManager.cpp:398
virtual void initialize()
perform any required initialization
Definition: NonDGlobalInterval.cpp:409
bool multilevel() const
identify if hierarchy is across resolution levels
Definition: EnsembleSurrModel.hpp:576
RealVector krigingCorrelations
vector of correlations used in building a kriging approximation (from the correlations specification ...
Definition: DataModel.hpp:236
void increment_grid()
increment SSG level/TPQ order
Definition: NonDQuadrature.hpp:260
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:124
RealVector discreteDesignSetRealVars
initial values for the discrete design variables defined by a real set (from the discrete_design_set ...
Definition: DataVariables.hpp:259
Real final_probability()
returns the probability calculated by the importance sampling
Definition: NonDGPImpSampling.hpp:141
RealArray cLambda
CLAMBDA from NPSOL manual: Langrange multipliers.
Definition: SOLBase.hpp:162
void volumetric_quality(int ndim, int num_samples, double *sample_points)
Calculation of volumetric quality measures.
Definition: DakotaPStudyDACE.cpp:80
struct to hold tracker/proxy pairs
Definition: TrackerHTTP.hpp:114
bool discrepancy_sample_counts() const
flag identifying whether sample counts correspond to level discrepancies
Definition: NonDMultilevelSampling.hpp:586
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:1945
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:2074
bool piecewiseBasis
flag for piecewise specification, indicating usage of local basis polynomials within the stochastic e...
Definition: NonDExpansion.hpp:494
String methodId
method identifier string from the input file, or an auto-generated ID, such that each instance of an ...
Definition: DakotaIterator.hpp:585
short approxSubProbObj
type of approximate subproblem objective: ORIGINAL_OBJ, LAGRANGIAN_OBJ, or AUGMENTED_LAGRANGIAN_OBJ
Definition: SurrBasedLocalMinimizer.hpp:183
OPTPP::NLP0 * nlfConstraint
constraint NLF base class pointer
Definition: SNLLLeastSq.hpp:185
int scalable_text_book()
scalable version of the text_book test function
Definition: TestDriverInterface.cpp:3686
Definition: ROLOptimizer.hpp:347
double CTMIN
Minimum absolute value of CT used during optimization.
Definition: CONMINOptimizer.hpp:204
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
RealVector trainStdvs
The standard deviation of the input columns of trainPoints.
Definition: GaussProcApproximation.hpp:210
~Graphics()
destructor
Definition: DakotaGraphics.cpp:38
bool correlations_computed() const
returns corrComputed to indicate whether compute_correlations() has been invoked
Definition: SensAnalysisGlobal.hpp:208
@ SUBMETHOD_COLLABORATIVE
Type of hybrid meta-iterator:
Definition: DataMethod.hpp:96
double DELFUN
Relative convergence criterion threshold.
Definition: CONMINOptimizer.hpp:211
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:2027
Body class for method specification data.
Definition: DataMethod.hpp:281
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:4781
void pre_run()
generate LHS samples in non-VBD cases
Definition: NonDLHSSampling.cpp:195
const RealVector & nonlinear_ineq_constraint_upper_bounds() const
return the nonlinear inequality constraint upper bounds
Definition: DakotaConstraints.hpp:1111
Real vbdDropTol
tolerance for omitting output of small VBD indices
Definition: NonDExpansion.hpp:627
void increment_grid(bool update_anisotropy=true)
helper function to manage different grid increment cases
Definition: NonDExpansion.cpp:1141
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NLPQLPOptimizer.hpp:86
void print_points_weights(const String &tabular_name)
output integration points and weights to a tabular file
Definition: NonDIntegration.cpp:142
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:171
virtual int derived_map_ac(const Dakota::String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: TestDriverInterface.cpp:229
Variables()
default constructor
virtual void augment_linear_ineq_constraints(RealMatrix &lin_ineq_coeffs, RealVector &lin_ineq_lb, RealVector &lin_ineq_ub)=0
augment linear inequality constraints as required by derived algorithm
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:470
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:773
void run()
orchestrate initialize/pre/core/post/finalize phases
Definition: DakotaIterator.cpp:1047
void assign_truth_key()
synchronize the HF model's solution level control with truthModelKey
Definition: EnsembleSurrModel.hpp:892
void check_sub_iterator_conflict(Model &model)
check for clash with nested use of Fortran code
Definition: SOLBase.cpp:43
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:3159
CommandShell & operator<<(const char *cmd)
appends cmd to sysCommand
Definition: CommandShell.hpp:96
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:93
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:1780
RealVector linEqTargets
linear equality constraint targets used in "user_functions" mode
Definition: SNLLOptimizer.hpp:365
Nonintrusive polynomial chaos expansion approaches to uncertainty quantification.
Definition: NonDMultilevelPolynomialChaos.hpp:33
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:201
Wrapper class for the CONMIN optimization library.
Definition: CONMINOptimizer.hpp:88
Model fHatModel
GP model of response, one approximation per response function.
Definition: NonDGlobalInterval.hpp:99
size_t idrv() const
number of inactive discrete real vars
Definition: DakotaVariables.hpp:766
static RealArray rawData
array to hold temporary data before sort
Definition: SensAnalysisGlobal.hpp:183
void estimator_variance_ratios(const RealVector &N_vec, RealVector &estvar_ratios)
compute estimator variance ratios from HF samples and oversample ratios
Definition: NonDGenACVSampling.cpp:946
static bool id_compare(const DataMethod &dm, const std::string &id)
compares the idMethod attribute of DataMethod objects
Definition: DataMethod.hpp:1385
int discrete_int_lower_bound(size_t i) const
return an active discrete int lower bound from userDefinedConstraints
Definition: DakotaModel.hpp:2846
void post_start(ProblemDescDB &problem_db)
post the start of an analysis and archive start time
Definition: TrackerHTTP.cpp:80
virtual pid_t evaluation_process_group_id() const
return evalProcGroupId
Definition: ProcessHandleApplicInterface.cpp:510
size_t numTriangularUncVars
number of triangular uncertain variables (from the triangular_uncertain specification in VarAUV)
Definition: DataVariables.hpp:138
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:233
bool is_null() const
function to check responseRep (does this handle contain a body)
Definition: DakotaResponse.hpp:984
StringSetArray activeDiscSetStringValues
aggregation of the admissible value sets for all active discrete set string variables
Definition: DakotaModel.hpp:1698
static LeastSq * leastSqInstance
pointer to LeastSq instance used in static member functions
Definition: DakotaLeastSq.hpp:72
UShortArray discRealVarPartitions
number of partitions for each discrete real variable in a multidim_parameter_study
Definition: ParamStudy.hpp:266
virtual ~NLPQLPTraits()
destructor
Definition: NLPQLPOptimizer.hpp:80
void evaluate_parameter_sets(Model &model, bool log_resp_flag, bool log_best_flag)
perform function evaluations to map parameter sets (allVariables) into response sets (allResponses)
Definition: DakotaAnalyzer.cpp:235
int ITMAX
Flag to specify the maximum number of iterations.
Definition: CONMINOptimizer.hpp:195
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:542
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:827
size_t seedIndex
cache state of seed sequence for use in seed_updated()
Definition: NonDEnsembleSampling.hpp:243
std::shared_ptr< Environment > get_environment(const String &env_type)
Used by the envelope to instantiate the correct letter class.
Definition: DakotaEnvironment.cpp:168
size_t cv_start() const
get start index of active continuous vars
Definition: SharedVariablesData.hpp:1674
IntSet gradIdNumerical
numerical id's for mixed gradients
Definition: DakotaModel.hpp:1468
size_t dsvStart
start index of active discrete string vars within allDiscreteStringVars
Definition: SharedVariablesData.hpp:260
void push_c3_max_order(unsigned short max_order)
Publish configuration data for initial function train cores, prior to any adaptation.
Definition: NonDC3FunctionTrain.cpp:472
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:640
void fine_grained_evaluation_counters()
request fine-grained evaluation reporting within approxInterface and actualModel
Definition: DataFitSurrModel.hpp:1029
void check_singleton_key_index(size_t index)
check on valid indices for singleton active keys
Definition: ApproximationInterface.hpp:348
virtual void update_approximation(const Variables &vars, const IntResponsePair &response_pr)
updates the anchor point for an approximation
Definition: DakotaInterface.cpp:1028
IntResponseMap adapterRespMap
map of responses returned by derived_synchronize() and derived_synchronize_nowait()
Definition: AdapterModel.hpp:182
void initial_redirects(const ProgramOptions &prog_opts)
Perform initial output/error redirects from user requests.
Definition: OutputManager.cpp:90
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:712
int discrete_int_variable(size_t i) const
return an active discrete integer variable from currentVariables
Definition: DakotaModel.hpp:1873
OPTPP::NLF1 * nlf1Con
pointer to constraint NLF for Quasi Newton optimizers
Definition: SNLLLeastSq.hpp:194
SharedVariablesDataRep()
default constructor
Definition: SharedVariablesData.hpp:323
void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDGlobalEvidence.cpp:66
size_t idsv_start() const
start index of inactive discrete string vars
Definition: DakotaVariables.hpp:762
String scoringMetric
String describing the method for scoring candidate points. Options are: alm, distance,...
Definition: NonDAdaptiveSampling.hpp:137
static bool id_compare(const DataVariables &dv, const std::string &id)
compares the idVariables attribute of DataVariables objects
Definition: DataVariables.hpp:895
size_t numDiscreteIntVars
number of active discrete integer vars
Definition: DakotaAnalyzer.hpp:181
RealVector kappaU
principal curvatures derived from eigenvalues of orthonormal transformation of fnHessU
Definition: NonDLocalReliability.hpp:285
String submethod_enum_to_string(unsigned short submethod_enum) const
convert a sub-method name enumeration value to a string
Definition: DakotaIterator.cpp:997
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:832
ProblemDescDB & problem_description_db() const
return the problem description database (probDescDB)
Definition: DakotaIterator.hpp:650
static NonDGlobalReliability * nondGlobRelInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NonDGlobalReliability.hpp:121
Real maxBoxSize
the max_boxsize_limit for the DIRECT method in MethodSCOLIBDIR
Definition: DataMethod.hpp:570
String optInterfHessianType
Hessian type for the optional interface.
Definition: NestedModel.hpp:342
std::shared_ptr< DataVariablesRep > data_rep()
return dataVarsRep
Definition: DataVariables.hpp:999
size_t num_secondary_fns() const
return number of secondary functions (number of nonlinear constraints)
Definition: DakotaModel.hpp:3598
bool userModesFlag
whether any user run modes are active
Definition: ProgramOptions.hpp:259
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:2092
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:930
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:198
void read(MPIUnpackBuffer &s)
read a DataMethod object from a packed MPI buffer
Definition: DataMethod.hpp:1446
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:24
SharedApproxData operator=(const SharedApproxData &approx)
assignment operator
Definition: SharedApproxData.cpp:263
IntIntMap truthIdMap
map from actualModel/highFidelityModel evaluation ids to DataFitSurrModel/HierarchSurrModel ids
Definition: DataFitSurrModel.hpp:442
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:369
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:545
SizetArray pilotSamples
store the pilot_samples input specification, prior to run-time invocation of load_pilot_sample()
Definition: NonDEnsembleSampling.hpp:179
virtual bool push_available()
queries the approximation for the ability to retrieve a previous increment
Definition: DakotaInterface.cpp:1236
void stop_servers()
Executed by the master to terminate server operations for subModel and optionalInterface when iterati...
Definition: NestedModel.hpp:597
Iterator stochExpIterator
NonDPolynomialChaos or NonDStochCollocation instance for defining a PCE/SC-based mcmcModel.
Definition: NonDBayesCalibration.hpp:311
size_t respFnIndex
the active response function index in the model to be sampled
Definition: NonDAdaptImpSampling.hpp:177
static String user_auto_id()
return the next available method ID for no-ID user methods
Definition: DakotaIterator.cpp:1933
const double SCALING_LOGBASE
logarithm base to be used when scaling
Definition: ScalingModel.cpp:31
void decrement_order_and_grid()
uniformly decrement the expansion order and structured/unstructured grid (PCE and FT)
Definition: NonDExpansion.cpp:1887
bool variance_type_active(short variance_type) const
whether the specified variance type (enum value) is present and active
Definition: ExperimentData.cpp:898
virtual void combined_to_active(bool clear_combined=true)
promote the combined approximation to the currently active one
Definition: DakotaInterface.cpp:1284
virtual void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaIterator.cpp:1154
short discrepReduction
type of multilevel discrepancy emulation: distinct or recursive
Definition: SharedC3ApproxData.hpp:287
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:650
RealVector trialVars
decision variables in the linesearch
Definition: NonlinearCGOptimizer.hpp:122
int auxprt
auxilary printing bits (see Dakota Ref Manual): sum of 1 = x0prt (print initial guess) 2 = solprt (pr...
Definition: NL2SOLLeastSq.hpp:106
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:142
Real tiCoverage
coverage to be used in the calculation of the double sided tolerance interval equivaluent normal
Definition: NonDSampling.hpp:341
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:702
virtual RealArray cv_diagnostic(const StringArray &metric_types, unsigned num_folds)
retrieve diagnostic metrics for the diagnostic types specified, applying
Definition: DakotaApproximation.cpp:860
Pecos::ULongULongMap sparse_sobol_index_map() const
return RegressOrthogPolyApproximation::sparseSobolIndexMap
Definition: PecosApproximation.hpp:418
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:150
size_t numObs
The number of observations on which the GP surface is built.
Definition: GaussProcApproximation.hpp:245
~NonDLHSSampling()
destructor
Definition: NonDLHSSampling.cpp:179
const IntResponseMap & derived_synchronize()
portion of synchronize() specific to NestedModel
Definition: NestedModel.cpp:1506
bool generateRandomPosteriorSamples
Flag specifying whether to generate random samples from the posterior.
Definition: NonDWASABIBayesCalibration.hpp:112
void compute_active_covariance()
calculate the response covariance of the active expansion
Definition: NonDExpansion.hpp:737
size_t numDiscIntervalVars
number of variables of type DISCRETE_INTERVAL_UNCERTAIN
Definition: NonDInterval.hpp:99
RealVector responseScaleMultipliers
scales for all responses
Definition: ScalingModel.hpp:191
RealVector dimPrefSpec
the user specification for anisotropic dimension preference
Definition: NonDIntegration.hpp:138
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:467
bool resize()
reinitializes iterator based on new variable size
Definition: NonDRKDDarts.cpp:71
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:982
std::vector< double > constraintMapMultipliers
multipliers for constraint transformations
Definition: DakotaOptimizer.hpp:548
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: SurrBasedGlobalMinimizer.hpp:65
SNLLLeastSqTraits()
default constructor
Definition: SNLLLeastSq.hpp:43
int randomSeed
seed for the random number generator used in sampling of the tensor multi-index
Definition: NonDQuadrature.hpp:194
Real afctol
absolute fn convergence tolerance (absolute_conv_tol)
Definition: NL2SOLLeastSq.hpp:132
std::shared_ptr< Approximation > approxRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaApproximation.hpp:439
String readRestartFile
e.g., "dakota.old.rst"
Definition: ProgramOptions.hpp:246
size_t collocation_points() const
return specification for number of collocation points (may be part of a sequence specification)
Definition: NonDMultilevelPolynomialChaos.hpp:150
unsigned short exportCorrModelFormat
tabular format for corrected model (model+discrepancy) export file
Definition: DataMethod.hpp:1191
void test_local_evaluations(Dakota::PRPQueue &prp_queue)
invokes wait_local_evaluations() (no special nowait support)
Definition: PluginSerialDirectApplicInterface.hpp:122
StringArray continuousDesignScaleTypes
scale types array for the continuous design variables (from the continuous_design scale_types specifi...
Definition: DataVariables.hpp:228
bool versionFlag
whether to print version message and exit
Definition: ProgramOptions.hpp:254
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:552
void combined_to_active(bool clear_combined=true)
promote the combined approximation to the currently active one
Definition: ApproximationInterface.hpp:519
virtual void compute_statistics(short results_state=FINAL_RESULTS)
calculate analytic and numerical statistics from the expansion, supporting {REFINEMENT,...
Definition: NonDExpansion.cpp:2682
bool piecewiseBasis
boolean indicating presence of piecewise keyword
Definition: DataMethod.hpp:923
void lock()
Locks the database in order to prevent data access when the list nodes may not be set properly....
Definition: ProblemDescDB.hpp:528
short qoiAggregation
the |c qoi_aggregation_norm selection in MethodMultilevelMC
Definition: DataMethod.hpp:1058
BitArray histogramUncPointIntCat
is each hupi var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:525
String method_enum_to_string(unsigned short method_enum) const
convert a method name enumeration value to a string
Definition: DakotaIterator.cpp:971
IntVector poissonUncVars
initial values of the poisson uncertain variables (from the initial_point specification in VarDAUV_Po...
Definition: DataVariables.hpp:460
bool domainDecomp
whether domain decomposition is enabled
Definition: DataModel.hpp:274
virtual void pre_combine()
aggregate the shared approximation data from current and stored states
Definition: SharedApproxData.cpp:428
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:296
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:401
Derived model class which provides a thin wrapper around a sub-model in order to recast the form of i...
Definition: RecastModel.hpp:50
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:366
double FDCH
Relative finite difference step size.
Definition: CONMINOptimizer.hpp:197
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:1704
Real regressionL2Penalty
L2 regression penalty for a variant of LASSO known as the elastic net method (default of 0 gives stan...
Definition: DataMethod.hpp:977
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: NLSSOLLeastSq.hpp:55
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:1105
short convergenceToleranceType
the |c convergence_tolerance_type selection in MethodMultilevelMC
Definition: DataMethod.hpp:1060
SysCallApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: SysCallApplicInterface.cpp:26
void combined_to_active(bool clear_combined=true)
promote the combined approximation into the active approximation
Definition: RecastModel.hpp:996
SizetArray numHIter0
number of successful pilot evaluations of HF truth model (exclude faults)
Definition: NonDNonHierarchSampling.hpp:333
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:1059
double bestObjFunValue
Final objective function value.
Definition: SurrogatesGaussianProcess.hpp:444
int subSamplingPeriod
period or skip in post-processing the acceptance chain
Definition: DataMethod.hpp:1169
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:720
RealVector deltaLevelMaps
change in response means induced by a refinement candidate
Definition: NonDStochCollocation.hpp:142
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:187
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NonlinearCGOptimizer.hpp:43
void increment_set(const UShortArray &set)
invokes SparseGridDriver::increment_smolyak_multi_index()
Definition: NonDSparseGrid.hpp:212
bool adaptExpDesign
whether to perform iterative design of experiments with high-fidelity model
Definition: NonDBayesCalibration.hpp:335
BitArray cdrv_to_all_mask() const
create a BitArray indicating the complement discrete real subset of all {continuous,...
Definition: SharedVariablesData.hpp:1363
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:257
std::time_t startTime
cached starting time in raw seconds
Definition: TrackerHTTP.hpp:133
virtual void update_reference()
update reference grid within adaptive grid refinement procedures
Definition: NonDIntegration.cpp:199
size_t numScalarLeastSqTerms
scalar_calibration_terms: number of calibration terms which are scalar
Definition: DataResponses.hpp:85
SharedResponseDataRep()
default constructor
Definition: SharedResponseData.hpp:136
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:81
void batch_asynchronous_ego()
synchronous batch-sequential implementation: main function
Definition: EffGlobalMinimizer.cpp:350
StringArray discreteStateSetStrVars
initial values for the discrete state variables defined by a string set (from the discrete_state_set ...
Definition: DataVariables.hpp:644
int get_int(const String &entry_name) const
get an int out of the database based on an identifier string
Definition: ProblemDescDB.cpp:2252
size_t mi_parallel_level_index(ParLevLIter pl_iter) const
return the index within miPLIters corresponding to pl_iter
Definition: ParallelLibrary.hpp:547
bool supports_nonlinear_equality()
Return the flag indicating whether method supports nonlinear equalities.
Definition: DOTOptimizer.hpp:77
void set_communicators_checks(int max_eval_concurrency)
no-op hides default run-time error checks at DirectApplicInterface level
Definition: SoleilDirectApplicInterface.hpp:133
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:186
void fine_grained_evaluation_counters(size_t num_fns)
set fineGrainEvalCounters to true and initialize counters if needed
Definition: DakotaInterface.cpp:380
size_t statCntr
counter for finalStatistics
Definition: NonDGlobalSingleInterval.hpp:67
void activate_distribution_parameter_derivatives()
activate derivative setting w.r.t. distribution parameters
Definition: RecastModel.hpp:728
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:538
void recv_ea(int &recv_int, int source, int tag, MPI_Status &status)
blocking receive at the evaluation-analysis communication level
Definition: ParallelLibrary.hpp:1664
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:1109
double CTL
Constraint thickness parameter for linear and side constraints.
Definition: CONMINOptimizer.hpp:206
const double POW_VAL
offset used text_book exponent: 1.0 is nominal, 1.4 used for B&B testing
Definition: TestDriverInterface.cpp:36
EffGlobalMinimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: EffGlobalMinimizer.cpp:44
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:856
void set_cell_bounds()
set the optimization variable bounds for each cell
Definition: NonDLocalEvidence.cpp:40
IntStringPair evalInterfaceIds
the evalInterfaceIds aggregate
Definition: ParamResponsePair.hpp:174
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:69
OPTPP::OptCG * optcg
CG optimizer pointer.
Definition: SNLLOptimizer.hpp:334
Sizet2DArray primaryRespMapIndices
For each recast primary function, identifies the indices of the subModel functions used to define it ...
Definition: RecastModel.hpp:600
void set_x_label2d(int i, const char *x_label)
set x label for ith plot equal to x_label
Definition: DakotaGraphics.cpp:362
IntSet hessIdQuasi
quasi id's for mixed Hessians
Definition: DakotaModel.hpp:1471
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:252
NOMAD-based Evaluator class.
Definition: NomadOptimizer.hpp:201
void peer_dynamic_schedule_evaluations()
blocking dynamic schedule of all evaluations in beforeSynchCorePRPQueue using message passing on a pe...
Definition: ApplicationInterface.cpp:1169
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:204
RealVectorArray xPrev
previous parameter vectors used in computing s for quasi-Newton updates
Definition: DakotaModel.hpp:1674
ParallelLibrary & parallel_library() const
return the parallelLib reference
Definition: ProblemDescDB.hpp:550
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:217
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:206
RealVector dataDistMeans
The mean of the multivariate Gaussian distribution of the obs. data.
Definition: NonDWASABIBayesCalibration.hpp:90
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:153
size_t numOptInterfIneqCon
number of inequality constraints resulting from optional interface evaluations
Definition: NestedModel.hpp:330
RealVector expConfigVars
list of num_experiments x num_config_vars configuration variable values
Definition: DataResponses.hpp:163
unsigned short importBuildFormat
tabular format for the build point import file
Definition: DataMethod.hpp:1296
const double SCALING_MIN_SCALE
minimum value allowed for a characteristic value when scaling; ten orders of magnitude greater than D...
Definition: ScalingModel.cpp:27
void initialize_from_model(Model &model)
helper for shared ctor code
Definition: SurrBasedMinimizer.cpp:80
void infer_pilot_sample(size_t num_steps, SizetArray &delta_N_l)
Definition: NonDMultilevelFunctionTrain.cpp:399
bool decompDiscontDetect
whether discontinuity detection is enabled
Definition: DataModel.hpp:280
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:250
void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDGlobalSingleInterval.cpp:80
virtual Real compute_covariance_metric(bool revert, bool print_metric)
compute 2-norm of change in response covariance
Definition: NonDExpansion.cpp:2161
int graphics_counter() const
return graphicsCntr
Definition: OutputManager.cpp:632
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:132
void request_values(const short rv_val)
set all request vector values
Definition: DakotaActiveSet.hpp:209
size_t startRankSpec
scalar specification for initial rank (prior to adapt_rank)
Definition: NonDC3FunctionTrain.hpp:123
int derived_map_ac(const Dakota::String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: PluginSerialDirectApplicInterface.cpp:23
~NonDReliability()
destructor
Definition: NonDReliability.cpp:51
String expansionImportFile
filename for import of chaos coefficients
Definition: NonDPolynomialChaos.hpp:209
Objects of this class are called by boost::appy_visitor to add dimension scales (RealScale or StringS...
Definition: ResultsDBHDF5.hpp:91
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:974
virtual const Response & response_results() const
return a single final iterator solution (response)
Definition: DakotaIterator.cpp:1443
Real relFunctionTol
stopping criterion for rel change in fn
Definition: NonlinearCGOptimizer.hpp:107
void relax_constraints(SurrBasedLevelData &tr_data)
relax constraints by updating bounds when current iterate is infeasible
Definition: SurrBasedLocalMinimizer.cpp:1335
RealVector linearIneqScaleOffsets
offsets for linear ineq constrs.
Definition: ScalingModel.hpp:197
void assign_specification_sequence()
assign the current values from the input specification sequence
Definition: NonDMultilevelPolynomialChaos.cpp:576
const RealVector & linear_eq_constraint_targets() const
return the linear equality constraint targets
Definition: DakotaModel.hpp:3449
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:189
static int lastEvalMode
copy of mode from constraint evaluators
Definition: SNLLBase.hpp:169
std::shared_ptr< QUESO::StatisticalInverseProblem< QUESO::GslVector, QUESO::GslMatrix > > inverseProb
QUESO inverse problem solver.
Definition: NonDQUESOBayesCalibration.hpp:233
QRSolver()
Constructor.
Definition: UtilLinearSolvers.cpp:174
bool toleranceIntervalsFlag
Flag to specify use of double sided tolerance interval equivalent normal.
Definition: DataMethod.hpp:887
virtual void print_coefficients(std::ostream &s, bool normalized)
print the coefficient array computed in build()/rebuild()
Definition: DakotaApproximation.cpp:954
RealVectorArray ccPlausFn
Storage array to hold CCPF values.
Definition: NonDInterval.hpp:111
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:2411
void store_evaluations(const size_t step)
adds the response evaluations for the current step to levQoisamplesmatrixMap.
Definition: NonDMultilevelSampling.cpp:690
short interface_synchronization() const
return interfaceSynchronization
Definition: ApplicationInterface.hpp:592
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:504
short respLevelTargetReduce
indicates component or system series/parallel failure metrics
Definition: DakotaNonD.hpp:323
~TrackerHTTP()
destructor to free handles
Definition: TrackerHTTP.cpp:69
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:86
void import_model(const ProblemDescDB &problem_db)
construct-time only import of serialized surrogate
Definition: SurfpackApproximation.cpp:842
void update_limit_state_surrogate()
convenience function for passing the latest variables/response data to the data fit embedded within u...
Definition: NonDLocalReliability.cpp:1780
void common_input_filtering(const Variables &vars)
common input filtering operations, e.g. mesh movement
Definition: ApplicationInterface.cpp:2992
Real globalBalanceParam
the global_balance_parameter for the DIRECT method in MethodSCOLIBDIR
Definition: DataMethod.hpp:565
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:1039
~OptDartsOptimizer()
Destructor.
Definition: OptDartsOptimizer.cpp:1737
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:544
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:737
virtual void archive_model_response(const Response &, size_t idx) const
archive model evaluation responses
Definition: DakotaAnalyzer.hpp:153
RealVectorArray S4
VBD main effect indices.
Definition: DakotaAnalyzer.hpp:234
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:1588
RealVector primaryRespFnWeights
vector of weightings for multiobjective optimization or weighted nonlinear least squares (from the mu...
Definition: DataResponses.hpp:119
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:880
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:70
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:98
double priorPropCovMult
optional multiplier to scale prior-based proposal covariance
Definition: NonDQUESOBayesCalibration.hpp:216
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:132
SSCIter max_string(const StringSet &ss)
return iterator for longest string value found in string set
Definition: DakotaModel.hpp:3802
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:843
RealVector fnGradX
actual x-space gradient for current function from most recent response evaluation
Definition: NonDLocalReliability.hpp:273
Base class for polynomial chaos expansions (PCE), stochastic collocation (SC) and functional tensor t...
Definition: NonDExpansion.hpp:30
RealVector binomialUncProbPerTrial
probabilities per each trial (p) for the binomial uncertain variables from the prob_per_trial specifi...
Definition: DataVariables.hpp:466
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:559
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:26
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:1682
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:489
bool resize()
reinitializes iterator based on new variable size
Definition: DakotaMinimizer.cpp:122
void test_local_evaluation_sequence(PRPQueue &prp_queue)
Definition: SysCallApplicInterface.cpp:124
void update_approximation(bool rebuild_flag)
replaces data in the subModel approximation
Definition: RecastModel.hpp:943
void check_inputs()
verify problem respects NCSU DIRECT Fortran limits
Definition: NCSUOptimizer.cpp:130
UShortMultiArrayConstView discrete_string_variable_types() const
return the active discrete string variable types
Definition: DakotaVariables.hpp:1316
bool methodDBLocked
prevents use of get_<type> retrieval and set_<type> update functions prior to setting the list node f...
Definition: ProblemDescDB.hpp:509
void add_metadata_to_method(const StrStrSizet &iterator_id, const AttributeArray &attrs) override
Add attributes to the HDF5 method group.
Definition: ResultsDBHDF5.cpp:198
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:809
int numEmulEval
the number of points evaluated by the GP each iteration
Definition: NonDAdaptiveSampling.hpp:94
unsigned short startOrder
starting polynomial order
Definition: DataMethod.hpp:822
Real trustRegionContract
trust region contraction factor in the surrogate-based local method (from the contraction_factor spec...
Definition: DataMethod.hpp:453
ActiveSet responseActiveSet
copy of the ActiveSet used by the Model to generate a Response instance
Definition: DakotaResponse.hpp:417
void declare_sources()
Declare a model's sources to the evaluationsDB.
Definition: RecastModel.cpp:1612
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:196
size_t numGumbelUncVars
number of gumbel uncertain variables (from the gumbel_uncertain specification in VarAUV)
Definition: DataVariables.hpp:150
const char *DAKOTA_DLL_FN dakota_getStatus(int id)
return current results output as a string
Definition: dakota_dll_api.cpp:302
RealVector discreteStateSetRealLowerBnds
discrete state real set lower bounds inferred from set values
Definition: DataVariables.hpp:808
RealVector continuousAleatoryUncUpperBnds
distribution upper bounds for all continuous aleatory uncertain variables (collected from nuv_upper_b...
Definition: DataVariables.hpp:715
const Pecos::BitArrayULongMap & sobol_index_map() const
return Pecos::SharedPolyApproxData::sobolIndexMap
Definition: SharedPecosApproxData.hpp:337
Class for the Dempster-Shafer Evidence Theory methods within DAKOTA/UQ.
Definition: NonDGlobalEvidence.hpp:40
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:243
void reset()
resets all response data to zero
Subspace model for input (variable space) reduction.
Definition: SubspaceModel.hpp:31
RealVector primaryRespFnWts
primary response function weightings (either weights for multiobjective optimization or weighted leas...
Definition: DakotaModel.hpp:1541
void parallel_configuration_iterator(ParConfigLIter pc_iter)
set modelPCIter
Definition: DakotaModel.hpp:3770
int randomSeed
current seed for the random number generator
Definition: FSUDesignCompExp.hpp:120
size_t drv() const
get number of active discrete real vars
Definition: SharedVariablesData.hpp:1694
bool crossValidation
flag indicating the use of cross-validation across expansion orders (given a prescribed maximum order...
Definition: DataMethod.hpp:980
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:845
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:2401
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:1076
const RealRealPairArray & extreme_values() const
return extremeValues
Definition: NonDAdaptImpSampling.hpp:227
int numWorkersTotal
total number of processors available for performing function evaluations
Definition: APPSEvalMgr.hpp:116
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:201
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:222
int cholFlag
A global indicator for success of the Cholesky factorization.
Definition: GaussProcApproximation.hpp:273
~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:4773
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:878
RealVector respVariance
vector of response variances (diagonal response covariance option)
Definition: NonDExpansion.hpp:531
RealMatrix sampleRanks
data structure to hold the sample ranks
Definition: NonDSampling.hpp:371
const int seedSpec
the user seed specification (default is 0)
Definition: NonDLHSInterval.hpp:69
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: NonDACVSampling.cpp:593
void run_dace()
execute the DACE iterator to generate build data
Definition: DataFitSurrModel.cpp:1331
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:569
SizetArray algebraicACVIds
set of ids mapping AMPL algebraic variables to DAKOTA all continuous variables
Definition: DakotaInterface.hpp:476
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:856
virtual void clear_model_keys()
reset initial state by clearing all model keys for an approximation
Definition: SharedApproxData.cpp:287
void manage_run_modes(const CommandLineHandler &clh)
retrieve run mode options from the CLH
Definition: ProgramOptions.cpp:445
bool returns_multiple_points() const
indicates if this iterator returns multiple final points. Default return is false....
Definition: DakotaAnalyzer.hpp:307
IntResponseMap cachedApproxRespMap
map of approximate responses retrieved in derived_synchronize_nowait() that could not be returned sin...
Definition: DataFitSurrModel.hpp:449
Real betaEta
power for etaSequence updates when updating multipliers
Definition: SurrBasedMinimizer.hpp:182
void pack(const short &data)
Pack a short.
Definition: MPIPackBuffer.hpp:101
String oFilterName
name of the direct function output filter
Definition: DirectApplicInterface.hpp:150
size_t numBinomialUncVars
number of binomial uncertain variables (from the binomial_uncertain specification in VarAUV)
Definition: DataVariables.hpp:165
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:285
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:671
virtual void linear_constraints(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)
assign linear inequality and linear equality constraints for this iterator (user-functions mode for w...
Definition: DakotaIterator.cpp:1544
StringMultiArrayConstView discrete_real_variable_labels() const
return the active discrete real variable labels
Definition: DakotaVariables.hpp:1138
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:280
void discrete_int_variable_type(unsigned short div_type, size_t index)
set an active discrete integer variable type
Definition: DakotaVariables.hpp:1308
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:2688
String evalTagPrefix
cached evalTag Prefix from parents to use at evaluate time
Definition: DakotaModel.hpp:1551
size_t icv_start() const
start index of inactive continuous vars
Definition: DakotaVariables.hpp:746
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:1078
int adapterModelEvalCntr
local evaluation id counter used for id mapping
Definition: AdapterModel.hpp:172
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:340
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:808
size_t mlmfIter
major iteration counter
Definition: NonDEnsembleSampling.hpp:194
SizetMultiArrayConstView all_discrete_int_variable_ids() const
return all discrete integer variable position identifiers
Definition: DakotaVariables.hpp:1761
int bayes_linear()
Scalable test function for Bayesian methods, to estimate parameters.
Definition: TestDriverInterface.cpp:4608
void stop_model(short model_id)
stop the servers for the model instance identified by the passed id
Definition: EnsembleSurrModel.hpp:1143
void correl_adjust(Real &corr_value)
if result was NaN/Inf, preserve it, otherwise truncate to [-1.0, 1.0]
Definition: SensAnalysisGlobal.cpp:137
void write(std::ostream &s) const
write a variable constraints object to an std::ostream
Definition: MixedVarConstraints.cpp:212
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:4724
CONMINTraits()
default constructor
Definition: CONMINOptimizer.hpp:33
bool importUseVariableLabels
whether to parse/validate variable labels from header
Definition: DataModel.hpp:177
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:231
Real xConvTol
x-convergence tolerance
Definition: DataMethod.hpp:501
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:831
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:517
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: DOTOptimizer.hpp:80
RealVector allDiscreteRealVars
array combining all of the discrete real variables
Definition: DakotaVariables.hpp:614
const RealVector & all_continuous_lower_bounds() const
return all continuous lower bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3138
RealVector rhoMix
rhoMix, mixture density
Definition: NonDGPImpSampling.hpp:127
virtual void validate_inputs()
validate the build controls and set defaults
Definition: SubspaceModel.cpp:51
size_t num_scalar_primary() const
number of scalar primary responses (objectives, calibration terms, generic)
Definition: SharedResponseData.hpp:337
boost::filter_iterator< MatchesWC, bfs::directory_iterator > glob_iterator
a glob_iterator filters a directory_iterator based on a wildcard predicate
Definition: WorkdirHelper.hpp:104
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:80
String fdGradStepType
type of finite difference step to use for numerical gradient: relative - step length is relative to x...
Definition: DakotaModel.hpp:1441
void filter_chain(const RealMatrix &acceptance_chain, RealMatrix &filtered_chain, int target_length)
Perform chain filtering based on target chain length.
Definition: NonDBayesCalibration.cpp:2660
RealVector inactiveContinuousUpperBnds
the inactive continuous upper bounds array view
Definition: DakotaConstraints.hpp:416
size_t numLeastSqTerms
number of least squares terms (from the num_calibration_terms specification in RespFnLS)
Definition: DataResponses.hpp:71
virtual void map_variable_labels(const Variables &dfsm_vars)
if needed, map passed all variable labels to approximation's labels
Definition: DakotaApproximation.cpp:1091
ProblemDescDB & probDescDB
class member reference to the problem description database
Definition: DakotaModel.hpp:1489
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:112
A version of TraitsBase specialized for NonlinearCG optimizers.
Definition: NonlinearCGOptimizer.hpp:30
StrStrSizet run_identifier() const
get the unique run identifier based on method name, id, and number of executions
Definition: DakotaIterator.cpp:1861
void reset()
restore initial state for repeated sub-iterator executions
Definition: SurrBasedLocalMinimizer.hpp:287
ScalingModel(Model &sub_model)
standard constructor
Definition: ScalingModel.cpp:46
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:93
void join_process_group(pid_t &process_group_id, bool new_group)
core code used by join_{evaluation,analysis}_process_group()
Definition: ForkApplicInterface.cpp:250
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:1398
size_t discrete_state()
return total number of state variables
Definition: DataVariables.hpp:961
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDLHSInterval.cpp:53
Real tau
constraint relaxation parameter
Definition: SurrBasedLocalMinimizer.hpp:244
bool idlePartition
identifies presence of an idle processor partition at this level
Definition: ParallelLibrary.hpp:125
short samplingVarsMode
the sampling mode: ALEATORY_UNCERTAIN{,_UNIFORM}, EPISTEMIC_UNCERTAIN{,_UNIFORM}, UNCERTAIN{,...
Definition: NonDSampling.hpp:361
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:1498
void clear_active_popped()
clear SurrogateData::popped{Vars,Resp}Trials,popCountStack for activeKey
Definition: DakotaApproximation.hpp:623
NonDPOFDarts(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDPOFDarts.cpp:53
EffGlobalTraits()
default constructor
Definition: EffGlobalMinimizer.hpp:40
std::shared_ptr< TraitsBase > methodTraits
pointer that retains shared ownership of a TraitsBase object, or child thereof
Definition: DakotaIterator.hpp:542
BitArray localServerAssigned
array with one bit per logical "server" indicating whether a job is currently running on the server (...
Definition: ApplicationInterface.hpp:462
static NonDNonHierarchSampling * nonHierSampInstance
pointer to NonDACV instance used in static member functions
Definition: NonDNonHierarchSampling.hpp:400
RealVector inactiveDiscreteRealUpperBnds
the inactive discrete upper bounds array view
Definition: DakotaConstraints.hpp:424
virtual void post_process_response_fn_results()
post-process the interval computed for a response function
Definition: NonDLocalInterval.cpp:265
void bcast_i(int &data, size_t index=_NPOS)
broadcast an integer across an iterator communicator
Definition: ParallelLibrary.hpp:1815
virtual void track_evaluation_ids(bool track)
assigns trackEvalIds to activate tracking of evaluation ids within surrogate data,...
Definition: DakotaInterface.cpp:1197
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:57
void fill_primary_function_labels(StringArray &expanded_labels) const
populate the passed array with num_total_exppoints labels
Definition: ExperimentData.cpp:864
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:1367
bool speculativeFlag
flag for speculative gradient evaluations
Definition: DakotaMinimizer.hpp:284
void wait_local_evaluation_sequence(PRPQueue &prp_queue)
version of wait_local_evaluations() managing of set of individual asynchronous evaluations
Definition: ForkApplicInterface.cpp:33
void export_posterior_samples_to_file(const std::string filename, const RealMatrix &posterior_data) const
Export posterior_data to file.
Definition: NonDWASABIBayesCalibration.cpp:385
Real discontGradThresh
gradient threshold for discontinuity detection in domain decomp
Definition: DataModel.hpp:285
void update_system_final_statistics()
update system metrics from component metrics within finalStatistics
Definition: DakotaNonD.cpp:663
SurfpackApproximation()
default constructor
Definition: SurfpackApproximation.hpp:190
Real reliability(Real p)
Convert probability to reliability using the inverse of a first-order integration.
Definition: NonDLocalReliability.hpp:395
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:293
std::ostream & operator<<(std::ostream &s, const ActiveSet &set)
std::ostream insertion operator for ActiveSet. Calls write(std::istream&).
Definition: DakotaActiveSet.hpp:282
StringArray discreteStrAleatoryUncUpperBnds
distribution upper bounds for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:742
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:128
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:439
Real startWCTime
start reference for UTILIB wall clock timer
Definition: ParallelLibrary.hpp:1024
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:627
bool cdfFlag
flag for type of probabilities/reliabilities used in mappings: cumulative/CDF (true) or complementary...
Definition: DakotaNonD.hpp:344
const RealSymMatrix & get_rsm(const String &entry_name) const
get a RealSymMatrix out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1686
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:632
A version of TraitsBase specialized for John Eddy's Genetic Algorithms (JEGA).
Definition: JEGAOptimizer.hpp:613
~NonDNonHierarchSampling()
destructor
Definition: NonDNonHierarchSampling.cpp:82
friend bool operator!=(const ParamResponsePair &pair1, const ParamResponsePair &pair2)
inequality operator
Definition: ParamResponsePair.hpp:347
bool expansionFlag
the no_expansion specification for APPS/PS/SW methods in MethodAPPS, MethodSCOLIBPS,...
Definition: DataMethod.hpp:615
void core_run()
perform the evaluate parameter sets portion of run
Definition: NonDLHSSampling.cpp:657
static NLSSOLLeastSq * nlssolInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NLSSOLLeastSq.hpp:132
StringMultiArrayView all_discrete_int_variable_labels() const
returns a single array with all discrete variable labels
Definition: DakotaVariables.hpp:1694
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:1262
BoolList initialMapList
transfers initial_map flag values from estimate_derivatives() to synchronize_derivatives()
Definition: DakotaModel.hpp:1654
void get_initial_values(const Model &model, VecT &values)
Definition: DakotaOptimizer.hpp:26
BitArray idiv_to_all_mask() const
create a BitArray indicating the inactive discrete int subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1299
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:72
virtual short surrogate_response_mode() const
return response computation mode used in SurrogateModels for forming currentResponse
Definition: DakotaModel.cpp:4402
IntVector refineSamples
list of refinement sample batch sizes
Definition: NonDLHSSampling.hpp:162
const RealVector & inactive_discrete_real_lower_bounds() const
return the inactive discrete lower bounds
Definition: DakotaConstraints.hpp:691
bool resize()
reinitializes iterator based on new variable size
Definition: NonDReliability.cpp:55
int evalServerId
evaluation server identifier
Definition: ApplicationInterface.hpp:227
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: NPSOLOptimizer.hpp:69
void set_dc_ptr_int(int ptr_int)
set the DAKOTA pointer to ModelCenter current design point
Definition: dakota_dll_api.cpp:334
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:486
Base class for the variables class hierarchy.
Definition: DakotaVariables.hpp:113
String preprocFilename
pre-processed input file
Definition: ProgramOptions.hpp:238
void offset(const RealVector &x, RealVector &s)
based on minX, offset original parameters (x) to define positive parameters (s)
Definition: TANA3Approximation.cpp:247
void VPSmodel_build()
Function to compute coefficients governing the VPS surrogates.
Definition: VPSApproximation.cpp:3278
void print_estimator_performance(std::ostream &s, const DAGSolutionData &soln)
helper function that supports virtual print_variance_reduction(s)
Definition: NonDNonHierarchSampling.cpp:1391
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDNonHierarchSampling.cpp:100
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: DataFitSurrBasedLocalMinimizer.hpp:55
void update_approximation(bool rebuild_flag)
replaces the approximation data with daceIterator results and rebuilds the approximation if requested
Definition: DataFitSurrModel.cpp:611
bool posteriorStatsKDE
flag indicating calculation of kernel density estimate of posterior distributions
Definition: DataMethod.hpp:1120
void surrogate_function_indices(const SizetSet &surr_fn_indices)
(re)set the surrogate index set in SurrogateModel::surrogateFnIndices
Definition: EnsembleSurrModel.hpp:659
Definition: ROLOptimizer.hpp:474
ParConfigLIter currPCIter
list iterator identifying the current node in parallelConfigurations
Definition: ParallelLibrary.hpp:1038
void symmetric_eigenvalue_decomposition(const RealSymMatrix &matrix, RealVector &eigenvalues, RealMatrix &eigenvectors)
Computes the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A.
Definition: ExperimentDataUtils.cpp:754
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:332
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:727
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:946
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:398
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:186
void read(MPIUnpackBuffer &s)
read a DataVariablesRep object from a packed MPI buffer
Definition: DataVariables.cpp:139
UShortArray cvScaleTypes
scale flags for continuous vars.
Definition: ScalingModel.hpp:186
UShortList orderedRootList
an ordered set of root nodes that ensures targets are defined when unrolling dependent sources; allow...
Definition: NonDGenACVSampling.hpp:210
Real vbdDropTolerance
the var_based_decomp tolerance for omitting index output
Definition: DataMethod.hpp:864
Real percentChange
The minimum percent change before convergence for a fitness tracker converger.
Definition: DataMethod.hpp:688
int serverCommRank
rank in serverIntraComm
Definition: ParallelLibrary.hpp:134
RealMatrix momentStatistics
Matrix for moment statistics. Note that posterior values have density associated with them so we can'...
Definition: NonDWASABIBayesCalibration.hpp:127
int numServers
number of servers
Definition: ParallelLibrary.hpp:128
void recover_results(const RealVector &cv_star, const RealVector &fn_star, Real &avg_estvar, RealVector &avg_eval_ratios, Real &avg_hf_target, Real &equiv_hf_cost)
post-process optimization final results to recover solution data
Definition: NonDNonHierarchSampling.cpp:923
void initialize_variables(size_t num_cdv)
initialize currentVariables
Definition: MinimizerAdapterModel.hpp:128
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:653
Real minTrustRegionFactor
a soft convergence control: stop SBLM when the trust region factor is reduced below the value of minT...
Definition: SurrBasedLocalMinimizer.hpp:209
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:493
void waitall(int num_recvs, MPI_Request *&recv_reqs)
wait for all messages from a series of nonblocking receives
Definition: ParallelLibrary.hpp:1994
bool ie_parallel_level_defined() const
test current parallel configuration for definition of iterator-evaluation parallel level
Definition: ParallelLibrary.hpp:1192
Real constraint_violation(const RealVector &fn_vals, const Real &constraint_tol)
compute the constraint violation from a set of function values
Definition: SurrBasedMinimizer.cpp:790
Sizet3DArray NLevActual
total number of successful sample evaluations (excluding faults) for each model form,...
Definition: NonDEnsembleSampling.hpp:172
String readRestart
file name for restart read (overrides command-line)
Definition: DataEnvironment.hpp:60
RealVector mostProbPointX
location of MPP in x-space
Definition: NonDLocalReliability.hpp:310
RealMatrix linearIneqConCoeffs
linear inequality constraint coefficients
Definition: DakotaConstraints.hpp:386
int mutationRange
the mutation_range specification for the pga_int method in MethodSCOLIBEA
Definition: DataMethod.hpp:624
String errorFile
Dakota error base file name, e.g., "dakota.err".
Definition: ProgramOptions.hpp:244
void export_approximation()
Definition: ApproximationInterface.cpp:673
int transient_diffusion_1d()
solve the 1d transient diffusion equation with uncertain scalar diffusivity
Definition: TestDriverInterface.cpp:2064
void submodel_supports_derivative_estimation(bool sed_flag)
override the submodel's derivative estimation behavior
Definition: RecastModel.hpp:667
Real solnTarget
the solution_target specification in MethodSCOLIBDC
Definition: DataMethod.hpp:585
size_t numDiscreteUncSetStrVars
number of discrete epistemic uncertain string set variables (from the discrete_uncertain_set string s...
Definition: DataVariables.hpp:195
bool tensorGridFlag
flag for usage of a sub-sampled set of tensor-product grid points within regression PCE; based on the...
Definition: DataMethod.hpp:1001
static NL2SOLLeastSq * nl2solInstance
pointer to the active object instance used within the static evaluator functions
Definition: NL2SOLLeastSq.hpp:97
short finalStatsType
QOI_STATISTICS (moments, level mappings) or ESTIMATOR_PERFORMANCE (for model tuning of estVar,...
Definition: NonDEnsembleSampling.hpp:215
GetLongOpt is a general command line utility from S. Manoharan (Advanced Computer Research Institute,...
Definition: CommandLineHandler.hpp:47
bool command_line_check() const
return checkFlag
Definition: ParallelLibrary.hpp:1333
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:157
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:57
Real xctol
x-convergence tolerance (x_conv_tol)
Definition: NL2SOLLeastSq.hpp:133
void core_run() override
Iterates the ROL solver to determine the optimal solution.
Definition: ROLOptimizer.cpp:88
int N1
Size variable for CONMIN arrays. See CONMIN manual.
Definition: CONMINOptimizer.hpp:174
void update_samples_from_order_increment()
update numSamplesOnModel after an order increment
Definition: NonDC3FunctionTrain.cpp:522
ParallelLibrary & parallelLib
class member reference to the parallel library
Definition: DakotaModel.hpp:1492
OutputManager dummy_out_mgr
dummy OutputManager for ref initialization
Definition: dakota_global_defs.cpp:76
void check_model_interface_instance()
update sameInterfaceInstance based on interface ids for models identified by current {low,...
Definition: EnsembleSurrModel.hpp:691
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:155
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:139
StringArray histogramPointStrUncVars
initial values of the real-valued histogram point uncertain variables (from the initial_point specifi...
Definition: DataVariables.hpp:536
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:166
Model iteratedModel
the model to be iterated (for iterators and meta-iterators employing a single model instance)
Definition: DakotaIterator.hpp:487
virtual void update_final_statistics()
update finalStatistics::functionValues
Definition: DakotaNonD.cpp:609
bool pcaFlag
flag to specify the calculation of principal components
Definition: NonDLHSSampling.hpp:180
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:121
UShortMultiArrayConstView all_discrete_string_variable_types() const
return all discrete variable types
Definition: DakotaVariables.hpp:1748
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:1122
StringMultiArray initialDSVPoint
the discrete string start point for vector and centered parameter studies
Definition: ParamStudy.hpp:208
virtual size_t qoi() const
return number of unique response functions (managing any aggregations)
Definition: DakotaModel.cpp:3423
RealVector discreteRealEpistemicUncUpperBnds
distribution upper bounds for all discrete real epistemic uncertain variables
Definition: DataVariables.hpp:795
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:608
Wrapper class for the (S)NOWPAC optimization algorithms from Florian Augustin (MIT)
Definition: NOWPACOptimizer.hpp:186
virtual std::vector< Approximation > & approximations()
retrieve the set of Approximations within the ApproximationInterface of a DataFitSurrModel
Definition: DakotaModel.cpp:4309
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:1541
bool addAnchor
flag indicating that data additions are anchor points (for updating local and multipoint approximatio...
Definition: DiscrepancyCorrection.hpp:217
size_t expansionSamples
the expansion_samples specification in MethodNonDPCE
Definition: DataMethod.hpp:953
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:521
const ShortArray & request_vector() const
return the request vector
Definition: DakotaActiveSet.hpp:197
RealRealMapArray histogramUncBinPairs
An array for each real-valued bin-based histogram uncertain variable. Each array entry is a map from ...
Definition: DataVariables.hpp:448
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:601
size_t cv() const
number of active continuous vars
Definition: DakotaVariables.hpp:710
unsigned short exportApproxFormat
tabular format for the approx point export file
Definition: DataMethod.hpp:1310
short approxCorrectionType
correction type for global and hierarchical approximations: NO_CORRECTION, ADDITIVE_CORRECTION,...
Definition: DataModel.hpp:218
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:472
std::map< pid_t, int > evalProcessIdMap
map of fork process id's to function evaluation id's for asynchronous evaluations
Definition: ProcessHandleApplicInterface.hpp:128
String dataDistCovInputType
the format of data distribution gaussian covariance input: diagonal or matrix
Definition: DataMethod.hpp:1243
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:367
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:122
~DiscrepancyCorrection()
destructor
Definition: DiscrepancyCorrection.hpp:288
void initialize_run()
Definition: DakotaOptimizer.cpp:533
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:1105
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:110
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:172
bool blockingSynch
flag for APPS synchronous behavior
Definition: APPSEvalMgr.hpp:110
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:234
int numAnalysisServersSpec
user spec for number of analysis servers
Definition: ApplicationInterface.hpp:426
~SimulationModel()
destructor
Definition: SimulationModel.hpp:223
Real prevFnStar
stores previous solution value for assessing convergence
Definition: NonDGlobalInterval.hpp:182
void build()
builds the approximation from scratch
Definition: TANA3Approximation.cpp:60
const RealVector & fd_hessian_by_fn_step_size() const
return function-based finite difference Hessian step size (fdHessByFnStepSize)
Definition: DakotaModel.hpp:3660
int fnEvalCntr
counter for testing against maxFunctionEvals
Definition: SOLBase.hpp:184
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:592
virtual void update_from_model(const Model &model)
set inherited data attributes based on extractions from incoming model
Definition: DakotaIterator.cpp:1010
String boxDivision
the division setting (major_dimension or all_dimensions) for the DIRECT method in MethodSCOLIBDIR
Definition: DataMethod.hpp:576
Class for provably-convergent local surrogate-based optimization and nonlinear least squares.
Definition: SurrBasedLocalMinimizer.hpp:35
void warm_start_flag(const bool flag)
set the warm start flag, including actualModel
Definition: NestedModel.hpp:713
RealRealPairRealMapArray continuousIntervalUncBasicProbs
Probability values per interval cell per epistemic interval uncertain variable (from the continuous_i...
Definition: DataVariables.hpp:564
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:549
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:506
StringArray xAllLabels
all variable labels in input spec order
Definition: DirectApplicInterface.hpp:186
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:179
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:105
Real functionPrecision
the function_precision specification in MethodNPSOLDC and the EPSILON specification in NOMAD
Definition: DataMethod.hpp:494
bool allDataFlag
flag which triggers the update of allVars/allResponses for use by Iterator::all_variables() and Itera...
Definition: FSUDesignCompExp.hpp:92
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:449
void apply_multiplicative(const Variables &vars, Response &approx_response)
internal convenience function for applying multiplicative corrections to an approximate response
Definition: DiscrepancyCorrection.cpp:700
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:796
RealVector inactiveContinuousLowerBnds
the inactive continuous lower bounds array view
Definition: DakotaConstraints.hpp:414
void construct_map_optimizer()
construct the MAP optimizer for minimization of negLogPostModel
Definition: NonDBayesCalibration.cpp:686
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:2621
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:1219
RealVector responseScaleOffsets
offsets for all responses (zero for functions, not for nonlin con)
Definition: ScalingModel.hpp:192
~RecastModel()
destructor
Definition: RecastModel.hpp:659
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:1295
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:111
bool mpirunFlag
some output is only for MPI runs
Definition: OutputManager.hpp:393
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:768
virtual void push_grid_increment()
restores a previously computed grid increment (no new evaluations)
Definition: NonDIntegration.cpp:175
const Pecos::RealVector & gradient(const Variables &vars)
retrieve the approximate function gradient for a given parameter vector
Definition: PecosApproximation.hpp:741
void all_continuous_type(unsigned short cv_type, size_t index)
set continuous type at index
Definition: SharedVariablesData.hpp:1508
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:1066
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:38
size_t idsv_start() const
get start index of inactive discr string vars
Definition: SharedVariablesData.hpp:1722
RealVector function_gradient_copy(int i) const
return the i-th function gradient as a SerialDenseVector Teuchos::Copy (deep copy)
Definition: DakotaResponse.hpp:700
void launch_asynch_local(PRPQueueIter &prp_it)
launch an asynchronous local evaluation from a queue iterator
Definition: ApplicationInterface.hpp:698
Model & active_surrogate_model(size_t i=_NPOS)
return the i-th active surrogate model within subModel
Definition: RecastModel.hpp:793
RealVector poissonUncLambdas
lambdas (rate parameter) for the poisson uncertain variables (from the lambdas specification in VarDA...
Definition: DataVariables.hpp:457
void init_serial_evaluations()
set concurrent evaluation configuration for serial operations
Definition: ApplicationInterface.hpp:572
const String & random_number_generator() const
return rngName
Definition: NonDSampling.hpp:433
bool check_multiprocessor_asynchronous(bool warn, int max_eval_concurrency)
checks on asynchronous settings for multiprocessor partitions
Definition: ApplicationInterface.cpp:342
bool tensorRegression
option for regression FT using a filtered set of tensor-product quadrature points
Definition: NonDExpansion.hpp:452
virtual size_t push_index(const Pecos::ActiveKey &key)
return index for restoring trial set within stored data sets
Definition: SharedApproxData.cpp:363
DakotaROLIneqConstraintsGrad(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:636
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:126
Real continuous_variable(size_t index) const
return an active continuous variable
Definition: DakotaVariables.hpp:809
String flatFile
The filename to use for initialization.
Definition: DataMethod.hpp:730
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:1534
RealVector scX2
vector of scaled x2 values
Definition: QMEApproximation.hpp:92
unsigned short distConvergenceLimit
limit for distance convergence counter
Definition: EffGlobalMinimizer.hpp:324
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:2407
void real_variable_mapping(Real r_var, size_t av_index, short svm_target)
insert r_var into appropriate recipient
Definition: NestedModel.cpp:2548
size_t num_samples() const
Definition: DDACEDesignCompExp.hpp:130
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:164
Real delta_std_deviation()
return the change in standard deviation resulting from expansion refinement, where all active variabl...
Definition: PecosApproximation.hpp:564
UShortMultiArrayConstView inactive_discrete_string_variable_types() const
return the inactive discrete string variable types
Definition: DakotaVariables.hpp:1570
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDBayesCalibration.cpp:803
void core_run()
Definition: NonDACVSampling.cpp:63
RealMatrix challengePoints
container for the challenge points data (variables only)
Definition: ApproximationInterface.hpp:253
std::vector< Response > allExperiments
Vector of numExperiments ExperimentResponses, holding the observed data and error (sigma/covariance) ...
Definition: ExperimentData.hpp:480
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:835
String rngName
name of the random number generator
Definition: NonDGlobalInterval.hpp:151
std::string specifiedParamsFileName
the name of the parameters file from user specification
Definition: ProcessApplicInterface.hpp:181
String subMethodPointer
string pointer for a sub-method specification used by a meta-iterator
Definition: DataMethod.hpp:364
void update_final_statistics()
update finalStatistics from minValues/maxValues, momentStats, and computedProbLevels/computedRelLevel...
Definition: NonDSampling.cpp:1809
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:2930
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:977
void serve_evaluations_asynch()
serve the evaluation message passing schedulers and manage multiple asynchronous evaluations
Definition: ApplicationInterface.cpp:2311
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:782
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:503
short taylorOrder
order of Taylor series approximations (1 or 2) in MV/AMV/AMV+ derived from hessian type
Definition: NonDLocalReliability.hpp:350
String outputFile
Dakota output base file name, e.g., "dakota.out".
Definition: ProgramOptions.hpp:243
int buildSamples
the number of samples to construct an emulator, e.g., for Bayesian calibration methods
Definition: DataMethod.hpp:1094
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:167
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:223
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:267
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:1216
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:136
const RealVector & all_continuous_upper_bounds() const
return all continuous upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3172
RealVector cv_scaled2native(const RealVector &scaled_cv) const
recover native variable values from the scaled space
Definition: ScalingModel.cpp:176
String preprocCmd
pre-processing command (default pyprepro.py)
Definition: ProgramOptions.hpp:237
Real mean()
return the mean of the expansion, where all active variables are random
Definition: PecosApproximation.hpp:454
RealVector lowerBounds
cache the active continuous lower bounds for scaling to [0,1]
Definition: NOWPACOptimizer.hpp:68
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:94
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:1260
void init_mpi_comm()
convenience function for initializing DAKOTA's top-level MPI communicators, based on dakotaMPIComm
Definition: ParallelLibrary.cpp:74
RealArrayType imported_eval_vars(const Variables &vars)
when importing, take all view of vars and permute as needed
Definition: SharedSurfpackApproxData.hpp:241
short abort_mode
by default Dakota exits or calls MPI_Abort on errors
Definition: dakota_global_defs.cpp:55
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:516
IntSet idQuasiHessians
mixed Hessian quasi identifiers (from the id_quasi_hessians specification in RespHessMixed)
Definition: DataResponses.hpp:239
double PI
constant pi
Definition: dakota_global_defs.cpp:51
short correctionOrder
approximation correction order to be used: 0, 1, or 2
Definition: DiscrepancyCorrection.hpp:133
RealVectorArray functionSurfaceCoeffs
array of approximation coefficient vectors, one per response function
Definition: ApproximationInterface.hpp:227
bool wilksFlag
flags use of Wilks formula to calculate num samples
Definition: NonDSampling.hpp:316
SizetMultiArray allContinuousIds
array of 1-based position identifiers for the all continuous variables array
Definition: SharedVariablesData.hpp:303
size_t statCntr
counter for finalStatistics
Definition: NonDLocalSingleInterval.hpp:64
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:460
ProcessHandleApplicInterface(const ProblemDescDB &problem_db)
constructor
Definition: ProcessHandleApplicInterface.hpp:149
~Evaluator(void)
Destructor.
Definition: NomadOptimizer.cpp:391
double DABFUN
Absolute convergence criterion threshold.
Definition: CONMINOptimizer.hpp:214
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:48
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:1284
const RealVector & continuous_variables() const
return the active continuous variables from currentVariables
Definition: DakotaModel.hpp:1838
~ParamResponsePair()
destructor
Definition: ParamResponsePair.hpp:225
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:324
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:256
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:938
~SoleilDirectApplicInterface()
destructor
Definition: SoleilDirectApplicInterface.hpp:103
size_t discrete_aleatory_uncertain()
return total number of continuous aleatory uncertain variables
Definition: DataVariables.hpp:943
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:115
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:53
String idMethod
string identifier for the method specification data set (from the id_method specification in MethodIn...
Definition: DataMethod.hpp:301
Extend PolynomialRegression with a new type for Python.
Definition: surrogates_python.cpp:65
RealVector scalarizationRespCoeffs
the coefficient mapping for the scalarization term for multilevel UQ methods
Definition: DataMethod.hpp:790
RealVector combinedMoments
combined moments from multilevel-multifidelity FT rollup
Definition: C3Approximation.hpp:240
void set_communicators_checks(int max_eval_concurrency)
Definition: Pybind11Interface.hpp:50
HierarchSurrBasedLocalTraits()
default constructor
Definition: HierarchSurrBasedLocalMinimizer.hpp:45
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:841
void validate_inputs()
validate the build controls and set defaults
Definition: ActiveSubspaceModel.cpp:142
Graphics2D * graphics2D
pointer to the 2D graphics object
Definition: DakotaGraphics.hpp:75
void map_bookkeeping(pid_t pid, int fn_eval_id)
bookkeeping of process and evaluation ids for asynchronous maps
Definition: SysCallApplicInterface.cpp:31
bool scaleFlag
whether Iterator-level scaling is active
Definition: DakotaMinimizer.hpp:301
RealMatrix expGradsMeanX
derivative of the expansion with respect to the x-space variables evaluated at the means (used as unc...
Definition: NonDExpansion.hpp:612
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:4713
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDLocalReliability.cpp:2759
Response(BaseConstructor, const SharedResponseData &srd, const ActiveSet &set)
constructor initializes the base class part of letter classes (BaseConstructor overloading avoids inf...
RealVector continuousStateVars
initial values for the continuous state variables array (from the continuous_state initial_point spec...
Definition: DataVariables.hpp:614
Real krigingNugget
nugget value for kriging
Definition: DataModel.hpp:247
ScilabInterface(const ProblemDescDB &problem_db)
Constructor: start Scilab engine.
Definition: ScilabInterface.cpp:36
void vary_pattern(bool pattern_flag)
sets varyPattern in derived classes that support it
Definition: PSUADEDesignCompExp.hpp:139
Real lagrangeMult
Lagrange multiplier for standard Lagrangian merit function.
Definition: NonDGlobalReliability.hpp:130
int randomSeed
seed for random number generator (used for regression with LHS and sub-sampled tensor grids,...
Definition: NonDExpansion.hpp:437
void refinement_statistics_mode(short stats_mode)
update ExpansionConfigOptions::refineStatsType
Definition: SharedPecosApproxData.hpp:416
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:1142
size_t icv() const
returns number of inactive continuous variables
Definition: DakotaModel.hpp:1770
void remove_column(RealMatrix &matrix, int index)
Removes column from matrix.
Definition: dakota_data_util.cpp:336
unsigned short ssgLevelSpec
the user specification for the Smolyak sparse grid level, rendered anisotropic via dimPrefSpec
Definition: NonDSparseGrid.hpp:150
bool supports_continuous_variables()
Return the value of supportsContinuousVariables.
Definition: SNLLOptimizer.hpp:63
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:1658
int derived_map_ac(const Dakota::String &ac_name)
execute an analysis code portion of a direct evaluation invocation
Definition: SoleilDirectApplicInterface.cpp:24
bool crossValidNoiseOnly
flag indicating the restriction of cross-validation to estimate only the most effective noise toleran...
Definition: DataMethod.hpp:984
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:510
const RealVector & continuous_lower_bounds() const
return the active continuous variable lower bounds
Definition: DakotaConstraints.hpp:454
void validate_run_modes()
validate user run modes and set userModesFlag
Definition: ProgramOptions.cpp:508
size_t numGenerations
The number of generations over which a fitness tracker converger should track.
Definition: DataMethod.hpp:691
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:100
int batchSize
Number of points to add each round, default = 1.
Definition: NonDAdaptiveSampling.hpp:124
Definition: ROLOptimizer.hpp:224
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:1083
void construct()
Instantiate topLevelIterator.
Definition: DakotaEnvironment.cpp:300
Real solution_level_cost() const
return active cost estimate from solnCntlCostMap
Definition: SimulationModel.cpp:420
short final_moments_type() const
get finalMomentsType
Definition: DakotaNonD.hpp:429
bool asynch_flag() const
return the asynchronous evaluation flag (asynchEvalFlag)
Definition: DakotaModel.hpp:3740
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:357
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:1298
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:717
bool update_variables_from_model(Model &model) override
update active variables/bounds/labels from subModel
Definition: ScalingModel.cpp:249
StringArray discreteDesignSetStrLabels
labels array for the discrete design variables defined by a string set (from the discrete_design_set ...
Definition: DataVariables.hpp:305
RealVector paramMaxs
upper bounds on calibrated parameters
Definition: NonDWASABIBayesCalibration.hpp:120
void initialize_final_statistics()
initializes finalStatistics for storing NonD final results
Definition: NonDEnsembleSampling.cpp:213
Real delta_mean()
return the change in mean resulting from expansion refinement, where all active variables are random
Definition: PecosApproximation.hpp:548
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:734
size_t drvStart
start index of active discrete real variables within allDiscreteRealVars
Definition: SharedVariablesData.hpp:262
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:907
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:203
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:547
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:255
const RealSymMatrix & function_hessian(size_t i) const
return the i-th function Hessian
Definition: DakotaResponse.hpp:753
Real priorPropCovMult
optional multiplier for prior-based proposal covariance
Definition: DataMethod.hpp:1137
bool maxSense
Single boolean (could be extended to multiple) indicating min/max sense of optimal value.
Definition: DakotaTPLDataTransfer.hpp:149
virtual void component_parallel_mode(short mode)
update componentParallelMode for supporting parallelism in model sub-components
Definition: DakotaModel.cpp:4525
int generalized_rosenbrock()
n-dimensional Rosenbrock (Schittkowski)
Definition: TestDriverInterface.cpp:1205
~DAGSolutionData()
destructor
Definition: NonDNonHierarchSampling.hpp:113
RealVectorArray computedRespLevels
output response levels for all response functions resulting from requestedProbLevels,...
Definition: DakotaNonD.hpp:336
short convergenceTolType
store the convergence_tolerance_type input specification, prior to run-time Options right now:
Definition: NonDMultilevelSampling.hpp:535
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:670
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDAdaptiveSampling.cpp:203
~DataVariables()
destructor
Definition: DataVariables.cpp:354
short surrBasedLocalMeritFn
SBL merit function type: BASIC_PENALTY, ADAPTIVE_PENALTY, BASIC_LAGRANGIAN, or AUGMENTED_LAGRANGIAN.
Definition: DataMethod.hpp:465
void scale(const RealVector &unscaled_x, RealArray &scaled_x) const
perform scaling from [lower,upper] to [0,1]
Definition: NOWPACOptimizer.hpp:127
String rngName
name of the random number generator
Definition: NonDLHSInterval.hpp:71
virtual ~Surrogate()
Default destructor.
Definition: SurrogatesBase.cpp:31
bool supports_nonlinear_equality()
Return flag indicating ROL supports nonlinear equalities.
Definition: ROLOptimizer.hpp:164
Real delta0
finite-diff step size for gradient differences for H (a component of some covariance approximations,...
Definition: NL2SOLLeastSq.hpp:119
String betaSolverName
beta solvers don't need documentation
Definition: DataMethod.hpp:646
Real prior_density(const VectorType &vec)
compute the prior PDF for a particular MCMC sample
Definition: NonDBayesCalibration.hpp:574
const String & hessian_type() const
return the Hessian evaluation type (hessianType)
Definition: DakotaModel.hpp:3648
~NonDAdaptiveSampling()
alternate constructor for sample generation and evaluation "on the fly" has not been implemented
Definition: NonDAdaptiveSampling.cpp:178
AppsTraits()
default constructor
Definition: APPSOptimizer.cpp:396
StringMultiArrayConstView discrete_int_variable_labels() const
return the active discrete variable labels from currentVariables
Definition: DakotaModel.hpp:2461
String crossoverType
the crossover_type specification for EA methods in MethodSCOLIBEA
Definition: DataMethod.hpp:636
size_t solnCntlADVIndex
index of the discrete variable (within all view) that controls the set/range of solution levels
Definition: SimulationModel.hpp:201
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: APPSOptimizer.hpp:60
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:976
bool is_null() const
function to check constraintsRep (does this envelope contain a letter)
Definition: DakotaConstraints.hpp:1152
int outlev
frequency of output summary lines in number of iterations (debug/verbose/normal/quiet use default = 1...
Definition: NL2SOLLeastSq.hpp:114
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:145
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:269
size_t mi_parallel_level_index() const
return subIteratorSched.miPLIndex
Definition: NestedModel.hpp:593
RealVector ranVarStdDevsX
vector of std deviations for all uncertain random variables in x-space
Definition: NonDLocalReliability.hpp:300
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:67
The global surrogate-based minimizer which sequentially minimizes and updates a global surrogate mode...
Definition: SurrBasedGlobalMinimizer.hpp:37
void recover_variance(const RealMatrix &moment_stats, RealVector &var_H)
recover variance from raw moments
Definition: NonDMultilevelSampling.hpp:1009
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:4231
void iround(const RealVector &input_vec, IntVector &rounded_vec)
round entries of a RealVector yielding an IntVector
Definition: dakota_data_util.cpp:407
String importBuildPtsFile
the file name from the import_build_points_file specification
Definition: DataMethod.hpp:1294
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:1265
int nf
function invocation count for r(x)
Definition: NL2SOLLeastSq.cpp:125
RealVectorArray requestedRespLevels
requested response levels for all response functions
Definition: DakotaNonD.hpp:309
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:1250
std::string get_os() const
get the operating system
Definition: TrackerHTTP.cpp:315
bool restart_file() const
return evalCacheFlag
Definition: ApplicationInterface.hpp:600
pid_t wait_evaluation(bool block_flag)
process all available completions within the evaluation process group; if block_flag = true,...
Definition: ForkApplicInterface.hpp:114
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:1535
int get_cholesky_factor()
Gets the Cholesky factorization of the covariance matrix, with error checking.
Definition: GaussProcApproximation.cpp:443
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:403
void stop_evaluation_servers()
used by the iterator master to terminate evaluation servers
Definition: ApplicationInterface.cpp:2484
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:127
~ParallelConfiguration()
destructor
Definition: ParallelLibrary.hpp:510
ProblemDescDB()
default constructor
Definition: ProblemDescDB.cpp:58
bool discrepancy_sample_counts() const
flag identifying whether sample counts correspond to level discrepancies
Definition: NonDMultilevControlVarSampling.hpp:364
bool suppressOutputFlag
flags suppression of shell output (no command echo)
Definition: CommandShell.hpp:78
String inputString
alternate input means for library clients: input string (mutually exclusive with input file)
Definition: ProgramOptions.hpp:233
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:355
const IntResponseMap & synchronize_nowait()
recovers data from a series of asynchronous evaluations (nonblocking)
Definition: ApproximationInterface.cpp:334
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:2093
IntIntMap optInterfaceIdMap
mapping from optionalInterface evaluation counter to nested model counter (different when optionalInt...
Definition: NestedModel.hpp:324
std::string strtolower(const std::string &s)
Return lowercase copy of string s.
Definition: dakota_data_util.hpp:324
bool chainDiagnostics
flag indicating calculation of chain diagnostics
Definition: NonDBayesCalibration.hpp:442
void initialize_distribution(Pecos::MultivariateDistribution &mv_dist, bool active_only=false)
initialize distribution types from problemDescDB
Definition: DakotaModel.cpp:385
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:713
void print_covariance(std::ostream &s)
print resp{Variance,Covariance}
Definition: NonDExpansion.cpp:3966
bool resize()
reinitializes iterator based on new variable size
Definition: NonDGPImpSampling.cpp:108
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:332
RealVector cvScaleMultipliers
scales for continuous variables
Definition: ScalingModel.hpp:187
LeastSq(std::shared_ptr< TraitsBase > traits)
default constructor
Definition: DakotaLeastSq.hpp:109
double HALF_LOG_2PI
constant log(2*pi)/2.0
Definition: dakota_global_defs.cpp:52
short mlsWeightFunction
weight function for moving least squares approximation
Definition: DataModel.hpp:251
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:867
SizetArray startRankSeqSpec
user specification for start_rank_sequence
Definition: NonDMultilevelFunctionTrain.hpp:129
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: DakotaAnalyzer.cpp:201
bool helpFlag
whether to print help message and exit
Definition: ProgramOptions.hpp:253
void all_discrete_int_type(unsigned short div_type, size_t index)
set discrete integer type at index
Definition: SharedVariablesData.hpp:1530
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:238
void clear_inactive()
clear inactive approximations (finalization + combination completed)
Definition: RecastModel.hpp:1014
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:246
const SizetArray & nested_acv1_indices() const
return primaryACVarMapIndices
Definition: DataFitSurrModel.hpp:536
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:1670
int neighborOrder
the NEIGHBOR_ORDER specification for NOMAD
Definition: DataMethod.hpp:804
Iterator gpEval
LHS iterator for sampling on the GP.
Definition: NonDAdaptiveSampling.hpp:82
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDAdaptImpSampling.cpp:147
IntVector xDI
discrete int variables used within direct simulator fns
Definition: DirectApplicInterface.hpp:179
unsigned short modelEvalsSelection
Model selection for eval storage.
Definition: DataEnvironment.hpp:102
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:1433
void initialize()
perform any required initialization
Definition: NonDLHSSingleInterval.cpp:35
virtual Real solution_level_cost() const
return currently active cost estimate from solution level control (SimulationModel)
Definition: DakotaModel.cpp:3676
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:396
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:528
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:358
DataEnvironment environmentSpec
the environment specification (only one allowed) resulting from a call to environment_kwhandler() or ...
Definition: ProblemDescDB.hpp:384
bool outputTimings
timing info only beyond help/version/check
Definition: ParallelLibrary.hpp:1022
void update_model_from_sample(Model &model, const Real *sample_vars)
Override default update of continuous vars only.
Definition: NonDSampling.hpp:680
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:1338
void stop_servers()
Executed by the master to terminate actualModel server operations when DataFitSurrModel iteration is ...
Definition: DataFitSurrModel.hpp:975
int recommended_points(bool constraint_flag) const
returns the recommended number of samples recommended to build the functionSurfaces
Definition: ApproximationInterface.hpp:290
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:537
size_t numObsAll
The original number of observations.
Definition: GaussProcApproximation.hpp:247
StringArray continuousEpistemicUncLabels
labels for all continuous epistemic uncertain variables
Definition: DataVariables.hpp:764
void add_metadata_to_study(const AttributeArray &attrs) override
Associate key:value metadata with the study.
Definition: ResultsDBAny.hpp:117
size_t numDiscreteRealVars
number of active discrete real vars
Definition: DakotaMinimizer.hpp:243
bool ownPython
true if this class created the interpreter instance
Definition: PythonInterface.hpp:51
void set_evaluation_reference()
set the evaluation counter reference points for the RecastModel (request forwarded to subModel)
Definition: RecastModel.hpp:1163
const UShortArray & start_orders() const
return active start value for basis order
Definition: SharedC3ApproxData.hpp:374
void specify_prior() override
intialize the QUESO parameter space, min, max, initial, domain, and prior define solver options,...
Definition: NonDQUESOBayesCalibration.cpp:641
void mpp_search()
convenience function for encapsulating the reliability methods that employ a search for the most prob...
Definition: NonDLocalReliability.cpp:798
bool auto_graphics() const
get modelAutoGraphicsFlag to activate posting of graphics data within evaluate/synchronize functions ...
Definition: DakotaModel.hpp:3787
void clear_model_keys()
reset initial state by clearing all model keys for an approximation
Definition: SharedPecosApproxData.hpp:192
void initialize_final_statistics()
initialize finalStatistics for belief/plausibility results sets
Definition: NonDInterval.cpp:102
Pecos::SharedBasisApproxData & pecos_shared_data()
return pecosSharedData
Definition: SharedPecosApproxData.hpp:420
IntVector discreteStateSetIntVars
initial values for the discrete state variables defined by an integer set (from the discrete_state_se...
Definition: DataVariables.hpp:640
int server_id() const
return serverId
Definition: ParallelLibrary.hpp:364
~NonDCalibration()
destructor
Definition: NonDCalibration.cpp:47
unsigned short mutualInfoAlg
algorithm to employ in calculating mutual information
Definition: NonDBayesCalibration.hpp:350
int mc_api_run()
direct interface to ModelCenter via API, HKIM 4/3/03
Definition: TestDriverInterface.cpp:5068
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:1104
void bcast_w(int &data)
broadcast an integer across MPI_COMM_WORLD
Definition: ParallelLibrary.hpp:1811
IntVector referenceIDIVars
stores a reference copy of the inactive discrete int variables when the approximation is built using ...
Definition: DataFitSurrModel.hpp:483
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:2072
void join_analysis_process_group(bool new_group)
create (if new_group) and join the process group for asynch analyses
Definition: ForkApplicInterface.hpp:126
RealSetArray discreteStateSetReal
complete set of admissible values for each of the discrete state variables defined by a real set (fro...
Definition: DataVariables.hpp:661
std::string linePrefix
Prefix for each line.
Definition: ROLOptimizer.hpp:592
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:669
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:107
StringArray varianceType
Array which specifies the sigma type per response (none, one constant value, one per response (vector...
Definition: DataResponses.hpp:256
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:408
Container class for response functions and their derivatives. SimulationResponse provides the body ...
Definition: SimulationResponse.hpp:47
bool check_ranges_sets(int num_steps)
sanity check for vector parameter study
Definition: ParamStudy.hpp:609
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:505
bool asynchFlag
flag indicating usage of asynchronous evaluation
Definition: ApplicationInterface.hpp:217
int procsPerAnalysisSpec
user specification for processors per analysis servers
Definition: ApplicationInterface.hpp:428
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:316
int python_run(const String &ac_name)
direct interface to Python via API, BMA 07/02/07
Definition: PythonInterface.cpp:129
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:163
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:299
virtual ~Interface()
destructor
Definition: DakotaInterface.cpp:328
std::vector< double > nonlinearEqConstraintTargets
offsets for constraint transformations
Definition: DakotaTPLDataTransfer.hpp:164
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:364
~NonDMultifidelitySampling()
destructor
Definition: NonDMultifidelitySampling.cpp:50
void inactive_view(short view2) const
set the inactive Variables view
Definition: SharedVariablesData.hpp:1652
virtual void post_push()
clean up popped bookkeeping following push
Definition: SharedApproxData.cpp:383
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:5250
void pick_new_candidates()
Pick new candidates from Emulator.
Definition: NonDAdaptiveSampling.cpp:381
bool relativeMetric
flag indicating the use of relative scaling in refinement metrics
Definition: NonDExpansion.hpp:419
const RealRealMapArray & get_rrma(const String &entry_name) const
get a RealRealMapArray out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1858
void add_attributes(const String &linkname, const AttributeArray &attrs)
Add attributes to the object with linkname.
Definition: ResultsDBHDF5.cpp:254
int numNowpacIneqConstr
aggregate unsupported constraint types as nonlinear inequalities
Definition: NOWPACOptimizer.hpp:73
bool posteriorStatsMutual
flag indicating the calculation of mutual information between prior and posterior
Definition: NonDBayesCalibration.hpp:437
void init_proposal_covariance()
set the proposal covariance matrix
Definition: NonDMUQBayesCalibration.cpp:494
RealVectorArray cellContUpperBounds
Storage array to hold cell upper bounds for continuous variables.
Definition: NonDInterval.hpp:120
std::shared_ptr< SharedApproxData > sharedDataRep
contains the approximation data that is shared among the response set
Definition: DakotaApproximation.hpp:415
bool weightFlag
whether weight scaling is active
Definition: NonDBayesCalibration.hpp:558
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: PSUADEDesignCompExp.cpp:70
BitArray discreteDesignRangeCat
is each ddr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:246
std::shared_ptr< SharedResponseDataRep > srdRep
pointer to the body (handle-body idiom)
Definition: SharedResponseData.hpp:295
int batchSizeAcquisition
number of new sampling points defined from maximizing acquisition function
Definition: EffGlobalMinimizer.hpp:298
Real trRatioExpandValue
trust region ratio sufficient value: expand tr if ratio above this value
Definition: SurrBasedLocalMinimizer.hpp:213
~NonDIntegration()
destructor
Definition: NonDIntegration.cpp:74
void ml_raw_moments(const RealMatrix &sum_H1, const RealMatrix &sum_H2, const RealMatrix &sum_H3, const RealMatrix &sum_H4, const Sizet2DArray &N_hf, size_t start, size_t end, RealMatrix &ml_raw_mom)
accumulate ML-only contributions (levels with no CV) to raw moments
Definition: NonDMultilevelSampling.hpp:922
int dc_ptr_int
global pointer for ModelCenter eval DB
Definition: dakota_global_defs.cpp:82
size_t num_primary_fns() const
return number of primary functions (total less nonlinear constraints)
Definition: DakotaModel.hpp:3605
RealMatrix trainPoints
A 2-D array (num sample sites = rows, num vars = columns) used to create the Gaussian process.
Definition: VPSApproximation.hpp:197
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:3634
FSUDesignCompExp(ProblemDescDB &problem_db, Model &model)
primary constructor for building a standard DACE iterator
Definition: FSUDesignCompExp.cpp:31
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:423
size_t num_nonlinear_eq_constraints() const
return the number of nonlinear equality constraints
Definition: DakotaModel.hpp:3476
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:44
unsigned short vbdOrderLimit
limits the order of interactions within the component Sobol' indices
Definition: NonDExpansion.hpp:625
RealVector functionSurfaceVariances
vector of approximation variances, one value per response function
Definition: ApproximationInterface.hpp:229
size_t sequenceIndex
sequence index for start{Rank,Order}SeqSpec
Definition: NonDMultilevelFunctionTrain.hpp:134
virtual bool multilevel() const
identify if hierarchy is across resolution levels
Definition: DakotaModel.cpp:3541
void update_augmented_lagrange_multipliers(const RealVector &fn_vals)
initialize and update the Lagrange multipliers for augmented Lagrangian
Definition: SurrBasedMinimizer.cpp:309
Base class for Bayesian inference: generates posterior distribution on model parameters given experim...
Definition: NonDBayesCalibration.hpp:38
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:1627
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:498
size_t icv_start() const
get start index of inactive continuous vars
Definition: SharedVariablesData.hpp:1706
void pre_run()
pre-run portion of run (optional); re-implemented by Iterators which can generate all Variables (para...
Definition: NonDBayesCalibration.cpp:716
~GaussProcApproximation()
destructor
Definition: GaussProcApproximation.hpp:295
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:251
NonDMultilevelStochCollocation(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDMultilevelStochCollocation.cpp:34
void update_variables_active_complement_from_model(const Model &model)
update complement of active variables/bounds/labels from subModel
Definition: RecastModel.cpp:1159
Real delta_covariance(Approximation &approx_2)
return the change in covariance resulting from expansion refinement, where all active variables are r...
Definition: PecosApproximation.hpp:597
bool run() const
is run mode active?
Definition: ProgramOptions.cpp:169
int world_size() const
get the size of the MPI_Comm on which Dakota is running
Definition: MPIManager.hpp:85
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDLHSInterval.cpp:63
void get_beta_coefficients()
Gets the beta coefficients for the calculation of the mean of the GP.
Definition: GaussProcApproximation.cpp:482
void clear_popped()
clear SurrogateData::popped{Vars,Resp}Trials,popCountStack for all keys
Definition: DakotaApproximation.hpp:630
bool eaMessagePass
flag for message passing at ea scheduling level
Definition: ApplicationInterface.hpp:424
void initialize_response_covariance()
set covarianceControl defaults and shape respCovariance
Definition: NonDExpansion.cpp:211
void combine_coefficients()
combine all level approximations into a single aggregate approximation
Definition: PecosApproximation.hpp:800
RealMatrix momentStats
standardized or central resp moments, as determined by finalMomentsType. Calculated in compute_moment...
Definition: DakotaNonD.hpp:303
void continuous_variable_type(unsigned short cv_type, size_t index)
set an active continuous variable type
Definition: DakotaVariables.hpp:1285
const IntResponseMap & synchronize()
Execute a blocking scheduling algorithm to collect the complete set of results from a group of asynch...
Definition: DakotaModel.cpp:1381
virtual void set_evaluation_reference()
Set the reference points for the evaluation counters within the Model.
Definition: DakotaModel.cpp:5909
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:1227
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:956
const String & filename() const
the (possibly empty) file name for this stream
Definition: OutputManager.cpp:905
String gradientType
type of gradient data: analytic, numerical, mixed, or none
Definition: DakotaModel.hpp:1424
void nonlinear_constraints(const RealVector &nln_ineq_l_bnds, const RealVector &nln_ineq_u_bnds, const RealVector &nln_eq_targets)
assign nonlinear inequality and equality constraint allowables for this iterator (user-functions mode...
Definition: SNLLOptimizer.hpp:402
void discrete_string_variable_type(unsigned short div_type, size_t i)
set an active discrete variable type in currentVariables
Definition: DakotaModel.hpp:2020
unsigned short sampleDesign
enum describing the initial sample design. Options are: RANDOM_SAMPLING, FSU_CVT, FSU_HALTON,...
Definition: NonDAdaptiveSampling.hpp:140
LINEAR_INEQUALITY_FORMAT linear_inequality_format()
Return the format used for linear inequality constraints.
Definition: CONMINOptimizer.hpp:51
String importPredConfigs
whether to import prediction configurations at which to calculate model discrepancy
Definition: DataMethod.hpp:1179
void flush() const
Flush cache to file.
Definition: HDF5_IO.cpp:487
size_t num_samples() const
Definition: FSUDesignCompExp.hpp:139
bool computed() const
return correctionComputed
Definition: DiscrepancyCorrection.hpp:316
size_t numConstraints
total number of linear and nonlinear constraints
Definition: DakotaMinimizer.hpp:267
virtual const Variables & variables_results() const
return a single final iterator solution (variables)
Definition: DakotaIterator.cpp:1428
Derived approximation class for Surfpack approximation classes. Interface between Surfpack and Dakota...
Definition: SurfpackApproximation.hpp:45
void read(std::istream &s)
read a variable constraints object from an std::istream
Definition: RelaxedVarConstraints.cpp:233
std::map< ResultsKeyType, ResultsValueType > iteratorData
core data storage (map from key to value type)
Definition: ResultsDBBase.hpp:181
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:92
~ConsoleRedirector()
when the redirector stack is destroyed, it will rebind the output handle to the default ostream,...
Definition: OutputManager.cpp:925
bool invertProb
flag for inversion of probability values using 1.-p
Definition: NonDAdaptImpSampling.hpp:169
NonDLocalReliability(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDLocalReliability.cpp:54
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:28
virtual bool formulation_updated() const
query for change in approximation formulation
Definition: DakotaInterface.cpp:1304
StringRealMapArray discreteUncSetStrValuesProbs
complete set of admissible values with associated basic probability assignments for each of the discr...
Definition: DataVariables.hpp:594
void sampling_reference(size_t samples_ref)
set reference number of samples, which is a lower bound during reset
Definition: NonDSampling.hpp:490
const IntResponseMap & derived_synchronize()
Definition: EnsembleSurrModel.cpp:865
const Variables & variables_results() const
return a single final iterator solution (variables)
Definition: DakotaAnalyzer.hpp:278
int cantilever()
scaled cantilever test function for optimization
Definition: TestDriverInterface.cpp:378
int failRetryLimit
limit on the number of retries for the retry failAction
Definition: ApplicationInterface.hpp:516
LUSolver()
Constructor.
Definition: UtilLinearSolvers.cpp:113
static ScalingModel * scaleModelInstance
static pointer to this class for use in static callbacks
Definition: ScalingModel.hpp:180
StringMultiArrayConstView inactive_discrete_real_variable_labels() const
return the inactive discrete variable labels
Definition: DakotaVariables.hpp:1538
~NonDGPMSABayesCalibration()
destructor
Definition: NonDGPMSABayesCalibration.cpp:181
exception throw for other results file read error
Definition: dakota_global_defs.hpp:118
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:631
RealVector fdHessStepSize
vector of finite difference step sizes for numerical Hessians, one step size per active continuous va...
Definition: DataResponses.hpp:222
short approxSetRequest
derivative order of surrogate data used within the SBLM process
Definition: SurrBasedLocalMinimizer.hpp:226
void build_views()
construct active/inactive views of all variables arrays
Definition: DakotaVariables.hpp:1791
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final statistics
Definition: NonDMultilevelStochCollocation.cpp:351
virtual void build_approximation()
build a new SurrogateModel approximation
Definition: DakotaModel.cpp:3912
BitArray ccv_to_all_mask() const
create a BitArray indicating the complement continuous subset of all {continuous,discrete {int,...
Definition: SharedVariablesData.hpp:1279
short expansionCoeffsApproach
method for collocation point generation and subsequent calculation of the expansion coefficients
Definition: NonDExpansion.hpp:410
void hf_indices(size_t &hf_form_index, size_t &hf_lev_index)
define model form and resolution level indices
Definition: NonDNonHierarchSampling.cpp:176
size_t numExponentialUncVars
number of exponential uncertain variables (from the exponential_uncertain specification in VarAUV)
Definition: DataVariables.hpp:141
Class for global reliability methods within DAKOTA/UQ.
Definition: NonDGlobalReliability.hpp:34
IntVector histogramPointIntUncVars
initial values of the real-valued histogram point uncertain variables (from the initial_point specifi...
Definition: DataVariables.hpp:523
SharedPecosApproxData()
default constructor
Definition: SharedPecosApproxData.hpp:177
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:1501
Derived application interface class that spawns a simulation code using a separate process,...
Definition: ProcessHandleApplicInterface.hpp:33
const RealVector & error_estimates()
retrieve error estimates corresponding to the subModel
Definition: RecastModel.cpp:1419
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:2473
int perform_analysis(char *iteration_num)
Definition: GridApplicInterface.cpp:309
NonDInterval(ProblemDescDB &problem_db, Model &model)
constructor
Definition: NonDInterval.cpp:31
int resultsMsgLen
length of MPI buffer for results output instance(s)
Definition: IteratorScheduler.hpp:202
RealMatrix linearEqConCoeffs
linear equality constraint coefficients
Definition: DakotaConstraints.hpp:388
StringArray linkFiles
template directory (if specified)
Definition: ProcessApplicInterface.hpp:234
ActiveSet activeSet
the response data requirements on each function evaluation
Definition: DakotaIterator.hpp:506
RealVector estVar
final estimator variance for output in print_variance_reduction()
Definition: NonDMultilevelSampling.hpp:142
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:1033
virtual size_t solution_levels(bool lwr_bnd=true) const
number of discrete levels within solution control (SimulationModel)
Definition: DakotaModel.cpp:3634
Class for the reliability methods within DAKOTA/UQ.
Definition: NonDLocalReliability.hpp:49
void initialize_run() override
Initializes the ROLOptimizer with values available after the chain of constructors has finished.
Definition: ROLOptimizer.cpp:338
size_t numDiscreteStateSetRealVars
number of discrete state variables defined by a set of reals (from the discrete_state_set real specif...
Definition: DataVariables.hpp:213
friend class boost::serialization::access
allow boost access to serialize this class
Definition: SharedVariablesData.hpp:46
~NonDDREAMBayesCalibration()
destructor
Definition: NonDDREAMBayesCalibration.cpp:155
ShortArray defaultASV
the static ASV values used when the user has selected asvControl = off
Definition: ApplicationInterface.hpp:508
virtual bool multilevel_multifidelity() const
identify if hierarchy is across both model forms and resolution levels
Definition: DakotaModel.cpp:3548
size_t icv() const
get number of inactive continuous vars
Definition: SharedVariablesData.hpp:1702
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:274
StringArray discreteStateSetIntLabels
labels array for the discrete state variables defined by an integer set (from the discrete_state_set ...
Definition: DataVariables.hpp:678
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:434
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:6162
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:1723
RealMatrixArray discreteDesignSetRealAdj
Adjacency matrices for each of the discrete design variables defined by a real set (from the discrete...
Definition: DataVariables.hpp:289
virtual bool is_derived()
A temporary query used in the refactor.
Definition: SNLLLeastSq.hpp:49
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:61
const IntVector & inactive_discrete_int_upper_bounds() const
return the inactive discrete upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3072
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:743
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:1524
virtual void rebuild_approximation(const BitArray &rebuild_fns)
rebuilds the approximation after a data update
Definition: DakotaInterface.cpp:1158
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:293
Real sctol
singular convergence tolerance (singular_conv_tol)
Definition: NL2SOLLeastSq.hpp:134
IntVector discreteDesignSetIntUpperBnds
discrete design integer set upper bounds inferred from set values
Definition: DataVariables.hpp:693
RealVector nonlinearEqScales
vector of nonlinear equality constraint scaling factors (from the nonlinear_equality_scales specifica...
Definition: DataResponses.hpp:151
virtual RealVector approximation_coefficients(bool normalized) const
return the coefficient array computed by build()/rebuild()
Definition: DakotaApproximation.cpp:907
void auto_graphics(const bool flag)
set modelAutoGraphicsFlag to activate posting of graphics data within evaluate/synchronize functions ...
Definition: DakotaModel.hpp:3781
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDGlobalReliability.cpp:1120
bool check() const
is check mode active?
Definition: ProgramOptions.cpp:163
NonDAdaptImpSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDAdaptImpSampling.cpp:39
bool templateReplace
whether to replace existing files
Definition: ProcessApplicInterface.hpp:238
bool multiProcAnalysisFlag
flag for multiprocessor analysis partitions
Definition: ApplicationInterface.hpp:236
bool asynchFlag
flags nonblocking operation (background system calls)
Definition: CommandShell.hpp:75
void multifidelity_expansion()
construct a multifidelity expansion, across model forms or discretization levels
Definition: NonDExpansion.cpp:1362
BitArray histogramUncPointRealCat
is each hupr var strictly categorical (true) or relaxable (false)
Definition: DataVariables.hpp:550
virtual void initialize_run()
utility function to perform common operations prior to pre_run(); typically memory initialization; se...
Definition: DakotaIterator.cpp:1099
size_t adrv() const
get total number of discrete real vars
Definition: SharedVariablesData.hpp:1746
OPTPP::OptBCFDNewton * optbcfdnewton
Bnd constrained FD-Newton opt ptr.
Definition: SNLLOptimizer.hpp:341
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:808
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:105
int text_book()
the text_book constrained optimization test function
Definition: TestDriverInterface.cpp:3179
void print_wilks_stastics(std::ostream &s) const
prints the Wilks stastics
Definition: NonDSampling.cpp:1927
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:741
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:394
Real falseConvTol
false-convergence tolerance
Definition: DataMethod.hpp:504
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:392
StringArray analysisDrivers
the set of analyses within each function evaluation (from the analysis_drivers interface specificatio...
Definition: DirectApplicInterface.hpp:220
IntVector discreteDesignSetIntVars
initial values for the discrete design variables defined by an integer set (from the discrete_design_...
Definition: DataVariables.hpp:251
RealVector continuousVars
the active continuous variables array view
Definition: DakotaVariables.hpp:621
void post_input()
read tabular data for post-run mode
Definition: PSUADEDesignCompExp.cpp:82
void inflate(size_t N_0D, SizetArray &N_1D)
promote scalar to 1D array
Definition: NonDNonHierarchSampling.hpp:870
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:283
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:97
String importExpansionFile
the import_expansion_file specification in MethodNonDPCE
Definition: DataMethod.hpp:1007
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:623
unsigned short softConvLimit
number of consecutive iterations with change less than convergenceTolerance required to trigger conve...
Definition: DataMethod.hpp:421
size_t approxBuilds
number of calls to build_approximation()
Definition: SurrogateModel.hpp:225
StringArray discreteStrAleatoryUncLabels
labels for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:744
SizetMultiArrayConstView inactive_continuous_variable_ids() const
return the inactive continuous variable position identifiers
Definition: DakotaVariables.hpp:1586
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:2052
static NCSUOptimizer * ncsudirectInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: NCSUOptimizer.hpp:122
int crossoverChainPairs
number of crossover chain pairs
Definition: DataMethod.hpp:1229
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:190
void apply_simulation_error(const RealVector &simulation_error, size_t experiment)
apply simulation error to experiment data
Definition: ExperimentData.cpp:1028
double * conminLowerBnds
Array of lower bounds used by CONMIN (length N1 = numdv+2)
Definition: CONMINOptimizer.hpp:219
const RealMatrix & function_gradients() const
return all function gradients
Definition: DakotaResponse.hpp:710
EvalType
enumeration for the type of evaluator function
Definition: SNLLBase.hpp:36
const RealVector & gradient(const Variables &vars)
retrieve the approximate function gradient for a given parameter vector
Definition: QMEApproximation.cpp:477
void print_smolyak_multi_index() const
invokes SparseGridDriver::print_smolyak_multi_index()
Definition: NonDSparseGrid.hpp:200
Driver(const ProblemConfig &probConfig)
Default constructs a Driver.
Definition: JEGAOptimizer.cpp:703
int symbolsSpec
initial specification of number of symbols
Definition: DDACEDesignCompExp.hpp:103
Real gradientTolerance
the gradient_tolerance specification in MethodOPTPPDC
Definition: DataMethod.hpp:515
virtual void stop_evaluation_servers()
send messages from iterator rank 0 to terminate evaluation servers
Definition: DakotaInterface.cpp:894
virtual const SizetArray & nested_acv1_indices() const
return primaryACVarMapIndices
Definition: DakotaModel.cpp:5092
void response_results_active_set(const ActiveSet &set)
set the requested data for the final iterator response results
Definition: DakotaAnalyzer.hpp:311
int seed_sequence(size_t index)
extract current random seed from randomSeedSeqSpec
Definition: NonDEnsembleSampling.hpp:267
short surrBasedLocalAcceptLogic
SBL iterate acceptance logic: TR_RATIO or FILTER.
Definition: DataMethod.hpp:467
A version of TraitsBase specialized for SNLLLeastSq.
Definition: SNLLLeastSq.hpp:39
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:1628
virtual void active_model_key(const Pecos::ActiveKey &key)
activate an approximation state based on its multi-index key
Definition: SharedApproxData.cpp:274
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:44
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:267
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:327
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:171
Derived approximation class for global basis polynomials.
Definition: SharedPecosApproxData.hpp:32
const IntVector & all_discrete_int_variables() const
returns a single array with all discrete variables
Definition: DakotaVariables.hpp:1612
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:175
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:34
void run_dakota_parse(const char *dakota_input_file)
Run a Dakota LibraryEnvironment, mode 1: parsing an input file.
Definition: library_mode.cpp:195
Model dataTransformModel
Shallow copy of the data transformation model, when present (cached in case further wrapped by other ...
Definition: DakotaMinimizer.hpp:298
bool modelAsynchFlag
flag for asynchronous function evaluations
Definition: APPSEvalMgr.hpp:107
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:665
OPTPP::OptQNIPS * optqnips
Quasi-Newton NIPS optimizer pointer.
Definition: SNLLOptimizer.hpp:343
static void change_directory(const bfs::path &new_dir)
change current directory
Definition: WorkdirHelper.cpp:78
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:718
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:572
size_t cellCntr
cell counter
Definition: NonDInterval.hpp:139
void combine_approximation()
combine all level approximations into a separate composite approximation
Definition: DataFitSurrModel.cpp:939
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:788
static String no_spec_id()
return the next available model ID for on-the-fly methods
Definition: DakotaModel.cpp:6177
const ShortArray & nested_acv2_targets() const
return secondaryACVarMapTargets
Definition: DataFitSurrModel.hpp:540
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:121
void initialize_recast()
Initialize the base class RecastModel with reduced space variable sizes.
Definition: RandomFieldModel.cpp:270
void cache_chain()
cache the chain to acceptanceChain and acceptedFnVals
Definition: NonDMUQBayesCalibration.cpp:396
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:309
NonDSampling(Model &model, const RealMatrix &sample_matrix)
alternate constructor for evaluating and computing statistics for the provided set of samples
Definition: NonDSampling.cpp:223
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:431
const int seedSpec
the user seed specification (default is 0)
Definition: NonDGlobalInterval.hpp:149
RealVector simulationVariance
simulation variance
Definition: SharedResponseData.hpp:117
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:1053
const int seedSpec
the user seed specification for the random number generator (allows repeatable results)
Definition: DDACEDesignCompExp.hpp:111
short lsRegressionType
type of least squares regression: SVD or EQ_CON_QR
Definition: DataMethod.hpp:972
virtual ~DakotaROLObjectiveGrad()
Destructor.
Definition: ROLOptimizer.hpp:235
virtual void initialize_response_covariance()
initializes respCovariance
Definition: DakotaNonD.cpp:271
virtual bool finalize_mapping()
restore state in preparation for next initialization; returns true if the variables size has changed
Definition: DakotaModel.cpp:3892
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:774
const String & interface_id() const
return the subModel interface identifier
Definition: RecastModel.hpp:1147
@ Valueless
option that may never have a value
Definition: CommandLineHandler.hpp:51
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:390
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:256
const std::vector< std::string > & variable_labels() const
Get the (possibly empty) variable/feature names.
Definition: SurrogatesBase.cpp:47
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:1064
int discrete_int_lower_bound(size_t i) const
return an active discrete variable lower bound
Definition: DakotaConstraints.hpp:517
Real statsRoundingTol
arithmetic (rounding) tolerance for FT sums and products
Definition: DataMethod.hpp:820
void print_metadata(std::ostream &os, const MetaDataType &md) const
print metadata to ostream
Definition: ResultsDBAny.cpp:143
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:242
void initialize_covariance(Approximation &approx_2)
initialize covariance accumulators with pointers to other QoI
Definition: PecosApproximation.hpp:434
void prior_variance(MatrixType &var_mat) const
return the covariance of the prior distribution
Definition: NonDBayesCalibration.hpp:793
Model mcmcModel
Model instance employed in the likelihood function; provides response function values from Gaussian p...
Definition: NonDBayesCalibration.hpp:289
void augment_bounds(RealVector &aggregate_l_bnds, RealVector &aggregate_u_bnds, const Model &model)
augments variable bounds with linear and nonlinear constraint bounds.
Definition: SOLBase.hpp:231
RealVector lognormalUncMeans
means of the lognormal uncertain variables (from the means specification in VarCAUV_Lognormal)
Definition: DataVariables.hpp:337
int numAnalysisServers
current number of analysis servers
Definition: ApplicationInterface.hpp:233
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:275
void discrepancy_emulation_mode(short mode)
set discrepancy emulation mode for approximating response differences
Definition: SharedApproxData.hpp:315
OPTPP::OptimizeClass * theOptimizer
optimizer base class pointer
Definition: SNLLLeastSq.hpp:196
String discrepancyType
set discrepancy type
Definition: NonDBayesCalibration.hpp:359
void broadcast_evaluation(const ParamResponsePair &pair)
convenience function for broadcasting an evaluation over an evalComm
Definition: ApplicationInterface.hpp:650
FILE * devNull
pointer to /dev/null
Definition: TrackerHTTP.hpp:111
OPTPP::OptQNewton * optqnewton
Quasi-Newton optimizer pointer.
Definition: SNLLOptimizer.hpp:337
virtual void update_local_results(int job_index)
used by IteratorScheduler to update local results arrays
Definition: DakotaIterator.cpp:1416
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:770
~DataResponses()
destructor
Definition: DataResponses.cpp:152
size_t find_index(const ContainerType &c, const typename ContainerType::value_type &search_data)
generic find_index (inactive)
Definition: dakota_data_util.hpp:1428
RealVector anisoDimPref
the dimension_preference specification for tensor and sparse grids and expansion orders in MethodNonD...
Definition: DataMethod.hpp:960
void pack(const long &data)
Pack a long.
Definition: MPIPackBuffer.hpp:93
size_t numACV
total number of continuous variables
Definition: DirectApplicInterface.hpp:163
int randomSeed
C3 regression solver employs a random seed.
Definition: SharedC3ApproxData.hpp:279
void initialize_active_types(Pecos::MultivariateDistribution &mv_dist)
initialize distribution types from problemDescDB
Definition: DakotaModel.cpp:702
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: OptDartsOptimizer.hpp:47
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:647
RealMatrix normTrainPointsAll
Set of all original samples available.
Definition: GaussProcApproximation.hpp:236
short integrationOrder
integration order (1 or 2) provided by integration specification
Definition: NonDLocalReliability.hpp:343
int asynchLocalEvalConcSpec
user specification for asynchronous local evaluation concurrency
Definition: ApplicationInterface.hpp:247
void flush()
flush the restart stream so we have a complete restart record should Dakota abort
Definition: OutputManager.cpp:1077
virtual void rebuild()
rebuilds the approximation incrementally
Definition: DakotaApproximation.cpp:265
Real vbdDropTol
tolerance for omitting output of small VBD indices
Definition: DakotaAnalyzer.hpp:232
int procsPerEvalSpec
user specification for processors per analysis servers
Definition: ApplicationInterface.hpp:421
const double SCALING_LN_LOGBASE
ln(SCALING_LOGBASE); needed in transforming variables in several places
Definition: ScalingModel.cpp:33
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:440
const RealVector & approximation_variances(const Variables &vars)
retrieve the approximation variances from the subModel
Definition: RecastModel.hpp:1034
short discrepEmulationMode
approach for emulating response differences: {DEFAULT,DISTINCT,RECURSIVE}_EMULATION
Definition: SharedApproxData.hpp:255
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:676
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:257
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:917
static NonDBayesCalibration * nonDBayesInstance
Pointer to current class instance for use in static callback functions.
Definition: NonDBayesCalibration.hpp:487
void initialize_sub_model()
construct and initialize approxSubProbModel
Definition: SurrBasedLocalMinimizer.cpp:142
int nestedModelEvalCntr
number of calls to derived_evaluate()/derived_evaluate_nowait()
Definition: NestedModel.hpp:264
void update_best(const Variables &vars, int eval_id, const Response &response)
compares current evaluation to best evaluation and updates best
Definition: DakotaAnalyzer.cpp:997
std::string specifiedResultsFileName
the name of the results file from user specification
Definition: ProcessApplicInterface.hpp:190
void get_cov_matrix()
calculates the covariance matrix for a given set of input points
Definition: GaussProcApproximation.cpp:404
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:788
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:34
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:826
void stop_servers()
executed by the master to terminate subModel server operations when RecastModel iteration is complete...
Definition: RecastModel.hpp:1127
short wilksSidedInterval
Wilks sided interval type.
Definition: DataMethod.hpp:881
virtual void update_model_from_variables(Model &model, const Variables &vars)
update model's current variables with data from vars
Definition: DakotaAnalyzer.cpp:300
size_t numDiscSetIntUncVars
number of variables of type DISCRETE_UNCERTAIN_SET_INT
Definition: NonDInterval.hpp:101
String outputFile
file name for output redirection (overrides command-line)
Definition: DataEnvironment.hpp:56
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:3867
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:1481
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:2161
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:267
Base class for the reliability methods within DAKOTA/UQ.
Definition: NonDReliability.hpp:33
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:848
const MPI_Comm & hub_server_inter_communicator() const
return hubServerInterComm
Definition: ParallelLibrary.hpp:358
bool logitTransform
flag indicating user activation of logit transform option
Definition: NonDQUESOBayesCalibration.hpp:184
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:352
size_t maxSolverIterations
maximum number of regression solver iterations (specialization of maxIterations)
Definition: NonDExpansion.hpp:619
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:1269
bool resize()
reinitializes iterator based on new variable size
Definition: NonDPolynomialChaos.cpp:689
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:594
double * A
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:249
unsigned short kickOrder
user specification for increment in order used within adapt_order
Definition: SharedC3ApproxData.hpp:226
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:157
void initialize_level_mappings()
size computed{Resp,Prob,Rel,GenRel}Levels
Definition: DakotaNonD.cpp:773
void set_apps_parameters()
sets options for specific methods based on user specifications
Definition: APPSOptimizer.cpp:111
void sub_iterator_flag(bool si_flag)
set subIteratorFlag (and update summaryOutputFlag if needed)
Definition: DakotaIterator.cpp:1816
IteratorScheduler subIteratorSched
scheduling object for concurrent iterator parallelism
Definition: NestedModel.hpp:294
Real startMPITime
start reference for MPI wall clock timer
Definition: ParallelLibrary.hpp:1025
short annRandomWeight
random weight for artificial neural network approximation
Definition: DataModel.hpp:265
SizetSet approxFnIndices
for incomplete approximation sets, this array specifies the response function subset that is approxim...
Definition: ApproximationInterface.hpp:215
bool python_convert_strlist(const StringArrayT &src, PyObject **dst)
convert labels
Definition: PythonInterface.cpp:437
void c_step(size_t c_index, int increment, Variables &vars)
helper function for performing a continuous step in one variable
Definition: ParamStudy.hpp:668
MPIManager & mpi_manager()
return mpiManager
Definition: DakotaEnvironment.hpp:184
const Model & algorithm_space_model() const
Definition: NonDReliability.hpp:115
void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaAnalyzer.cpp:218
short prevDSSView
previous view used in discrete_set_string_values(view): avoids recomputation of activeDiscSetStringVa...
Definition: DakotaModel.hpp:1717
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:119
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:754
Real value(const Variables &vars)
retrieve the function value for a given parameter set
Definition: GaussProcApproximation.cpp:209
void update_system_final_statistics_gradients()
update finalStatistics::functionGradients
Definition: DakotaNonD.cpp:702
const BitArray & discrete_int_sets()
define and return discreteIntSets using active view from currentVariables
Definition: DakotaModel.hpp:2388
SizetSet surrogateFnIndices
array specifying the response function set that is approximated
Definition: DataModel.hpp:143
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:42
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:1988
String subMethodPointer
pointer to a sub-iterator used for global approximations (from the dace_method_pointer specification ...
Definition: DataModel.hpp:119
std::string getEvaluatorType(void) const
return the type of the Dakota linked evaluator
Definition: APPSEvalMgr.cpp:178
String hessianType
type of Hessians present in associated Response
Definition: ApplicationInterface.hpp:499
void active_labels(const Variables &vars)
copy all cv/div/dsv/drv variable labels from vars
Definition: DakotaVariables.hpp:1161
int numReplicates
Number of bootstrap samples for subspace identification.
Definition: DataModel.hpp:389
size_t stopRestartEvals
eval number at which to stop restart read
Definition: ProgramOptions.hpp:247
const RealVector & fd_hessian_by_grad_step_size() const
return gradient-based finite difference Hessian step size (fdHessByGradStepSize)
Definition: DakotaModel.hpp:3656
std::string get_uid() const
get the real user ID
Definition: TrackerHTTP.cpp:288
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:471
DataModel()
constructor
Definition: DataModel.cpp:222
void calculate_cbf_cpf(bool complementary=true)
function to compute (complementary) distribution functions on belief and plausibility replaces CCBFPF...
Definition: NonDInterval.cpp:365
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:173
DakotaROLEqConstraintsGrad(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:763
void archive_best_constraints() const
archive the index'th set of constraints
Definition: DakotaMinimizer.cpp:1004
ResultsNames resultsNames
valid names for iterator results
Definition: DakotaIterator.hpp:538
static StringRealMap levenshteinDistanceCache
Cache results of Levenshtein distance calc for efficiency.
Definition: TestDriverInterface.hpp:161
RealVector fnValsMeanX
response function values evaluated at mean x
Definition: NonDLocalReliability.hpp:288
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:1187
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:1822
bool python_convert(const RealVector &src, PyObject **dst)
convert RealVector to Python list or numpy array
Definition: PythonInterface.cpp:362
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:666
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:226
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:5967
int world_rank() const
get the rank of this process in Dakota's MPI_Comm
Definition: MPIManager.hpp:82
size_t numFinalSolutions
number of final solutions returned from the iterator
Definition: DataMethod.hpp:341
Model & model_from_index(unsigned short m_index)
return the model from {approxModels,truthModel} corresponding to m_index
Definition: EnsembleSurrModel.hpp:757
void read(MPIUnpackBuffer &s)
helper function for reading some class data from MPI buffer
Definition: ProgramOptions.cpp:398
bool supports_nonlinear_inequality()
Return the flag indicating whether method supports nonlinear inequalities.
Definition: DataFitSurrBasedLocalMinimizer.hpp:67
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:3796
size_t num_functions() const
total number of response functions (pri scalars + 1-norm of priFieldLengths + secondary scalars)
Definition: SharedResponseData.hpp:357
String challengeFile
data file for user-supplied challenge data (per interface, since may contain multiple responses)
Definition: ApproximationInterface.hpp:245
bool find_approx_response(const Variables &search_vars, Response &search_resp)
locate an approximate response with the data_pairs cache
Definition: SurrBasedLocalMinimizer.hpp:254
IntVector contStepsPerVariable
number of offsets in the plus and the minus direction for each continuous variable in a centered_para...
Definition: ParamStudy.hpp:244
Real nonlinear_cost(const RealVector &r_and_N)
constraint helper function shared by NPSOL/OPT++ static evaluators
Definition: NonDNonHierarchSampling.cpp:1128
String patternBasis
the pattern_basis specification for APPS/PS methods in MethodAPPS and MethodSCOLIBPS
Definition: DataMethod.hpp:644
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: SNLLLeastSq.hpp:52
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:670
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:586
void print_results(std::ostream &s, short results_state=FINAL_RESULTS)
print the final iterator results
Definition: NonDAdaptiveSampling.cpp:1794
String exportApproxPtsFile
the file name from the export_approx_points_file specification in ModelSurrG
Definition: DataModel.hpp:191
void apply(const Variables &vars, Response &approx_response, bool quiet_flag=false)
apply the correction computed in compute() to approx_response
Definition: DiscrepancyCorrection.cpp:620
void select_index_set_candidate(std::set< UShortArray >::const_iterator cit_star)
promote selected index set candidate into reference grid + expansion
Definition: NonDExpansion.cpp:1805
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:229
std::string exportPosteriorSamplesFile
The filename of the export file containing samples from the posterior and their corresponding density...
Definition: NonDWASABIBayesCalibration.hpp:108
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:969
void calibrate_with_adaptive_emulator()
Run calibration, looping to refine emulator around posterior mode.
Definition: NonDBayesCalibration.cpp:881
ModelArray approxModels
set of model approximations
Definition: EnsembleSurrModel.hpp:289
RealVector proposalCovData
raw list of real data for the proposal covariance
Definition: DataMethod.hpp:1144
unsigned short exportFormat
file export format for variables and approximate responses
Definition: DataFitSurrModel.hpp:465
void register_pybind11_callback_fn(py::function callback)
register a python callback function
Definition: Pybind11Interface.hpp:106
void reset()
clears internal optimizer state
Definition: COLINOptimizer.hpp:193
String actualModelInterfaceId
the interface id from the actualModel used for ordered PRPCache lookups
Definition: ApproximationInterface.hpp:263
std::map< Pecos::ActiveKey, size_t > poppedCounts
number of instances within the popped arrays (mostly a placeholder for supporting push_available())
Definition: SharedC3ApproxData.hpp:319
void set_evaluation_reference()
set the evaluation counter reference points for the NestedModel (request forwarded to optionalInterfa...
Definition: NestedModel.hpp:677
const SizetSet & get_szs(const String &entry_name) const
get a SizetSet out of the database based on an identifier string
Definition: ProblemDescDB.cpp:1773
Real approxFnStar
approximate response corresponding to minimum/maximum truth response
Definition: NonDGlobalInterval.hpp:110
void reset_inactive()
resets all inactive response data to zero
RealMatrix trendFunctionAll
Trend function values corresponding to all original samples.
Definition: GaussProcApproximation.hpp:240
Model fHatModel
GP model of response, one approximation per response function.
Definition: EffGlobalMinimizer.hpp:270
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:477
unsigned short importApproxFormat
tabular format for the approx point import file
Definition: DataMethod.hpp:1303
const RealVector & continuous_variables() const
return the active continuous variables (Note: returns a view by const reference, but initializing a R...
Definition: DakotaVariables.hpp:816
RealMatrix acceptanceChain
Post-processing-related controls.
Definition: NonDBayesCalibration.hpp:472
void stop_iterator_servers()
executed by the scheduler master to terminate slave iterator servers
Definition: IteratorScheduler.cpp:488
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:4460
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:166
void operator()(std::ostream &s, size_t start_index, size_t num_items, const ArrayType &array_data, StringMultiArrayConstView label_array)
Definition: DakotaVariables.hpp:90
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:1753
ParallelLibrary()
default constructor (used for dummy_lib)
Definition: ParallelLibrary.cpp:47
RealSymMatrix GMat
the "G" matrix in Bomarito et al.
Definition: NonDGenACVSampling.hpp:190
void finalize_sets(bool output_sets, bool converged_within_tol, bool reverted)
invokes SparseGridDriver::finalize_sets()
Definition: NonDSparseGrid.hpp:241
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:395
void initialize()
perform any required initialization
Definition: NonDGlobalSingleInterval.cpp:36
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:463
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDLocalReliability.cpp:419
StringArray discreteStrAleatoryUncLowerBnds
distribution lower bounds for all discrete string epistemic uncertain variables
Definition: DataVariables.hpp:739
RealList deltaList
transfers deltas from estimate_derivatives() to synchronize_derivatives()
Definition: DakotaModel.hpp:1662
std::map< var_t, String > xDSM
map from var_t enum to discrete string val
Definition: DirectApplicInterface.hpp:196
IntVector discreteIntAleatoryUncVars
array of values for all discrete integer aleatory uncertain variables
Definition: DataVariables.hpp:725
IntVector approxDILowerBnds
approximation continuous lower bounds
Definition: SharedApproxData.hpp:269
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:302
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:1428
Performs Multilevel Monte Carlo sampling for uncertainty quantification.
Definition: NonDMultilevelSampling.hpp:37
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:1107
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:310
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:942
Real computedRespLevel
output response level calculated
Definition: NonDLocalReliability.hpp:265
size_t discrete_design()
return total number of design variables
Definition: DataVariables.hpp:929
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:526
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:120
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:280
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:200
String optInterfacePointer
the optional interface pointer from the nested model specification
Definition: NestedModel.hpp:318
size_t cvStart
start index of active continuous variables within allContinuousVars
Definition: SharedVariablesData.hpp:256
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:532
Real moment(size_t i) const
return primary moment using Pecos::PolynomialApproximation::moment(i)
Definition: PecosApproximation.hpp:696
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:59
short distributionType
the distribution cumulative or complementary specification in MethodNonD
Definition: DataMethod.hpp:1076
double dMeas
quality measure
Definition: DakotaPStudyDACE.hpp:89
unsigned short importCandFormat
tabular format for the candidate design points import file
Definition: DataMethod.hpp:1207
bool modelAutoGraphicsFlag
flag for posting of graphics data within evaluate() (automatic graphics posting in the model as oppos...
Definition: DakotaModel.hpp:1641
void derived_evaluate(const ActiveSet &set)
portion of evaluate() specific to RecastModel (forward to subModel.evaluate())
Definition: RecastModel.cpp:509
PecosApproximation()
default constructor
Definition: PecosApproximation.hpp:354
bool mutationAdaptive
the non_adaptive specification for the coliny_ea method in MethodSCOLIBEA
Definition: DataMethod.hpp:579
void pop_output_tag()
(Potentially) remove an output context and rebind streams
Definition: OutputManager.cpp:329
void write(std::ostream &s) const
write a DataResponses object to an std::ostream
Definition: DataResponses.hpp:373
std::shared_ptr< Iterator > get_iterator(ProblemDescDB &problem_db)
Used by the envelope to instantiate the correct letter class.
Definition: DakotaIterator.cpp:333
Perform Approximate Control Variate Monte Carlo sampling for UQ.
Definition: NonDACVSampling.hpp:33
void set_blocking_synch(const bool blockingSynchFlag)
publishes whether or not APPS is operating synchronously
Definition: APPSEvalMgr.hpp:86
colin::SolverHandle colinSolver
handle to the COLIN solver
Definition: COLINOptimizer.hpp:170
virtual Pecos::ProbabilityTransformation & probability_transformation()
return probability transformation employed by the Model (forwarded along to ProbabilityTransformModel...
Definition: DakotaModel.cpp:3854
const std::vector< Pecos::BasisPolynomial > & polynomial_basis() const
return IntegrationDriver::polynomialBasis
Definition: NonDIntegration.hpp:153
bool batchAsynch
algorithm option for fully asynchronous batch updating of the GP
Definition: EffGlobalMinimizer.hpp:315
const RealVector & linear_ineq_constraint_lower_bounds() const
return the linear inequality constraint lower bounds
Definition: DakotaConstraints.hpp:1017
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:27
size_t numVars
total number of continuous and discrete variables
Definition: DirectApplicInterface.hpp:162
void assign_specification_sequence()
assign the current values from the input specification sequence
Definition: NonDMultilevelFunctionTrain.cpp:334
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:359
void synchronous_local_analyses(int start, int end, int step)
execute analyses synchronously on the local processor
Definition: ProcessApplicInterface.hpp:269
void assign_specification_sequence()
assign the current values from the input specification sequence
Definition: NonDMultilevelStochCollocation.cpp:257
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:490
structure for validating string uncertain variable labels, bounds, values
Definition: NIDRProblemDescDB.cpp:5142
int procRemainder
proc remainder after equal distribution
Definition: ParallelLibrary.hpp:130
boost::mt19937 rnumGenerator
random number engine for sampling the prior
Definition: NonDWASABIBayesCalibration.hpp:123
int evaluation_id() const
return Model's (top-level) evaluation counter, not to be confused with derived counter returned by de...
Definition: DakotaModel.hpp:1736
void initiate_random_number_generator(unsigned long x)
POF Darts Methods.
Definition: NonDPOFDarts.cpp:163
void discrete_real_variable_type(unsigned short drv_type, size_t i)
set an active discrete variable type in currentVariables
Definition: DakotaModel.hpp:2047
Real continuous_variable(size_t i) const
return an active continuous variable from currentVariables
Definition: DakotaModel.hpp:1845
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:1014
void clear_active_data()
clears all data from an approximation interface
Definition: ApproximationInterface.hpp:549
void configure_constraint_maps()
Definition: DakotaOptimizer.cpp:502
Analyzer()
default constructor
Definition: DakotaAnalyzer.hpp:240
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:203
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:902
bool kappaUpdated
track when kappaU requires updating via principal_curvatures()
Definition: NonDLocalReliability.hpp:341
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:115
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:5153
bool shortStep
flags finite-difference step size adjusted by bounds
Definition: DakotaModel.hpp:1628
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:741
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:2627
virtual const ResponseArray & response_array_results()
return multiple final iterator solutions (response). This should only be used if returns_multiple_poi...
Definition: DakotaIterator.cpp:1451
virtual bool is_derived()
A temporary query used in the refactor.
Definition: DOTOptimizer.hpp:61
String exploratoryMoves
the exploratory_moves specification for the PS method in MethodSCOLIBPS
Definition: DataMethod.hpp:641
InterfaceList interfaceList
list of interface objects, one for each interface specification
Definition: ProblemDescDB.hpp:503
BitArray active_to_all_mask() const
create a BitArray indicating the active subset of all {continuous,discrete {int,string,...
Definition: SharedVariablesData.hpp:1255
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:341
bool resize()
reinitializes iterator based on new variable size
Definition: PSUADEDesignCompExp.cpp:58
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:476
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:4602
int processor_remainder() const
return procRemainder
Definition: ParallelLibrary.hpp:337
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:422
size_t numLSqTerms
number of least squares terms
Definition: DakotaAnalyzer.hpp:200
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:2914
std::shared_ptr< DDaceSamplerBase > create_sampler(Model &model)
create a DDACE sampler
Definition: DDACEDesignCompExp.cpp:263
RealVector linIneqLowerBnds
linear inequality constraint lower bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:359
IntSet hessIdNumerical
numerical id's for mixed Hessians
Definition: DakotaModel.hpp:1470
size_t numDRV
number of active discrete real variables
Definition: SharedVariablesData.hpp:274
OptType
enum for different types of values associated with command line options.
Definition: CommandLineHandler.hpp:50
String approxLabel
label for approximation, if applicable
Definition: DakotaApproximation.hpp:411
unsigned short correction_mode() const
return correctionMode
Definition: EnsembleSurrModel.hpp:1248
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:382
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:1523
RealVector gammaUncBetas
beta factors for the gamma uncertain variables (from the betas specification in VarCAUV_Gamma)
Definition: DataVariables.hpp:409
void output_timers()
conditionally output timers in destructor
Definition: ParallelLibrary.cpp:1242
~NonDMUQBayesCalibration()
destructor
Definition: NonDMUQBayesCalibration.cpp:60
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:1249
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:1421
bool relativeConvMetric
controls use of convergence tolerance in a relative (true) or absolute (false) context
Definition: DataMethod.hpp:348
static std::vector< std::string > tokenize_env_path(const std::string &path)
Tokenizes $PATH environment variable into a "list" of directories.
Definition: WorkdirHelper.cpp:167
size_t startRank
starting rank
Definition: DataMethod.hpp:830
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:55
virtual String solution_level_string_value() const
return the active (string) value of the solution control
Definition: DakotaModel.cpp:3742
unsigned int userConfigVars
number of user-specified configuration (scenario) vars
Definition: NonDGPMSABayesCalibration.hpp:132
unsigned short importChallengeFormat
tabular format of the challenge data file
Definition: DataModel.hpp:309
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:1070
ParLevLIter mi_parallel_level_iterator(size_t index=_NPOS) const
return miPLIters[index]
Definition: ParallelLibrary.hpp:598
void resid2mult_map(unsigned short multiplier_mode, IntVector &resid2mult_indices) const
return the index of the multiplier that affects each residual
Definition: ExperimentData.cpp:1970
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:2454
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.cpp:851
StringArray discreteDesignRangeLabels
labels array for the discrete design variables defined by an integer range (from the discrete_design_...
Definition: DataVariables.hpp:297
RealVectorArray repPointsU
the set of representative points in u-space around which to sample
Definition: NonDAdaptImpSampling.hpp:183
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:4554
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:1219
virtual void refinement_statistics_mode(short stats_mode)
assign mode for statistics roll-up: {ACTIVE,COMBINED}_EXPANSION_STATS
Definition: SharedApproxData.cpp:557
bool userNumpyFlag
whether the user requested numpy data structures in the input file
Definition: Pybind11Interface.hpp:69
String importChallengePtsFile
the file name from the challenge_points_file specification in ModelSurrG
Definition: DataModel.hpp:307
size_t dsv() const
get number of active discrete string vars
Definition: SharedVariablesData.hpp:1686
SharedResponseDataRep(const ProblemDescDB &problem_db)
standard constructor
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:371
bool variables_id_compare(const Variables &vars, const void *id)
global comparison function for Variables
Definition: DakotaVariables.hpp:1796
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:303
int rosenbrock()
the Rosenbrock optimization and least squares test fn
Definition: TestDriverInterface.cpp:1020
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:48
int steel_column_perf()
the steel_column_perf UQ/OUU test function
Definition: TestDriverInterface.cpp:2889
int local_eval_concurrency()
return subModel local evaluation concurrency
Definition: RecastModel.hpp:1067
RealMatrix rfBuildVars
matrix of samples used to build the RF data
Definition: RandomFieldModel.hpp:162
RealVector cellBPA
Storage array to hold cell bpa.
Definition: NonDInterval.hpp:134
unsigned short modelExportFormat
Bitmapped format request for exported models.
Definition: SharedApproxData.hpp:260
size_t solution_control_discrete_variable_index() const
return solnCntlADVIndex
Definition: SimulationModel.hpp:248
Base class for interval-based methods within DAKOTA/UQ.
Definition: NonDInterval.hpp:41
RealVectorArray cellFnUpperBounds
Storage array to hold cell max.
Definition: NonDInterval.hpp:132
int discrete_int_variable(size_t index) const
return an active discrete integer variable
Definition: DakotaVariables.hpp:836
const std::map< Pecos::ActiveKey, UShort2DArray > & multi_index_map() const
get Pecos::SharedOrthogPolyApproxData::multiIndex
Definition: SharedPecosApproxData.hpp:329
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:5208
std::size_t operator()(const ParamResponsePair &prp) const
access operator
Definition: PRPMultiIndex.hpp:136
HOPSPACK::ParameterList * problemParams
Pointer to APPS problem parameter sublist.
Definition: APPSOptimizer.hpp:191
SizetArray derivVarsVector
the vector of variable ids used for computing derivatives
Definition: DakotaActiveSet.hpp:133
std::vector< double > constrMapOffsets
offsets for constraint transformations
Definition: NomadOptimizer.hpp:224
void derived_subordinate_models(ModelList &ml, bool recurse_flag)
return {approxModels,truthModel} and, optionally, their sub-model recursions
Definition: EnsembleSurrModel.hpp:1029
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:1191
Graphics dakotaGraphics
graphics and tabular data output handler used by meta-iterators, models, and approximations; encapsul...
Definition: OutputManager.hpp:418
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:1123
bool asynchLocalAnalysisFlag
flag for asynchronous local parallelism of analyses
Definition: ApplicationInterface.hpp:239
bool calibrationData
flag indicating whether there is calibration data present
Definition: NonDCalibration.hpp:57
SizetMultiArrayConstView inactive_continuous_variable_ids() const
return the inactive continuous variable identifiers from currentVariables
Definition: DakotaModel.hpp:2160
String preRunOutput
filename for pre_run output
Definition: ProgramOptions.hpp:263
size_t sequenceIndex
sequence index for {...}SeqSpec
Definition: NonDMultilevelPolynomialChaos.hpp:146
const RealVector & all_discrete_real_lower_bounds() const
returns a single array with all discrete lower bounds
Definition: DakotaConstraints.hpp:815
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:334
const UShort2DArray & multi_index() const
get active Pecos::SharedOrthogPolyApproxData::multiIndex
Definition: SharedPecosApproxData.hpp:321
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:210
Real mindist(const RealVector &x, const RealMatrix &xset, int except)
Definition: GaussProcApproximation.cpp:75
Real penaltyParameter
penalty parameter for augmented Lagrangian merit funciton
Definition: NonDGlobalReliability.hpp:136
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:582
virtual void post_process_cell_results(bool maximize)
post-process a cell minimization/maximization result
Definition: NonDLocalInterval.cpp:251
ProgramOptions()
default constructor (needed for default environment ctors and could be used by library clients to lat...
Definition: ProgramOptions.cpp:32
short allocationTarget
store the allocation_target input specification, prior to run-time Options right now:
Definition: NonDMultilevelSampling.hpp:518
Iterator & subordinate_iterator()
return sub-iterator, if present, within subModel
Definition: RecastModel.hpp:765
Graphics()
constructor
Definition: DakotaGraphics.cpp:25
std::map< String, var_t > varTypeMap
map from variable label to enum
Definition: DirectApplicInterface.hpp:191
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:63
size_t num_nonlinear_ineq_constraints() const
return the number of nonlinear inequality constraints
Definition: DakotaConstraints.hpp:1078
Definition: DakotaTPLDataTransfer.hpp:28
Real * J
Jacobian J = J(x)
Definition: NL2SOLLeastSq.cpp:123
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:295
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:1058
const UShortArray & expansion_order() const
return Pecos::SharedOrthogPolyApproxData::expansion_order()
Definition: SharedPecosApproxData.hpp:355
std::string posteriorSamplesImportFile
The filename of the import file containing samples at which the posterior will be evaluated.
Definition: NonDWASABIBayesCalibration.hpp:100
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:75
SizetArray randomSeedSeqSpec
user specification for seed_sequence
Definition: NonDEnsembleSampling.hpp:191
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:1767
unsigned short exportApproxFormat
tabular format for the approx point export file
Definition: DataModel.hpp:193
IntVariablesMap recastVarsMap
map of recast variables used by derived_evaluate_nowait(). Needed for primaryRespMapping() and second...
Definition: RecastModel.hpp:556
virtual size_t mi_parallel_level_index() const
return the index for the metaiterator-iterator parallelism level within ParallelConfiguration::miPLIt...
Definition: DakotaModel.cpp:4545
short polynomialOrder
scalar integer indicating the order of the polynomial approximation (1=linear, 2=quadratic,...
Definition: DataModel.hpp:233
static VPSApproximation * VPSinstance
pointer to the active object instance used within the static evaluator
Definition: VPSApproximation.hpp:189
int covarianceType
kind of covariance required
Definition: DataMethod.hpp:506
String modelExportPrefix
Prefix for model export files.
Definition: SharedApproxData.hpp:258
String fdGradStepType
type of finite difference step to use for numerical gradient: relative - step length is relative to x...
Definition: DataResponses.hpp:216
void covariance(int exp_ind, RealSymMatrix &cov_mat) const
retrieve an individual covariance entry as a dense matrix
Definition: ExperimentData.cpp:1067
size_t numConfigVars
number of configuration (state) variables to read for each experiment
Definition: ExperimentData.hpp:435
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:275
void update_projected_lf_samples(const DAGSolutionData &soln, const SizetArray &N_H_actual, size_t &N_H_alloc, Real &delta_equiv_hf)
Definition: NonDMultifidelitySampling.cpp:388
void calibrate()
Definition: NonDMUQBayesCalibration.cpp:262
size_t num_samples() const
Definition: NonDSampling.hpp:494
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:506
void barrier_w()
enforce MPI_Barrier on MPI_COMM_WORLD
Definition: ParallelLibrary.hpp:1927
size_t discrete_variables()
return total number of discrete variables
Definition: DataVariables.hpp:982
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
CommandShell & flush(CommandShell &shell)
convenient shell manipulator function to "flush" the shell
Definition: CommandShell.cpp:55
String reliabilityIntegration
the first_order or second_order integration selection in MethodNonDLocalRel
Definition: DataMethod.hpp:1024
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:284
bool posteriorStatsKL
flag indicating the calculation of KL divergence between prior and posterior in Bayesian methods
Definition: DataMethod.hpp:1114
void usage(const char *str)
Change header of usage output to str.
Definition: CommandLineHandler.hpp:113
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:141
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:595
void wait_local_evaluation_batch(PRPQueue &prp_queue)
batch version of wait_local_evaluations()
Definition: ProcessApplicInterface.cpp:294
int numDakotaNonlinearEqConstraints
number of nonlinear equality constraints from Dakota perspective
Definition: DakotaTPLDataTransfer.hpp:152
size_t dsv_start() const
get start index of active discrete string vars
Definition: SharedVariablesData.hpp:1690
bool commSplitFlag
signals a communicator split was used
Definition: ParallelLibrary.hpp:121
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:199
void finalize_run()
restores instances
Definition: SNLLLeastSq.cpp:560
NONLINEAR_INEQUALITY_FORMAT nonlinear_inequality_format()
Return the format used for nonlinear inequality constraints.
Definition: NOWPACOptimizer.hpp:177
bool truthFixedByPilot
user specification to suppress any increments in the number of HF evaluations (e.g....
Definition: NonDNonHierarchSampling.hpp:313
std::list< Server > serverList
List of servers to try (tracker and proxy)
Definition: TrackerHTTP.hpp:121
RealVector emulEvalScores
Vector to hold the scored values for the current GP samples.
Definition: NonDAdaptiveSampling.hpp:110
virtual bool is_derived()
A temporary query used in the refactor.
Definition: HierarchSurrBasedLocalMinimizer.hpp:51
void evaluate_grid_increment()
computes a grid increment and evaluates the new parameter sets
Definition: NonDQuadrature.hpp:298
bool gpmsaNormalize
whether to apply GPMSA-internal normalization
Definition: DataMethod.hpp:1111
virtual void create_2d_plots()
create 2D graphics plots for automatic logging of vars/response data
Definition: DakotaModel.cpp:3333
double * G1
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:228
bool blockingSynch
Flag for COLIN synchronous behavior (Pattern Search only).
Definition: COLINApplication.hpp:116
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:69
RealSymMatrix respCovariance
symmetric matrix of analytic response covariance (full response covariance option)
Definition: NonDExpansion.hpp:529
NonDEnsembleSampling(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDEnsembleSampling.cpp:35
const RealMatrix & all_samples()
return the complete set of evaluated samples
Definition: DakotaAnalyzer.hpp:262
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:939
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:1300
void random_variables_key(const Pecos::BitArray &random_vars_key)
set pecosBasisApprox.randomVarsKey
Definition: SharedPecosApproxData.hpp:269
const ShortArray & nested_acv2_targets() const
return secondaryACVarMapTargets
Definition: RecastModel.hpp:720
size_t numFns
the number of functions in currentResponse
Definition: DakotaModel.hpp:1406
Environment corresponding to execution as a stand-alone application.
Definition: ExecutableEnvironment.hpp:30
Base class for non-hierarchical ensemble-based Monte Carlo sampling.
Definition: NonDNonHierarchSampling.hpp:131
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:1083
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:362
size_t numSubIterFns
number of sub-iterator response functions prior to mapping
Definition: NestedModel.hpp:304
bool modelEvidMC
flag indicating use of Monte Carlo approximation for evidence calc.
Definition: DataMethod.hpp:1129
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:890
std::shared_ptr< QUESO::EnvOptionsValues > envOptionsValues
options for setting up the QUESO Environment
Definition: NonDQUESOBayesCalibration.hpp:192
RealVector frechetUncBetas
beta factors for the frechet uncertain variables (from the betas specification in VarCAUV_Frechet)
Definition: DataVariables.hpp:427
ParallelLevel()
default constructor
Definition: ParallelLibrary.hpp:148
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:836
void warm_start_flag(const bool flag)
set the warm start flag, including actualModel
Definition: DataFitSurrModel.hpp:1051
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:3050
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:31
String methodSource
source of numerical gradient routine: dakota or vendor
Definition: DakotaModel.hpp:1426
RealMatrix fnGradsMeanX
response function gradients evaluated at mean x
Definition: NonDLocalReliability.hpp:290
~ScalingModel()
destructor
Definition: ScalingModel.cpp:169
const Response & response_results() const
return the final environment solution (response)
Definition: DakotaEnvironment.hpp:212
int integer_step(int range, int num_steps) const
check for integer remainder and return step
Definition: ParamStudy.hpp:642
static void check_negative(Real &cm)
detect, warn, and repair a negative central moment (for even orders)
Definition: NonDEnsembleSampling.hpp:488
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:70
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:333
StringMultiArrayConstView inactive_discrete_real_variable_labels() const
return the inactive discrete variable labels in currentVariables
Definition: DakotaModel.hpp:2574
std::vector< double > constraintMapOffsets
offsets for constraint transformations
Definition: DakotaOptimizer.hpp:551
void rebuild_approximation(const BitArray &rebuild_fns)
Definition: ApproximationInterface.cpp:682
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:290
void print(std::ostream &os) const
TODO: Prints the vector RV (required pure virtual).
Definition: QUESOImpl.cpp:117
RealVector lowerBounds
holds variable lower bounds passed in for "user_functions" mode.
Definition: NCSUOptimizer.hpp:137
size_t uncertain()
return total number of uncertain variables
Definition: DataVariables.hpp:974
std::shared_ptr< Model > get_model(ProblemDescDB &problem_db)
Used by the envelope to instantiate the correct letter class.
Definition: DakotaModel.cpp:315
StringArray linearIneqScaleTypes
scaling types for the linear inequality constraints (from the linear_inequality_scale_types specifica...
Definition: DataVariables.hpp:826
virtual ~CONMINTraits()
destructor
Definition: CONMINOptimizer.hpp:36
DataModelRep()
constructor
Definition: DataModel.cpp:21
unsigned short sampling_scheme() const
return importanceSamplingType
Definition: NonDAdaptImpSampling.hpp:215
void pack(const u_long *data, const int num=1)
Pack one or more unsigned long's.
std::vector< double > nonlinearIneqConstraintMapShifts
offsets for constraint transformations
Definition: DakotaTPLDataTransfer.hpp:180
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:633
bool restart_file(bool recurse_flag=true) const
if recurse_flag, return true if restart file usage in subordinate models {approxModels,...
Definition: EnsembleSurrModel.hpp:1186
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:249
IntResponseMap & response_map()
return rawResponseMap
Definition: DakotaInterface.hpp:499
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:125
double statsRoundingTol
tolerance for rounding (performing a truncation operation on a FT expansion) when post-processing an ...
Definition: SharedC3ApproxData.hpp:273
size_t numContinuousDesVars
number of continuous design variables (from the continuous_design specification in VarDV)
Definition: DataVariables.hpp:111
void finalize_run()
utility function to perform common operations following post_run(); deallocation and resetting of ins...
Definition: DakotaMinimizer.cpp:374
std::shared_ptr< QUESO::VectorSpace< QUESO::GslVector, QUESO::GslMatrix > > experimentSpace
vector space defining the output (response) space for the experiments
Definition: NonDGPMSABayesCalibration.hpp:150
Definition: MatlabInterface.hpp:34
std::vector< int > nonlinearIneqConstraintMapIndices
map from Dakota constraint number to TPL constraint number
Definition: DakotaTPLDataTransfer.hpp:174
virtual unsigned short correction_mode() const
return correctionMode
Definition: DakotaModel.cpp:4483
std::string workDirName
work_directory name, if specified...
Definition: ProcessApplicInterface.hpp:218
std::list< DataMethod >::iterator dataMethodIter
iterator identifying the active list node in dataMethodList
Definition: ProblemDescDB.hpp:484
Model hifiModel
a high-fidelity model data source (given by pointer in input)
Definition: NonDBayesCalibration.hpp:407
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:173
DakotaROLEqConstraints(Model &model)
Constructor.
Definition: ROLOptimizer.cpp:733
void inactive_discrete_real_variable(Real idr_var, size_t index)
set an inactive discrete real variable
Definition: DakotaVariables.hpp:1481
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDGlobalReliability.cpp:367
String exportApproxPtsFile
the file name from the export_approx_points_file specification
Definition: DataMethod.hpp:1308
void calibrate_to_hifi()
calibrate the model to a high-fidelity data source, using mutual information-guided design of experim...
Definition: NonDBayesCalibration.cpp:1086
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:969
bool volQualityFlag
the quality_metrics specification for sampling methods (FSU QMC and CVT methods in MethodFSUDACE)
Definition: DataMethod.hpp:765
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:3803
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:472
void derived_set_communicators(ParLevLIter pl_iter)
derived class contributions to setting the communicators associated with this Iterator instance
Definition: NonDBayesCalibration.cpp:780
void compute_best_metrics(const Response &response, std::pair< Real, Real > &metrics)
compares current evaluation to best evaluation and updates best
Definition: DakotaAnalyzer.cpp:900
RealVector cvScales
continuous variables scale values
Definition: ScalingOptions.hpp:38
const String & post_run_input() const
filename for post-run input
Definition: ProgramOptions.cpp:191
Real value(const Variables &vars)
retrieve the approximate function value for a given parameter vector
Definition: TaylorApproximation.cpp:76
std::map< SizetIntPair, ParConfigLIter > modelPCIterMap
map<> used for tracking modelPCIter instances using depth of parallelism level and max evaluation con...
Definition: DakotaModel.hpp:1632
void close_tabular_datastream()
close tabular datastream
Definition: OutputManager.cpp:615
int evalCommSize
size of evalComm
Definition: ApplicationInterface.hpp:225
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:2046
SizetArray pilotSamples
the pilot_samples selection in MethodMultilevelMC
Definition: DataMethod.hpp:1043
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:463
bool posteriorStatsKL
flag indicating the calculation of KL divergence between prior and posterior
Definition: NonDBayesCalibration.hpp:434
void initialize_graphics(int iterator_server_id=1)
initialize graphics customized for surrogate-based iteration
Definition: SurrBasedGlobalMinimizer.hpp:122
const Response & current_response() const
return the current response (currentResponse)
Definition: DakotaModel.hpp:3574
OPTPP::NLF2 * nlf2Con
pointer to constraint NLF for full Newton optimizers
Definition: SNLLOptimizer.hpp:329
TestDriverInterface(const ProblemDescDB &problem_db)
constructor
Definition: TestDriverInterface.cpp:49
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:2597
int main(int argc, char *argv[])
The main DAKOTA program.
Definition: main.cpp:35
BoolDequeArray nonlinearRespMapping
array of BoolDeques, one for each recast response function. Each BoolDeque defines which subModel res...
Definition: RecastModel.hpp:609
ConsoleRedirector(const ConsoleRedirector &)
copy constructor is disallowed due
static NonDQUESOBayesCalibration * nonDQUESOInstance
Pointer to current class instance for use in static callback functions.
Definition: NonDQUESOBayesCalibration.hpp:240
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:1332
StringMultiArrayView all_discrete_string_variable_labels() const
returns a single array with all discrete variable labels
Definition: DakotaVariables.hpp:1709
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:1715
void asynchronous_local_analyses(int start, int end, int step)
execute analyses asynchronously on the local processor
Definition: ProcessHandleApplicInterface.cpp:309
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:895
void generalized_acv_online_pilot()
Definition: NonDGenACVSampling.cpp:318
void graphics_counter(int cntr)
set graphicsCntr equal to cntr
Definition: OutputManager.cpp:628
const Pecos::RealVector & variance_gradient()
return the gradient of the expansion variance for a given parameter vector, where all active variable...
Definition: PecosApproximation.hpp:487
void append_approximation(bool rebuild_flag)
appends daceIterator results to a global approximation and rebuilds it if requested
Definition: DataFitSurrModel.cpp:711
size_t numDiscreteUncSetIntVars
number of discrete epistemic uncertain integer set variables (from the discrete_uncertain_set integer...
Definition: DataVariables.hpp:192
size_t idiv_start() const
start index of inactive discrete int vars
Definition: DakotaVariables.hpp:754
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:623
void derived_free_communicators(ParLevLIter pl_iter)
derived class contributions to freeing the communicators associated with this Iterator instance
Definition: NonDLocalInterval.cpp:153
RealVector cvScaleOffsets
offsets for continuous variables
Definition: ScalingModel.hpp:188
int analysisServerId
analysis server identifier
Definition: ApplicationInterface.hpp:232
void update_inactive_view(short new_view, short &view)
update inactive variables view for subIterator based on new_view
Definition: NestedModel.cpp:2102
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:149
Real initTRRadius
initial trust radius
Definition: DataMethod.hpp:505
RealMatrix linIneqCoeffs
linear inequality constraint coefficients used in "user_functions" mode
Definition: SNLLOptimizer.hpp:357
void write(std::ostream &s) const
write a DataEnvironmentRep object to an std::ostream
Definition: DataEnvironment.cpp:64
void update_from_model(Model &model)
update current variables/bounds/labels/constraints from subModel
Definition: RecastModel.cpp:983
const StringArray & field_group_labels() const
return the coarse (per-group) primary field response labels
Definition: SharedResponseData.hpp:411
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:811
virtual int min_coefficients() const
return the minimum number of samples (unknowns) required to build the derived class approximation typ...
Definition: DakotaApproximation.cpp:966
bool centralHess
Temporary(?) option to use old 2nd-order diffs when computing finite-difference Hessians; default is ...
Definition: DataResponses.hpp:197
bool logitTransform
flag indicating user activation of logit transform option within QUESO
Definition: DataMethod.hpp:1109
String initializationType
The means by which the JEGA should initialize the population.
Definition: DataMethod.hpp:728
void all_discrete_string_variable(const String &ads_var, size_t index)
set a variable within the all discrete array
Definition: DakotaVariables.hpp:1651
void compute_component_effects()
Performs global sensitivity analysis using Sobol' indices by computing component (main and interactio...
Definition: PecosApproximation.hpp:398
RealVector lognormalUncZetas
zetas (standard deviations of the corresponding normals) of the lognormal uncertain variables (from t...
Definition: DataVariables.hpp:334
~SNLLOptimizer()
destructor
Definition: SNLLOptimizer.cpp:515
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:265
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:1174
void component_parallel_mode(short mode)
update component parallel mode for supporting parallelism in optionalInterface and subModel
Definition: NestedModel.cpp:2013
bool chainDiagnostics
flag indicating calculation of chain diagnostics
Definition: DataMethod.hpp:1122
Real trustRegionExpandTrigger
trust region sufficient improvement level (ratio of actual to predicted decrease in objective fn) in ...
Definition: DataMethod.hpp:450
Optimizer(std::shared_ptr< TraitsBase > traits)
default constructor
Definition: DakotaOptimizer.hpp:648
unsigned numFolds
number of folds for CV
Definition: SharedSurfpackApproxData.hpp:147
void reset()
restore initial state for repeated sub-iterator executions
Definition: SNLLLeastSq.cpp:572
RealVector lognormalUncVars
initial values of the lognormal uncertain variables (from the initial_point specification in VarCAUV_...
Definition: DataVariables.hpp:352
virtual void export_approximation()
export the approximation to disk
Definition: DakotaInterface.cpp:1145
const MPI_Comm & server_intra_communicator() const
return serverIntraComm
Definition: ParallelLibrary.hpp:340
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:3483
int iteratorServerId
identifier for an iterator server
Definition: IteratorScheduler.hpp:178
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:996
virtual void nested_response_mappings(const RealMatrix &primary_coeffs, const RealMatrix &secondary_coeffs)
set primaryResponseCoefficients, secondaryResponseCoefficients within derived Iterators; Necessary fo...
Definition: DakotaIterator.cpp:1852
void calc_score_delta_x()
Function to compute the Distance scores for the candidate points Distance score is the shortest dista...
Definition: NonDAdaptiveSampling.cpp:462
RealVector estVarRatios
ratio of MFMC to MC estimator variance for the same HF samples, also known as (1 - R^2)
Definition: NonDMultifidelitySampling.hpp:199
void apply_hifi_sim_error(int &random_seed, int num_exp, int exp_offset=0)
apply simulation error vector
Definition: NonDBayesCalibration.cpp:1471
IntArray newFnHessCounter
number of new Hessian evaluations by resp fn
Definition: DakotaInterface.hpp:404
bool derived_master_overload() const
flag which prevents overloading the master with a multiprocessor evaluation (forwarded to optionalInt...
Definition: NestedModel.hpp:529
String meritFunction
the meritFunction choice for nonlinearly constrained APPS in MethodAPPSDC
Definition: DataMethod.hpp:546
static NonDGPMSABayesCalibration * nonDGPMSAInstance
Pointer to current class instance for use in static callback functions.
Definition: NonDGPMSABayesCalibration.hpp:169
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:1628
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:204
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:919
Iterator gpFinalEval
LHS iterator for sampling on the final GP.
Definition: NonDAdaptiveSampling.hpp:84
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:1808
void opt_darts_terminate()
Release memory and exit cleanly.
Definition: OptDartsOptimizer.cpp:929
void update_nonlinear_constraints(const Constraints &cons)
copy nonlinear constraint data between existing Constraints objects
Definition: DakotaConstraints.cpp:354
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:63
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:798
void set_unscaled_bounds(const RealVector &l_bnds, const RealVector &u_bnds)
set {lower,upper}Bounds
Definition: NOWPACOptimizer.hpp:122
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:1578
String exportCorrModelFile
filename for corrected model (model+discrepancy) calculations output
Definition: NonDBayesCalibration.hpp:361
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
bool mfPrecedence
tie breaker for type of model hierarchy when forms and levels are present
Definition: EnsembleSurrModel.hpp:308
UShortMultiArrayConstView inactive_discrete_real_variable_types() const
return the inactive discrete real variable types
Definition: DakotaVariables.hpp:1578
String inputFile
Dakota input file name, e.g., "dakota.in".
Definition: ProgramOptions.hpp:230
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:158
RealVector nlnIneqUpperBnds
nonlinear inequality constraint upper bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:369
~ForkApplicInterface()
destructor
Definition: ForkApplicInterface.hpp:110
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:969
void initialize_grid(const std::vector< Pecos::BasisPolynomial > &poly_basis)
initialize integration grid by drawing from polynomial basis settings
Definition: NonDCubature.cpp:69
StringMultiArrayConstView discrete_string_variable_labels() const
return the active discrete variable labels from currentVariables
Definition: DakotaModel.hpp:2478
virtual Real diagnostic(const String &metric_type)
retrieve a single diagnostic metric for the diagnostic type specified
Definition: DakotaApproximation.cpp:847
size_t acv() const
returns total number of continuous variables
Definition: DakotaModel.hpp:1797
IteratorArray varianceMinimizers
the minimizer used to minimize the estimator variance over parameters of number of truth model sample...
Definition: NonDNonHierarchSampling.hpp:298
virtual ~DakotaROLIneqConstraintsHess()
Destructor.
Definition: ROLOptimizer.hpp:405
RealRealMapArray discreteUncSetRealValuesProbs
complete set of admissible values with associated basic probability assignments for each of the discr...
Definition: DataVariables.hpp:603
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:373
size_t numScalarResponseFunctions
scalar_responses: number of response functions which are scalar
Definition: DataResponses.hpp:94
virtual ~SurrBasedGlobalTraits()
destructor
Definition: SurrBasedGlobalMinimizer.hpp:44
short local_eval_synchronization()
return optionalInterface synchronization setting
Definition: NestedModel.hpp:510
CONMINOptimizer(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: CONMINOptimizer.cpp:37
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDAdaptImpSampling.cpp:127
size_t numLHSRuns
counter for number of sample set generations
Definition: NonDSampling.hpp:334
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:505
IntVectorArray cellIntRangeUpperBounds
Storage array to hold cell upper bounds for discrete int range variables.
Definition: NonDInterval.hpp:124
size_t num_samples() const
Definition: NonDCubature.hpp:134
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:1056
Real alpha
constraint relaxation parameter backoff parameter (multiplier)
Definition: SurrBasedLocalMinimizer.hpp:246
unsigned short maxOrder
maximum value for polynomial order from user spec
Definition: SharedC3ApproxData.hpp:228
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:542
void terminate_modelcenter()
terminate ModelCenter if running
Definition: ParallelLibrary.cpp:1155
~DataEnvironment()
destructor
Definition: DataEnvironment.cpp:94
~NLSSOLLeastSq()
destructor
Definition: NLSSOLLeastSq.cpp:83
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:383
static SNLLLeastSq * snllLSqInstance
pointer to the active object instance used within the static evaluator functions in order to avoid th...
Definition: SNLLLeastSq.hpp:178
void linear_constraints(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)
assign linear inequality and linear equality constraints for this iterator (user-functions mode for w...
Definition: SNLLOptimizer.hpp:389
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:356
Real combined_covariance(Approximation &approx_2)
return the covariance between two combined response expansions, where all active variables are random
Definition: PecosApproximation.hpp:513
bool identityRespMap
whether identity response mapping is active
Definition: NestedModel.hpp:416
size_t collocationPoints
the collocation_points specification in MethodNonDPCE
Definition: DataMethod.hpp:951
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:335
RealVector triangularUncUpperBnds
distribution upper bounds for the triangular uncertain variables (from the upper_bounds specification...
Definition: DataVariables.hpp:379
void shubert1D(size_t der_mode, Real xc_loc, std::vector< Real > &w_and_ders)
1D components of shubert function
Definition: TestDriverInterface.cpp:4490
ParallelLevel & operator=(const ParallelLevel &pl)
assignment operator
Definition: ParallelLibrary.hpp:310
void copy_config(const ParallelLevel &pl)
copy the scalar attributes of the incoming pl to this object, omitting communicators
Definition: ParallelLibrary.hpp:222
Real discontJumpThresh
function value (jump) threshold for discontinuity detection in domain decomp
Definition: DataModel.hpp:283
void check_dimension_preference(const RealVector &dim_pref) const
check length and content of dimension preference vector
Definition: NonDExpansion.hpp:850
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:397
bool supports_continuous_variables()
Return the flag indicating whether method supports continuous variables.
Definition: DOTOptimizer.hpp:64
IntVector discRealStepsPerVariable
number of offsets in the plus and the minus direction for each discrete real variable in a centered_p...
Definition: ParamStudy.hpp:253
virtual const IntResponseMap & derived_synchronize()
portion of synchronize() specific to derived model classes
Definition: DakotaModel.cpp:3296
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:790
bool respScalingFlag
flag to indicate bounds-based scaling of current response data set prior to build in surrogate-based ...
Definition: DataMethod.hpp:896
short responseMode
an enumeration that controls the response calculation mode in {DataFit,Hierarch}SurrModel approximate...
Definition: SurrogateModel.hpp:201
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:57
IntActiveSetMap recastSetMap
map of recast active set passed to derived_evaluate_nowait(). Needed for currentResponse update in sy...
Definition: RecastModel.hpp:552
RealVector continuousEpistemicUncLowerBnds
distribution lower bounds for all continuous epistemic uncertain variables
Definition: DataVariables.hpp:760
void initialize_u_space_model()
initialize uSpaceModel polynomial approximations with PCE/SC data
Definition: NonDC3FunctionTrain.cpp:364
size_t expansion_terms() const
return Pecos::SharedOrthogPolyApproxData::expansion_terms()
Definition: SharedPecosApproxData.hpp:348
Real percentVarianceExplained
Threshold to keep number of principal components that explain this much variance.
Definition: NonDLHSSampling.hpp:183
bool runFlag
flags invocation with command line option -run
Definition: DataEnvironment.hpp:67
int DAKOTA_DLL_FN get_dc_ptr_int()
get the DAKOTA pointer to ModelCenter current design point
Definition: dakota_dll_api.cpp:325
void derived_init_communicators(ParLevLIter pl_iter)
derived class contributions to initializing the communicators associated with this Iterator instance
Definition: NonDBayesCalibration.cpp:759
Base class for the optimizer branch of the iterator hierarchy.
Definition: DakotaOptimizer.hpp:433
const RealVector & all_discrete_real_upper_bounds() const
return all discrete upper bounds in userDefinedConstraints
Definition: DakotaModel.hpp:3308
void append_liar(const Variables &vars_star, int liar_id, bool rebuild)
evaluate and append a liar response
Definition: EffGlobalMinimizer.cpp:505
Definition: OutputManager.hpp:36
RealVector nlnIneqLowerBnds
nonlinear inequality constraint lower bounds used in "user_functions" mode
Definition: SNLLOptimizer.hpp:367
std::map< size_t, ParConfigLIter > methodPCIterMap
track the available configurations that have been created (init_communicators) and are available for ...
Definition: DakotaIterator.hpp:601
RealVector continuousIntervalUncVars
initial values of the continuous interval uncertain variables (from the initial_point specification i...
Definition: DataVariables.hpp:567
Real fitnessLimit
The cutoff value for survival in fitness limiting selectors (e.g., below_limit selector).
Definition: DataMethod.hpp:696
String proposalCovarInputType
approach for defining proposal covariance
Definition: NonDBayesCalibration.hpp:465
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:872
VariablesArray bestVariablesArray
collection of N best solution variables found during the study; always in context of Model originally...
Definition: DakotaIterator.hpp:513
void values_to_ranks(RealMatrix &valid_data)
replace sample values with their ranks, in-place
Definition: SensAnalysisGlobal.cpp:104
int chainSamples
the number of MCMC chain samples
Definition: DataMethod.hpp:1091
void initialize_inactive_start_counts()
initialize start index and counts for inactive variables
Definition: SharedVariablesData.hpp:1379
NonDBayesCalibration(ProblemDescDB &problem_db, Model &model)
standard constructor
Definition: NonDBayesCalibration.cpp:64
IntVector finalDRVPoint
the discrete real set index ending point for vector_parameter_study
Definition: ParamStudy.hpp:220
size_t num_linear_eq_constraints() const
return the number of linear equality constraints
Definition: DakotaModel.hpp:3366
std::shared_ptr< Model > modelRep
pointer to the letter (initialized only for the envelope)
Definition: DakotaModel.hpp:1728
const SizetArray & variables_components_totals() const
returns the number of variables for each of the constitutive components
Definition: DakotaVariables.hpp:1783
SoleilDirectApplicInterface(const Dakota::ProblemDescDB &problem_db)
constructor
Definition: SoleilDirectApplicInterface.hpp:98
short dataOrder
order of the data used for surrogate construction, in ActiveSet request vector 3-bit format; user may...
Definition: NonDGlobalReliability.hpp:148
int text_book1()
portion of text_book() evaluating the objective fn
Definition: TestDriverInterface.cpp:3216
void get_variables(Model &model, VectorType &vec)
Definition: DakotaOptimizer.hpp:846
void build()
builds the shared approximation data from scratch
Definition: SharedPecosApproxData.hpp:203
bool topLevel
Whether this is the top level iterator.
Definition: DakotaIterator.hpp:545
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:340
size_t solution_control_variable_index() const
return solnCntlAVIndex
Definition: SimulationModel.hpp:244
RealVector trustRegionInitSize
initial trust region sizes in the surrogate-based local method (from the initial_size specification i...
Definition: DataMethod.hpp:430
bool expansion_gradient_flag() const
get pecosBasisApprox.configOptions.expansionGradFlag
Definition: PecosApproximation.hpp:390
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:382
std::string paramsFileName
the parameters file name actually used (modified with tagging or temp files); only valid from define_...
Definition: ProcessApplicInterface.hpp:184
void DAKOTA_DLL_FN dakota_stop(int *id)
command DakotaRunner instance id to stop execution
Definition: dakota_dll_api.cpp:296
bool parallelFlag
bool flag if model supports asynchronous parallelism
Definition: EffGlobalMinimizer.hpp:313
Real combined_mean()
return the mean of the combined expansion, treating all variables as random
Definition: PecosApproximation.hpp:462
void initialize_counts()
initialize data based on variable counts
Definition: DakotaNonD.cpp:115
void calculate_evidence()
calculate the model evidence
Definition: NonDBayesCalibration.cpp:2953
std::list< DataModel > dataModelList
list of model specifications, one for each call to model_kwhandler() or insert_node()
Definition: ProblemDescDB.hpp:390
void read(MPIUnpackBuffer &s)
read a DataInterfaceRep object from a packed MPI buffer
Definition: DataMethod.cpp:371
UShortArray refQuadOrderPrev
value of Pecos::TensorProductDriver::quadOrder prior to increment_grid(), for restoration in decremen...
Definition: NonDQuadrature.hpp:184
EvaluationStore & evaluationsDB
reference to the global evaluation database
Definition: DakotaModel.hpp:1554
double * C
Internal CONMIN array.
Definition: CONMINOptimizer.hpp:237
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:2203
IntVector discreteDesignRangeVars
initial values for the discrete design variables defined by an integer range (from the discrete_desig...
Definition: DataVariables.hpp:236
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:278
void join_evaluation_process_group(bool new_group)
create (if new_group) and join the process group for asynch evaluations
Definition: ForkApplicInterface.hpp:122
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:4742
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:968
void deactivate_distribution_parameter_derivatives()
deactivate derivative setting w.r.t. distribution parameters
Definition: RecastModel.hpp:732
ParallelLibrary & parallelLib
reference to the ParallelLibrary object used to manage MPI partitions for the concurrent evaluations ...
Definition: ApplicationInterface.hpp:210
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:552
void log_best()
log at most batchSize best chain points into bestSamples
Definition: NonDQUESOBayesCalibration.cpp:543
size_t numCrossPoints
The number of crossover points or multi-point schemes.
Definition: DataMethod.hpp:672
int illumination()
illumination example in Boyd as a general minimization problem
Definition: TestDriverInterface.cpp:4001
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:186
size_t collocation_points() const
return specification for number of collocation points (may be part of a sequence specification)
Definition: NonDC3FunctionTrain.hpp:165