FeiLiu36 / LLM4MOEA

Large Language Model for MOEA
MIT License
31 stars 1 forks source link

TypeError: get_problem() got an unexpected keyword argument 'n_var' #2

Closed nadalalee closed 6 months ago

nadalalee commented 7 months ago

Hi! When I tried to minimize a problem other than those in 'problem_interface.py', I encountered the error as shown in the title. It seems that the function 'get_problem(problemname,n_var=dimension)' is not defined in the 'run.py'. I wonder if only the problems in 'problem_interface.py' can be minimized because other problems in 'reproblem.py' seems not be implemented for minimization.

FeiLiu36 commented 6 months ago

Thank you for pointing it out. Yes, currently it only supports problems in 'problem_interface.py', while other problems could be easily integrated with minor modifications.