run#

Transport.run(solver=None, x0=None, verbose=True)[source]#

Builds the A and b matrices, and calls the solver specified in the settings attribute.

This method stores the solution in the algorithm’s soln attribute as a SolutionContainer object. The solution itself is stored in the x attribute of the algorithm as a NumPy array.

Parameters:

x0 (ndarray) – Initial guess of unknown variable

Return type:

None