MoochoPack_MoochoThyraSolver.cpp File Reference

#include "MoochoPack_MoochoThyraSolver.hpp"
#include "NLPInterfacePack_NLPDirectThyraModelEvaluator.hpp"
#include "NLPInterfacePack_NLPFirstOrderThyraModelEvaluator.hpp"
#include "Thyra_DefaultFiniteDifferenceModelEvaluator.hpp"
#include "Thyra_DefaultStateEliminationModelEvaluator.hpp"
#include "Thyra_DefaultEvaluationLoggerModelEvaluator.hpp"
#include "Thyra_DefaultInverseModelEvaluator.hpp"
#include "Thyra_DefaultLumpedParameterModelEvaluator.hpp"
#include "Thyra_DefaultSpmdMultiVectorFileIO.hpp"
#include "Thyra_DampenedNewtonNonlinearSolver.hpp"
#include "Thyra_ModelEvaluatorHelpers.hpp"
#include "Thyra_VectorStdOps.hpp"
#include "Teuchos_StandardParameterEntryValidators.hpp"
#include "Teuchos_XMLParameterListHelpers.hpp"

Include dependency graph for MoochoPack_MoochoThyraSolver.cpp:

Go to the source code of this file.

Namespaces

namespace  MoochoPack

Variables

const std::string SolveMode_name = "Solve Mode"
const Teuchos::RCP< Teuchos::StringToIntegralParameterEntryValidator<
MoochoPack::MoochoThyraSolver::ESolveMode >> 
solveModeValidator
const std::string SolveMode_default = "Optimize"
const std::string NLPType_name = "NLP Type"
const Teuchos::RCP< Teuchos::StringToIntegralParameterEntryValidator<
MoochoPack::MoochoThyraSolver::ENLPType > > 
nlpTypeValidator
const std::string NLPType_default = "First Order"
const std::string NonlinearlyEliminateStates_name = "Nonlinearly Eliminate States"
const bool NonlinearlyEliminateStates_default = false
const std::string UseFiniteDifferencesForObjective_name = "Use Finite Differences For Objective"
const bool UseFiniteDifferencesForObjective_default = false
const std::string ObjectiveFiniteDifferenceSettings_name = "Objective Finite Difference Settings"
const std::string UseFiniteDifferencesForConstraints_name = "Use Finite Differences For Constraints"
const bool UseFiniteDifferencesForConstraints_default = false
const std::string ConstraintsFiniteDifferenceSettings_name = "Constraints Finite Difference Settings"
const std::string FwdNewtonTol_name = "Forward Newton Tolerance"
const double FwdNewtonTol_default = -1.0
const std::string FwdNewtonMaxIters_name = "Forward Newton Max Iters"
const int FwdNewtonMaxIters_default = 20
const std::string ForwardNewtonDampening_name = "Forward Newton Dampening"
const bool ForwardNewtonDampening_default = true
const std::string FwdNewtonMaxLineSearchIters_name = "Forward Newton Max Line Search Iters"
const int FwdNewtonMaxLineSearchIters_default = 20
const std::string UseBuiltInInverseObjectiveFunction_name = "Use Built-in Inverse Objective Function"
const bool UseBuiltInInverseObjectiveFunction_default = false
const std::string InverseObjectiveFunctionSettings_name = "Inverse Objective Function Settings"
const std::string UseParameterLumping_name = "Use Parameter Lumping"
const bool UseParameterLumping_default = false
const std::string LumpedParametersSettings_name = "Lumped Parameters Settings"
const std::string OutputFileTag_name = "Output File Tag"
const std::string OutputFileTag_default = ""
const std::string ShowModelEvaluatorTrace_name = "Show Model Evaluator Trace"
const bool ShowModelEvaluatorTrace_default = "false"
const std::string StateGuess_name = "State Guess"
const std::string ParamGuess_name = "Parameter Guess"
const std::string ParamLowerBounds_name = "Parameter Lower Bounds"
const std::string ParamUpperBounds_name = "Parameter Upper Bounds"
const std::string StateSoluFileBaseName_name = "State Solution File Base Name"
const std::string StateSoluFileBaseName_default = ""
const std::string ParamSoluFileBaseName_name = "Parameters Solution File Base Name"
const std::string ParamSoluFileBaseName_default = ""


Variable Documentation

const std::string SolveMode_name = "Solve Mode" [static]

Definition at line 50 of file MoochoPack_MoochoThyraSolver.cpp.

const Teuchos::RCP< Teuchos::StringToIntegralParameterEntryValidator< MoochoPack::MoochoThyraSolver::ESolveMode >> solveModeValidator [static]

Initial value:

 Teuchos::rcp(
  new Teuchos::StringToIntegralParameterEntryValidator<MoochoPack::MoochoThyraSolver::ESolveMode>(
    Teuchos::tuple<std::string>(
      "Forward Solve"
      ,"Optimize"
      )
    ,Teuchos::tuple<std::string>(
      "Only solve state equaitons f(x,p)=0 for states x\n"
      "given fixed parameters values p."
      ,"Solve the simulation constrained optimization problem\n"
      "  min  g(x,p)\n"
      "  s.t. f(x,p)=0\n"
      "for the state varaibles x and parameters p."
      )
    ,Teuchos::tuple<MoochoPack::MoochoThyraSolver::ESolveMode>(
      MoochoPack::MoochoThyraSolver::SOLVE_MODE_FORWARD
      ,MoochoPack::MoochoThyraSolver::SOLVE_MODE_OPTIMIZE
      )
    ,""
    )
  )

Definition at line 56 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string SolveMode_default = "Optimize" [static]

Definition at line 77 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string NLPType_name = "NLP Type" [static]

Definition at line 79 of file MoochoPack_MoochoThyraSolver.cpp.

const Teuchos::RCP< Teuchos::StringToIntegralParameterEntryValidator< MoochoPack::MoochoThyraSolver::ENLPType > > nlpTypeValidator [static]

Initial value:

 Teuchos::rcp(
  new Teuchos::StringToIntegralParameterEntryValidator<MoochoPack::MoochoThyraSolver::ENLPType>(
    Teuchos::tuple<std::string>(
      "First Order"
      ,"Direct"
      )
    ,Teuchos::tuple<std::string>(
      "Support the NLPInterfacePack::NLPFirstOrder interface which assumes\n"
      "that full adjoints for the objective and constraint derivatives are\n"
      "available."
      ,"Support the NLPInterfacePack::NLPDirect interface which only assumes\n"
      "that forward or direct sensitivities and state solves are supported."
      )
    ,Teuchos::tuple<MoochoPack::MoochoThyraSolver::ENLPType>(
      MoochoPack::MoochoThyraSolver::NLP_TYPE_FIRST_ORDER
      ,MoochoPack::MoochoThyraSolver::NLP_TYPE_DIRECT
      )
    ,""
    )
  )

Definition at line 85 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string NLPType_default = "First Order" [static]

Definition at line 105 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string NonlinearlyEliminateStates_name = "Nonlinearly Eliminate States" [static]

Definition at line 107 of file MoochoPack_MoochoThyraSolver.cpp.

const bool NonlinearlyEliminateStates_default = false [static]

Definition at line 108 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string UseFiniteDifferencesForObjective_name = "Use Finite Differences For Objective" [static]

Definition at line 110 of file MoochoPack_MoochoThyraSolver.cpp.

const bool UseFiniteDifferencesForObjective_default = false [static]

Definition at line 111 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string ObjectiveFiniteDifferenceSettings_name = "Objective Finite Difference Settings" [static]

Definition at line 113 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string UseFiniteDifferencesForConstraints_name = "Use Finite Differences For Constraints" [static]

Definition at line 115 of file MoochoPack_MoochoThyraSolver.cpp.

const bool UseFiniteDifferencesForConstraints_default = false [static]

Definition at line 116 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string ConstraintsFiniteDifferenceSettings_name = "Constraints Finite Difference Settings" [static]

Definition at line 118 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string FwdNewtonTol_name = "Forward Newton Tolerance" [static]

Definition at line 120 of file MoochoPack_MoochoThyraSolver.cpp.

const double FwdNewtonTol_default = -1.0 [static]

Definition at line 121 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string FwdNewtonMaxIters_name = "Forward Newton Max Iters" [static]

Definition at line 123 of file MoochoPack_MoochoThyraSolver.cpp.

const int FwdNewtonMaxIters_default = 20 [static]

Definition at line 124 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string ForwardNewtonDampening_name = "Forward Newton Dampening" [static]

Definition at line 126 of file MoochoPack_MoochoThyraSolver.cpp.

const bool ForwardNewtonDampening_default = true [static]

Definition at line 127 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string FwdNewtonMaxLineSearchIters_name = "Forward Newton Max Line Search Iters" [static]

Definition at line 129 of file MoochoPack_MoochoThyraSolver.cpp.

const int FwdNewtonMaxLineSearchIters_default = 20 [static]

Definition at line 130 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string UseBuiltInInverseObjectiveFunction_name = "Use Built-in Inverse Objective Function" [static]

Definition at line 132 of file MoochoPack_MoochoThyraSolver.cpp.

const bool UseBuiltInInverseObjectiveFunction_default = false [static]

Definition at line 133 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string InverseObjectiveFunctionSettings_name = "Inverse Objective Function Settings" [static]

Definition at line 135 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string UseParameterLumping_name = "Use Parameter Lumping" [static]

Definition at line 137 of file MoochoPack_MoochoThyraSolver.cpp.

const bool UseParameterLumping_default = false [static]

Definition at line 138 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string LumpedParametersSettings_name = "Lumped Parameters Settings" [static]

Definition at line 140 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string OutputFileTag_name = "Output File Tag" [static]

Definition at line 142 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string OutputFileTag_default = "" [static]

Definition at line 143 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string ShowModelEvaluatorTrace_name = "Show Model Evaluator Trace" [static]

Definition at line 145 of file MoochoPack_MoochoThyraSolver.cpp.

const bool ShowModelEvaluatorTrace_default = "false" [static]

Definition at line 146 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string StateGuess_name = "State Guess" [static]

Definition at line 148 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string ParamGuess_name = "Parameter Guess" [static]

Definition at line 150 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string ParamLowerBounds_name = "Parameter Lower Bounds" [static]

Definition at line 152 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string ParamUpperBounds_name = "Parameter Upper Bounds" [static]

Definition at line 154 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string StateSoluFileBaseName_name = "State Solution File Base Name" [static]

Definition at line 156 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string StateSoluFileBaseName_default = "" [static]

Definition at line 157 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string ParamSoluFileBaseName_name = "Parameters Solution File Base Name" [static]

Definition at line 159 of file MoochoPack_MoochoThyraSolver.cpp.

const std::string ParamSoluFileBaseName_default = "" [static]

Definition at line 160 of file MoochoPack_MoochoThyraSolver.cpp.


Generated on Wed May 12 21:55:17 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7