- Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathfmax.lua
More file actions
Latest commit
16 lines (14 loc) · 482 Bytes
/
Copy pathfmax.lua
File metadata and controls
16 lines (14 loc) · 482 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--------------------------------------------------------------------------------
-- Function maximization module.
--
-- Copyright (C) 2011-2016 Stefano Peluchetti. All rights reserved.
--------------------------------------------------------------------------------
localfunctiontofmax(optim)
returnfunction(...)
returnoptim(-1, ...)
end
end
return {
de=tofmax(require("sci.fmin._de").optim),
lbfgs=tofmax(require("sci.fmin._lbfgs").optim),
}