minimization Converging to negative infinity despite constraints

后端 未结 0 1181
暗喜
暗喜 2021-01-14 11:54

I have the following optimization problem:

from scipy import optimize
import numpy as np

def net_profit(x):
    return -(x[0] / (x[1] + x[2] + x[3]) * 365 *          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题