Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-2348

Vary Command Initial Guess Error in For Loop when Using Optimizer

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Vary Command (FRC-2)
    • Labels:
      None
    • Environment:

      Operating System: Other
      Platform: PC

      Description

      Created an attachment (id=1394)
      Vary_optimizer_VF13ad_InitialGuess_ForLoopVariable.script

      12 Jul 2011 build.

      The vary command does not update the initial guess when the initial guess is set using a variable and the optimizer is inside a for loop that changes the guess each for loop pass. This issue does NOT occur with the differential corrector and is a bug related to the Vary command and optimizer interaction.

      In the attached scripts, the initial guess should change each pass through the loop. If you look at the reports, the guess is correct for the DC version but not for the VF13ad version. I wrote an fmincon version but can't run because of a MATLAB issue.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            shughes Steven Hughes added a comment -

            Attachment Vary_optimizer_VF13ad_InitialGuess_ForLoopVariable.script has been added with description: Vary_optimizer_VF13ad_InitialGuess_ForLoopVariable.script

            Show
            shughes Steven Hughes added a comment - Attachment Vary_optimizer_VF13ad_InitialGuess_ForLoopVariable.script has been added with description: Vary_optimizer_VF13ad_InitialGuess_ForLoopVariable.script
            Hide
            shughes Steven Hughes added a comment -

            Created an attachment (id=1395)
            Vary_DC_InitialGuess_ForLoopVariable.script

            Show
            shughes Steven Hughes added a comment - Created an attachment (id=1395) Vary_DC_InitialGuess_ForLoopVariable.script
            Hide
            shughes Steven Hughes added a comment -

            Attachment Vary_DC_InitialGuess_ForLoopVariable.script has been added with description: Vary_DC_InitialGuess_ForLoopVariable.script

            Show
            shughes Steven Hughes added a comment - Attachment Vary_DC_InitialGuess_ForLoopVariable.script has been added with description: Vary_DC_InitialGuess_ForLoopVariable.script
            Hide
            shughes Steven Hughes added a comment -

            Created an attachment (id=1396)
            Vary_optimizer_fmincon_InitialGuess_ForLoopVariable.script

            Show
            shughes Steven Hughes added a comment - Created an attachment (id=1396) Vary_optimizer_fmincon_InitialGuess_ForLoopVariable.script
            Hide
            shughes Steven Hughes added a comment -

            Attachment Vary_optimizer_fmincon_InitialGuess_ForLoopVariable.script has been added with description: Vary_optimizer_fmincon_InitialGuess_ForLoopVariable.script

            Show
            shughes Steven Hughes added a comment - Attachment Vary_optimizer_fmincon_InitialGuess_ForLoopVariable.script has been added with description: Vary_optimizer_fmincon_InitialGuess_ForLoopVariable.script
            Hide
            jjkparker Joel Parker added a comment -

            Closing all issues with "Resolved" status in Bugzilla

            Show
            jjkparker Joel Parker added a comment - Closing all issues with "Resolved" status in Bugzilla

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: