Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_solar_npod_trade_py_mosek (from gpkit.tests.from_paths.TestFiles-20180501110316)

Failing for the past 1 build (Since Failed #124 )
Took 21 sec.

Error Message

The constraint rho_FoamHD/Relax >= 1 is infeasible by 2677.777778%

Stacktrace

Traceback (most recent call last):
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\tests\helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\tests\from_paths.py", line 50, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\tests\from_paths.py", line 39, in test_fn
    mod.test()
  File "npod_trade.py", line 81, in test
  File "npod_trade.py", line 26, in pods
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\prog_factories.py", line 122, in solvefn
    self.program, progsolve = genfunction(self)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\prog_factories.py", line 79, in programify
    prog = program(self.cost, self, constants, **kwargs)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\sgp.py", line 64, in __init__
    self._gp = self.init_gp(self.substitutions)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\sgp.py", line 186, in init_gp
    gp = GeometricProgram(self.cost, [gpconstrs, spapproxs], substitutions)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\gp.py", line 72, in __init__
    self.posynomials.extend(self.as_posyslt1(self.substitutions))
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\set.py", line 264, in as_posyslt1
    posys = constraint.as_posyslt1(substitutions)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\set.py", line 264, in as_posyslt1
    posys = constraint.as_posyslt1(substitutions)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\nomials\math.py", line 498, in as_posyslt1
    hmap = self._simplify_posy_ineq(hmap, self.pmap)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\nomials\math.py", line 442, in _simplify_posy_ineq
    " %f%%" % (self, -coeff*100))
ValueError: The constraint rho_FoamHD/Relax >= 1 is infeasible by 2677.777778%
		

Standard Output

Beginning signomial solve.
Solving took 9 GP solves and 5.88 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 0.9740 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1359978.9594 but bound is 600000.0000
Warning: Variable [Re_Mission/Climb/AircraftDrag/TailAero.1_(0,), Re_Mission/Climb/AircraftDrag/TailAero.1_(1,), Re_Mi could cause inaccurate result because it is above upper bound. Solution is 1118578.9926 but bound is 1000000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 89126.6216 but bound is 50000.0000
Beginning signomial solve.
Beginning signomial solve.
Solving took 9 GP solves and 5.23 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 0.9740 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1359978.9597 but bound is 600000.0000
Warning: Variable [Re_Mission/Climb/AircraftDrag/TailAero.1_(0,), Re_Mission/Climb/AircraftDrag/TailAero.1_(1,), Re_Mi could cause inaccurate result because it is above upper bound. Solution is 1118578.9928 but bound is 1000000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 89126.6215 but bound is 50000.0000
Beginning signomial solve.
Using solver 'mosek'
Solving for 14852 variables.
Solving took 6.18 seconds.
Allowing negative dual variable(s) as small as -1.712201335497793e-10.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.3227 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 671709.7391 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 4.96 seconds.
Allowing negative dual variable(s) as small as -5.6892571291189445e-11.
Warning: Variable [CL_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), CL_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2812 but bound is 0.9465
Warning: Variable [Re_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), Re_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is above upper bound. Solution is 729183.6284 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 5.43 seconds.
Allowing negative dual variable(s) as small as -1.7530246701385094e-08.
Warning: Variable [CL_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), CL_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2258 but bound is 0.9465
Warning: Variable [Re_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), Re_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is above upper bound. Solution is 802959.6017 but bound is 600000.0000
Using solver 'mosek'
Solving for 7672 variables.
Solving took 2.72 seconds.
Allowing negative dual variable(s) as small as -1.3236170665505128e-11.
Warning: Variable [CL_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), CL_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is below lower bound. Solution is 1.2008 but bound is 0.9465
Warning: Variable [Re_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), Re_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is above upper bound. Solution is 839122.5082 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 6.09 seconds.
Allowing negative dual variable(s) as small as -3.437492683129304e-11.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.3227 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 671709.7481 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 5.29 seconds.
Allowing negative dual variable(s) as small as -6.539452691445683e-11.
Warning: Variable [CL_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), CL_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2812 but bound is 0.9465
Warning: Variable [Re_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), Re_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is above upper bound. Solution is 729183.6316 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 4.95 seconds.
Allowing negative dual variable(s) as small as -6.7591479808940266e-12.
Warning: Variable [CL_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), CL_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2258 but bound is 0.9465
Warning: Variable [Re_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), Re_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is above upper bound. Solution is 802959.5991 but bound is 600000.0000
Using solver 'mosek'
Solving for 7672 variables.
Solving took 2.74 seconds.
Allowing negative dual variable(s) as small as -4.504094812044392e-12.
Warning: Variable [CL_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), CL_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is below lower bound. Solution is 1.2008 but bound is 0.9465
Warning: Variable [Re_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), Re_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is above upper bound. Solution is 839122.5021 but bound is 600000.0000
Beginning signomial solve.
Solving took 9 GP solves and 6.63 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.0930 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1365007.7919 but bound is 600000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 80513.9535 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**...] is not tight because the left hand side evaluated to 3.11544259372 meter ** 2 / second ** 2 but the right hand side evaluated to 3.11543932176 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00011%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**...] is not tight because the left hand side evaluated to 2.27606821455 meter ** 2 / second ** 2 but the right hand side evaluated to 2.27606473858 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00015%)

Beginning signomial solve.
Solving took 9 GP solves and 5.87 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.0930 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1365007.9928 but bound is 600000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 80513.9535 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**...] is not tight because the left hand side evaluated to 3.11544260024 meter ** 2 / second ** 2 but the right hand side evaluated to 3.11543932828 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00011%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**...] is not tight because the left hand side evaluated to 2.27606821577 meter ** 2 / second ** 2 but the right hand side evaluated to 2.2760647398 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00015%)

	

Standard Error

C:\Users\jenkins\workspace\gpkit_ResearchModel_solar_PR\mosek\venv2_gpkit\lib\site-packages\gassolar\environment\solar_irradiance.py:40: RuntimeWarning: overflow encountered in exp
  tau = np.exp(-0.175/costhsun)
C:\Users\jenkins\workspace\gpkit_ResearchModel_solar_PR\mosek\venv2_gpkit\lib\site-packages\gassolar\environment\solar_irradiance.py:40: RuntimeWarning: divide by zero encountered in divide
  tau = np.exp(-0.175/costhsun)