Skip to content

lack of function in class 'PathOptimizer'  #20

@thangckt

Description

@thangckt

Do anyone get this work?
I encounter the error as below, anyone can help?
It seem that, there is no function: 'binary_var_list()' in class 'PathOptimizer'
TIA,
##########
\path_optimizer.py in _run_time_init(self)
80 self.get_var_location()
81 var_num = int(np.sum(self.var_location))
---> 82 self.var = self.binary_var_list(var_num, name='x')
83 self.x = np.zeros([self.length, self.length])
84 self.x = self.x.astype('object')

AttributeError: 'PathOptimizer' object has no attribute 'binary_var_list'
##############

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions