engforge.solver_utils
Functions
creates a constraint with bounded solver input from a constraint definition in dictionary with type and value. |
|
Creates an anonymous function with stored references to comp, Yref, weights, that returns a scipy optimize friendly function of (x, Xref, *a, **kw) x which corresponds to the order of Xref dicts, and the other inputs are up to application. |
|
converts a function f(comp,slv_info:dict) into a function that safely changes states to the desired values and then runs the function. |
|
takes a var reference and a value and returns a function that can be used as a constraint for min/max cases. |
|
minimize the difference between two dictionaries of refernces, x references are changed in place, y will be solved to zero, options ensue for cases where the solution is not ideal |
|
Classes
Initialize a filter. |