Solution¶
-
class
pyoptsparse.pyOpt_solution.
Solution
(optProb, optTime, optInform)[source]¶ This class is used to describe the solution of an optimization problem. This class inherits from Optimization which enables a solution to be used as an input to a subsequent optimization problem.
- Parameters
- optProbOptimization problem class
Optimization problem used to create solution
- optTimefloat
Time required for the optimization
- optInformint
The inform code from the optimization.