MaplePrimes - Maple Toolboxes Posts and Questions
http://www.mapleprimes.com/tags/Maple Toolboxes
en-us2020 Maplesoft, A Division of Waterloo Maple Inc.Maplesoft Document SystemMon, 27 Jan 2020 15:04:08 GMTMon, 27 Jan 2020 15:04:08 GMTMaple Toolboxes Questions and Posts on MaplePrimeshttp://www.mapleprimes.com/images/mapleprimeswhite.jpgMaplePrimes - Maple Toolboxes Posts and Questions
http://www.mapleprimes.com/tags/Maple Toolboxes
Grid Toolbox C Compile
https://www.mapleprimes.com/questions/228630-Grid-Toolbox-C-Compile?ref=Feed:MaplePrimes:Tagged With Maple Toolboxes
<p>Hello,<br>
<br>
is it possible to send compiled Maple functions (C function) to the nodes with the Grid toolbox? I can run the non-compiled function on the nodes but when I try to send a compiled version of the same function I get segmentation error. I have run the compiled function just fine in other nonparallel codes, and also with the Threads package. So I was wondering if there is something else you need to do to get it to work? Maybe compile on each node?<br>
<br>
</p>
<p>Hello,<br />
<br />
is it possible to send compiled Maple functions (C function) to the nodes with the Grid toolbox? I can run the non-compiled function on the nodes but when I try to send a compiled version of the same function I get segmentation error. I have run the compiled function just fine in other nonparallel codes, and also with the Threads package. So I was wondering if there is something else you need to do to get it to work? Maybe compile on each node?<br />
<br />
</p>
228630Tue, 31 Dec 2019 10:36:14 Zkflikflirandomize in GlobalOptimization
https://www.mapleprimes.com/questions/228178-Randomize-In-GlobalOptimization?ref=Feed:MaplePrimes:Tagged With Maple Toolboxes
<p>Does global optimization toolbox has randomization option it gives same value every time</p>
<p>Does global optimization toolbox has randomization option it gives same value every time</p>
228178Wed, 30 Oct 2019 18:23:09 Zradaarradaarthread safe or not
https://www.mapleprimes.com/questions/228165-Thread-Safe-Or-Not?ref=Feed:MaplePrimes:Tagged With Maple Toolboxes
<p>Does globalsolve from global optimization toolbox thread safe or not</p>
<p>Does globalsolve from global optimization toolbox thread safe or not</p>
228165Tue, 29 Oct 2019 07:31:31 ZradaarradaarGlobalOptimization benchmarks
https://www.mapleprimes.com/questions/228144-GlobalOptimization-Benchmarks?ref=Feed:MaplePrimes:Tagged With Maple Toolboxes
<p>Does Maplesoft provide success percentage of this toolbox on benchmark functions?. I cannot see much options in the global solve command (from maple help page) other than population size etc. </p>
<p>Does Maplesoft provide success percentage of this toolbox on benchmark functions?. I cannot see much options in the global solve command (from maple help page) other than population size etc. </p>
228144Sat, 26 Oct 2019 15:12:44 Zradaarradaarlocal optimizer in GlobalOptimization
https://www.mapleprimes.com/questions/228143-Local-Optimizer-In-GlobalOptimization?ref=Feed:MaplePrimes:Tagged With Maple Toolboxes
<p>I would like to know whether a local optimizer is combined with the present global optimization toolbox?. I read that toolbox has differential evolution and surrogate optimization techniques etc. These methods guarantee near-optimal solutions and it is often recommended to use a local optimization technique in conjunction with global optimization techniques. </p>
<p>I would like to know whether a local optimizer is combined with the present global optimization toolbox?. I read that toolbox has differential evolution and surrogate optimization techniques etc. These methods guarantee near-optimal solutions and it is often recommended to use a local optimization technique in conjunction with global optimization techniques. </p>
228143Sat, 26 Oct 2019 10:47:51 ZradaarradaarWhen GlobalOpimization is wrong , but Optimization is right!
https://www.mapleprimes.com/questions/227978-When-GlobalOpimization-Is-Wrong--But?ref=Feed:MaplePrimes:Tagged With Maple Toolboxes
<p>first I define some constants (note I may change the constants later based on the context of the application)</p>
<p>p_l := 10^(-15); <br>
epsilon := 1.09*10^(-10);<br>
p_B := 1.09*10^(-8);</p>
<p>n_A := 10^7; <br>
k_A := 0;<br>
n_B := 10^8; <br>
k_B := 0;</p>
<p>then I define a function l(x,y):</p>
<p>l := (x, y) -> x^k_A*(1 - x)^(n_A - k_A)*y^k_B*(1 - y)^(n_B - k_B)</p>
<p>Now I use both with(GlobalOptimization) and with(Optimization) to maximize l(x,y) give some constraints and I get:</p>
<p>GlobalSolve(l(x_1, y_1), x_1 = p_l .. epsilon, y_1 = p_B .. 1, maximize, initialpoint = [x_1 = 0, y_1 = 0]);<br>
[-0., [x_1 = 1.09000000000000 10^(-10) , y_1 = 0.633548870211381]]</p>
<p><br>
Maximize(l(x_1, y_1), x_1 = p_l .. epsilon, y_1 = p_B .. 1, initialpoint = [x_1 = 0, y_1 = 0]);<br>
[0.33621648834727435318, [x_1 = 1.00000000000000 10^(-15) , y_1 = 1.0900000000000000000 10^(-8) ] ]</p>
<p> </p>
<p>Clearly the second answer is right and the first is wrong... I am not sure why the ``global optimazation'' is doing worse than the normal and free ``optimazation''.. Am I using the GlobalSolve in a wrong way??</p>
<p>first I define some constants (note I may change the constants later based on the context of the application)</p>
<p>p_l := 10^(-15); <br />
epsilon := 1.09*10^(-10);<br />
p_B := 1.09*10^(-8);</p>
<p>n_A := 10^7; <br />
k_A := 0;<br />
n_B := 10^8; <br />
k_B := 0;</p>
<p>then I define a function l(x,y):</p>
<p>l := (x, y) -> x^k_A*(1 - x)^(n_A - k_A)*y^k_B*(1 - y)^(n_B - k_B)</p>
<p>Now I use both with(GlobalOptimization) and with(Optimization) to maximize l(x,y) give some constraints and I get:</p>
<p>GlobalSolve(l(x_1, y_1), x_1 = p_l .. epsilon, y_1 = p_B .. 1, maximize, initialpoint = [x_1 = 0, y_1 = 0]);<br />
[-0., [x_1 = 1.09000000000000 10^(-10) , y_1 = 0.633548870211381]]</p>
<p><br />
Maximize(l(x_1, y_1), x_1 = p_l .. epsilon, y_1 = p_B .. 1, initialpoint = [x_1 = 0, y_1 = 0]);<br />
[0.33621648834727435318, [x_1 = 1.00000000000000 10^(-15) , y_1 = 1.0900000000000000000 10^(-8) ] ]</p>
<p> </p>
<p>Clearly the second answer is right and the first is wrong... I am not sure why the ``global optimazation'' is doing worse than the normal and free ``optimazation''.. Am I using the GlobalSolve in a wrong way??</p>
227978Fri, 04 Oct 2019 11:33:15 Zweidade37211weidade37211