Variables | |
| float | A1 = np.random.rand(n, n) + 0.001 * np.eye(n) |
| A_eq = np.random.rand(neq, n) | |
| A_in = np.random.rand(nin, n) | |
| float | A_lb = np.random.rand(nin) * NORMAL_DISTR_VAR |
| float | A_ub = np.random.rand(nin) * NORMAL_DISTR_VAR |
| b1 = np.random.rand(n) | |
| b_eq = A_eq.dot(x) | |
| const1 = tsid.ConstraintLevel() | |
| const2 = tsid.ConstraintLevel() | |
| constrVal = A_in.dot(x) | |
| cost = tsid.ConstraintEquality("c1", A1, b1) | |
| int | damping = 1e-10 |
| int | EPS = 1e-3 |
| eq_const = tsid.ConstraintEquality("eq1", A_eq, b_eq) | |
| int | GRADIENT_PERTURBATION_VARIANCE = 1e-2 |
| list | gradientPerturbations = [] |
| int | HESSIAN_PERTURBATION_VARIANCE = 1e-1 |
| list | hessianPerturbations = [] |
| HQPData = tsid.HQPData() | |
| HQPoutput = solver.solve(HQPData) | |
| in_const = tsid.ConstraintInequality("ini1", A_in, A_lb, A_ub) | |
| int | MARGIN_PERC = 1e-3 |
| int | n = 60 |
| int | neq = 36 |
| int | nin = 40 |
| float | NORMAL_DISTR_VAR = 10.0 |
| int | nTest = 100 |
| solver_eiquadprog = tsid.SolverHQuadProg("eiquadprog solver") | |
| list | solver_list = [] |
| solver_osqp = tsid.SolverOSQP("osqp solver") | |
| solver_proxqp = tsid.SolverProxQP("proxqp solver") | |
| x = np.linalg.inv(A1).dot(b1) | |
| float test_Solvers.A1 = np.random.rand(n, n) + 0.001 * np.eye(n) |
Definition at line 58 of file test_Solvers.py.
| test_Solvers.A_eq = np.random.rand(neq, n) |
Definition at line 79 of file test_Solvers.py.
| test_Solvers.A_in = np.random.rand(nin, n) |
Definition at line 63 of file test_Solvers.py.
| float test_Solvers.A_lb = np.random.rand(nin) * NORMAL_DISTR_VAR |
Definition at line 64 of file test_Solvers.py.
| float test_Solvers.A_ub = np.random.rand(nin) * NORMAL_DISTR_VAR |
Definition at line 65 of file test_Solvers.py.
| test_Solvers.b1 = np.random.rand(n) |
Definition at line 59 of file test_Solvers.py.
| test_Solvers.b_eq = A_eq.dot(x) |
Definition at line 80 of file test_Solvers.py.
| test_Solvers.const1 = tsid.ConstraintLevel() |
Definition at line 83 of file test_Solvers.py.
| test_Solvers.const2 = tsid.ConstraintLevel() |
Definition at line 89 of file test_Solvers.py.
| test_Solvers.constrVal = A_in.dot(x) |
Definition at line 66 of file test_Solvers.py.
| test_Solvers.cost = tsid.ConstraintEquality("c1", A1, b1) |
Definition at line 60 of file test_Solvers.py.
| int test_Solvers.damping = 1e-10 |
Definition at line 13 of file test_Solvers.py.
| int test_Solvers.EPS = 1e-3 |
Definition at line 8 of file test_Solvers.py.
| test_Solvers.eq_const = tsid.ConstraintEquality("eq1", A_eq, b_eq) |
Definition at line 81 of file test_Solvers.py.
| int test_Solvers.GRADIENT_PERTURBATION_VARIANCE = 1e-2 |
Definition at line 16 of file test_Solvers.py.
| list test_Solvers.gradientPerturbations = [] |
Definition at line 99 of file test_Solvers.py.
| int test_Solvers.HESSIAN_PERTURBATION_VARIANCE = 1e-1 |
Definition at line 17 of file test_Solvers.py.
| list test_Solvers.hessianPerturbations = [] |
Definition at line 100 of file test_Solvers.py.
| test_Solvers.HQPData = tsid.HQPData() |
Definition at line 57 of file test_Solvers.py.
| test_Solvers.HQPoutput = solver.solve(HQPData) |
Definition at line 111 of file test_Solvers.py.
Definition at line 78 of file test_Solvers.py.
| int test_Solvers.MARGIN_PERC = 1e-3 |
Definition at line 18 of file test_Solvers.py.
| int test_Solvers.n = 60 |
Definition at line 10 of file test_Solvers.py.
| int test_Solvers.neq = 36 |
Definition at line 11 of file test_Solvers.py.
| int test_Solvers.nin = 40 |
Definition at line 12 of file test_Solvers.py.
| float test_Solvers.NORMAL_DISTR_VAR = 10.0 |
Definition at line 15 of file test_Solvers.py.
| int test_Solvers.nTest = 100 |
Definition at line 9 of file test_Solvers.py.
| test_Solvers.solver_eiquadprog = tsid.SolverHQuadProg("eiquadprog solver") |
Definition at line 34 of file test_Solvers.py.
| list test_Solvers.solver_list = [] |
Definition at line 32 of file test_Solvers.py.
| test_Solvers.solver_osqp = tsid.SolverOSQP("osqp solver") |
Definition at line 49 of file test_Solvers.py.
| test_Solvers.solver_proxqp = tsid.SolverProxQP("proxqp solver") |
Definition at line 40 of file test_Solvers.py.
Definition at line 62 of file test_Solvers.py.