-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi Aryan,
I am working on a research project dealing with a categorical optimization. I came across your paper and it is very interesting. I want to run it on some of problems with different number of possible categorical values per dimension.However, I noticed in your code on pest control branch, all categorical variable only takes ncatgs values. I am trying to generalize this so that categorical variables can potentially come from sets with different cardinalities (tau_i !=tau_j). Looking deeper into your code, I realized that I need to change the function generate_random_basis_vector(), where you only have one parameter ncatgs unlike Algorithm 5 in your paper wherein you consider different {tau_1…,tau_N}. Moreover, the python code for the function deviates from the pseudo code of Algorithm 5 quite a lot. I don’t see any obvious way to change the code to enable desired functionality. If you could help me understand how the code of the function works, I can make the desired change. Can you please help me figure this out?
Thanks
Muddassar