Results 1 to 9 of 9

Thread: Help with constraints. Reward.

  1. #1
    Join Date
    Mar 2009
    Location
    North
    Posts
    513
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with constraints. Reward.

    Can somebody help me out with constraints? i have no idea how to do them and i have a word problem on them due tommorow. Willing to give a 3m rsgp reward to the first person to solve this if solved tonight before 11 PM EST, i need this ASAP.

    A gold processor has two sources of gold ore, source A and source B. In order to keep his plant running, at least three tons of ore must be processed each day. Ore from source A costs $20 per ton to process, and ore from source B costs $10 per ton to process. Costs must be kep to less than $80 per day. Moreover, Federal Regulations require that the amount of ore from source B cannot exceed twice the amount of ore from source A. If ore from source A yields 2 oz. of gold per ton, and ore from source B yields 3 oz. of gold per ton, how many tons of ore from both sources must be processed each day to maximize the amount of gold extracted?

    This is what i have so far, i am not sure if its right. I have to graph this and i am not quite sure what to do after this step even if i did get this right (which i probably didint)

    A+B>3
    20A+10B<80
    A>2B

    It always confuses me why people go into wars about how we got here, and where we go when we die.

  2. #2
    Join Date
    Jul 2010
    Posts
    1,115
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    i believe 3a 1b

    E:nvm i just solved it
    Last edited by bolshak25; 09-18-2011 at 11:49 PM.

  3. #3
    Join Date
    Mar 2009
    Location
    North
    Posts
    513
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bolshak25 View Post
    i believe 3a 1b
    for what? i have to write 3 constraints, and an objective function.

    It always confuses me why people go into wars about how we got here, and where we go when we die.

  4. #4
    Join Date
    Jul 2010
    Posts
    1,115
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    your first and third constraint should also have equal to.

    and the equation

    max f(x)=2a+3b

    unless you need that in a different format?

  5. #5
    Join Date
    Mar 2009
    Location
    North
    Posts
    513
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bolshak25 View Post
    your first and third constraint should also have equal to.

    and the equation

    max f(x)=2a+3b

    unless you need that in a different format?
    can you pm me your msn or something?

    It always confuses me why people go into wars about how we got here, and where we go when we die.

  6. #6
    Join Date
    Jul 2010
    Posts
    1,115
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    sent

  7. #7
    Join Date
    Mar 2009
    Location
    North
    Posts
    513
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    bolshak help me figure this out and solve it! thanks. will be paying him. somebody please close this.
    Last edited by Failpailirl; 09-19-2011 at 12:13 AM.

    It always confuses me why people go into wars about how we got here, and where we go when we die.

  8. #8
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Perhaps it would be nice if we would all see how it was solved?



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  9. #9
    Join Date
    Jul 2010
    Posts
    1,115
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    yes of course!
    his constriants are right.
    A+B>=3
    20A+10B<80
    A>=2B

    as for finding the objective function, the part about how much ore is extracted gives that.

    max 2a+3b

    for graphing, you have to take the equations and make it so a is alone on one side.
    a>=-b+3
    a<-.5b+4
    a>=2b
    a is y b is x
    when you graph that, there is a shaded region. those are all the possible solutions.
    then you just find the best solution which is
    3 of a and 1 of b which is 9 oz of gold at a cost of $70

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •