RCAIDE.Framework.Optimization.Packages.pyopt.pyopt_setup
pyopt_setup#
Functions
|
This wrapper runs the RCAIDE problem and is called by the PyOpt solver. |
|
This converts your RCAIDE Nexus problem into a PyOpt optimization problem and solves it PyOpt has many algorithms, they can be switched out by using the solver input. |
- Pyopt_Solve(problem, solver='SNOPT', FD='single', sense_step=1e-06, nonderivative_line_search=False)[source]#
This converts your RCAIDE Nexus problem into a PyOpt optimization problem and solves it PyOpt has many algorithms, they can be switched out by using the solver input.
Assumptions: None
Source: N/A
Inputs: problem [nexus()] solver [str] FD (parallel or single) [str] sense_step [float] nonderivative_line_search [bool]
Outputs: outputs [list]
Properties Used: None
- PyOpt_Problem(problem, x)[source]#
This wrapper runs the RCAIDE problem and is called by the PyOpt solver. Prints the inputs (x) as well as the objective values and constraints. If any values produce NaN then a fail flag is thrown.
Assumptions: None
Source: N/A
Inputs: problem [nexus()] x [array]
Outputs: obj [float] cons [array] fail [bool]
Properties Used: None