max=5*x1+3*x2+6*x3;
x1+2*x2+x3<=18;
2*x1+x2+3*x3=16;
x1+x2+x3=10;
@free(x3);
end

计算机求出最优解

Global optimal solution found.
   Objective value:                              46.00000
   Total solver iterations:                             2


                       Variable           Value        Reduced Cost
                             X1        14.00000            0.000000
                             X2        0.000000            1.000000
                             X3       -4.000000            0.000000

                            Row    Slack or Surplus      Dual Price
                              1        46.00000            1.000000
                              2        8.000000            0.000000
                              3        0.000000            1.000000
                              4        0.000000            3.000000

 

相关文章:

  • 2021-10-24
  • 2021-05-25
  • 2021-05-18
  • 2022-01-16
  • 2021-06-06
  • 2021-10-08
  • 2021-06-05
  • 2021-10-27
猜你喜欢
  • 2021-09-07
  • 2021-08-31
  • 2021-07-06
  • 2022-02-21
  • 2022-01-06
  • 2021-12-08
相关资源
相似解决方案