RCAIDE.Framework.Optimization.Packages.scipy.scipy_setup

scipy_setup#

Functions

SciPy_Problem(problem, x)

This wrapper runs the RCAIDE problem and is called by the Scipy solver.

SciPy_Solve(problem[, solver, sense_step, ...])

This converts your RCAIDE Nexus problem into a SciPy optimization problem and solves it SciPy has many algorithms, they can be switched out by using the solver input.

SciPy_Solve(problem, solver='SLSQP', sense_step=1.4901161193847656e-08, iter=200, tolerance=1e-06, pop_size=10, prob_seed=None)[source]#

This converts your RCAIDE Nexus problem into a SciPy optimization problem and solves it SciPy has many algorithms, they can be switched out by using the solver input.

Assumptions: 1.4901161193847656e-08 is SLSQP default FD step in scipy

Source: N/A

Inputs: problem [nexus()] solver [str] sense_step [float]

Outputs: outputs [list]

Properties Used: None

SciPy_Problem(problem, x)[source]#

This wrapper runs the RCAIDE problem and is called by the Scipy solver. Prints the inputs (x) as well as the objective value

Assumptions: None

Source: N/A

Inputs: problem [nexus()] x [array]

Outputs: obj [float]

Properties Used: None