Variables | |
H | |
A = np.array([[2, 1]]) | |
b = np.array([-1]) | |
x = cs.SX.sym("x", 2) | |
f = cs.Function("f", [x], [0.5 * cs.dot(x, H @ x)]) | |
g = cs.Function("g", [x], [A @ x]) | |
problem = pa.generate_and_compile_casadi_problem(f, g, "example_name") | |
lowerbound | |
upperbound | |
almparam | |
panocparam | |
lbfgsparam | |
solver | |
y = np.array([1]) | |
x_sol | |
y_sol | |
stats | |
almparam |
panocparam |
lbfgsparam |
solver |