# Latest

**URL:** https://discourse.julialang.org/latest.md?page=198

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 199

---

## [Abstract type for 1-indexed Arrays](https://discourse.julialang.org/t/abstract-type-for-1-indexed-arrays/127240)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 4\
**Last updated:** [March 21, 2025, 9:39pm UTC](https://discourse.julialang.org/t/abstract-type-for-1-indexed-arrays/127240 "2025-03-21T21:39:36Z")

</div>

Is there an abstract type that includes only absract arrays which have “standard” indexing, by which I mean the first valid index along each axis is 1, and the last valid index along the i-th axis of A is size(A, i)? I …

---

## [How to design GUI interfaces in Julia?](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159)

<div class="topic-metadata">

**Author:** [@TinWallop](https://discourse.julialang.org/u/TinWallop)\
**Replies:** 68\
**Last updated:** [March 21, 2025, 1:11pm UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159 "2025-03-21T13:11:39Z")

</div>

Coming from a windows C# (visual studio) and Java background I’m very disappointed in the lack of support for User Interface development. I know some packages exist but they are developed by an individual. Perhaps I shou…

---

## [Thread.jl yields wrong results in parallelisation compared to serial for-loop](https://discourse.julialang.org/t/thread-jl-yields-wrong-results-in-parallelisation-compared-to-serial-for-loop/127239)

<div class="topic-metadata">

**Author:** [@Xu\_Shan](https://discourse.julialang.org/u/Xu_Shan)\
**Replies:** 7\
**Last updated:** [March 21, 2025, 8:09pm UTC](https://discourse.julialang.org/t/thread-jl-yields-wrong-results-in-parallelisation-compared-to-serial-for-loop/127239 "2025-03-21T20:09:52Z")

</div>

Hi Guys, I am using @thread for my model parallelisation. However, it yields different results compared to serial for-loop. Here is my script function batch\_cost\_function(p) num\_params = size(p, 2) # Number of para…

---

## [Neural ODE with unkown time steps](https://discourse.julialang.org/t/neural-ode-with-unkown-time-steps/124986)

<div class="topic-metadata">

**Author:** [@Moustafa](https://discourse.julialang.org/u/Moustafa)\
**Replies:** 9\
**Last updated:** [March 21, 2025, 7:15pm UTC](https://discourse.julialang.org/t/neural-ode-with-unkown-time-steps/124986 "2025-03-21T19:15:46Z")

</div>

Hey! , I am trying to model 3D points in space using a Neural ODE, those points form a trajectory since they originated from the same particle and are ‘snapshots’ of it throughout time, I want to use a Neural ODE to mode…

---

## [Yet another "how to pass multiple parameters to a function" post](https://discourse.julialang.org/t/yet-another-how-to-pass-multiple-parameters-to-a-function-post/127095)

<div class="topic-metadata">

**Author:** [@Boris](https://discourse.julialang.org/u/Boris)\
**Replies:** 7\
**Last updated:** [March 21, 2025, 5:33pm UTC](https://discourse.julialang.org/t/yet-another-how-to-pass-multiple-parameters-to-a-function-post/127095 "2025-03-21T17:33:05Z")

</div>

Apologies for the n-th post on this topic (#1, #2, #3, etc. etc).I simply don’t get it and feel overwhelmed by all choices of how to pass parameters to a function (positional arguments, optional keyword arguments, named …

---

## [Plot pane and focus in vscode](https://discourse.julialang.org/t/plot-pane-and-focus-in-vscode/127214)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 1\
**Last updated:** [March 21, 2025, 4:21pm UTC](https://discourse.julialang.org/t/plot-pane-and-focus-in-vscode/127214 "2025-03-21T16:21:11Z")

</div>

Hi, I have a problem when working in vscode. Figure produced within the vscode window are not easily “copy-able” (Julia: Copy Plot). It yields the error message: Failed to copy plot: Plot pane does not have focus I nee…

---

## [Making the clipping boundary invisible in a voronoiplot](https://discourse.julialang.org/t/making-the-clipping-boundary-invisible-in-a-voronoiplot/127233)

<div class="topic-metadata">

**Author:** [@IvanSpirandelli](https://discourse.julialang.org/u/IvanSpirandelli)\
**Replies:** 0\
**Last updated:** [March 21, 2025, 4:13pm UTC](https://discourse.julialang.org/t/making-the-clipping-boundary-invisible-in-a-voronoiplot/127233 "2025-03-21T16:13:13Z")

</div>

Is it possible to not draw the outlines of the circles and just the voronoiplots within the circle? I want to create a figure of an alpha complex and wanted to layer several clipped Voronoi plots to do this. Unfortun…

---

## [Jupyter notebooks slowness/usability](https://discourse.julialang.org/t/jupyter-notebooks-slowness-usability/127216)

<div class="topic-metadata">

**Author:** [@mattsignorelli](https://discourse.julialang.org/u/mattsignorelli)\
**Replies:** 2\
**Last updated:** [March 21, 2025, 4:12pm UTC](https://discourse.julialang.org/t/jupyter-notebooks-slowness-usability/127216 "2025-03-21T16:12:27Z")

</div>

I hope this doesn’t come across as a “complaining” post. I just have some big concerns about this and was curious if the problem is being addressed. I am a primary contributor to a DOE funded project for a new, modern, …

---

## [Problems with simple linear model (R and Julia comparison)](https://discourse.julialang.org/t/problems-with-simple-linear-model-r-and-julia-comparison/127229)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 3\
**Last updated:** [March 21, 2025, 4:01pm UTC](https://discourse.julialang.org/t/problems-with-simple-linear-model-r-and-julia-comparison/127229 "2025-03-21T16:01:32Z")

</div>

Hi all, I’m trying to reproduce some R code. Can someone help me figure out why the difference in these polynomial regressions is so different between Julia and R? Yes, a 9th order polynomial fit is not practical; I’m tr…

---

## [Interior-Point Newton tries points outside of the constraint set](https://discourse.julialang.org/t/interior-point-newton-tries-points-outside-of-the-constraint-set/127215)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 5\
**Last updated:** [March 21, 2025, 2:12pm UTC](https://discourse.julialang.org/t/interior-point-newton-tries-points-outside-of-the-constraint-set/127215 "2025-03-21T14:12:59Z")

</div>

Hi, I’m using Interior-Point Newton to solve a constrained optimization problem where my objective function is not (always) defined outside the constraint set. I found that Interior-Point Newton sometimes tries points ou…

---

## [Numeric antiderivative for a noncontinuous function using ODEProblem](https://discourse.julialang.org/t/numeric-antiderivative-for-a-noncontinuous-function-using-odeproblem/126751)

<div class="topic-metadata">

**Author:** [@nilsbecker](https://discourse.julialang.org/u/nilsbecker)\
**Replies:** 7\
**Last updated:** [March 21, 2025, 2:10pm UTC](https://discourse.julialang.org/t/numeric-antiderivative-for-a-noncontinuous-function-using-odeproblem/126751 "2025-03-21T14:10:52Z")

</div>

Hi, I need an indefinite integral interpolation, to be constructed once and evaluated many times. Basically, I want to solve the outer ODE \\dot f(t) = A(t) b(t), where the inner integral A(t)=\\int\_0^t a(t')dt' is to be s…

---

## [Interpolation between two dataframe columns](https://discourse.julialang.org/t/interpolation-between-two-dataframe-columns/127136)

<div class="topic-metadata">

**Author:** [@Ju\_ska](https://discourse.julialang.org/u/Ju_ska)\
**Replies:** 4\
**Last updated:** [March 21, 2025, 12:31pm UTC](https://discourse.julialang.org/t/interpolation-between-two-dataframe-columns/127136 "2025-03-21T12:31:14Z")

</div>

Hi, I think my code is highly sub-optimised, is there a more monolithic way (and preferably faster) to interpolate, e.g. without using eachrow, push etc. Code: using DataFrames using Interpolations # Dates, then valu…

---

## [Is it possible to use HiGHS multi-objective optimization from JuMP?](https://discourse.julialang.org/t/is-it-possible-to-use-highs-multi-objective-optimization-from-jump/126913)

<div class="topic-metadata">

**Author:** [@qwedsad](https://discourse.julialang.org/u/qwedsad)\
**Replies:** 5\
**Last updated:** [March 21, 2025, 11:10am UTC](https://discourse.julialang.org/t/is-it-possible-to-use-highs-multi-objective-optimization-from-jump/126913 "2025-03-21T11:10:46Z")

</div>

HiGHS v1.9. supports multiple objectives by either blending using weights, or performing lexicographic optimization. I couldn’t find how to implement it using JuMP. Is it yet possible or not?

---

## [Restarting kernel in Jupyterlab does not kill child processes](https://discourse.julialang.org/t/restarting-kernel-in-jupyterlab-does-not-kill-child-processes/127209)

<div class="topic-metadata">

**Author:** [@Miroboru](https://discourse.julialang.org/u/Miroboru)\
**Replies:** 0\
**Last updated:** [March 21, 2025, 9:37am UTC](https://discourse.julialang.org/t/restarting-kernel-in-jupyterlab-does-not-kill-child-processes/127209 "2025-03-21T09:37:50Z")

</div>

I am often using Jupyterlab when I work with Julia, and for computation intensive tasks I often start out with using Distributed addprocs(25-nprocs()) @everywhere import Dagger From time to time the kernel needs to be …

---

## ["invalid assignment location" error](https://discourse.julialang.org/t/invalid-assignment-location-error/1630)

<div class="topic-metadata">

**Author:** [@andrea](https://discourse.julialang.org/u/andrea)\
**Replies:** 6\
**Last updated:** [January 22, 2017, 9:01am UTC](https://discourse.julialang.org/t/invalid-assignment-location-error/1630 "2017-01-22T09:01:38Z")

</div>

Sorry ti all, I’ve already posted a question for a real stupid error, but you…at the beginning… Now I have another question…I’ve this simple code function bn\_dirichlet\_prior(N) n = length(N) alpha = cell(n, 1); fo…

---

## [VSCode -- fails to Save As](https://discourse.julialang.org/t/vscode-fails-to-save-as/127208)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 0\
**Last updated:** [March 21, 2025, 9:32am UTC](https://discourse.julialang.org/t/vscode-fails-to-save-as/127208 "2025-03-21T09:32:03Z")

</div>

I have made a copy of a Jupyter Notebook file in VSCode in order to edit the file. I have now finished editing it, and want to save it under the name of the original file. I choose File/Save As, and select the name of t…

---

## [How to use Mosek 11 beta in JuMP](https://discourse.julialang.org/t/how-to-use-mosek-11-beta-in-jump/123821)

<div class="topic-metadata">

**Author:** [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Replies:** 4\
**Last updated:** [March 21, 2025, 7:55am UTC](https://discourse.julialang.org/t/how-to-use-mosek-11-beta-in-jump/123821 "2025-03-21T07:55:35Z")

</div>

I’d like to use Mosek 11 beta in JuMP.jl. In order to do so, I have installed Mosek 11.0.1 binaries from the website, and created the environment variable MOSEKBINDIR to point to the bin directory of Mosek 11. Then, I tr…

---

## [Timeseries power model without forecast - ACOPF](https://discourse.julialang.org/t/timeseries-power-model-without-forecast-acopf/126846)

<div class="topic-metadata">

**Author:** [@PB-vines](https://discourse.julialang.org/u/PB-vines)\
**Replies:** 5\
**Last updated:** [March 21, 2025, 6:03am UTC](https://discourse.julialang.org/t/timeseries-power-model-without-forecast-acopf/126846 "2025-03-21T06:03:31Z")

</div>

Hello, I have a model in PowerSystems.jl that looks like this: I just want to run an acopf and dcopf with the data I have imported - I do not want to do any forecasting. However, I cannot get past the DecisionModel(…

---

## [Gradual parameter changes via callbacks](https://discourse.julialang.org/t/gradual-parameter-changes-via-callbacks/127156)

<div class="topic-metadata">

**Author:** [@vh94](https://discourse.julialang.org/u/vh94)\
**Replies:** 3\
**Last updated:** [March 21, 2025, 5:58am UTC](https://discourse.julialang.org/t/gradual-parameter-changes-via-callbacks/127156 "2025-03-21T05:58:16Z")

</div>

Problem I’m trying to change the parameter of a dynamical system gradually. In the documentation for the DifferentialEquations library there is an emphasis on abrupt / instantaneous change - when explaining callbacks ; …

---

## [AMDGPU.jl on Fedora 41 with RX 7600](https://discourse.julialang.org/t/amdgpu-jl-on-fedora-41-with-rx-7600/127160)

<div class="topic-metadata">

**Author:** [@lxmota](https://discourse.julialang.org/u/lxmota)\
**Replies:** 2\
**Last updated:** [March 21, 2025, 2:27am UTC](https://discourse.julialang.org/t/amdgpu-jl-on-fedora-41-with-rx-7600/127160 "2025-03-21T02:27:04Z")

</div>

Here is my experience so far trying to use AMDGPU.jl on Fedora 41 with an RX 7600 GPU. Installed RPM Packages rocm-comgr-18-10.rocm6.2.1.fc41.x86\_64 hsakmt-1.0.6-46.rocm6.2.1.fc41.x86\_64 rocm-runtime-6.2.1-2.fc41.x86\_64…

---

## [Questions about the RTX5070Ti GPU support](https://discourse.julialang.org/t/questions-about-the-rtx5070ti-gpu-support/127199)

<div class="topic-metadata">

**Author:** [@Yongda\_Huang](https://discourse.julialang.org/u/Yongda_Huang)\
**Replies:** 0\
**Last updated:** [March 21, 2025, 12:29am UTC](https://discourse.julialang.org/t/questions-about-the-rtx5070ti-gpu-support/127199 "2025-03-21T00:29:28Z")

</div>

I got an warning like, CUDA error: no kernel image is available for execution on the device (code 209, ERROR\_NO\_BINARY\_FOR\_GPU) My cuda information is here, CUDA runtime 12.8, artifact installation CUDA driver 12.8 …

---

## [Replicating Runge's phenomenon with ApproxFun](https://discourse.julialang.org/t/replicating-runges-phenomenon-with-approxfun/127155)

<div class="topic-metadata">

**Author:** [@khoffie](https://discourse.julialang.org/u/khoffie)\
**Replies:** 8\
**Last updated:** [March 20, 2025, 11:51pm UTC](https://discourse.julialang.org/t/replicating-runges-phenomenon-with-approxfun/127155 "2025-03-20T23:51:50Z")

</div>

Hi there, I want to replicate Runge’s phenomenon Runge's phenomenon - Wikipedia Specifically, I want to interpolate Runge’s function with a taylor series. I expect that the polynomial I fit oscillates like crazy at the …

---

## ["Error building 'Mosek' " in Windows 10](https://discourse.julialang.org/t/error-building-mosek-in-windows-10/98469)

<div class="topic-metadata">

**Author:** [@zakos22](https://discourse.julialang.org/u/zakos22)\
**Replies:** 4\
**Last updated:** [March 20, 2025, 11:14pm UTC](https://discourse.julialang.org/t/error-building-mosek-in-windows-10/98469 "2025-03-20T23:14:06Z")

</div>

Dear All, I would deeply appreciate some help in troubleshooting why my MOSEK package installation attempts are failing. I am using Julia 1.8.5, VSCode and Windows 10 and I am trying to install Mosek.jl . While runnin…

---

## [JuMP re-solving Model after equivalently reformulating objective gives different results](https://discourse.julialang.org/t/jump-re-solving-model-after-equivalently-reformulating-objective-gives-different-results/125210)

<div class="topic-metadata">

**Author:** [@phK3](https://discourse.julialang.org/u/phK3)\
**Replies:** 2\
**Last updated:** [March 20, 2025, 11:11pm UTC](https://discourse.julialang.org/t/jump-re-solving-model-after-equivalently-reformulating-objective-gives-different-results/125210 "2025-03-20T23:11:38Z")

</div>

Disclaimer: This is a repost/extension of this github issue. The “output variables” of my problem are the entries in some specific place of a SDP matrix (P\[1,4:5\]) in the code below). When I directly optimize an object…

---

## [Feasibility cut from HiGHS and Mosek are different (Benders decomposition)](https://discourse.julialang.org/t/feasibility-cut-from-highs-and-mosek-are-different-benders-decomposition/125630)

<div class="topic-metadata">

**Author:** [@saikrishna-nadella](https://discourse.julialang.org/u/saikrishna-nadella)\
**Replies:** 7\
**Last updated:** [March 20, 2025, 11:08pm UTC](https://discourse.julialang.org/t/feasibility-cut-from-highs-and-mosek-are-different-benders-decomposition/125630 "2025-03-20T23:08:35Z")

</div>

Hi, I am implementing bender’s decomposition using JuMP in Julia. I am investigating generation of feasibility cuts using “dual\_objective\_value” and “reduced\_cost” of fixing constraint as detailed in JuMP documentation. …

---

## [About module importation](https://discourse.julialang.org/t/about-module-importation/127164)

<div class="topic-metadata">

**Author:** [@Gesee](https://discourse.julialang.org/u/Gesee)\
**Replies:** 5\
**Last updated:** [March 20, 2025, 10:40pm UTC](https://discourse.julialang.org/t/about-module-importation/127164 "2025-03-20T22:40:17Z")

</div>

If I have a module A importing a package B and a module C importing the package B, How can do to import the module B only one time so that module A and module C can use it

---

## [Setting maximum number of function calls in GA Metaheuristics](https://discourse.julialang.org/t/setting-maximum-number-of-function-calls-in-ga-metaheuristics/127166)

<div class="topic-metadata">

**Author:** [@JM\_Beckers](https://discourse.julialang.org/u/JM_Beckers)\
**Replies:** 2\
**Last updated:** [March 20, 2025, 10:37pm UTC](https://discourse.julialang.org/t/setting-maximum-number-of-function-calls-in-ga-metaheuristics/127166 "2025-03-20T22:37:23Z")

</div>

Probably a stupid question, but I cannot manage to pass the maximum number of function calls f\_calls\_limit to the optimizer since the following does not seem to have any effect using Metaheuristics function gogo() c…

---

## [How to select elements of a three-dimensional array fast](https://discourse.julialang.org/t/how-to-select-elements-of-a-three-dimensional-array-fast/127185)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 4\
**Last updated:** [March 20, 2025, 10:28pm UTC](https://discourse.julialang.org/t/how-to-select-elements-of-a-three-dimensional-array-fast/127185 "2025-03-20T22:28:50Z")

</div>

I have large three-dimensional arrays A that have different values, but from which I always wish to select the same set of entries. So A is a different matrix each time, but it has the same size and I need to collect th…

---

## [No allocs after restart](https://discourse.julialang.org/t/no-allocs-after-restart/117273)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 14\
**Last updated:** [March 20, 2025, 9:29pm UTC](https://discourse.julialang.org/t/no-allocs-after-restart/117273 "2025-03-20T21:29:50Z")

</div>

First off let me say that I realize it’s a long shot that someone can help me because I’m not providing minimal working example. However I’m hoping that this will sound familiar to someone. I’ve make all my code entirel…

---

## [How to deprecate a function, not in favor of anything?](https://discourse.julialang.org/t/how-to-deprecate-a-function-not-in-favor-of-anything/124202)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 10\
**Last updated:** [March 20, 2025, 7:35pm UTC](https://discourse.julialang.org/t/how-to-deprecate-a-function-not-in-favor-of-anything/124202 "2025-03-20T19:35:17Z")

</div>

I’m preparing a new version of WringTwistree because I found a bug. Some functions are exported only because they’re used in tests; when I wrote it, I hadn’t figured out how to access an unexported function. (I previousl…

[Previous page](https://discourse.julialang.org/latest.md?page=197)

[Next page](https://discourse.julialang.org/latest.md?page=199)
