15 lines
285 B
Python
15 lines
285 B
Python
import logging
|
|
|
|
from pulp import lpSum
|
|
from pydantic import BaseModel
|
|
|
|
from helpers.common_helper import *
|
|
|
|
from models.attribute import Attribute
|
|
from models.problem import Problem
|
|
|
|
class Constraint(BaseModel):
|
|
reference_attribute: Attribute
|
|
minimum: float
|
|
maximum: float
|