Page 1
Page 1
Started By
Message

How to setup a linear programming word problem constraint

Posted on 12/3/14 at 5:02 pm
Posted by TigerDik86
Baton Rouge
Member since Oct 2011
2982 posts
Posted on 12/3/14 at 5:02 pm
I've been researching for 2 days. I've googled and read text book. I've set up the rest of the problem but am still getting stumped on this one part..

" No characters on map / in game = base of 121 FPS

To keep the app running above 30fps, that means there are only 91 fps that we can drop (121fps - 30fps = 91fps)

Adding only female characters causes a drop in 5 frames per second for every 10 characters added to the map

Adding only male characters causes a drop in 10 frames per second for each 10 characters added.


How would I set this up as an equation?
male = x female = y

I would hump a goat to find out this minute part of the whole word problem.

There is no answer as I have the rest of the variables. How would I set up this constraint?

:bow: :bow: :bow: :bow: :bow: :bow:
Posted by KosmoCramer
Member since Dec 2007
76504 posts
Posted on 12/3/14 at 5:06 pm to
y = -5 when x + y = 10z, where x = 0

x = -10 when x + y = 10z, where y = 0
This post was edited on 12/3/14 at 5:10 pm
Posted by jrodLSUke
Premium
Member since Jan 2011
22072 posts
Posted on 12/3/14 at 5:07 pm to
Constant-time technology and access points have garnered great interest from both futurists and physicists in the last several years. After years of extensive research into superpages, we confirm the appropriate unification of 128-bit architectures and checksums.
Posted by TigerDik86
Baton Rouge
Member since Oct 2011
2982 posts
Posted on 12/3/14 at 5:09 pm to
x>= 0
y>=0
Posted by TigerDik86
Baton Rouge
Member since Oct 2011
2982 posts
Posted on 12/3/14 at 5:11 pm to
could it be -10x + -5y <= 91
Posted by ChEgrad
Member since Nov 2012
3259 posts
Posted on 12/3/14 at 5:22 pm to
If you drop 5 frames for 10 females, the total frames dropped for females is 5y/10.

For males it is 10x/10.

So,

5y/10 + 10x/10 <= 91, or

y/2 + x <= 91

Posted by gizmoflak
Member since May 2007
11659 posts
Posted on 12/3/14 at 5:28 pm to
holy Algebra 101, batman
Posted by TigerDik86
Baton Rouge
Member since Oct 2011
2982 posts
Posted on 12/3/14 at 6:34 pm to
quote:

ChEgrad


I would make love to your bum
Posted by TigerDik86
Baton Rouge
Member since Oct 2011
2982 posts
Posted on 12/3/14 at 6:35 pm to
actually, this is a single step in a larger equation.

Imagine if calculus was a whore and physics was a drifter. linear programming is their bastard child.
Posted by Upperdecker
St. George, LA
Member since Nov 2014
30544 posts
Posted on 12/3/14 at 6:43 pm to
I would do it like this:
-5ps/10y = -0.5fps/y, so each woman reduces fps by 0.5. apply same concept to men --> reduce 1 fps per man
subtract both values from the starting level of 121
Must have equation = 30
121 - (0.5y) - (x) (> or =) 30

Simplify by subtracting 121 from both sides
- (0.5y) - (x) (> or =) 30 - 121
-0.5y - x (> or =) - 91
or 0.5y + x (< or =) 91

EDIT: reading skills, changed my equations appropriately
This post was edited on 12/3/14 at 6:50 pm
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram