Page 2 of 2 FirstFirst 1 2
Results 21 to 23 of 23

Thread: BG Maths Contest !     submit to reddit submit to twitter

  1. #21
    Ridill
    Join Date
    Oct 2005
    Posts
    10,210
    BG Level
    9
    FFXI Server
    Asura

    Gomory Cut
    Since when were demons mathematicians?

  2. #22
    Nidhogg
    Join Date
    Jul 2006
    Posts
    3,999
    BG Level
    7

    Quote Originally Posted by Bugpop View Post
    I had to modify the problem a bit to get integer results. I took it for granted that whole nails were desired.

    I can't see how 3 sizes had to have a minimum of 5 nails was a necessary constraint. At best it served as a hint for people using brute force methods. Are you covering linear programming in school?

    Code:
                                 MOR/LP
    
    Date: 10/19/09                                   Time: 21:52:57
                             C:\MOR\problem3
    
                            MODEL DESCRIPTION
          ****************************************************
    
    
    Max z = 400a+250b+200c+150d+100e+50f
    ST 100a+85b+70c+50d+25e+10f<=2000
    a+b+c+d+e+f>=15
    a+b+c+d+e+f<=30
    a<=10
    b<=10 
    c<=10
    d<=10
    e<=10
    f<=10
    integer(a,b,c,d,e,f)
    
          ****************************************************
    
    
    Gomory Cut - Mixed Integer Linear Programming
    
    
    
    
    
                                ^^^ Optimal Solution ^^^
    
    
    
    Integer solution has been obtained
    Z               =   7200.0000
    A               =     10.0000
    B               =      8.0000
    C               =      0.0000
    D               =      1.0000
    E               =     10.0000
    F               =      1.0000
     Slack1         =     10.0000
     Surpl2         =     15.0000
     Slack5         =      2.0000
     Slack6         =     10.0000
     Slack7         =      9.0000
     Slack9         =      9.0000
    
    
    Compile time:     0.00 (Secs.)
    Run time    :     0.00 (Secs.)
    No its for an administrative technology class gen ed bullshit and the teacher wanted us to trial and error the best one by luck lol

  3. #23
    Users Awaiting Email Confirmation
    Join Date
    Jul 2005
    Posts
    5,667
    BG Level
    8

    I got 500 but I'm pretty sure its a ponzi scheme

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. BG Math [Algebra sucks v2.0]
    By SDSD in forum General Discussion
    Replies: 7
    Last Post: 2010-02-04, 02:32
  2. BG MATH I need your help with Statistics.
    By Patb in forum General Discussion
    Replies: 1
    Last Post: 2010-01-26, 13:27
  3. BG Math [Algebra sucks :(]
    By SDSD in forum General Discussion
    Replies: 8
    Last Post: 2010-01-19, 07:18
  4. BG MATH [Real Analysis]
    By SDSD in forum General Discussion
    Replies: 10
    Last Post: 2009-12-05, 15:59
  5. BG Math Contest [Not Someone's Homework]
    By Mojo in forum General Discussion
    Replies: 14
    Last Post: 2009-10-23, 11:43
  6. BG Math/CS Students!
    By bori in forum General Discussion
    Replies: 1
    Last Post: 2009-09-25, 17:49