# Specific Domains

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

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

**Page:** 109

---

## [Interpolation Package that works within Symbolics/MTK](https://discourse.julialang.org/t/interpolation-package-that-works-within-symbolics-mtk/114970)

<div class="topic-metadata">

**Author:** [@HSnowden](https://discourse.julialang.org/u/HSnowden)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 3:56pm UTC](https://discourse.julialang.org/t/interpolation-package-that-works-within-symbolics-mtk/114970 "2024-05-30T15:56:30Z")

</div>

Hello, I have a use case that requires an interpolation to be used from within a Modeling Toolkit Model as well as Symbolics Num’s. From what I understand the only package that can do this is DataInterpolations.jl, at l…

---

## [Trajectory Optimization using Pseudospectral collocation](https://discourse.julialang.org/t/trajectory-optimization-using-pseudospectral-collocation/114017)

<div class="topic-metadata">

**Author:** [@DTdev](https://discourse.julialang.org/u/DTdev)\
**Replies:** 10\
**Last updated:** [May 30, 2024, 3:46pm UTC](https://discourse.julialang.org/t/trajectory-optimization-using-pseudospectral-collocation/114017 "2024-05-30T15:46:13Z")

</div>

Hi everyone! I am currently trying to solve a simple trajectory optimization problem using pseudospectral collocation or orthogonal collocation. I have written a simple UAV simulation using JuMP.jl with a moving obstac…

---

## [Neural ODEs and ODE parameter estimation](https://discourse.julialang.org/t/neural-odes-and-ode-parameter-estimation/114950)

<div class="topic-metadata">

**Author:** [@usiam](https://discourse.julialang.org/u/usiam)\
**Replies:** 3\
**Last updated:** [May 30, 2024, 3:35pm UTC](https://discourse.julialang.org/t/neural-odes-and-ode-parameter-estimation/114950 "2024-05-30T15:35:10Z")

</div>

I’m trying to do some parameter estimation of parameters in a set of coupled (stiff) differential equations by using some limited data and found out about Julia’s ODE suite. Looking through some of the examples, such as…

---

## [Makie DataInspector logscale](https://discourse.julialang.org/t/makie-datainspector-logscale/114955)

<div class="topic-metadata">

**Author:** [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 11:27am UTC](https://discourse.julialang.org/t/makie-datainspector-logscale/114955 "2024-05-30T11:27:45Z")

</div>

Hi, I tried to use Makie DataInspector for logscale graph and it is not workin, MWE: fig = Figure() Axis(fig\[1,1\], xscale = log10) lines!(range(0.01, 0.99, length = 200), 1:200) DataInspector(fig) ERROR: Error …

---

## [Second-order autodiff: which combinations should work?](https://discourse.julialang.org/t/second-order-autodiff-which-combinations-should-work/114892)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 13\
**Last updated:** [May 30, 2024, 10:13am UTC](https://discourse.julialang.org/t/second-order-autodiff-which-combinations-should-work/114892 "2024-05-30T10:13:09Z")

</div>

Hey there! My package DifferentiationInterface.jl provides the necessary infrastructure for second-order automatic differentiation (e.g. Hessians). It allows you to combine arbitrary pairs of AD backends, but of course …

---

## [Reducing CairoMakie PDF file sizes with PNG integration](https://discourse.julialang.org/t/reducing-cairomakie-pdf-file-sizes-with-png-integration/114948)

<div class="topic-metadata">

**Author:** [@nari](https://discourse.julialang.org/u/nari)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 8:54am UTC](https://discourse.julialang.org/t/reducing-cairomakie-pdf-file-sizes-with-png-integration/114948 "2024-05-30T08:54:12Z")

</div>

The CairoMakie heatmap is very useful and I use it on a daily basis. However, the file size can be large when output to a pdf file (usually more than a few MB for my usage). By saving the layout, axes, annotations, etc. …

---

## [Makie.jl: plot with log-scale axes](https://discourse.julialang.org/t/makie-jl-plot-with-log-scale-axes/40132)

<div class="topic-metadata">

**Author:** [@disberd](https://discourse.julialang.org/u/disberd)\
**Replies:** 6\
**Last updated:** [May 30, 2024, 7:49am UTC](https://discourse.julialang.org/t/makie-jl-plot-with-log-scale-axes/40132 "2024-05-30T07:49:51Z")

</div>

Is there a way in Makie.jl to have log-scale for the axes in a plot? I can’t seem to find any mention about it in the official documentation

---

## [How to get evenly distributed values from Highs](https://discourse.julialang.org/t/how-to-get-evenly-distributed-values-from-highs/114559)

<div class="topic-metadata">

**Author:** [@himgoy](https://discourse.julialang.org/u/himgoy)\
**Replies:** 9\
**Last updated:** [May 30, 2024, 6:09am UTC](https://discourse.julialang.org/t/how-to-get-evenly-distributed-values-from-highs/114559 "2024-05-30T06:09:20Z")

</div>

Hello Everyone, I am working on a linear programming problem. I want to solve variables for the constraints. The issue is I am able to get feasible values for all my variables from HiGHs for my problem, but these value…

---

## [Indentify parameters in an ODEProblem](https://discourse.julialang.org/t/indentify-parameters-in-an-odeproblem/114784)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 17\
**Last updated:** [May 30, 2024, 6:00am UTC](https://discourse.julialang.org/t/indentify-parameters-in-an-odeproblem/114784 "2024-05-30T06:00:19Z")

</div>

Hello, I have specified a model in Turing.jl as follows: using Turing @model function LGDS(x::AbstractArray, prob, params::Dict, t\_int) # prior distributions σ ~ InverseGamma(2, 3) lC ~ MvNormal(params\[:…

---

## [NLopt Constraint](https://discourse.julialang.org/t/nlopt-constraint/114856)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 4\
**Last updated:** [May 28, 2024, 10:27pm UTC](https://discourse.julialang.org/t/nlopt-constraint/114856 "2024-05-28T22:27:28Z")

</div>

Hi, I am using Nlopt for optimization. my objective function depends on three variables like x1,x2,x3 also I have a constraint which depends on all three variable. I want to do the optimization just for x3 variable. shou…

---

## [Initializing local variables on workers without using excessive memory](https://discourse.julialang.org/t/initializing-local-variables-on-workers-without-using-excessive-memory/114713)

<div class="topic-metadata">

**Author:** [@lgo](https://discourse.julialang.org/u/lgo)\
**Replies:** 1\
**Last updated:** [May 29, 2024, 10:55am UTC](https://discourse.julialang.org/t/initializing-local-variables-on-workers-without-using-excessive-memory/114713 "2024-05-29T10:55:48Z")

</div>

I’m using Julia and JuMP to solve a massive optimization problem with decomposition on a HPC. For this purpose, I want to initialize an independent optimization problem on each worker and then solve it repeatedly. So far…

---

## [Using du in system of ODEs](https://discourse.julialang.org/t/using-du-in-system-of-odes/114590)

<div class="topic-metadata">

**Author:** [@cgreysongaito](https://discourse.julialang.org/u/cgreysongaito)\
**Replies:** 3\
**Last updated:** [May 29, 2024, 10:42am UTC](https://discourse.julialang.org/t/using-du-in-system-of-odes/114590 "2024-05-29T10:42:20Z")

</div>

I am numerically solving a system of odes. One of the equations uses two other odes within the system of odes. However, I get different results depending on the order of the equations in the function. For MWEtest1!, ωₘ, …

---

## [How to sample ordered variables with different distributions in turing](https://discourse.julialang.org/t/how-to-sample-ordered-variables-with-different-distributions-in-turing/108455)

<div class="topic-metadata">

**Author:** [@gonzalo](https://discourse.julialang.org/u/gonzalo)\
**Replies:** 19\
**Last updated:** [May 29, 2024, 8:26am UTC](https://discourse.julialang.org/t/how-to-sample-ordered-variables-with-different-distributions-in-turing/108455 "2024-05-29T08:26:40Z")

</div>

Hi julia bros, I want to use turing to sample ordered variables each with different distributions. For example, X~Normal(0,1) Y~Exp(1), Z~Uniform(0,1) and require X\>Y\>Z I know this can be done by rejection sampl…

---

## [Adding new constraints](https://discourse.julialang.org/t/adding-new-constraints/114884)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 1\
**Last updated:** [May 29, 2024, 2:12am UTC](https://discourse.julialang.org/t/adding-new-constraints/114884 "2024-05-29T02:12:13Z")

</div>

Dear all, I have a MWE where I want to add new constraints into a model inside a function: m,n=10,20 A=rand(-10:10,m,n) b=\[sum(A\[i,:\]) for i in 1:m\]/2 function Basic\_model(A,b,n) modelo = Model(Gurobi.Optimizer) …

---

## [Using Symbolics to compute Hessian of a large objective function](https://discourse.julialang.org/t/using-symbolics-to-compute-hessian-of-a-large-objective-function/93805)

<div class="topic-metadata">

**Author:** [@zornsllama](https://discourse.julialang.org/u/zornsllama)\
**Replies:** 1\
**Last updated:** [May 28, 2024, 8:17pm UTC](https://discourse.julialang.org/t/using-symbolics-to-compute-hessian-of-a-large-objective-function/93805 "2024-05-28T20:17:50Z")

</div>

Hi all, I’m trying to use Symbolics.jl to compute the Hessian of a large sum-of-squares type objective function, e.g. something like \\sum\_{i=i}^{N-2} f(x\_i, x\_{i+1}, x\_{i+2})^2 where f is some nonlinear function. I have…

---

## [Issue with updating ModelingToolkit and remake command](https://discourse.julialang.org/t/issue-with-updating-modelingtoolkit-and-remake-command/112164)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 3\
**Last updated:** [May 28, 2024, 6:50pm UTC](https://discourse.julialang.org/t/issue-with-updating-modelingtoolkit-and-remake-command/112164 "2024-05-28T18:50:25Z")

</div>

I am trying to run the following code but I get the following error when I run the remake command at the end: ERROR: MethodError: Cannot convert an object of type Pair{SymbolicUtils.BasicSymbolic{Real}, Float64} to an …

---

## [AMDGPU.jl and AMD Instinct MI300A APUs](https://discourse.julialang.org/t/amdgpu-jl-and-amd-instinct-mi300a-apus/114850)

<div class="topic-metadata">

**Author:** [@cameg27](https://discourse.julialang.org/u/cameg27)\
**Replies:** 1\
**Last updated:** [May 28, 2024, 4:18pm UTC](https://discourse.julialang.org/t/amdgpu-jl-and-amd-instinct-mi300a-apus/114850 "2024-05-28T16:18:28Z")

</div>

Hi everyone, At my research institute, we’re considering purchasing a server equipped with four AMD Instinct MI300A APUs. Our numerical code is entirely written in Julia and currently runs smoothly on NVIDIA GPUs using C…

---

## [Adding a plot triggers axis reset in Makie](https://discourse.julialang.org/t/adding-a-plot-triggers-axis-reset-in-makie/114820)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 2\
**Last updated:** [May 28, 2024, 11:01am UTC](https://discourse.julialang.org/t/adding-a-plot-triggers-axis-reset-in-makie/114820 "2024-05-28T11:01:08Z")

</div>

If I have a makie plot using GLMakie fig = Figure() ax = Axis(fig\[1,1\]) scatter!(ax, 10, 10) fig zoom and pan and then add another plot scatter!(ax, 0, 0) the view port is reset. How can I prevent that?

---

## [Use the homography matrix from Apriltag](https://discourse.julialang.org/t/use-the-homography-matrix-from-apriltag/114824)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 0\
**Last updated:** [May 28, 2024, 9:38am UTC](https://discourse.julialang.org/t/use-the-homography-matrix-from-apriltag/114824 "2024-05-28T09:38:43Z")

</div>

This is just to share a piece of a code that might prove useful for someone. If you want to use the homography matrix from a detected Apriltag (such as the ones from Apriltags.jl), in order to convert from pixel coordin…

---

## [Approximating the inverse of an expensive CDF function](https://discourse.julialang.org/t/approximating-the-inverse-of-an-expensive-cdf-function/114809)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 2\
**Last updated:** [May 28, 2024, 4:32am UTC](https://discourse.julialang.org/t/approximating-the-inverse-of-an-expensive-cdf-function/114809 "2024-05-28T04:32:32Z")

</div>

I have a CDF for a real-valued random variable that is relatively expensive to compute and I require an approximate inverse to implement sampling. There exist techniques adapted to this use case. One technique, implemen…

---

## [Activating environment triggers error in CUDA](https://discourse.julialang.org/t/activating-environment-triggers-error-in-cuda/114710)

<div class="topic-metadata">

**Author:** [@lance\_xwq](https://discourse.julialang.org/u/lance_xwq)\
**Replies:** 5\
**Last updated:** [May 28, 2024, 1:09am UTC](https://discourse.julialang.org/t/activating-environment-triggers-error-in-cuda/114710 "2024-05-28T01:09:02Z")

</div>

Hi all, I ran into a strange issue today; it seems that activating an environment of mine would trigger an ArgumentError: Pass LowerSIMDLoop error in CUDA. The full error message is at the end of this post. This env…

---

## [DifferentialEquations v7.13.0 FunctionWrappersWrappers Error](https://discourse.julialang.org/t/differentialequations-v7-13-0-functionwrapperswrappers-error/114612)

<div class="topic-metadata">

**Author:** [@rebetz](https://discourse.julialang.org/u/rebetz)\
**Replies:** 7\
**Last updated:** [May 28, 2024, 12:36am UTC](https://discourse.julialang.org/t/differentialequations-v7-13-0-functionwrapperswrappers-error/114612 "2024-05-28T00:36:10Z")

</div>

Hello, I have existing code that uses the DifferentialEquations package that was working fine yesterday, but when run today (23/5/2024) it is giving a message from the solver code: ERROR: FunctionWrappersWrappers.NoFun…

---

## [SCS and Mosek give very different answers](https://discourse.julialang.org/t/scs-and-mosek-give-very-different-answers/114739)

<div class="topic-metadata">

**Author:** [@Sam\_Hopkins](https://discourse.julialang.org/u/Sam_Hopkins)\
**Replies:** 6\
**Last updated:** [May 27, 2024, 11:00am UTC](https://discourse.julialang.org/t/scs-and-mosek-give-very-different-answers/114739 "2024-05-27T11:00:35Z")

</div>

Hi, I’m looking for help with semidefinite programming libraries, in particular Mosek.jl and SCS.jl, which I am accessing via JuMP. I have a particular semidefinite program, unfortunately not so small, for which SCS an…

---

## [Integration packages to calculate the first N Fourier coefficients](https://discourse.julialang.org/t/integration-packages-to-calculate-the-first-n-fourier-coefficients/114787)

<div class="topic-metadata">

**Author:** [@ccmejia](https://discourse.julialang.org/u/ccmejia)\
**Replies:** 3\
**Last updated:** [May 27, 2024, 6:54pm UTC](https://discourse.julialang.org/t/integration-packages-to-calculate-the-first-n-fourier-coefficients/114787 "2024-05-27T18:54:58Z")

</div>

I am trying to calculate the first N Fourier coefficients for sampled data (harmonic + gaussian like). The Riemann sum was my first approach, however I think the results are not enough accurate. Therefore, I am trying t…

---

## [Is solving a PDE using ParallelStencil an explicit method?](https://discourse.julialang.org/t/is-solving-a-pde-using-parallelstencil-an-explicit-method/114785)

<div class="topic-metadata">

**Author:** [@jdm204](https://discourse.julialang.org/u/jdm204)\
**Replies:** 2\
**Last updated:** [May 27, 2024, 2:39pm UTC](https://discourse.julialang.org/t/is-solving-a-pde-using-parallelstencil-an-explicit-method/114785 "2024-05-27T14:39:11Z")

</div>

Hi all, I’m trying to implement diffusion in my 3D Agents.jl agent-based model. The “agents” produce or consume substance at each time step, thus changing the local concentration at their grid position x,y,z. I then run …

---

## [CairoMakie: Restrict PDF version](https://discourse.julialang.org/t/cairomakie-restrict-pdf-version/113939)

<div class="topic-metadata">

**Author:** [@barucden](https://discourse.julialang.org/u/barucden)\
**Replies:** 5\
**Last updated:** [May 27, 2024, 2:07pm UTC](https://discourse.julialang.org/t/cairomakie-restrict-pdf-version/113939 "2024-05-27T14:07:50Z")

</div>

I need to restrict the version of output PDFs to 1.5. I didn’t figure out how to do it. I could only find a Discourse topic, where it was pointed out that cairo provides a function to restrict the version. I am not fami…

---

## [Issues while installing ApproxBayes.jl or KissABC.jl](https://discourse.julialang.org/t/issues-while-installing-approxbayes-jl-or-kissabc-jl/114781)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 0\
**Last updated:** [May 27, 2024, 12:50pm UTC](https://discourse.julialang.org/t/issues-while-installing-approxbayes-jl-or-kissabc-jl/114781 "2024-05-27T12:50:31Z")

</div>

Hello everyone, I’m facing some issue while installing ApproxBayes or KissABC package. Issue is related to conflict among versions of dependencies I think. Below you can see error that I got. It will be very helpful if …

---

## [Issues Importing Excel Files with XLSX.jl Package](https://discourse.julialang.org/t/issues-importing-excel-files-with-xlsx-jl-package/114717)

<div class="topic-metadata">

**Author:** [@phil25](https://discourse.julialang.org/u/phil25)\
**Replies:** 2\
**Last updated:** [May 27, 2024, 12:09pm UTC](https://discourse.julialang.org/t/issues-importing-excel-files-with-xlsx-jl-package/114717 "2024-05-27T12:09:29Z")

</div>

Dear all, I’m currently using the XLSX.jl package in Julia to import several Excel files. Unfortunately, I don’t have access to the original sources of these files and have to work with the existing versions. I’ve enco…

---

## [The general cause of the error that "Enzyme could not find shadow for value" in Enzyme.jl](https://discourse.julialang.org/t/the-general-cause-of-the-error-that-enzyme-could-not-find-shadow-for-value-in-enzyme-jl/114719)

<div class="topic-metadata">

**Author:** [@ToPo](https://discourse.julialang.org/u/ToPo)\
**Replies:** 4\
**Last updated:** [May 27, 2024, 11:48am UTC](https://discourse.julialang.org/t/the-general-cause-of-the-error-that-enzyme-could-not-find-shadow-for-value-in-enzyme-jl/114719 "2024-05-27T11:48:55Z")

</div>

When the reverse mode of Enzyme.jl was run, the following error was displayed. What are the main causes of the following error messages? Does anyone know the general reason for what causes it? “mutable struct” is crea…

---

## [Representing Julia expressions AST using a directed graph](https://discourse.julialang.org/t/representing-julia-expressions-ast-using-a-directed-graph/114751)

<div class="topic-metadata">

**Author:** [@younes](https://discourse.julialang.org/u/younes)\
**Replies:** 8\
**Last updated:** [May 27, 2024, 11:11am UTC](https://discourse.julialang.org/t/representing-julia-expressions-ast-using-a-directed-graph/114751 "2024-05-27T11:11:44Z")

</div>

My graph should represent the AST of Julia expressions like y = x + 10/a for instance; there is a catch though, these ys and xs are not just mere numbers; they are custom types (wrappers) that hold, among other things, n…

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

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