# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=89

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

**Page:** 90

---

## [PennyLane - worth a read](https://discourse.julialang.org/t/pennylane-worth-a-read/34318)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 3:18pm UTC](https://discourse.julialang.org/t/pennylane-worth-a-read/34318 "2024-08-22T15:18:53Z")

</div>

At FOSDEM I saw a presentation on PennyLane OK, so its Python but it is functionally oriented and they use differentiable circuits. I had a quick chat with the presenter and he agreed there is commonality with Julia…

---

## [Getting file dialog in Blink](https://discourse.julialang.org/t/getting-file-dialog-in-blink/118480)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 0\
**Last updated:** [August 22, 2024, 11:47am UTC](https://discourse.julialang.org/t/getting-file-dialog-in-blink/118480 "2024-08-22T11:47:18Z")

</div>

In connection with building a GUI for PkgTemplates, I’d like to have a file/directory picker. The whole thing is Blink.jl → Electron → HTML+JS based. \<input\> tag doesn’t work as I need it, as it doesn’t return the full …

---

## [Recommendations for solver and options to solve a MIQP, just looking for a feasible solution](https://discourse.julialang.org/t/recommendations-for-solver-and-options-to-solve-a-miqp-just-looking-for-a-feasible-solution/107024)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 5\
**Last updated:** [August 22, 2024, 10:03am UTC](https://discourse.julialang.org/t/recommendations-for-solver-and-options-to-solve-a-miqp-just-looking-for-a-feasible-solution/107024 "2024-08-22T10:03:24Z")

</div>

I formulated a mixed-integer quadratic program (MIQP) using MathOptInterface.jl to solve a problem for a student competition. It’s got some continuous variables that are the solution I’m looking for, and I also had to in…

---

## [Error while loading Serialized BSON](https://discourse.julialang.org/t/error-while-loading-serialized-bson/118408)

<div class="topic-metadata">

**Author:** [@Emma\_B](https://discourse.julialang.org/u/Emma_B)\
**Replies:** 4\
**Last updated:** [August 22, 2024, 7:10am UTC](https://discourse.julialang.org/t/error-while-loading-serialized-bson/118408 "2024-08-22T07:10:52Z")

</div>

I have a BSON file, I used to save a Flux network using @save modelpath model #Loss\_params\_1 batchSize NbBatch lr weigths I’m trying to load “model”, but encountered the following error: julia\> d2 = BSON.load(myPath,…

---

## [Attempting to Warm start causes errors](https://discourse.julialang.org/t/attempting-to-warm-start-causes-errors/118450)

<div class="topic-metadata">

**Author:** [@fimiller](https://discourse.julialang.org/u/fimiller)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 1:45am UTC](https://discourse.julialang.org/t/attempting-to-warm-start-causes-errors/118450 "2024-08-22T01:45:52Z")

</div>

I am trying to warm start my problem using a sparse matrix. The following code produces an error: model = Model(Mosek.Optimizer) @variable(model, Z\[1:size(cost)\[1\],1:size(cost)\[2\]\], PSD) set\_start\_value(Z, warm\_start\_v…

---

## [Problem with contour plots in PythonPlot.jl](https://discourse.julialang.org/t/problem-with-contour-plots-in-pythonplot-jl/118435)

<div class="topic-metadata">

**Author:** [@Sh\_166](https://discourse.julialang.org/u/Sh_166)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 1:01am UTC](https://discourse.julialang.org/t/problem-with-contour-plots-in-pythonplot-jl/118435 "2024-08-22T01:01:33Z")

</div>

With reference to my earlier post here, I have stumbled upon a bad issue. As in the earlier post, my code is as follows: using PythonPlot, LaTeXStrings, Measures, PlotThemes f(X, Y) = (100/(3\*s\*k^2))\*(((1-(X/Y)^2)^3))…

---

## [Most efficient way to find cholesky decomposition of slices of a 3D array in KernelAbstractions](https://discourse.julialang.org/t/most-efficient-way-to-find-cholesky-decomposition-of-slices-of-a-3d-array-in-kernelabstractions/118292)

<div class="topic-metadata">

**Author:** [@Jarrod-Angove](https://discourse.julialang.org/u/Jarrod-Angove)\
**Replies:** 4\
**Last updated:** [August 21, 2024, 11:01pm UTC](https://discourse.julialang.org/t/most-efficient-way-to-find-cholesky-decomposition-of-slices-of-a-3d-array-in-kernelabstractions/118292 "2024-08-21T23:01:30Z")

</div>

I am using KernelAbstractions.jl to write a machine learning package that is device-agnostic. At one point in my algorithm, I end up with a NxNxn tensor, let’s call it T, on the device. I need to create a new vector, le…

---

## [Julia gets stuck reading CSV when followed by threaded loop](https://discourse.julialang.org/t/julia-gets-stuck-reading-csv-when-followed-by-threaded-loop/118316)

<div class="topic-metadata">

**Author:** [@cdqb](https://discourse.julialang.org/u/cdqb)\
**Replies:** 11\
**Last updated:** [August 21, 2024, 9:14am UTC](https://discourse.julialang.org/t/julia-gets-stuck-reading-csv-when-followed-by-threaded-loop/118316 "2024-08-21T09:14:33Z")

</div>

I am seeing the following strange behavior where Julia seems to get stuck and becomes unresponsive. Generate some data and save as .csv: using CSV, DataFrames d = DataFrame(rand(10000,10), :auto) CSV.write("test.csv", …

---

## [Nonlinear (trilinear) terms in Gurobi not supported through JuMP?](https://discourse.julialang.org/t/nonlinear-trilinear-terms-in-gurobi-not-supported-through-jump/118438)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 2\
**Last updated:** [August 21, 2024, 4:16am UTC](https://discourse.julialang.org/t/nonlinear-trilinear-terms-in-gurobi-not-supported-through-jump/118438 "2024-08-21T04:16:03Z")

</div>

Here, I have two sets of codes with some trilinear terms. The first one calls Gurobi directly, and the second one is through GAMS.jl. The first one fails, while the second one returns the optimal value: using JuMP, Guro…

---

## [The (background)color of Box always covers the 3D LScene.scene.backgroundcolor, and the latter cannot be changed](https://discourse.julialang.org/t/the-background-color-of-box-always-covers-the-3d-lscene-scene-backgroundcolor-and-the-latter-cannot-be-changed/118422)

<div class="topic-metadata">

**Author:** [@xczphysics](https://discourse.julialang.org/u/xczphysics)\
**Replies:** 0\
**Last updated:** [August 20, 2024, 4:09pm UTC](https://discourse.julialang.org/t/the-background-color-of-box-always-covers-the-3d-lscene-scene-backgroundcolor-and-the-latter-cannot-be-changed/118422 "2024-08-20T16:09:28Z")

</div>

Cannot create a layout that a 3D-LScene with a colorful background placed over a Box placeholder filled with another colorful background. This post point out 2 problems: the display sequence of Box’s :color is always …

---

## [Which package is suitable for matrix-free partial SVD?](https://discourse.julialang.org/t/which-package-is-suitable-for-matrix-free-partial-svd/118419)

<div class="topic-metadata">

**Author:** [@MAChiyu](https://discourse.julialang.org/u/MAChiyu)\
**Replies:** 2\
**Last updated:** [August 20, 2024, 8:15pm UTC](https://discourse.julialang.org/t/which-package-is-suitable-for-matrix-free-partial-svd/118419 "2024-08-20T20:15:57Z")

</div>

Hi! I am new to Julia. I used to use MATLAB. Within MATLAB, I use lansvd in PROPACK to do partial SVD of some linear operator (needs Afunpar to input other parameters of the matrix free operator). I notice there is PROPA…

---

## [CustomMean with AbstractGPs](https://discourse.julialang.org/t/custommean-with-abstractgps/118406)

<div class="topic-metadata">

**Author:** [@stefanocovino](https://discourse.julialang.org/u/stefanocovino)\
**Replies:** 0\
**Last updated:** [August 20, 2024, 9:02am UTC](https://discourse.julialang.org/t/custommean-with-abstractgps/118406 "2024-08-20T09:02:09Z")

</div>

Hello, I’m trying to write a CustomMean with AbstractGPs using a function with parameters, i.e. f(x,a,b,c), typically x has dimension 1. However, I can’t understand how I can manage the parameters. Has anyone a working…

---

## [Web apps with Mux + Plot + Interact do not interact any more](https://discourse.julialang.org/t/web-apps-with-mux-plot-interact-do-not-interact-any-more/118336)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 14\
**Last updated:** [August 20, 2024, 3:45pm UTC](https://discourse.julialang.org/t/web-apps-with-mux-plot-interact-do-not-interact-any-more/118336 "2024-08-20T15:45:23Z")

</div>

I was considering a simple example of a plot whose underlying model parameters are given by the output of a slider. While it was working “before”, now the slider doesn’t seems to have effect any more on the plot and I g…

---

## [Limiting step size in optimization variable between optimization steps of nonlinear constrained optimization problem](https://discourse.julialang.org/t/limiting-step-size-in-optimization-variable-between-optimization-steps-of-nonlinear-constrained-optimization-problem/117732)

<div class="topic-metadata">

**Author:** [@psuskin](https://discourse.julialang.org/u/psuskin)\
**Replies:** 4\
**Last updated:** [August 20, 2024, 2:19pm UTC](https://discourse.julialang.org/t/limiting-step-size-in-optimization-variable-between-optimization-steps-of-nonlinear-constrained-optimization-problem/117732 "2024-08-20T14:19:11Z")

</div>

Hi, I am trying to limit the step size of an optimization variable between optimization steps for a nonlinear constrained optimization problem using JuMP and Ipopt. In case this goal or the motivation behind it is uncl…

---

## [Putting obj files on the GPU with Metal.jl](https://discourse.julialang.org/t/putting-obj-files-on-the-gpu-with-metal-jl/118416)

<div class="topic-metadata">

**Author:** [@dchang10](https://discourse.julialang.org/u/dchang10)\
**Replies:** 0\
**Last updated:** [August 20, 2024, 1:58pm UTC](https://discourse.julialang.org/t/putting-obj-files-on-the-gpu-with-metal-jl/118416 "2024-08-20T13:58:54Z")

</div>

How do I bring mesh from obj files onto the GPU? I am trying to do some GPU manipulation of meshes from .obj files. I was testing my code with the stanford bunny obj file, which I imported into a GeometryBasics Mesh usi…

---

## [Help setting SCIP parameters to increase use of heuristics](https://discourse.julialang.org/t/help-setting-scip-parameters-to-increase-use-of-heuristics/107801)

<div class="topic-metadata">

**Author:** [@convexhull](https://discourse.julialang.org/u/convexhull)\
**Replies:** 4\
**Last updated:** [August 20, 2024, 1:36pm UTC](https://discourse.julialang.org/t/help-setting-scip-parameters-to-increase-use-of-heuristics/107801 "2024-08-20T13:36:36Z")

</div>

I’m working on an optimization problem using SCIP and I’ve noticed that it takes a very long time to find a primal solution. I don’t need to find optimal solutions and I’d prefer to find feasible solutions early on. I wo…

---

## [Lazy constraint doesn't seem to work?](https://discourse.julialang.org/t/lazy-constraint-doesnt-seem-to-work/118333)

<div class="topic-metadata">

**Author:** [@jack\_lee](https://discourse.julialang.org/u/jack_lee)\
**Replies:** 1\
**Last updated:** [August 18, 2024, 8:56pm UTC](https://discourse.julialang.org/t/lazy-constraint-doesnt-seem-to-work/118333 "2024-08-18T20:56:40Z")

</div>

Here is my call\_back function,it mainly used to elimilate sub-circle in route function call\_back(cb\_data) status = callback\_node\_status(cb\_data, model) x\_val = callback\_value.(cb\_data, model\[:x\]) for i ∈ 1:m d…

---

## [Integral of some ModelingToolkitQuantity](https://discourse.julialang.org/t/integral-of-some-modelingtoolkitquantity/118398)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 1\
**Last updated:** [August 20, 2024, 3:05am UTC](https://discourse.julialang.org/t/integral-of-some-modelingtoolkitquantity/118398 "2024-08-20T03:05:57Z")

</div>

I’m interested in computing the definite integral of some variable X, defined in ModelingToolkit. For sake of example, consider something like: X ~ Y \* Z D(Y) ~ Y \* 2 D(Z) ~ Z / t (in particular, X is an “observed” in …

---

## [How to link a JuMP model and a general algorithm together?](https://discourse.julialang.org/t/how-to-link-a-jump-model-and-a-general-algorithm-together/118356)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 4\
**Last updated:** [August 20, 2024, 2:59am UTC](https://discourse.julialang.org/t/how-to-link-a-jump-model-and-a-general-algorithm-together/118356 "2024-08-20T02:59:51Z")

</div>

Suppose there is a general algorithm for some kind of optimization problem in a standard form, and then there is an instance of this kind of problem which is however not written in the standard form. Both of the algorit…

---

## [Erf function is not supported](https://discourse.julialang.org/t/erf-function-is-not-supported/118251)

<div class="topic-metadata">

**Author:** [@Simran\_Lakhani](https://discourse.julialang.org/u/Simran_Lakhani)\
**Replies:** 6\
**Last updated:** [August 20, 2024, 1:11am UTC](https://discourse.julialang.org/t/erf-function-is-not-supported/118251 "2024-08-20T01:11:17Z")

</div>

I have a MINLP that involves error cdf and pdf of normal distribution in the objective function. I used erf from SpecialFunctions it is not supported. I also tried approximations of erf, even that does not work. I used K…

---

## [Is there a way to delete old solutions from a JuMP model?](https://discourse.julialang.org/t/is-there-a-way-to-delete-old-solutions-from-a-jump-model/118394)

<div class="topic-metadata">

**Author:** [@dlcole3](https://discourse.julialang.org/u/dlcole3)\
**Replies:** 1\
**Last updated:** [August 20, 2024, 1:05am UTC](https://discourse.julialang.org/t/is-there-a-way-to-delete-old-solutions-from-a-jump-model/118394 "2024-08-20T01:05:01Z")

</div>

I am working on a problem where I am solving a model and then trying to get an additional feasible solution for the model by reseting the objective function (there are more details behind this, but the general idea will …

---

## [\`solve(::OptimizationProblem)\`: ub argument not quite respected](https://discourse.julialang.org/t/solve-optimizationproblem-ub-argument-not-quite-respected/118393)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 1\
**Last updated:** [August 20, 2024, 12:09am UTC](https://discourse.julialang.org/t/solve-optimizationproblem-ub-argument-not-quite-respected/118393 "2024-08-20T00:09:33Z")

</div>

I have a fairly benign Optimization.OptimizationProblem (over an MTK problem). Passing lb, ub clearly works, but I encountered a case today where the output was retcode: Success u: 3×2 Matrix{Float64}: 10.0 15.0 18…

---

## [Optimizing function to evaluate elementary symmetric polynomials](https://discourse.julialang.org/t/optimizing-function-to-evaluate-elementary-symmetric-polynomials/118321)

<div class="topic-metadata">

**Author:** [@Gattu\_Mytraya](https://discourse.julialang.org/u/Gattu_Mytraya)\
**Replies:** 2\
**Last updated:** [August 19, 2024, 9:40pm UTC](https://discourse.julialang.org/t/optimizing-function-to-evaluate-elementary-symmetric-polynomials/118321 "2024-08-19T21:40:50Z")

</div>

Hi, I am working on optimizing the following function: @inbounds function get\_symmetric\_polynomials!(dest::Matrix{Complex{MultiFloat{Float64, 2}}}, roots::Matrix{Complex{MultiFloat{Float64, 2}}}, b::Int64) if b ==…

---

## [Genie/Stipple: hot to use Plots.jl?](https://discourse.julialang.org/t/genie-stipple-hot-to-use-plots-jl/118372)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [August 19, 2024, 2:03pm UTC](https://discourse.julialang.org/t/genie-stipple-hot-to-use-plots-jl/118372 "2024-08-19T14:03:46Z")

</div>

I am trying to run the example on the documentation: App.jlmodule App using GenieFramework, PlotlyBase @genietools function gen\_numbers(N::Int) return rand(N) end function calc\_mean(x::Vector{Float64}) return…

---

## [BVP Shooting method with free parameters](https://discourse.julialang.org/t/bvp-shooting-method-with-free-parameters/117955)

<div class="topic-metadata">

**Author:** [@psillano](https://discourse.julialang.org/u/psillano)\
**Replies:** 13\
**Last updated:** [August 19, 2024, 2:55am UTC](https://discourse.julialang.org/t/bvp-shooting-method-with-free-parameters/117955 "2024-08-19T02:55:29Z")

</div>

Hey, Im trying to solve a Boundary Value Problems with DifferentialEquations.jl. My system of equations is composed by 4 equations of which I know 3 initial conditions. One initial condition u\_0 and 2 free parameters (o…

---

## [Makie - How to make interactive plots with custom Axis3?](https://discourse.julialang.org/t/makie-how-to-make-interactive-plots-with-custom-axis3/118285)

<div class="topic-metadata">

**Author:** [@tobia](https://discourse.julialang.org/u/tobia)\
**Replies:** 6\
**Last updated:** [August 18, 2024, 6:22pm UTC](https://discourse.julialang.org/t/makie-how-to-make-interactive-plots-with-custom-axis3/118285 "2024-08-18T18:22:30Z")

</div>

I’m using WGLMakie in a Pluto notebook. Whenever I create a 3D plot with an implicit axis, for instance by using meshscatter(x, y), Makie creates an interactive plot, meaning I can rotate, pan, and zoom it using the mous…

---

## [Minimize constraint function](https://discourse.julialang.org/t/minimize-constraint-function/118120)

<div class="topic-metadata">

**Author:** [@trasor](https://discourse.julialang.org/u/trasor)\
**Replies:** 5\
**Last updated:** [August 18, 2024, 2:52pm UTC](https://discourse.julialang.org/t/minimize-constraint-function/118120 "2024-08-18T14:52:18Z")

</div>

Hello, im struggling to get one of the julia optimization packages (optim, NLopt, Jump etc…) to work to minimize a constrained function. In particular, im interested to find the minimum distance between a point and a c…

---

## [\[DifferentialEquations.jl\] Resolution of time variant exitation term](https://discourse.julialang.org/t/differentialequations-jl-resolution-of-time-variant-exitation-term/118266)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 2\
**Last updated:** [August 18, 2024, 7:58am UTC](https://discourse.julialang.org/t/differentialequations-jl-resolution-of-time-variant-exitation-term/118266 "2024-08-18T07:58:50Z")

</div>

Hi all, my question may be somewhat related to this thread. I want to solve a FEM second-order differential equation with DifferentialEquations.jl using a constant and given time-step \\Delta t. The problem is basically …

---

## [Noise inside an activation function in DifferentialEquations.jl](https://discourse.julialang.org/t/noise-inside-an-activation-function-in-differentialequations-jl/118219)

<div class="topic-metadata">

**Author:** [@duodenum](https://discourse.julialang.org/u/duodenum)\
**Replies:** 2\
**Last updated:** [August 18, 2024, 3:19am UTC](https://discourse.julialang.org/t/noise-inside-an-activation-function-in-differentialequations-jl/118219 "2024-08-18T03:19:13Z")

</div>

Hello, I am interested in solving Wilson - Cowan equations (or in general, a differential equation where noise is not multiplicative or additive per se, but put inside an activation function). For example: \\frac{dx}{dt…

---

## [Trig Simplification in Symbolics (SymbolicUtils)](https://discourse.julialang.org/t/trig-simplification-in-symbolics-symbolicutils/118312)

<div class="topic-metadata">

**Author:** [@brombo](https://discourse.julialang.org/u/brombo)\
**Replies:** 1\
**Last updated:** [August 17, 2024, 7:55pm UTC](https://discourse.julialang.org/t/trig-simplification-in-symbolics-symbolicutils/118312 "2024-08-17T19:55:28Z")

</div>

I am using Symbolics on trig functions and simplifying is not simplifying. What rules do I need to implement. Here is the results of my unsimplified expressions. If I simplify each term in the matrix using simplify …

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=88)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=90)
