axi345
axi345
Thank you for your reply. All the build message is shown in below: sean@sean-Lenovo:~$ cd MAgent sean@sean-Lenovo:~/MAgent$ sudo apt-get install cmake libboost-system-dev libjsoncpp-dev libwebsocketpp-dev sudo: unable to resolve host sean-Lenovo...
Thank you for your support. Recently, my tutor has given me some heavy tasks and time is relatively tight.ε(┬┬﹏┬┬)3. I will update more examples or documents after this busy period....
可以的。比如Sphere ``` class Sphere: def __init__(self): self.min = -100 self.max = 100 def func(self, *x): x = np.array(x) result = np.sum(np.square(x)) return -result ``` 其中*x可以输入任意个参数。 寻优的时候可以用: ``` from ailearn.Evaluation import...
在ailearn库中实现的函数定义是不能加约束条件的。但是可以自己编写定义约束条件,如x1在[0,100]之间,编程实现时可以在函数中写 ``` if x1100: x1=100 ```
Thank you for your support. Recently, my tutor has given me some heavy tasks and time is relatively tight.ε(┬┬﹏┬┬)3. I will update more examples or documents after this busy period....