Description Usage Arguments See Also Examples
Wrapper around the different optimisation methods
1 |
problem |
List containing problem settings. |
opts |
A list of n_threads lists containing options for each cooperative instance of essR. |
algorithm |
One of VNS, ESS, MULTISTART, CESSR, CEVNSR. Check the documentation of each algorithm for more information. |
... |
Additional input arguments. |
essR
rvnds_hamming
CeVNSR
CeSSR
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #global optimum
#x*=[0.0898, -0.7127];
# or
#x*=[-0.0898, 0.7127];
#
#f(x*)= -1.03163;
ex1 <- function(x){
y<-4*x[1]*x[1]-2.1*x[1]^4+1/3*x[1]^6+x[1]*x[2]-4*x[2]*x[2]+4*x[2]^4;
return(y)
}
#========================= PROBLEM SPECIFICATIONS ===========================
problem<-list(f=ex1,x_L=rep(-1,2),x_U=rep(1,2))
opts<-list(maxeval=500, ndiverse=40, local_solver='DHC', local_finish='LBFGSB', local_iterprint=1)
#========================= END OF PROBLEM SPECIFICATIONS =====================
Results<-MEIGO(problem,opts,algorithm="ESS");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.