How to use the docplex.mp.model.Model.__init__ function in docplex

To help you get started, we’ve selected a few docplex examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hzjken / multimodal-transportation-optimization / multi-modal transpotation.py View on Github external
def __init__(self):     
        Model.__init__(self)
        #parameters
        self.portSpace = None
        self.dateSpace = None
        self.goods = None
        self.indexPort = None
        self.portIndex = None
        self.maxDate = None
        self.minDate = None
        self.tranCost = None
        self.tranFixedCost = None
        self.tranTime = None
        self.ctnVol = None
        self.whCost = None
        self.kVol = None
        self.kValue = None
        self.kDDL = None

docplex

The IBM Decision Optimization CPLEX Modeling for Python

Apache-2.0
Latest version published 1 month ago

Package Health Score

73 / 100
Full package analysis

Similar packages