AGI STK Astrogator 11 Send comments on this topic.
IAgVAProfileDEOptimizer Interface
Windows






Windows & Linux

Description

This interface is deprecated. Engine support for the Design Explorer Optimizer profile has been removed.

Object Model





Public Properties

Public Property ControlParameters[Support Removed] The list of control parameters defined for the profile.
Public Property DetailLog[Support Removed] Detail Log.
Public Property EnableDisplayStatus[Support Removed] If true, a page will appear during the targeting run to report the status of the targeting effort.
Public Property EnforceDesignVariableBounds[Support Removed] Controls whether the optimizer can go outside the control bounds.
Public Property EngineLog[Support Removed] Engine Log.
Public Property GenerateResultsFile[Support Removed] Generate results file.
Public Property MaxEvaluations[Support Removed] The maximum number of evaluations of the target sequence allowed. Dimensionless.
Public Property MaxIterations[Support Removed] Use MaxEvaluations instead.
Public Property PerturbationSize[Support Removed] Perturbation size. Dimensionless.
Public Property ResetControlsBeforeRun[Support Removed] Reset controls before each run.
Public Property Results[Support Removed] The list of results defined for the profile.
Public Property ScriptingTool[Support Removed] Returns the Scripting tool for the sequence.
Public Property SummaryLog[Support Removed] Summary Log.
Public Property TargeterGraphs[Support Removed] Graphs
Public Property ToleranceOnConstraintFeasibility[Support Removed] Tolerance on constraint feasibility. Dimensionless.
Public Property ToleranceOnObjectiveFunction[Support Removed] Tolerance on objective function. Dimensionless.
Public Property ToleranceOnProjectedGradient[Support Removed] Tolerance on projected gradient. Dimensionless
Public Property UseAdvancedDefaults[Support Removed] Use defaults for advanced options.
Public Property UseDefaults[Support Removed] Use defaults for general options.
Public Property UseGlobalPerturbationSize[Support Removed] Use global perturbation size for calculating gradients.

Interfaces

Implemented Interface
IAgVAProfile

Example

Configure result from a maneuver segment with Design Explorer Optimizer
[C#]Copy Code
// Add a maneuver segment on the Target Sequence in order to provide access result 
IAgVAMCSManeuver maneuver = sequence.Segments.Insert(AgEVASegmentType.eVASegmentTypeManeuver, "MyManeuver""-"as IAgVAMCSManeuver; 
 
// Add results the Access result to the manuever 
((IAgVAMCSSegment)maneuver).Results.Add("Access/Access"); 
 
string deoStr = "Design Explorer Optimizer"
 
// Retrieve sequence profile 
if (Array.IndexOf(sequence.Profiles.AvailableProfiles, deoStr) != -1

    IAgVAProfileDEOptimizer deo = sequence.Profiles.Add(deoStr) as IAgVAProfileDEOptimizer; 
 
    // Retrieve result reference 
    IAgVADEResult altitudeResult = deo.Results.GetResultByPaths("MyManeuver""Access"); 
 
    // Configure VADEResult properties 
 
    altitudeResult.Enable = true
    altitudeResult.Goal = AgEVADEGoal.eVADEGoalMaximize; 
    altitudeResult.Weight = 2.00000
    altitudeResult.ScalingMethod = AgEVADEScalingMethod.eVADEScalingMethodInitialValue; 

 

Configure control from a propagate segment with Design Explorer Optimizer
[C#]Copy Code
string deoStr = "Design Explorer Optimizer"
 
// Retrieve sequence profile 
if (Array.IndexOf(sequence.Profiles.AvailableProfiles, deoStr) != -1

    // Add a propagate segment on the Target Sequence in order to provide a control 
    IAgVAMCSPropagate propagate = sequence.Segments.Insert(AgEVASegmentType.eVASegmentTypePropagate, "MyPropagate""-"as IAgVAMCSPropagate; 
 
    // Enable the propagate "StoppingConditions.Duration.TripValue" control 
    IAgVAStoppingConditionElement durationControl = propagate.StoppingConditions["Duration"]; 
    durationControl.EnableControlParameter(AgEVAControlStoppingCondition.eVAControlStoppingConditionTripValue); 
 
    IAgVAProfileDEOptimizer deo = sequence.Profiles.Add(deoStr) as IAgVAProfileDEOptimizer; 
 
    // Retrieve result reference 
    IAgVADEControlCollection controls = deo.ControlParameters; 
    IAgVADEControl prop1Duration = controls.GetControlByPaths("MyPropagate""StoppingConditions.Duration.TripValue"); 
 
    // Configure IAgVADEControl properties 
    prop1Duration.Enable = true
    prop1Duration.Perturbation = 0.01
    prop1Duration.LowerBound = 0
    prop1Duration.UpperBound = 43200
    prop1Duration.ScalingMethod = AgEVADEScalingMethod.eVADEScalingMethodCustom; 
    prop1Duration.ScalingValue = 0.000055

 

Configure result from a maneuver segment with Design Explorer Optimizer
[Visual Basic .NET]Copy Code
' Add a maneuver segment on the Target Sequence in order to provide access result
Dim maneuver As IAgVAMCSManeuver = TryCast(sequence.Segments.Insert(AgEVASegmentType.eVASegmentTypeManeuver, "MyManeuver", "-"), IAgVAMCSManeuver)

' Add results the Access result to the manuever
DirectCast(maneuver, IAgVAMCSSegment).Results.Add("Access/Access")

Dim deoStr As String = "Design Explorer Optimizer"

' Retrieve sequence profile
If Array.IndexOf(sequence.Profiles.AvailableProfiles, deoStr) <> -1 Then
    Dim deo As IAgVAProfileDEOptimizer = TryCast(sequence.Profiles.Add(deoStr), IAgVAProfileDEOptimizer)

    ' Retrieve result reference
    Dim altitudeResult As IAgVADEResult = deo.Results.GetResultByPaths("MyManeuver", "Access")

    ' Configure VADEResult properties

    altitudeResult.Enable = True
    altitudeResult.Goal = AgEVADEGoal.eVADEGoalMaximize
    altitudeResult.Weight = 2
    altitudeResult.ScalingMethod = AgEVADEScalingMethod.eVADEScalingMethodInitialValue
End If

Configure control from a propagate segment with Design Explorer Optimizer
[Visual Basic .NET]Copy Code
Dim deoStr As String = "Design Explorer Optimizer"

' Retrieve sequence profile
If Array.IndexOf(sequence.Profiles.AvailableProfiles, deoStr) <> -1 Then
    ' Add a propagate segment on the Target Sequence in order to provide a control
    Dim propagate As IAgVAMCSPropagate = TryCast(sequence.Segments.Insert(AgEVASegmentType.eVASegmentTypePropagate, "MyPropagate", "-"), IAgVAMCSPropagate)

    ' Enable the propagate "StoppingConditions.Duration.TripValue" control
    Dim durationControl As IAgVAStoppingConditionElement = propagate.StoppingConditions("Duration")
    durationControl.EnableControlParameter(AgEVAControlStoppingCondition.eVAControlStoppingConditionTripValue)

    Dim deo As IAgVAProfileDEOptimizer = TryCast(sequence.Profiles.Add(deoStr), IAgVAProfileDEOptimizer)

    ' Retrieve result reference
    Dim controls As IAgVADEControlCollection = deo.ControlParameters
    Dim prop1Duration As IAgVADEControl = controls.GetControlByPaths("MyPropagate", "StoppingConditions.Duration.TripValue")

    ' Configure IAgVADEControl properties
    prop1Duration.Enable = True
    prop1Duration.Perturbation = 0.01
    prop1Duration.LowerBound = 0
    prop1Duration.UpperBound = 43200
    prop1Duration.ScalingMethod = AgEVADEScalingMethod.eVADEScalingMethodCustom
    prop1Duration.ScalingValue = 5.5E-05
End If

CoClasses that Implement IAgVAProfileDEOptimizer

© 2018 Analytical Graphics, Inc. All Rights Reserved.