Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lack of function in class 'PathOptimizer' #20

Open
thangckt opened this issue Jun 1, 2021 · 0 comments
Open

lack of function in class 'PathOptimizer' #20

thangckt opened this issue Jun 1, 2021 · 0 comments

Comments

@thangckt
Copy link

thangckt commented Jun 1, 2021

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'
##############

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant