Skip to content

Commit

Permalink
Relaxing two potentially problematic constraints.
Browse files Browse the repository at this point in the history
  • Loading branch information
1ozturkbe committed Sep 13, 2017
1 parent 1f1767d commit c114c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fuselage.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def setup(self, Nmissions, **kwargs):

# Passenger constraints
Wlugg >= flugg2 * npass * 2 * Wchecked + flugg1 * npass * Wchecked + Wcarryon,
Wpass == npass * Wavgpass,
Wpass >= npass * Wavgpass,
Wpay >= Wpass + Wlugg + Wcargo,
Wpay >= npass * Wavgpasstot,
nseat >= npass,
Expand Down Expand Up @@ -367,7 +367,7 @@ def setup(self, Nmissions, **kwargs):
Vcabin >= Afuse * (lshell + 0.67 * lnose + 0.67 * Rfuse),

# Weight relations
Wapu == Wpay * fapu,
Wapu >= Wpay * fapu,
Wdb == rhoskin * g * Vdb,
Winsul >= Wppinsul * ((1.1 * pi + 2 * thetadb) * Rfuse * lshell + 0.55 * (Snose + Sbulk)),
Wwindow >= Wpwindow * lshell,
Expand Down

3 comments on commit c114c12

@1ozturkbe
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mayork I think I figured out the problem. It is likely something to do with Wpadd, because when I try to relax its monomial equality it returns unknown. Digging into it.

@mayork
Copy link
Contributor

@mayork mayork commented on c114c12 Sep 13, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@1ozturkbe
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am going to check this out later. Really want to resolve this problem.

Please sign in to comment.