import numpy as np
from abc import abstractmethod

class Instance_Det():
    """Classe per istanze del problema CLSP (Capacitated Lot-Sizing Problem) 
    con domanda deterministica e scorte di sicurezza"""
    
    def __init__(self, setting: dict):
        self.sim_setting=setting
        self.h=setting['h']
        self.f=setting['f']
        self.proc_time=setting['proc_time']
        self.R=setting['R']
        self.setup_times=setting['setup_times']
        self.num_items=setting['num_items']
        self.time_periods=setting['time_periods']
        self.mean=setting['mean']
        self.sd=setting['sd']
        self.alpha=setting['alpha']