Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_SPaircraft_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20210802120315)

Failing for the past 1 build (Since Failed #258 )
Took 1.9 sec.

Error Message

'NoneType' object has no attribute 'debug'

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/helpers.py", line 55, in test
    testfn(name, import_dict, path)(self)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 48, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 34, in test_fn
    mod = __import__(os.path.basename(path)[:-3])
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/SPaircraft/SPaircraft.py", line 89, in <module>
    sol = test()
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/SPaircraft/SPaircraft.py", line 82, in test
    sol = optimize_aircraft(m, substitutions, fixedBPR, pRatOpt)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/SPaircraft/SPaircraft.py", line 60, in optimize_aircraft
    sol = m.localsolve(verbosity=2, iteration_limit=200, reltol=0.01)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/prog_factories.py", line 133, in solvefn
    result = progsolve(solver, verbosity=verbosity, **kwargs)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/sgp.py", line 159, in localsolve
    solver_out = gp.solve(solver, verbosity=verbosity-1,
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/gp.py", line 246, in solve
    return self.model.debug(solver=solver)
AttributeError: 'NoneType' object has no attribute 'debug'

Standard Output

Starting a sequence of GP solves
 for 317 free variables
  in 136 locally-GP constraints
  and for 1198 free variables
       in 4596 posynomial inequalities.

GP Solve 1
Using solver 'mosek_cli'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.455 seconds.
Solved cost was 3.965e+40.

GP Solve 2
Using solver 'mosek_cli'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.106 seconds.
Solver failed for an unknown reason. Relaxing constraints/constants, bounding variables, or using a different solver might fix it.
Since the model solved in less than a second, let's run `.debug()` to analyze what happened.
`
Starting a sequence of GP solves
 for 317 free variables
  in 136 locally-GP constraints
  and for 1198 free variables
       in 4596 posynomial inequalities.

GP Solve 1
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.27 seconds.
Solved cost was 3.965e+40.

GP Solve 2
Using solver 'mosek_conif'
 for 1198 free variables
  in 4596 posynomial inequalities.
Solving took 0.182 seconds.
The model had no feasible points; relaxing some constraints or constants will probably fix this.
Since the model solved in less than a second, let's run `.debug()` to analyze what happened.
`