Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Przykład
- goal_function_1 = [1, 3, 2]
- restriction1_1 = [1, 2, 1]
- restriction2_1 = [1, 1, 1]
- restriction3_1 = [0, 1, 2]
- restrictions_1 = [restriction1_1, restriction2_1, restriction3_1]
- signs_1 = ['<=', '<=', '<=']
- consts_1 = [5, 4, 1]
- # Przykład 2 max
- goal_function_1 = [2, 1, 3]
- restriction1_1 = [1, 1, 1]
- restriction2_1 = [1, 2, 1]
- restriction3_1 = [0, 2, 1]
- restrictions_1 = [restriction1_1, restriction2_1, restriction3_1]
- signs_1 = ['=', '>=', '>=']
- consts_1 = [30, 10, 20]
- # Przykład 3 min
- goal_function_1 = [12, 9, 16, 14]
- restriction1_1 = [4, 0, 4, 5]
- restriction2_1 = [2, 6, 4, 4]
- restrictions_1 = [restriction1_1, restriction2_1]
- signs_1 = ['=', '>=']
- consts_1 = [120, 180]
- # Przykład 4 max
- goal_function_1 = [3, 7, 5]
- restriction1_1 = [1, 1, 1]
- restriction2_1 = [2, 3, 1]
- restrictions_1 = [restriction1_1, restriction2_1]
- signs_1 = ['<=', '<=']
- consts_1 = [80, 220]
- # Przykład 5 max
- goal_function_1 = [32, 24, 48]
- restriction1_1 = [2, 2, 5]
- restriction2_1 = [1, 3, 2]
- restriction3_1 = [3, 1, 3]
- restrictions_1 = [restriction1_1, restriction2_1, restriction3_1]
- signs_1 = ['<=', '<=', '<=']
- consts_1 = [40, 30, 30]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement