# Specific Domains

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

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

**Page:** 201

---

## [UndefVarError: solver not defined](https://discourse.julialang.org/t/undefvarerror-solver-not-defined/97497)

<div class="topic-metadata">

**Author:** [@Meilame\_Tayebjee](https://discourse.julialang.org/u/Meilame_Tayebjee)\
**Replies:** 3\
**Last updated:** [April 15, 2023, 3:56am UTC](https://discourse.julialang.org/t/undefvarerror-solver-not-defined/97497 "2023-04-15T03:56:30Z")

</div>

Hi, I am trying to run that small code that comes from Introduction to Julia using JuMP, Clp m = Model() @variable(m, x \>=0) @variable(m, y \>=0) @objective(m, Min, 10x + 26y) @constraint(m, const1, 11x + 3y \>= 21) @con…

---

## [Scalling both primal and dual feasibility tolerance according to the size of the problem](https://discourse.julialang.org/t/scalling-both-primal-and-dual-feasibility-tolerance-according-to-the-size-of-the-problem/97455)

<div class="topic-metadata">

**Author:** [@ErwanMeunier](https://discourse.julialang.org/u/ErwanMeunier)\
**Replies:** 2\
**Last updated:** [April 15, 2023, 12:44am UTC](https://discourse.julialang.org/t/scalling-both-primal-and-dual-feasibility-tolerance-according-to-the-size-of-the-problem/97455 "2023-04-15T00:44:17Z")

</div>

Hi, I have JuMP (MILP) models usually solved by HiGHS. Since some of my models were pretty constrained and had a lot of variables, some numerical issues arose and made some problems infeasible. I hence had to cross swor…

---

## [A new solver for robustified non-linear least squares problems, with non-Euclidean variables](https://discourse.julialang.org/t/a-new-solver-for-robustified-non-linear-least-squares-problems-with-non-euclidean-variables/96085)

<div class="topic-metadata">

**Author:** [@user664303](https://discourse.julialang.org/u/user664303)\
**Replies:** 6\
**Last updated:** [April 14, 2023, 10:30pm UTC](https://discourse.julialang.org/t/a-new-solver-for-robustified-non-linear-least-squares-problems-with-non-euclidean-variables/96085 "2023-04-14T22:30:19Z")

</div>

I have written a new solver for robustified non-linear least squares problems, with non-Euclidean variables. It can compute auto-differentiated Jacobians when necessary. I have called the package NLLSsolver. Please feel …

---

## [Type instability with CuVector inside struct](https://discourse.julialang.org/t/type-instability-with-cuvector-inside-struct/97476)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 2\
**Last updated:** [April 14, 2023, 5:45pm UTC](https://discourse.julialang.org/t/type-instability-with-cuvector-inside-struct/97476 "2023-04-14T17:45:38Z")

</div>

this is a very simple problem, so i fear i’m making a dumb mistake. apologies if so. but i can’t figure out why the function foo below is type unstable when input with a struct that has a CuVector in it, whereas if it’…

---

## [Ratio between the plot and the figure - white area around](https://discourse.julialang.org/t/ratio-between-the-plot-and-the-figure-white-area-around/97406)

<div class="topic-metadata">

**Author:** [@gnicolosi](https://discourse.julialang.org/u/gnicolosi)\
**Replies:** 4\
**Last updated:** [April 14, 2023, 4:32pm UTC](https://discourse.julialang.org/t/ratio-between-the-plot-and-the-figure-white-area-around/97406 "2023-04-14T16:32:44Z")

</div>

I am having trouble removing this white area around my plot: I have tried aspect\_ratio and size options but couldn’t change. It happens both in VSCode and Jupyter notebook. It doesn’t happen in my laptop though. Any g…

---

## [How to use DifferentialEquations.jl to do a Monte Carlo](https://discourse.julialang.org/t/how-to-use-differentialequations-jl-to-do-a-monte-carlo/97450)

<div class="topic-metadata">

**Author:** [@marcofrancis](https://discourse.julialang.org/u/marcofrancis)\
**Replies:** 1\
**Last updated:** [April 14, 2023, 10:51am UTC](https://discourse.julialang.org/t/how-to-use-differentialequations-jl-to-do-a-monte-carlo/97450 "2023-04-14T10:51:07Z")

</div>

Hi, I managed to simulate (with EnsembleProblem ) 1000 paths of a 2-dimensional SDE. Let’s call the one dimensional components x(t) and y(t). I have some problems handling the solution to the problem: the paths are of d…

---

## [Large ManifoldProjection causing memory issues in DifferentialEquations.jl](https://discourse.julialang.org/t/large-manifoldprojection-causing-memory-issues-in-differentialequations-jl/97420)

<div class="topic-metadata">

**Author:** [@chrishalcrow](https://discourse.julialang.org/u/chrishalcrow)\
**Replies:** 2\
**Last updated:** [April 14, 2023, 7:56am UTC](https://discourse.julialang.org/t/large-manifoldprojection-causing-memory-issues-in-differentialequations-jl/97420 "2023-04-14T07:56:05Z")

</div>

Hello, I’m solving a PDE in three spatial dimension where the field takes values in S^3. A convenient way to work with this is to define a four-vector u and project it onto the sphere at each point. So I have u\_i(x,y,z)…

---

## [Interesting paper from Oak Ridge: Evaluating performance and portability of high-level programming models:](https://discourse.julialang.org/t/interesting-paper-from-oak-ridge-evaluating-performance-and-portability-of-high-level-programming-models/97451)

<div class="topic-metadata">

**Author:** [@Perrin\_Meyer](https://discourse.julialang.org/u/Perrin_Meyer)\
**Replies:** 1\
**Last updated:** [April 13, 2023, 9:43pm UTC](https://discourse.julialang.org/t/interesting-paper-from-oak-ridge-evaluating-performance-and-portability-of-high-level-programming-models/97451 "2023-04-13T21:43:18Z")

</div>

I noticed this interesting paper from Oak Ridge browsing arXiv: Evaluating performance and portability of high-level programming models: Julia, Python/Numba, and Kokkos on exascale nodes

---

## [Are there any pertained models to generated image, text,video and audio embeddings in Julia ? If yes where can I find /download them to use?](https://discourse.julialang.org/t/are-there-any-pertained-models-to-generated-image-text-video-and-audio-embeddings-in-julia-if-yes-where-can-i-find-download-them-to-use/97408)

<div class="topic-metadata">

**Author:** [@5hv5hvnk](https://discourse.julialang.org/u/5hv5hvnk)\
**Replies:** 2\
**Last updated:** [April 13, 2023, 9:04pm UTC](https://discourse.julialang.org/t/are-there-any-pertained-models-to-generated-image-text-video-and-audio-embeddings-in-julia-if-yes-where-can-i-find-download-them-to-use/97408 "2023-04-13T21:04:58Z")

</div>

I want to find embedding of different type of datafiles and save them. Since I am quite new to Julia I am not being able to find appropriate models that does these tasks. Thank you

---

## [How to make Zygote's gradient function work with a custom rrule](https://discourse.julialang.org/t/how-to-make-zygotes-gradient-function-work-with-a-custom-rrule/97439)

<div class="topic-metadata">

**Author:** [@gladisor](https://discourse.julialang.org/u/gladisor)\
**Replies:** 0\
**Last updated:** [April 13, 2023, 6:16pm UTC](https://discourse.julialang.org/t/how-to-make-zygotes-gradient-function-work-with-a-custom-rrule/97439 "2023-04-13T18:16:35Z")

</div>

Here is a link to my issue which describes the problem I am facing:

---

## [Posterior prediction in Turing](https://discourse.julialang.org/t/posterior-prediction-in-turing/97355)

<div class="topic-metadata">

**Author:** [@jfhawkin](https://discourse.julialang.org/u/jfhawkin)\
**Replies:** 4\
**Last updated:** [April 13, 2023, 6:10pm UTC](https://discourse.julialang.org/t/posterior-prediction-in-turing/97355 "2023-04-13T18:10:09Z")

</div>

I’m looking to replicate the below code snippet from a Stan example. I’m having a hard time figuring out the syntax to replicate the Turing predict() example for my logistic regression model and translating the Stan code…

---

## [\[Help\] Nested ForwardDiff.jacobian of an Integrals.IntegralProblem](https://discourse.julialang.org/t/help-nested-forwarddiff-jacobian-of-an-integrals-integralproblem/97430)

<div class="topic-metadata">

**Author:** [@aafsar](https://discourse.julialang.org/u/aafsar)\
**Replies:** 2\
**Last updated:** [April 13, 2023, 5:36pm UTC](https://discourse.julialang.org/t/help-nested-forwarddiff-jacobian-of-an-integrals-integralproblem/97430 "2023-04-13T17:36:03Z")

</div>

I have an integration problem (actually vector-valued, but problem here applies to scalar-valued ones as well) as a part of my model which it might be helpful to calculate its Hessian. I follow the documentation of Integ…

---

## [Make a Legend with width equal to an axis](https://discourse.julialang.org/t/make-a-legend-with-width-equal-to-an-axis/97317)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 11\
**Last updated:** [April 13, 2023, 5:29pm UTC](https://discourse.julialang.org/t/make-a-legend-with-width-equal-to-an-axis/97317 "2023-04-13T17:29:26Z")

</div>

Hi, I am trying to recreate the following PyPlot image with Makie: I know how to make everything in the figure except one thing: how to make the legend width to be exactly the same as the axis below it. Any help woul…

---

## [Replacing missing values in DataFrames.jl with function requiring multiple inputs](https://discourse.julialang.org/t/replacing-missing-values-in-dataframes-jl-with-function-requiring-multiple-inputs/97323)

<div class="topic-metadata">

**Author:** [@dleather](https://discourse.julialang.org/u/dleather)\
**Replies:** 2\
**Last updated:** [April 13, 2023, 11:04am UTC](https://discourse.julialang.org/t/replacing-missing-values-in-dataframes-jl-with-function-requiring-multiple-inputs/97323 "2023-04-13T11:04:07Z")

</div>

The code below should create a new column in a DataFrame, new\_MaxAllwFAR = \[15.0, 15.0, 15.0, 15.0\]. Instead it creates, new\_MaxAllwFAR = \[15.0, 15.0, missing, missing\]. Can you help me understand why? And how should…

---

## [Difference equation with neural network](https://discourse.julialang.org/t/difference-equation-with-neural-network/97403)

<div class="topic-metadata">

**Author:** [@quantiota](https://discourse.julialang.org/u/quantiota)\
**Replies:** 0\
**Last updated:** [April 12, 2023, 7:07pm UTC](https://discourse.julialang.org/t/difference-equation-with-neural-network/97403 "2023-04-12T19:07:30Z")

</div>

Someone can give me a research direction to find the time series w\[i\] so that the loss function sum(F.^2) is minimized for a known time series q. # define a function to calculate the values of F for a given time serie…

---

## [How is the performance of GraphNeuralNetworks.jl compared to PytorchGeometric?](https://discourse.julialang.org/t/how-is-the-performance-of-graphneuralnetworks-jl-compared-to-pytorchgeometric/97396)

<div class="topic-metadata">

**Author:** [@DoktorMike](https://discourse.julialang.org/u/DoktorMike)\
**Replies:** 4\
**Last updated:** [April 13, 2023, 11:30am UTC](https://discourse.julialang.org/t/how-is-the-performance-of-graphneuralnetworks-jl-compared-to-pytorchgeometric/97396 "2023-04-13T11:30:45Z")

</div>

I’ve been playing around with the excellent GraphNeuralNetworks.jl and am thinking about applying it to the biochemistry domain. Specifically within drug discovery. I was wondering if anyone has tried to benchmark speed …

---

## [CUTENSOR not available](https://discourse.julialang.org/t/cutensor-not-available/97341)

<div class="topic-metadata">

**Author:** [@lello](https://discourse.julialang.org/u/lello)\
**Replies:** 7\
**Last updated:** [April 13, 2023, 9:36am UTC](https://discourse.julialang.org/t/cutensor-not-available/97341 "2023-04-13T09:36:02Z")

</div>

Hi All, I am trying to install CUDA with CUTENSOR support on a Debian 11+julia 1.8.5, but witout success. The main problem is that CUTENSOR is non supported at moment for the new CUDA 12.1 drivers. This is the error m…

---

## [\[Plots.jl\] Can't show data on hover (surface plot)](https://discourse.julialang.org/t/plots-jl-cant-show-data-on-hover-surface-plot/56397)

<div class="topic-metadata">

**Author:** [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Replies:** 5\
**Last updated:** [April 13, 2023, 8:59am UTC](https://discourse.julialang.org/t/plots-jl-cant-show-data-on-hover-surface-plot/56397 "2023-04-13T08:59:18Z")

</div>

Hello! My problem For my application, I need to be able to obtain data points when hovering over a surface plot. As far as I know: Makie has no backend that supports this feature In Plots, there are two backends that …

---

## [Recovering different form from JuMP model](https://discourse.julialang.org/t/recovering-different-form-from-jump-model/97401)

<div class="topic-metadata">

**Author:** [@shakedregev](https://discourse.julialang.org/u/shakedregev)\
**Replies:** 3\
**Last updated:** [April 12, 2023, 11:33pm UTC](https://discourse.julialang.org/t/recovering-different-form-from-jump-model/97401 "2023-04-12T23:33:31Z")

</div>

If I have a model that I know represents the LP min c'x s.t. Ax\<=b how can I extract (A, b, c) from the model? I know JuMP.\_nlp\_objective\_function will give me the objective function, but I actually need the vector c …

---

## [Getting Turing to work with a hierarchical multinomial regression model](https://discourse.julialang.org/t/getting-turing-to-work-with-a-hierarchical-multinomial-regression-model/97386)

<div class="topic-metadata">

**Author:** [@Matan](https://discourse.julialang.org/u/Matan)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 4:09pm UTC](https://discourse.julialang.org/t/getting-turing-to-work-with-a-hierarchical-multinomial-regression-model/97386 "2023-04-12T16:09:48Z")

</div>

Hi everyone, I’m sorry if this question is too specific. I tried following advice in previous similar threads but couldn’t get anything to work, so figured I should try asking myself. For context, I’m modeling 5000 Han…

---

## [Makie theming axis on specific plot recipes](https://discourse.julialang.org/t/makie-theming-axis-on-specific-plot-recipes/97395)

<div class="topic-metadata">

**Author:** [@kunzaatko](https://discourse.julialang.org/u/kunzaatko)\
**Replies:** 0\
**Last updated:** [April 12, 2023, 2:38pm UTC](https://discourse.julialang.org/t/makie-theming-axis-on-specific-plot-recipes/97395 "2023-04-12T14:38:20Z")

</div>

Is there a way to theme the Axis in makie for specific recipes differently. My specific use-case is that I would like to reverse the y axis and make the aspect use DataAspect but only for image plots. The ideal way that …

---

## [Create array of hexagons, place in index, and search by point](https://discourse.julialang.org/t/create-array-of-hexagons-place-in-index-and-search-by-point/97325)

<div class="topic-metadata">

**Author:** [@thk686](https://discourse.julialang.org/u/thk686)\
**Replies:** 11\
**Last updated:** [April 12, 2023, 2:31pm UTC](https://discourse.julialang.org/t/create-array-of-hexagons-place-in-index-and-search-by-point/97325 "2023-04-12T14:31:11Z")

</div>

I’ve been looking at JuliaGeo to how I might do the following: 1) create a tiled array of hexagons, 2) put them in a spatial index, and 3) be able to find which hexagon intersects a point. I have written this code in Boo…

---

## [MTK & missing parameters, MWE](https://discourse.julialang.org/t/mtk-missing-parameters-mwe/96945)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [April 12, 2023, 11:22am UTC](https://discourse.julialang.org/t/mtk-missing-parameters-mwe/96945 "2023-04-12T11:22:39Z")

</div>

OK – I’m trying again – with a MWE. Consider this an observation (I’m not saying this should be changed in MTK). This post is more meant as a request for advice on best practice. Consider the DAE \\frac{dx}{dt} = -b\\cd…

---

## [Turn off interactivity/responsiveness in plotly/plotlyjs backend](https://discourse.julialang.org/t/turn-off-interactivity-responsiveness-in-plotly-plotlyjs-backend/97225)

<div class="topic-metadata">

**Author:** [@iabraham](https://discourse.julialang.org/u/iabraham)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 8:18am UTC](https://discourse.julialang.org/t/turn-off-interactivity-responsiveness-in-plotly-plotlyjs-backend/97225 "2023-04-12T08:18:12Z")

</div>

What is the keyword to turn off the interactivity or responsiveness in the plotly backend for the Plots backend in Julia? For reference, I am using Pluto and while the interactivity is great, I am doing some very dense …

---

## [Questions about using CUDA.jl for GPU concurrent programming: Computational results cannot be obtained when overlapping GPU and CPU operations](https://discourse.julialang.org/t/questions-about-using-cuda-jl-for-gpu-concurrent-programming-computational-results-cannot-be-obtained-when-overlapping-gpu-and-cpu-operations/97297)

<div class="topic-metadata">

**Author:** [@fred\_wu](https://discourse.julialang.org/u/fred_wu)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 7:21am UTC](https://discourse.julialang.org/t/questions-about-using-cuda-jl-for-gpu-concurrent-programming-computational-results-cannot-be-obtained-when-overlapping-gpu-and-cpu-operations/97297 "2023-04-12T07:21:45Z")

</div>

Hi， I’m new to julia parallel programming.I want to make the idle CPU work together when the GPU is doing calculations, so I wrote the following code. However, what confuses me is that I can’t get the calculation result…

---

## [TensorKit efficiency](https://discourse.julialang.org/t/tensorkit-efficiency/59559)

<div class="topic-metadata">

**Author:** [@Nellatur](https://discourse.julialang.org/u/Nellatur)\
**Replies:** 11\
**Last updated:** [April 12, 2023, 5:40am UTC](https://discourse.julialang.org/t/tensorkit-efficiency/59559 "2023-04-12T05:40:20Z")

</div>

I tried to run a contraction A\[a,b\]\*B\[b,c,d\] = C\[a,c,d\], assume repeated index b as summation using TensorKit. By the following code, it seems TensorKit is even slower than nested loops. Does TensorKit use BLAS? or is…

---

## [Combine mp4 videos](https://discourse.julialang.org/t/combine-mp4-videos/97368)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 1\
**Last updated:** [April 11, 2023, 10:36pm UTC](https://discourse.julialang.org/t/combine-mp4-videos/97368 "2023-04-11T22:36:06Z")

</div>

I have about 500 animations in mp4 format, each about 600 frames and 40 seconds long. The files are named something like: video\_001.mp4 video\_002.mp4 ⋮ video\_500.mp4 All of the videos have the same dimensions and frame…

---

## [Memory allocation with Julia 1.8.5 release](https://discourse.julialang.org/t/memory-allocation-with-julia-1-8-5-release/97362)

<div class="topic-metadata">

**Author:** [@Mikel\_Antonana](https://discourse.julialang.org/u/Mikel_Antonana)\
**Replies:** 0\
**Last updated:** [April 11, 2023, 7:22pm UTC](https://discourse.julialang.org/t/memory-allocation-with-julia-1-8-5-release/97362 "2023-04-11T19:22:17Z")

</div>

In a new implementation of an ODE solver, we have a problem with memory allocations with Julia version 1.8.5: 1- With version 1.6.6, the memory allocations are correct, that is, they are constant and independent of the …

---

## [Is it possible to keep some weights fixed during training](https://discourse.julialang.org/t/is-it-possible-to-keep-some-weights-fixed-during-training/91752)

<div class="topic-metadata">

**Author:** [@quantiota](https://discourse.julialang.org/u/quantiota)\
**Replies:** 4\
**Last updated:** [April 11, 2023, 5:53pm UTC](https://discourse.julialang.org/t/is-it-possible-to-keep-some-weights-fixed-during-training/91752 "2023-04-11T17:53:56Z")

</div>

the weights of the first layer are real parameters and i need to fix the values to zero for the rising arrows.

---

## [Convert binary mask to shapefile](https://discourse.julialang.org/t/convert-binary-mask-to-shapefile/97322)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 4\
**Last updated:** [April 11, 2023, 3:57pm UTC](https://discourse.julialang.org/t/convert-binary-mask-to-shapefile/97322 "2023-04-11T15:57:11Z")

</div>

I have a large (20,000 x 25,000) binary mask that defines the shape of an island. What’s the best way to convert the mask into a polygon and and save it as a shapefile?

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

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