Find an approximate minimum value of the function
C(x1, x2) = 4x1 + 5x2,
subject to the constrains
# lpSolve 添加约束条件
library(lpSolve)
# 目标
f.obj <- c(4,5)
# 约束
f.con <
Find an approximate minimum value of the function
C(x1, x2) = 4x1 + 5x2,
subject to the constrains
# lpSolve 添加约束条件
library(lpSolve)
# 目标
f.obj <- c(4,5)
# 约束
f.con <