Open better464 opened 3 years ago
Gentle walkthrough/ The news vendor problem
from cvxstoc import expectation, prob, CategoricalRandomVariable from cvxpy import Minimize, Problem from cvxpy.expressions.variables import Variable, NonNegative from cvxpy.transforms import partial_optimize import numpy how to. fix it? thx
cvxpy.expressions.variables ——> cvx.expressions.variable
Gentle walkthrough/ The news vendor problem
from cvxstoc import expectation, prob, CategoricalRandomVariable from cvxpy import Minimize, Problem from cvxpy.expressions.variables import Variable, NonNegative from cvxpy.transforms import partial_optimize import numpy how to. fix it? thx