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

SolverStatus is not working for fmincon

    Details

      Description

      Joel noted that SolverStatus was only partly working for VF13ad, and not working for fmincon. VF13ad has a fix now. fmincon still needs to be fixed, and test scripts need to be written that check functionality for this parameter.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              dcooley Steve Cooley added a comment - - edited

              Question: (3/4/14 build, running script Vf13Status_VFFailure.script). Output of report 'status' below:

              vf.SolverStatus           vf.SolverState            
              Initialized               0                         
              vf.SolverStatus           vf.SolverState            
              Initialized               0                         
              Running                   0                         
              Running                   0                         
              Running                   0                         
              Running                   0                         
              Running                   0                         
              Running                   0                         
              Running                   0                         
              ExceededIterations        -1                        
              vf.SolverStatus           vf.SolverState            
              ExceededIterations        -1                        
              

              SolverStatus of 'Running' and "Initialized" have the same numeric value for "SolverState." Is this desired behaviour?

              Show
              dcooley Steve Cooley added a comment - - edited Question: (3/4/14 build, running script Vf13Status_VFFailure.script). Output of report 'status' below: vf.SolverStatus vf.SolverState Initialized 0 vf.SolverStatus vf.SolverState Initialized 0 Running 0 Running 0 Running 0 Running 0 Running 0 Running 0 Running 0 ExceededIterations -1 vf.SolverStatus vf.SolverState ExceededIterations -1 SolverStatus of 'Running' and "Initialized" have the same numeric value for "SolverState." Is this desired behaviour?
              Hide
              djcinsb Darrel Conway added a comment -

              The "Clone name is...", etc, text just looks like inadvertent committed debug. I'm looking for it now.

              Show
              djcinsb Darrel Conway added a comment - The "Clone name is...", etc, text just looks like inadvertent committed debug. I'm looking for it now.
              Hide
              djcinsb Darrel Conway added a comment -

              The expected behaviour is that the SolverState is 0 until the solver has run to completion. Upon completion, the state is 1 if the Solver succeeded in its task, and a negative number if it failed.

              I cannot speak to the desired behaviour, since at the time of the feature coding, there were no requirements for the feature.

              The debug has been removed, and will be committed for the 3/5 build.

              Show
              djcinsb Darrel Conway added a comment - The expected behaviour is that the SolverState is 0 until the solver has run to completion. Upon completion, the state is 1 if the Solver succeeded in its task, and a negative number if it failed. I cannot speak to the desired behaviour, since at the time of the feature coding, there were no requirements for the feature. The debug has been removed, and will be committed for the 3/5 build.
              Hide
              dcooley Steve Cooley added a comment - - edited

              Ran script with 3/12/14 build. No reference to "clone" in the output.
              Developed regression test, Optimize_fmincon_cvg_status, to test output fields, SolverStatus and SolverState.

              Developed analogous test for the Target command, Target_DC_cvg_status.

              Show
              dcooley Steve Cooley added a comment - - edited Ran script with 3/12/14 build. No reference to "clone" in the output. Developed regression test, Optimize_fmincon_cvg_status, to test output fields, SolverStatus and SolverState. Developed analogous test for the Target command, Target_DC_cvg_status.
              Hide
              dcooley Steve Cooley added a comment -

              Updated Target and Optimize command engineering spec and XML on 4/8/14.

              Show
              dcooley Steve Cooley added a comment - Updated Target and Optimize command engineering spec and XML on 4/8/14.

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Time Spent - 2 hours, 30 minutes Remaining Estimate - 2 days, 6 hours, 30 minutes
                    2d 6h 30m
                    Logged:
                    Time Spent - 2 hours, 30 minutes Remaining Estimate - 2 days, 6 hours, 30 minutes
                    2h 30m