Cloud Stack Ninja

import pulp as p
import numpy as np

x=p.LpVariable('x', lowBound=5000, cat='Continuous')
y=p.LpVariable('y', lowBound=8000,cat='Continuous')


I try to do linear programming in pulp. But I have 'LpAffineExpression' object has no attribute 'solve' error.

How can I fix it? Thanks.

Read more here:

Content Attribution

This content was originally published by mehmetliburak at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: