Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. require_relative('simplex.rb')
  2.  
  3. # print "Введіть кількість змінних: "
  4. # count_of_x = gets
  5.  
  6. # print "Введіть кількість обмежень: "
  7. # count_of_rows = gets
  8.  
  9. # count_of_x = Integer(count_of_x)
  10. # count_of_rows = Integer(count_of_rows)
  11.  
  12.  
  13. # sim = Simplex.new({row: count_of_rows,col: count_of_x})
  14.  
  15. # sim = Simplex.new({row: 4,col: 8})
  16. sim = Simplex.new({row: 2,col: 5})
  17. sim.build_sipmlex_method
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement