<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel rdf:about="https://community.wolfram.com">
    <title>Community RSS Feed</title>
    <link>https://community.wolfram.com</link>
    <description>RSS Feed for Wolfram Community showing questions tagged with Tuning and Debugging sorted by active.</description>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3644908" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3635801" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3624223" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3561367" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3562641" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3558524" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3531785" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3532836" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/2492644" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3475327" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3472860" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3461424" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3455214" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3175724" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3438154" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3431916" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3429675" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3403358" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3362910" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3353494" />
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3644908">
    <title>Looking for help cleaning up a Mathematica notebook into a reference implementation</title>
    <link>https://community.wolfram.com/groups/-/m/t/3644908</link>
    <description>**TL;DR** I&amp;#039;m looking for someone to refactor a Mathematica notebook I&amp;#039;ve got from a fellow researcher so I can use it as a reliable reference implementation. I expect it&amp;#039;s a few hours of work for the right person. I can offer financial compensation and/or my own technical expertise.&#xD;
&#xD;
Hello Wolfram community!&#xD;
&#xD;
I hope this is the right place for this kind of request. If not, my apologies!&#xD;
&#xD;
I&amp;#039;m a PhD student in the final stage of my project, an attempt at closed-loop control of water jets from firefighting robots using UAV imagery as feedback. The controller design is based on the Smith predictor architecture, which requires a predictive model to compensate for the long dead time of the system. Accurately predicting the trajectory of water jets is far from trivial. One of the most promising models I could find is described in https://link.springer.com/article/10.1007/s10694-021-01175-1. The model is formulated as a system of ordinary differential equations.   &#xD;
  &#xD;
I tried implementing it in Python so I can integrate it with my other components. It&amp;#039;s almost complete, but despite several months of debugging I haven&amp;#039;t been able to resolve the remaining issues. So I contacted the corresponding author. They confirmed some errors I found in the printed versions of the equations, and kindly provided their original Mathematica implementation. This helped, but my own implementation is still incomplete. The issues could stem from additional errors in the printed equations I/we haven&amp;#039;t found yet, mistakes in my implementation, or differences in solver behavior (Mathematica&amp;#039;s vs. SciPy&amp;#039;s solve_ivp() function). &#xD;
&#xD;
Unfortunately, the notebook is hard for me to follow and differs quite a bit from the published paper (structure, variable naming, angle conventions, etc.). I&amp;#039;ve never worked with Mathematica and don&amp;#039;t have the time nor patience to properly learn it before my deadline. &#xD;
&#xD;
The author is currently unable to provide further support, but since I&amp;#039;m getting more and more desperate to finish this subproject, I&amp;#039;m now seeking third-party help. I&amp;#039;m looking for someone to refactor the notebook into a clean, well-structured reference implementation. Specifically, I&amp;#039;d like them to&#xD;
&#xD;
 - remove unused and redundant code (many expressions are duplicated)&#xD;
 - improve structure&#xD;
 - improve documentation&#xD;
 - add small quality-of-life improvements if appropriate&#xD;
 - flag any noticeable discrepancies&#xD;
&#xD;
The refactored version must reproduce the original results, in particular the figures shown in the paper. Ideally, it should make it easy to experiment with the equations and parameters. One specific goal is to verify whether the rearranged equation forms I use in Python (to match SciPy&amp;#039;s solver interface) produce the same results as the original formulation.&#xD;
  &#xD;
If you&amp;#039;re interested, I&amp;#039;ll obtain the author&amp;#039;s permission and share the notebook privately so you can assess the scope before we discuss compensation. Bonus points if you have experience with physics-based simulations and are open to occasional follow-up questions :)&#xD;
&#xD;
Many thanks and regards!</description>
    <dc:creator>Merlin Stampa</dc:creator>
    <dc:date>2026-02-24T20:34:23Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3635801">
    <title>Kernel freeze when changing AudioGenerator noise color</title>
    <link>https://community.wolfram.com/groups/-/m/t/3635801</link>
    <description>I have a few code samples which freeze or crash my kernel on evaluation, can anybody confirm that this isn&amp;#039;t a local issue for me?&#xD;
&#xD;
Discrete:&#xD;
&#xD;
    AudioGenerator[{&amp;#034;Color&amp;#034;, AudioGenerator[TimeSeries[{1}, {1}]]}]&#xD;
&#xD;
Continuous:&#xD;
&#xD;
    AudioGenerator[{&amp;#034;Color&amp;#034;, AudioGenerator[{&amp;#034;Sawtooth&amp;#034;, .4, 5}]}]</description>
    <dc:creator>Joseph Stocke</dc:creator>
    <dc:date>2026-02-06T21:20:51Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3624223">
    <title>DiscretizeRegion failing on macOS with 14.3</title>
    <link>https://community.wolfram.com/groups/-/m/t/3624223</link>
    <description>The first graphic is from a notebook many years old, and the second is from the latest version of Mathematica.  What&amp;#039;s going on?&#xD;
&#xD;
Is this a known regression in functionality?&#xD;
&#xD;
![enter image description here][1]&#xD;
![enter image description here][2]&#xD;
&#xD;
    n = 7; m = 3; dt = 2 Pi/n; dtm = 2 Pi/m; r = &#xD;
     1./(1 - Sin[dt/2]/Cos[dtm/2]); R = 1. r Cos[(dt + dtm)/2]/Cos[dtm/2];&#xD;
    ToMatrix[z_, &#xD;
       r_] := (I/r) {{z, r^2 - z Conjugate[z]}, {1, -Conjugate[z]}};&#xD;
    alist = Table[&#xD;
      ToMatrix[r Exp[I t], r - 1], {t, dt/2, 2 Pi, dt}]; Tlist = &#xD;
     Join[{IdentityMatrix[2]}, alist];&#xD;
    homography[{{a_, b_}, {c_, d_}}, z_] := (a z + b)/(c z + d);&#xD;
    FindT[T0_, Tlist_] := &#xD;
      MemberQ[Tlist, &#xD;
       T_ /; Abs[homography[T, 0] - homography[T0, 0]] &amp;lt; 1.0*^-3];&#xD;
    i2 = 1; Do[i1 = i2 + 1; i2 = Length[Tlist]; &#xD;
     Do[Scan[(T = Tlist[[i]] . #; &#xD;
         If[! FindT[T, Tlist], Tlist = Append[Tlist, T]]) &amp;amp;, alist], {i, &#xD;
       i1, i2}], {2}];&#xD;
    plot = Show[&#xD;
      Graphics[&#xD;
       Map[Line[&#xD;
          Table[z = homography[#, R Exp[I t]]; {Re[z], Im[z]}, {t, 0, &#xD;
            2 Pi, dt}]] &amp;amp;, Tlist], AspectRatio -&amp;gt; Automatic], &#xD;
      Axes -&amp;gt; True]&#xD;
&#xD;
    data = (Table[&#xD;
          z = homography[#1, R Exp[I t]]; {Re[z], Im[z], 0.}, {t, 0, &#xD;
           2 \[Pi], dt}] &amp;amp;) /@ Tlist;&#xD;
    L = MeshRegion[Join @@ Most /@ data, &#xD;
       Line[Join @@ (Partition[#1, 2, 1, 1] &amp;amp;) /@ &#xD;
          Partition[Range[7 Length[data]], 7]]];&#xD;
    f = RegionDistance[L];&#xD;
    \[Theta]1 = 0.08;&#xD;
    \[Theta]2 = 0.01;&#xD;
    z =.&#xD;
    R1 = ImplicitRegion[&#xD;
       f[{x, y, z}] &amp;lt;= \[Theta]1, {{x, -4, 4}, {y, -4, 4}, {z, -2, 2}}];&#xD;
    S1 = DiscretizeRegion[R1, MaxCellMeasure -&amp;gt; 0.0001]&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=9870Untitled.png&amp;amp;userId=1537376&#xD;
  [2]: https://community.wolfram.com//c/portal/getImageAttachment?filename=9363Untitled2.png&amp;amp;userId=1537376</description>
    <dc:creator>Eric Mockensturm</dc:creator>
    <dc:date>2026-01-24T22:21:35Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3561367">
    <title>Explain SetPrecision and N</title>
    <link>https://community.wolfram.com/groups/-/m/t/3561367</link>
    <description>I calculate huge matrices (of the order of 10^4 x 10^4 or more) in C++ (because Mathematica is too slow for this...) in 80-bit (long double) and export it to 128-bit (because Mathematica can only read either 64-bit or 128-bit with BinaryReadList). I import the matrices into Mathematica because it&amp;#039;s much easier to make graphics, convergence analysis and so on. So after having loaded them into Mathematica, the numbers have mantissas of about 50 digits (the numbers on the left after the back tick `). But because they were originally calculated only in 80-bits, 50 digits are useless. In order to load them quickly, I need to convert them into compressed text. But before doing this, I would like to reduce the numbers to 20 digits, because this is 80-bit precision. This would reduce space on disk and load them more quickly. However, SetPrecision[z,p] or N[z,p] where z is a number with a mantissa of 50 decimal digits and p=20 is the desired precision does not reduce the digits at all. If I want to reduce it to 16 digits for example, I need to set p=4 or so. Why is this? Normally, when someone talks of a number z having p precision, I understand that it has a mantissa of p decimal digits. Am I missing something?</description>
    <dc:creator>Ulrich Utiger</dc:creator>
    <dc:date>2025-10-16T16:26:22Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3562641">
    <title>Mathematica 12, BenchmarkReport[] fails at FFT where it previuosly was fine.  Win 11 upgraded on VM</title>
    <link>https://community.wolfram.com/groups/-/m/t/3562641</link>
    <description>**The problem**&#xD;
&#xD;
I run Mathematica 12 from home via a Win11 VM on Proxmox.  This configuration has run fine for years.  Recently during an upgrade to Win11 25H2 I went to test to make sure everything was functional with a quick BenchmarkReport[] but it caused the kernel to die at Test 3, FFT.  Its a very repeatable failure.&#xD;
&#xD;
Just before upgrading to 25H2 I had changed my processor type for this VM to x86-64-v3 +aes from -v2 + aes. I had issues on another vm where Win11 didnt want to upgrade with v2.&#xD;
I didnt originally run the processor as &amp;#034;host&amp;#034; as I am running dual E5-2699v4 Xeons, Win11 doesnt support by age despite having all the instructions needed.&#xD;
&#xD;
I have used this VM with Win10 and Win11 for years running Mathematica without issue.  In the past I would use BenchmarkReport[] as a quick check of functionality after any upgrades or changes.  This is the first time its failed.&#xD;
&#xD;
A quick test using ParallelTable[sin[x],{x,0,pi,10^-6}] works fine&#xD;
&#xD;
A quick test of Fourier[{1, 1, 2, 2, 1, 1, 0, 0}] works fine&#xD;
&#xD;
But a simple,&#xD;
&#xD;
    Needs[&amp;#034;Benchmark`&amp;#034;]&#xD;
    BenchmarkReport[]&#xD;
&#xD;
Fails while calculating Step 3, FFT.  The kernel simply die with no error message or warning.  If I watch carefully with Task Manager it looks like the kernel dies, Mathematica recreates the kernel, then it dies again immediately.&#xD;
&#xD;
I also tried running this command through mathscript with -verbose but it gives me no additional details why its dying.&#xD;
&#xD;
I went back and tested some older notebooks I had.  One of the first ones I tried died during a NonLinearModelFit of a PieceWise function with Sin[]s.  &#xD;
&#xD;
    Piecewise[{&#xD;
      {&#xD;
       y0 + (&#xD;
         A1 Sin[ 2 \[Pi] ( x - x1)/t1] Sin[ 2 \[Pi] ( x - x2)/t2]&#xD;
         ) + A3 Sin[2 \[Pi] (x - x3)/t3],&#xD;
       x &amp;gt;= xon&#xD;
       },&#xD;
      {y0, x &amp;lt; xon}&#xD;
      }]&#xD;
&#xD;
This had worked in the past but now it dies just like BenchmarkReport, the kernel dies with no errors.&#xD;
&#xD;
**Fixes tried**&#xD;
&#xD;
So, I set the cpu back to v2 + aes for the vm config in proxmox but the kernel still dies.&#xD;
&#xD;
Set the cpu to Host in case its an issue with AES being passed correctly but it still dies&#xD;
&#xD;
I had Ballooning memory on so I turned it off, no change&#xD;
&#xD;
I had NUMA on so I turned it off, no change&#xD;
&#xD;
I uninstalled, reinstalled Mathematica 12.0 but it still fails&#xD;
&#xD;
I installed a demo copy of Mathematica 14.3, BenchmarkReport[] and my notebook run without issue.&#xD;
&#xD;
&#xD;
**System Info**&#xD;
&#xD;
Running a network version of Mathematica 12.0 with MathLM on another VM for the license.  License is for 2 instances and 16 kernels.&#xD;
&#xD;
The VM is running under proxmox 8.4.14.  The vm was just recently upgraded to Win11 25H2 but I am not sure when I last ran BenchmarkReport[].  I have run BenchmarkReport[] on this vm multiple times with some older flavors of win11 but I cant remember when I last ran it.&#xD;
&#xD;
I had recently installed the virtio drivers for this vm on the previous Win11 version but I hadnt run Mathematica since then.  Could be a contributing factor.&#xD;
&#xD;
Proxmox has gone through a recent upgrade with a reboot of the host.  I hadnt tried test Mathematica afterwards.  Could be a contributing factor.&#xD;
&#xD;
The vm has been tested with cpu set to Host, x86-64-v2+aes, x86-64-v3+aes, numa on and off, ballooning on and off, with 32GB memory configured for the vm.  This vm is set to get 2 processors of 8 cores each,&#xD;
&#xD;
The vm is only running microsoft virtual graphic drivers and is only accessed via remote desktop, not SPICE.&#xD;
&#xD;
As far as I can tell Win11 is working as expected.  I am considering a fresh install of Win11 if no better ideas surface.&#xD;
&#xD;
The host system is dual E5-2699 v4 with 512GB.  The host system runs a mix of vms and containers.&#xD;
&#xD;
**Summary**&#xD;
&#xD;
I know this is probably a very weird edge case of using a VM with such an old version of Mathematica.  The kernel dying does seem to fail for more than just Benchmark so its most likely not a single package responsible.  The failure is limited to Mathematica 12 as far as I can tell.  &#xD;
Just wanted to figure this our before I start embarking on a bunch of calculations.&#xD;
&#xD;
Any thoughts are appreciated.</description>
    <dc:creator>Mike Morrell</dc:creator>
    <dc:date>2025-10-19T19:10:08Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3558524">
    <title>Why does my Mathematica program use 100% CPU but very little RAM and still not finish after hours?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3558524</link>
    <description>Hi everyone,&#xD;
&#xD;
I have a Mathematica program that takes an extremely long time to process and still doesn’t produce any result, even after more than 15 hours of runtime.&#xD;
&#xD;
Here are my system details:&#xD;
&#xD;
Supercomputer with 256 GB RAM  &#xD;
8 cores, each running at 3.7 GHz  &#xD;
Mathematica uses all CPU cores but only around 3&amp;#x2013;4 GB of RAM&#xD;
&#xD;
Despite this, the computation doesn’t seem to progress efficiently. I’d like to understand:&#xD;
&#xD;
Why is Mathematica using all the CPU but so little memory?&#xD;
&#xD;
What are the best practices to optimize my code (e.g., parallelization, memory management, symbolic vs numeric evaluation)?&#xD;
&#xD;
How can I identify the performance bottlenecks in my code?&#xD;
&#xD;
If helpful, I can share a simplified version of my code to analyze where the slowdown occurs.&#xD;
&#xD;
Any advice on improving speed or diagnosing such behavior would be greatly appreciated!&#xD;
&#xD;
Thanks in advance!&#xD;
&#xD;
This is my code. also i use vs 12.&#xD;
&#xD;
&amp;amp;[Wolfram Notebook][1]&#xD;
&#xD;
&#xD;
  [1]: https://www.wolframcloud.com/obj/2a2ecbd9-090f-45c0-915d-15d5e2dd9261</description>
    <dc:creator>Reza rho</dc:creator>
    <dc:date>2025-10-09T07:06:05Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3531785">
    <title>Wolfram video processing is too slow for real-life situations</title>
    <link>https://community.wolfram.com/groups/-/m/t/3531785</link>
    <description>Wolfram Video Processing is too slow in real-life situations. I love using Wolfram Language for real-life applications, and I appreciate that Wolfram has recently focused on first-class video functionality. However, it’s a pity that while it works fine for demonstrations, it is far too slow for practical use.&#xD;
&#xD;
For example, when I use CapCut to edit and render a 5-minute video, it takes only a few seconds. But in Wolfram Mathematica, the same process is extremely slow. For a simple 7-minute video (with only text overlay), Wolfram takes 6 minutes just to render. That is unusable! Imagine processing a **30-minute video&amp;#x2014;it could take 45 minutes**, while CapCut would finish in under a minute.&#xD;
![enter image description here][1]&#xD;
&#xD;
I have also tried adjusting encoders, frame rates, and other settings, but it didn’t help.&#xD;
Can someone suggest a solution? Thank you very much.&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=1755454340--0Codec.nb_-Wolfram.jpg&amp;amp;userId=138946</description>
    <dc:creator>Jaques Secretin</dc:creator>
    <dc:date>2025-08-17T18:15:27Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3532836">
    <title>FunctionRange with unit circle and fixed angle constraints takes long time</title>
    <link>https://community.wolfram.com/groups/-/m/t/3532836</link>
    <description>This code runs for a long time without results in Mathematica. What is the reason?&#xD;
&#xD;
    FunctionRange[{Abs[x1 + y1 - 1]/Sqrt[2] + Abs[x2 + y2 - 1]/Sqrt[2], &#xD;
          x1^2 + y1^2 == 1, x2^2 + y2^2 == 1, x1 x2 + y1 y2 == 1/2}, {x1, y1, &#xD;
          x2, y2}, k]</description>
    <dc:creator>Wen Dao</dc:creator>
    <dc:date>2025-08-19T10:38:02Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/2492644">
    <title>The grey &amp;#039;x&amp;#039;  and Debugging WL code</title>
    <link>https://community.wolfram.com/groups/-/m/t/2492644</link>
    <description>I am still unexperienced in WL, but I have come to a point that I can create some programs that are getting a tiny bit more complex (still quite modest though) :-)&#xD;
&#xD;
But I often run into very basic things I just can&amp;#039;t figure out. So I hope someone can direct me a bit :&#xD;
&#xD;
1. Inside a Dynamic, I get the grey small &amp;#039;x&amp;#039;  if I do not &amp;#039;close a line with the semicolon (;).&#xD;
    That is annoying, because the script stops working as planned (as it interpretes the &amp;#039;x&amp;#039; as a multiply sign) in an unintended way.&#xD;
&#xD;
2. In a Dynamic[   xxxxxx   ], why does the last line have to be WITHOUT semicolon (;)   ?&#xD;
&#xD;
3. How can I best view the values of the variables I use inside Dynamic? I did that by leaving out the semi-colon, as to output the result, but as I mentioned, that does not work inside a Dynamic script.&#xD;
Sometimes though this works and the annoying grey &amp;#039;x&amp;#039; does not appear.&#xD;
can I switch off the automatic behavior of &amp;#039;filling in a x&amp;#039; for me when the are spaces? I can myself put &amp;#039;*&amp;#039; if I want a multiplication to occur.&#xD;
&#xD;
4. I am used to a debugger, where I can set Breakpoints and a Variable Watcher. How is serious debugging being done in WL?</description>
    <dc:creator>B. Cornas</dc:creator>
    <dc:date>2022-03-18T18:09:39Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3475327">
    <title>ConvexHullMesh::affind error message in Mathematica V14.2 but not in V12</title>
    <link>https://community.wolfram.com/groups/-/m/t/3475327</link>
    <description>Hi,&#xD;
Using Mathematica 14.2 I am trying to run the following built in function: CommunityGraphPlot&#xD;
&#xD;
I&amp;#039;m getting the following error message: ConvexHullMesh::affind&#xD;
&#xD;
When trying to run examples provided in the Help page of that function:&#xD;
 https://reference.wolfram.com/language/ref/CommunityGraphPlot.html&#xD;
&#xD;
I&amp;#039;m getting the same error:&#xD;
ConvexHullMesh::affind: {{1.28234,1.35493},{1.28234,1.57998},{1.50739,1.35493},{1.50739,1.57998},{0.561602,-0.0244771},&amp;lt;&amp;lt;41&amp;gt;&amp;gt;,{0.499273,2.02323},{0.499273,2.24828},{0.0656264,1.40944},{0.0656264,1.63449},&amp;lt;&amp;lt;18&amp;gt;&amp;gt;} should be a list of 3 or more affinely independent points.&#xD;
&#xD;
The same function runs OK on Mathematica version 12&#xD;
Any idea what could be the problem and how to fix it?</description>
    <dc:creator>Ehud Fonio</dc:creator>
    <dc:date>2025-06-05T16:22:58Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3472860">
    <title>Code taking too long time to compute</title>
    <link>https://community.wolfram.com/groups/-/m/t/3472860</link>
    <description>My Mathematica code is taking too much time to compute. I don&amp;#039;t know what the issue is. Can anyone suggest any changes that I need to make in order for the code to work?&#xD;
&#xD;
Ananth Krishna V&#xD;
&#xD;
&amp;amp;[Wolfram Notebook][1]&#xD;
&#xD;
  [1]: https://www.wolframcloud.com/obj/cec6225e-eaf9-40c5-bb9c-428f578a3931</description>
    <dc:creator>Ananth Krishna</dc:creator>
    <dc:date>2025-06-02T12:57:50Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3461424">
    <title>How to speed up numerical calculations of the inverse method in game theory？</title>
    <link>https://community.wolfram.com/groups/-/m/t/3461424</link>
    <description>Hi, guys  &#xD;
I would like to know how to speed up numerical calculations of the inverse method in a game theoretical model Thank you very much!&#xD;
&#xD;
    Clear[&amp;#034;`*&amp;#034;];&#xD;
    (*Parameter Definition*)a = 10;&#xD;
    c = {1, 2, 3, 8};&#xD;
    Kvals = {4, 4, 2, 1};&#xD;
    (*The fourth person&amp;#039;s best response*)&#xD;
    q4Opt[q1_?NumericQ, q2_?NumericQ, q3_?NumericQ] := &#xD;
     Module[{q4}, &#xD;
      q4 /. FindMaximum[{(a - (q1 + q2 + q3 + q4)) q4 - c[[4]] q4, &#xD;
          0 &amp;lt;= q4 &amp;lt;= Kvals[[4]]}, {q4, 5}][[2]]]&#xD;
    &#xD;
    (*The third person&amp;#039;s best response*)&#xD;
    q3Opt[q1_?NumericQ, q2_?NumericQ] := &#xD;
     Module[{q3}, &#xD;
      q3 /. FindMaximum[{(a - (q1 + q2 + q3 + q4Opt[q1, q2, q3])) q3 - &#xD;
           c[[3]] q3, 0 &amp;lt;= q3 &amp;lt;= Kvals[[3]]}, {q3, 10}][[2]]]&#xD;
    &#xD;
    (*The second person&amp;#039;s best response*)&#xD;
    q2Opt[q1_?NumericQ] := &#xD;
     Module[{q2}, &#xD;
      q2 /. FindMaximum[{(a - (q1 + q2 + q3Opt[q1, q2] + &#xD;
                q4Opt[q1, q2, q3Opt[q1, q2]])) q2 - c[[2]] q2, &#xD;
          0 &amp;lt;= q2 &amp;lt;= Kvals[[2]]}, {q2, 12.5}][[2]]]&#xD;
    &#xD;
    (*The first person&amp;#039;s best decision*)&#xD;
    q1Opt = Module[{q1}, &#xD;
       q1 /. FindMaximum[{(a - (q1 + q2Opt[q1] + q3Opt[q1, q2Opt[q1]] + &#xD;
                 q4Opt[q1, q2Opt[q1], q3Opt[q1, q2Opt[q1]]])) q1 - &#xD;
            c[[1]] q1, 0 &amp;lt;= q1 &amp;lt;= Kvals[[1]]}, {q1, 15}][[2]]];&#xD;
    &#xD;
    (*Output*)&#xD;
    Print[&amp;#034;Optimal decisions:&amp;#034;];&#xD;
    Print[&amp;#034;q1 = &amp;#034;, q1Opt];&#xD;
    q2Val = q2Opt[q1Opt];&#xD;
    Print[&amp;#034;q2 = &amp;#034;, q2Val];&#xD;
    q3Val = q3Opt[q1Opt, q2Val];&#xD;
    Print[&amp;#034;q3 = &amp;#034;, q3Val];&#xD;
    q4Val = q4Opt[q1Opt, q2Val, q3Val];&#xD;
    Print[&amp;#034;q4 = &amp;#034;, q4Val];</description>
    <dc:creator>yanshao Wang</dc:creator>
    <dc:date>2025-05-15T14:47:04Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3455214">
    <title>Dractic slowdown in the performance of Table</title>
    <link>https://community.wolfram.com/groups/-/m/t/3455214</link>
    <description>Let&amp;#039;s initialize &#xD;
&#xD;
    a = Table[Random[], {1460}, {361}, {720}];&#xD;
&#xD;
Then use some elements to form another table&#xD;
&#xD;
    Table[a[[1, i, 1]], {i, 1, 100}]; // AbsoluteTiming&#xD;
&#xD;
This operation takes very little time&#xD;
&#xD;
    out[] = {0.0004528, Null}&#xD;
&#xD;
But just a bit large Table (from 1 to **361**)&#xD;
&#xD;
    Table[a[[1, i, 1]], {i, 1, 361}]; // AbsoluteTiming&#xD;
&#xD;
takes crazy long &#xD;
&#xD;
   out[]= {67.1042, Null}&#xD;
&#xD;
What is a problem?&#xD;
&#xD;
P.S. Mathematica ver. 13.3.   RAM is sufficient.</description>
    <dc:creator>Rodion Stepanov</dc:creator>
    <dc:date>2025-05-05T09:52:13Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3175724">
    <title>Configuring Python for ExternalEvaluate</title>
    <link>https://community.wolfram.com/groups/-/m/t/3175724</link>
    <description>I am following [this guide][1] to try to get Python working in `ExternalEvaluate`. (on Windows 11, Mathematica 13.0).  So far, I have successfully installed Python (Step 1), and the Python package manager (Step 2), and the “pyzmq” package for Python (Step 3).&#xD;
&#xD;
But I get a &amp;#034;Missing Dependencies&amp;#034; error on Step 4:&#xD;
![enter image description here][2]&#xD;
From [this post][3], I learned that this may be because the Python library path may not be in Mathematica&amp;#039;s default Path. So I tried using `SetEnvironment`, to no avail:&#xD;
![enter image description here][4]&#xD;
I then use `RegisterExternalEvaluator`, but still get MissingDependencies:&#xD;
![enter image description here][5]&#xD;
And `FindExternalEvaluators[&amp;#034;Python&amp;#034;]` still shows MissingDependencies.  Not sure what else to try. &#xD;
&#xD;
&#xD;
  [1]: https://reference.wolfram.com/language/workflow/ConfigurePythonForExternalEvaluate.html&#xD;
  [2]: https://community.wolfram.com//c/portal/getImageAttachment?filename=Screenshot2024-05-13missingdependencies.png&amp;amp;userId=167076&#xD;
  [3]: https://community.wolfram.com/groups/-/m/t/1975953&#xD;
  [4]: https://community.wolfram.com//c/portal/getImageAttachment?filename=6197Screenshot2024-05-13setEnvironment.png&amp;amp;userId=167076&#xD;
  [5]: https://community.wolfram.com//c/portal/getImageAttachment?filename=Screenshot2024-05-13register.png&amp;amp;userId=167076</description>
    <dc:creator>Bryan Lettner</dc:creator>
    <dc:date>2024-05-13T23:50:08Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3438154">
    <title>How can I correct the following code to produce the expected result?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3438154</link>
    <description>I am reading the article &amp;#034;[First few overtones probe the event horizon geometry][1]&amp;#034;. I want to replicate the results of Table 1 in the above article using the analytical continuation method as mentioned in the article. However, my code doesn&amp;#039;t run out of any results. I don&amp;#039;t know what&amp;#039;s wrong with it, because there is no warning message.&#xD;
&#xD;
Any suggestions would be greatly appreciated. Thanks very much.&#xD;
&#xD;
The code is as follows:&#xD;
&#xD;
    M = 1/2; x = 1 - r0/r; \[Epsilon] = (2 M - r0)/r0; a0 = b0 = 0;&#xD;
    A[r_] = 1 - \[Epsilon] (1 - x) + (a0 - \[Epsilon]) (1 - x)^2 + &#xD;
       Al[r] (1 - x)^3;&#xD;
    B[r_] = 1 + b0 (1 - x) + Bl[r] (1 - x)^2;&#xD;
    Nm[r_] = Sqrt[x A[r]];&#xD;
    Al[r_] = 1/x ContinuedFractionK[a[n] x, 1, {n, 3}];&#xD;
    Bl[r_] = 1/x ContinuedFractionK[b[n] x, 1, {n, 3}];&#xD;
    f[r_] = Nm[r]^2/B[r];&#xD;
    V[r_] = Nm[r]^2 l (l + 1)/r^2 + (1 - s)/2/r D[f[r]^2, r];&#xD;
    eq = f[r] D[f[r] D[R[r], r], r] + (\[Omega]^2 - V[r]) R[r];&#xD;
    R[r_] = Exp[\[Sigma] r] x^\[Rho] (x - 1)^\[Lambda] y[r];&#xD;
    a[1] = 1/2; a[2] = 100; a[3] = 0; b[1] = 0; \[Epsilon] = 0; r0 = 1;&#xD;
    fctor = Coefficient[R[r], y[r]];&#xD;
    eqr = eq/fctor // Simplify;&#xD;
    eqrr = Collect[&#xD;
       eqr, { y[r], Derivative[1][y][r], (y^\[Prime]\[Prime])[r]}];&#xD;
    epeq = Series[eqrr, {r, Infinity, 3}];&#xD;
    epf = Solve[&#xD;
       Coefficient[Coefficient[epeq, y[r]], r, 0] == 0 &amp;amp;&amp;amp; &#xD;
        Coefficient[Coefficient[epeq, y[r]], r, -1] == &#xD;
         0, {\[Sigma], \[Lambda]}];&#xD;
    (*solve the parameter {\[Sigma],\[Lambda]} using the boundary \&#xD;
    condition at infinity*)&#xD;
    eqnr = Collect[eqr, (-1 + r)] // Together // Simplify;&#xD;
    eqrho = eqnr /. r -&amp;gt; 1;&#xD;
    rho = Solve[Coefficient[eqrho, y[1]] == 0, \[Rho]];&#xD;
    (*solve the parameter \[Rho] using the boundary condition at the \&#xD;
    event horizon*)&#xD;
    Equation = Simplify[eqr /. rho[[1]] /. epf[[2]]];&#xD;
    (*the radial function with rho[[1]] and epf[[2]] will satisfy the \&#xD;
    quasinormal boundary conditions*)&#xD;
    r[z_] = First[r /. Solve[z == 1 - 1/r, r]];&#xD;
    CompactCoordinateEquation = &#xD;
      Equation /. (y^\[Prime]\[Prime])[r] -&amp;gt; &#xD;
            D[D[y[z], z]/D[r[z], z], z]/D[r[z], z] /. &#xD;
          Derivative[1][y][r] -&amp;gt; D[y[z], z]/D[r[z], z] /. y[r] -&amp;gt; y[z] /. &#xD;
        r -&amp;gt; r[z] // Expand;&#xD;
    y2Coeff = Coefficient[CompactCoordinateEquation, y&amp;#039;&amp;#039;[z]] // Together;&#xD;
    y1Coeff = Coefficient[CompactCoordinateEquation, y&amp;#039;[z]] // Together;&#xD;
    yCoeff = Coefficient[CompactCoordinateEquation, y[z]] // Together;&#xD;
    fr = PolynomialGCD[y2Coeff, y1Coeff, yCoeff];&#xD;
    y2RCoeff = Simplify[y2Coeff/fr]; y1RCoeff = &#xD;
     Simplify[y1Coeff/fr]; yRCoeff = Simplify[yCoeff/fr];&#xD;
    PolynomialQ [y2RCoeff, z] &amp;amp;&amp;amp; PolynomialQ [y1RCoeff, z] &amp;amp;&amp;amp; &#xD;
      PolynomialQ [yRCoeff, z];&#xD;
    CoefficientListMatrix = &#xD;
      CoefficientList[{y2RCoeff/z, y1RCoeff, z yRCoeff}, z];&#xD;
    &#xD;
    z1 = 15/1000; z2 = 30/1000; z3 = 60/1000; z4 = 120/1000; z5 = &#xD;
     240/1000; z6 = 480/1000; z7 = 960/1000;&#xD;
    (*midpoints for continuation*)&#xD;
    y2RCoeffst = y2RCoeff /. z -&amp;gt; t + z1;&#xD;
    y1RCoeffst = y1RCoeff /. z -&amp;gt; t + z1;&#xD;
    yRCoeffst = yRCoeff /. z -&amp;gt; t + z1;&#xD;
    CoefficientListMatrix1 = &#xD;
      CoefficientList[{y2RCoeffst, t y1RCoeffst, t^2 yRCoeffst}, t];&#xD;
    y2RCoeffnd = y2RCoeff /. z -&amp;gt; t + z2;&#xD;
    y1RCoeffnd = y1RCoeff /. z -&amp;gt; t + z2;&#xD;
    yRCoeffnd = yRCoeff /. z -&amp;gt; t + z2;&#xD;
    CoefficientListMatrix2 = &#xD;
      CoefficientList[{y2RCoeffnd, t y1RCoeffnd, t^2 yRCoeffnd}, t];&#xD;
    y2RCoeffrd = y2RCoeff /. z -&amp;gt; t + z3;&#xD;
    y1RCoeffrd = y1RCoeff /. z -&amp;gt; t + z3;&#xD;
    yRCoeffrd = yRCoeff /. z -&amp;gt; t + z3;&#xD;
    CoefficientListMatrix3 = &#xD;
      CoefficientList[{y2RCoeffrd, t y1RCoeffrd, t^2 yRCoeffrd}, t];&#xD;
    y2RCoefffr = y2RCoeff /. z -&amp;gt; t + z4;&#xD;
    y1RCoefffr = y1RCoeff /. z -&amp;gt; t + z4;&#xD;
    yRCoefffr = yRCoeff /. z -&amp;gt; t + z4;&#xD;
    CoefficientListMatrix4 = &#xD;
      CoefficientList[{y2RCoefffr, t y1RCoefffr, t^2 yRCoefffr}, t];&#xD;
    y2RCoefffv = y2RCoeff /. z -&amp;gt; t + z5;&#xD;
    y1RCoefffv = y1RCoeff /. z -&amp;gt; t + z5;&#xD;
    yRCoefffv = yRCoeff /. z -&amp;gt; t + z5;&#xD;
    CoefficientListMatrix5 = &#xD;
      CoefficientList[{y2RCoefffv, t y1RCoefffv, t^2 yRCoefffv}, t];&#xD;
    y2RCoeffsx = y2RCoeff /. z -&amp;gt; t + z6;&#xD;
    y1RCoeffsx = y1RCoeff /. z -&amp;gt; t + z6;&#xD;
    yRCoeffsx = yRCoeff /. z -&amp;gt; t + z6;&#xD;
    CoefficientListMatrix6 = &#xD;
      CoefficientList[{y2RCoeffsx, t y1RCoeffsx, t^2 yRCoeffsx}, t];&#xD;
    y2RCoeffsh = y2RCoeff /. z -&amp;gt; t + z7;&#xD;
    y1RCoeffsh = y1RCoeff /. z -&amp;gt; t + z7;&#xD;
    yRCoeffsh = yRCoeff /. z -&amp;gt; t + z7;&#xD;
    CoefficientListMatrix7 = &#xD;
      CoefficientList[{y2RCoeffsh, t y1RCoeffsh, t^2 yRCoeffsh}, t];&#xD;
    terms = CoefficientListMatrix // Dimensions // Last; rcf = &#xD;
     Function[{i, &#xD;
       n}, (n + 2 - i) (n + 1 - i) CoefficientListMatrix[[1, &#xD;
         i]] + (n + 2 - i) CoefficientListMatrix[[2, i]] + &#xD;
       CoefficientListMatrix[[3, i]]];&#xD;
    terms1 = CoefficientListMatrix1 // Dimensions // Last; rcf1 = &#xD;
     Function[{i, &#xD;
       n}, (n + 3 - i) (n + 2 - i) CoefficientListMatrix1[[1, &#xD;
         i]] + (n + 3 - i) CoefficientListMatrix1[[2, i]] + &#xD;
       CoefficientListMatrix1[[3, i]]];&#xD;
    terms2 = CoefficientListMatrix2 // Dimensions // Last; rcf2 = &#xD;
     Function[{i, &#xD;
       n}, (n + 3 - i) (n + 2 - i) CoefficientListMatrix2[[1, &#xD;
         i]] + (n + 3 - i) CoefficientListMatrix2[[2, i]] + &#xD;
       CoefficientListMatrix2[[3, i]]];&#xD;
    terms3 = CoefficientListMatrix3 // Dimensions // Last; rcf3 = &#xD;
     Function[{i, &#xD;
       n}, (n + 3 - i) (n + 2 - i) CoefficientListMatrix3[[1, &#xD;
         i]] + (n + 3 - i) CoefficientListMatrix3[[2, i]] + &#xD;
       CoefficientListMatrix3[[3, i]]];&#xD;
    terms4 = CoefficientListMatrix4 // Dimensions // Last; rcf4 = &#xD;
     Function[{i, &#xD;
       n}, (n + 3 - i) (n + 2 - i) CoefficientListMatrix4[[1, &#xD;
         i]] + (n + 3 - i) CoefficientListMatrix4[[2, i]] + &#xD;
       CoefficientListMatrix4[[3, i]]];&#xD;
    terms5 = CoefficientListMatrix5 // Dimensions // Last; rcf5 = &#xD;
     Function[{i, &#xD;
       n}, (n + 3 - i) (n + 2 - i) CoefficientListMatrix5[[1, &#xD;
         i]] + (n + 3 - i) CoefficientListMatrix5[[2, i]] + &#xD;
       CoefficientListMatrix5[[3, i]]];&#xD;
    terms6 = CoefficientListMatrix6 // Dimensions // Last; rcf6 = &#xD;
     Function[{i, &#xD;
       n}, (n + 3 - i) (n + 2 - i) CoefficientListMatrix6[[1, &#xD;
         i]] + (n + 3 - i) CoefficientListMatrix6[[2, i]] + &#xD;
       CoefficientListMatrix6[[3, i]]];&#xD;
    terms7 = CoefficientListMatrix7 // Dimensions // Last; rcf7 = &#xD;
     Function[{i, &#xD;
       n}, (n + 3 - i) (n + 2 - i) CoefficientListMatrix7[[1, &#xD;
         i]] + (n + 3 - i) CoefficientListMatrix7[[2, i]] + &#xD;
       CoefficientListMatrix7[[3, i]]];&#xD;
    &#xD;
    NITMAX = 100;&#xD;
    \[Alpha] = rcf[#1, #2] &amp;amp;;&#xD;
    fs = Table[&#xD;
       If[i &amp;gt; j + 2, 0, \[Alpha][i, j]], {j, 0, NITMAX}, {i, 1, 10}];&#xD;
    &#xD;
    Do[fs = FoldList[&#xD;
       If[PossibleZeroQ[#2 // Last], #2 // &#xD;
          Most, (Most[#2] - (#2 // Last)/(#1 // Last)*&#xD;
             Prepend[#1 // Most, 0]) // Together] &amp;amp;, fs // First // Most, &#xD;
       fs // Rest], {7}]&#xD;
    (*Gauss elimination*)&#xD;
&#xD;
  [1]: https://arxiv.org/pdf/2209.00679</description>
    <dc:creator>Xu Xu</dc:creator>
    <dc:date>2025-04-02T15:09:42Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3431916">
    <title>Speed Mathematica up for doing analysis and plotting with large arrays</title>
    <link>https://community.wolfram.com/groups/-/m/t/3431916</link>
    <description>I&amp;#039;m doing analysis and plotting with very large arrays.  Mathematica is getting bogged down.  Matlab doesn&amp;#039;t seem to have this problem or at least not to this degree.  What can I do, if anything, go help speed Mathematica up?  &#xD;
Thanks.</description>
    <dc:creator>Roger Backhus</dc:creator>
    <dc:date>2025-03-25T17:32:28Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3429675">
    <title>FeatureImpactPlot with classification model trained on tabular data error</title>
    <link>https://community.wolfram.com/groups/-/m/t/3429675</link>
    <description>I built a classifier with a Tabular dataset.  &#xD;
I tried to use &#xD;
&#xD;
    FeatureImpactPlot[c]&#xD;
&#xD;
but I get the following errors:&#xD;
&#xD;
&amp;gt; DistributionChart::ldata: &amp;lt;&amp;lt;1&amp;gt;&amp;gt; is not a valid dataset or list of&#xD;
&amp;gt; datasets. Part::partw&#xD;
&#xD;
Does it mean that FeatureImpactPlot cannot work with Tabular datasets?</description>
    <dc:creator>Dalila Benachenhou</dc:creator>
    <dc:date>2025-03-23T23:06:08Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3403358">
    <title>Optimization of eigenvalue calculation for large matrices</title>
    <link>https://community.wolfram.com/groups/-/m/t/3403358</link>
    <description>I am working on a project that involves a high-dimensional matrix, pTA, of size 8*(p+2). I attempted to compute the sum of its negative eigenvalues using a supercomputer with 128 GB of RAM. For p=300, the computation took around 4 hours, and the memory usage reached 95%. However, I have realized that p=300 is insufficient for my research, and I need to set p=700. Given that the supercomputer struggled with p=300, I am certain it will not be able to handle p=700.&#xD;
&#xD;
I suspect that my Mathematica code is not optimized, which may be causing excessive memory usage and long computation times. Specifically, I believe that in my ParallelTable loop, Mathematica is computing all eigenvalues at each step, leading to inefficiencies.&#xD;
&#xD;
Can someone help me optimize my program to make it significantly faster and less memory-intensive, so it can handle larger values of p efficiently?&#xD;
&#xD;
&amp;amp;[Wolfram Notebook][1]&#xD;
&#xD;
&#xD;
  [1]: https://www.wolframcloud.com/obj/88e46108-9791-44ae-96d4-80ce3ea4746b</description>
    <dc:creator>Reza rho</dc:creator>
    <dc:date>2025-03-03T10:33:36Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3362910">
    <title>Help debugging code to get computational components</title>
    <link>https://community.wolfram.com/groups/-/m/t/3362910</link>
    <description>(*Define variables and functions*)ClearAll[t, x, alpha, s, f]&#xD;
    t = Symbol[&amp;#034;t&amp;#034;, Positive -&amp;gt; True];&#xD;
    x = Symbol[&amp;#034;x&amp;#034;, Positive -&amp;gt; True];&#xD;
    alpha = Symbol[&amp;#034;alpha&amp;#034;, Positive -&amp;gt; True];&#xD;
    s = Symbol[&amp;#034;s&amp;#034;, Positive -&amp;gt; True];&#xD;
    n = Symbol[&amp;#034;n&amp;#034;, Integers -&amp;gt; True];&#xD;
    f[n_, x_, t_] := f[n][x, t];&#xD;
    &#xD;
    (*Define Elzaki Transform*)&#xD;
    elzakiTransform[func_, var_, transformVar_] := &#xD;
     Integrate[&#xD;
      transformVar*func*Exp[-var/transformVar], {var, 0, Infinity}]&#xD;
    &#xD;
    (*Define Inverse Elzaki Transform*)&#xD;
    inverseElzakiTransform[transformFunc_, transformVar_] := &#xD;
     InverseLaplaceTransform[transformFunc, transformVar, t]&#xD;
    &#xD;
    (*Define the functional correction method*)&#xD;
    correctionFunctional[fPrev_, x_, t_, alpha_] := &#xD;
     Module[{delayTerm, rhs, transformedRHS, correctedTransform, &#xD;
       correctedFunction},(*Define the delay term*)&#xD;
      delayTerm = fPrev /. t -&amp;gt; t - 1;&#xD;
    &#xD;
      (*Define the RHS of the equation*)rhs = x^2*t - delayTerm;&#xD;
    &#xD;
      (*Apply Elzaki Transform to RHS*)&#xD;
      transformedRHS = elzakiTransform[rhs, t, s];&#xD;
     &#xD;
     (*Multiply by s^alpha for fractional derivative correction*)&#xD;
    &#xD;
      correctedTransform = s^alpha*transformedRHS;&#xD;
      (*Apply inverse Elzaki transform to get back to time domain*)&#xD;
    &#xD;
      correctedFunction = inverseElzakiTransform[correctedTransform, s];&#xD;
      (*Add the initial condition x^2*)correctedFunction]&#xD;
    &#xD;
    (*Example:Initialize f_0(x,t)*)&#xD;
    f0 = x^2;&#xD;
    &#xD;
    (*Compute iterations*)&#xD;
    iterations = 3;&#xD;
    fPrevious = f0;&#xD;
    &#xD;
    For[i = 1, i &amp;lt;= iterations, i++, &#xD;
     fCurrent = correctionFunctional[fPrevious, x, t, alpha];&#xD;
     Print[&amp;#034;Iteration &amp;#034;, i, &amp;#034;:&amp;#034;];&#xD;
     Print[TraditionalForm[fCurrent]];&#xD;
     fPrevious = fCurrent;]</description>
    <dc:creator>Sandeep Kumar Yadav</dc:creator>
    <dc:date>2025-01-23T12:19:24Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3353494">
    <title>Is there a way to improve wolframscript startup time?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3353494</link>
    <description>I just began experimenting with running wolframsrcipt on Macos, so far the startup time is very disappointing. I wrote the following script:&#xD;
    &#xD;
    #!/usr/local/bin/wolframscript &#xD;
    Print[&amp;#034;hello&amp;#034;]&#xD;
&#xD;
Running this script takes roughly five seconds, consistently.  For instance, here I time the script from bash:&#xD;
&#xD;
    ~/bin # time ./hello.wls&#xD;
    hello&#xD;
    real    0m4.809s&#xD;
    user    0m0.173s&#xD;
    sys     0m0.049s&#xD;
&#xD;
Here is the version info for my installation of wolframscript:&#xD;
&#xD;
    ~/bin # wolframscript -info&#xD;
    Wolfram 14.1.0 Kernel for Mac OS X x86 (64-bit)&#xD;
    Copyright 1988-2024 Wolfram Research, Inc.&#xD;
&#xD;
Is this typical performance? A five second startup for a trivial script is a deal breaker for me. If anyone can suggest ways to make this faster, or to diagnose the reasons for the slow startup I&amp;#039;d love to explore them. On the other hand, if this is the expected level of performance I&amp;#039;ll explore other avenues for my scripting needs. &#xD;
&#xD;
Thank you.&#xD;
&#xD;
David Cabana</description>
    <dc:creator>David Cabana</dc:creator>
    <dc:date>2025-01-08T19:05:18Z</dc:date>
  </item>
</rdf:RDF>

