Solution

class pyoptsparse.pyOpt_solution.Solution(optProb, xStar, fStar, lambdaStar, optInform, info)[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

xStardict

The final design variables

fStardict

The final objective(s)

lambdaStardict

The final Lagrange multipliers

optInformint

The inform code returned by the optimizer

infodict

A dictionary containing timing and call counter info to be stored in the Solution object.