Skip to content

Passed

gpkit.tests.from_paths.TestFiles.test_run_tests_py_mosek_conif (from gpkit.tests.from_paths.TestFiles-20220108184819)

Took 32 sec.

Standard Output

Final PCCP solution let non-GP constraints slacken by 1.2%. Calling .localsolve(pccp_penalty=...) with a higher `pccp_penalty` (it was 200 this time) will reduce slack if the model is solvable with less. To verify that the slack is needed, generate an SGP with `use_pccp=False` and start it from this model's  solution: e.g. `m.localsolve(use_pccp=False, x0=m.solution["variables"])`.

Standard Error

Running tests...
----------------------------------------------------------------------
.F...F................FF..FF....F..F......
======================================================================
FAIL [0.032s]: test_correlated_monomials (run_tests.TestEquivalentPosynomials_mosek_cli)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/robust
...[truncated 12874 chars]...
term_approximation.py", line 202, in test_bad_relations
    self.assertEqual(actual_relations_mons, relations_mons)
AssertionError: {gpkit.Monomial(3.42·u_41^0.1·u_115^0.12·u_26^0.19·u_21^0[96385 chars] 12}} != {gpkit.Monomial(1.4·x_0^1.1989751854533992·x_1^3.69654700[282162 chars]: 3}}
Diff is 692558 characters long. Set self.maxDiff to None to see it.

----------------------------------------------------------------------
Ran 42 tests in 32.550s

FAILED (failures=8)

Generating XML reports...