# Specific Domains

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

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

**Page:** 154

---

## [Logarithmic Smoothing - A Tutorial and Two Package Ideas](https://discourse.julialang.org/t/logarithmic-smoothing-a-tutorial-and-two-package-ideas/84877)

<div class="topic-metadata">

**Author:** [@LostInMusic](https://discourse.julialang.org/u/LostInMusic)\
**Replies:** 8\
**Last updated:** [November 16, 2023, 3:00am UTC](https://discourse.julialang.org/t/logarithmic-smoothing-a-tutorial-and-two-package-ideas/84877 "2023-11-16T03:00:29Z")

</div>

As a person interested in acoustics, I often plot FFT results on double-logarithmic scales. The results are often pretty noisy and smoothing is typically applied, for example with a width of 1/12 octaves. Unfortunately, …

---

## [OutOfMemoryError() on large multicommodity flow model](https://discourse.julialang.org/t/outofmemoryerror-on-large-multicommodity-flow-model/106286)

<div class="topic-metadata">

**Author:** [@nemoincognito](https://discourse.julialang.org/u/nemoincognito)\
**Replies:** 3\
**Last updated:** [November 16, 2023, 1:30am UTC](https://discourse.julialang.org/t/outofmemoryerror-on-large-multicommodity-flow-model/106286 "2023-11-16T01:30:40Z")

</div>

I ran the code below: model = Model(HiGHS.Optimizer) # Generate a flow variable for each item in df\_flowslist1 which is ~500k items df\_flowslist1.x\_flow = @variable(model, x\[1:size(df\_flowslist1, 1)\] \>= 0) #generate a…

---

## [Unsatisfiable requirements detected: MultiObjectiveAlgorithms package](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-multiobjectivealgorithms-package/106284)

<div class="topic-metadata">

**Author:** [@kiki](https://discourse.julialang.org/u/kiki)\
**Replies:** 3\
**Last updated:** [November 16, 2023, 12:48am UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-multiobjectivealgorithms-package/106284 "2023-11-16T00:48:15Z")

</div>

Hi, can you help me with the next question? I have tried to install import Pkg; Pkg.add(“MultiObjectiveAlgorithms”) But it doesn’t work, I get the message : (Before I have installed JuMP) Unsatisfiable requirements …

---

## [CuArrays with KrylovKit](https://discourse.julialang.org/t/cuarrays-with-krylovkit/106116)

<div class="topic-metadata">

**Author:** [@Gattu\_Mytraya](https://discourse.julialang.org/u/Gattu_Mytraya)\
**Replies:** 8\
**Last updated:** [November 14, 2023, 10:21am UTC](https://discourse.julialang.org/t/cuarrays-with-krylovkit/106116 "2023-11-14T10:21:51Z")

</div>

What is the recommended way of diagonalizing linear operators on CuArrays using KrylovKit? I am targeting the first 100 eigenvalues of a large matrix - Operating directly on CuArrays leads to a very large allocation on t…

---

## [Memory allocations with Zygote](https://discourse.julialang.org/t/memory-allocations-with-zygote/106236)

<div class="topic-metadata">

**Author:** [@Nikos\_Gianniotis](https://discourse.julialang.org/u/Nikos_Gianniotis)\
**Replies:** 8\
**Last updated:** [November 15, 2023, 7:40pm UTC](https://discourse.julialang.org/t/memory-allocations-with-zygote/106236 "2023-11-15T19:40:46Z")

</div>

I have noticed that when I use Zygote to do automatic differentiation in my code (typically I use Zygote to obtain the gradient of my loss function and pass it to Opim.optimize to minimise the loss), I often get high num…

---

## [Info: GAMS has launched a new language (library and API) for python](https://discourse.julialang.org/t/info-gams-has-launched-a-new-language-library-and-api-for-python/106266)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [November 15, 2023, 7:41pm UTC](https://discourse.julialang.org/t/info-gams-has-launched-a-new-language-library-and-api-for-python/106266 "2023-11-15T19:41:06Z")

</div>

Just to share the news with you, it seems GAMS has reinvented itself today, throwing away its archaic and odd language with the launch of GAMSpy, a library (and API) to write and solve mathematical optimization models di…

---

## [Optim maximization](https://discourse.julialang.org/t/optim-maximization/106274)

<div class="topic-metadata">

**Author:** [@Longblackcoffee](https://discourse.julialang.org/u/Longblackcoffee)\
**Replies:** 1\
**Last updated:** [November 15, 2023, 6:49pm UTC](https://discourse.julialang.org/t/optim-maximization/106274 "2023-11-15T18:49:58Z")

</div>

Hi everyone, I want to find the maximum of a function with the Optim.jl package, but I keep getting a DomainError. (I think Optim is trying to evaluate the log of a negative number) using Optim, Interpolations α = 0.4…

---

## [Using a Neural Network to predict the parameters of a optimization Problem](https://discourse.julialang.org/t/using-a-neural-network-to-predict-the-parameters-of-a-optimization-problem/106209)

<div class="topic-metadata">

**Author:** [@Mkloster](https://discourse.julialang.org/u/Mkloster)\
**Replies:** 6\
**Last updated:** [November 15, 2023, 4:54pm UTC](https://discourse.julialang.org/t/using-a-neural-network-to-predict-the-parameters-of-a-optimization-problem/106209 "2023-11-15T16:54:14Z")

</div>

Hello, i’m trying to use a neural network to predict the best parameters for a optimization problem. For this first my modell should predict some parameters based of some information i have about my optimization problem…

---

## [Cache results between function calls in Optimization.jl](https://discourse.julialang.org/t/cache-results-between-function-calls-in-optimization-jl/94964)

<div class="topic-metadata">

**Author:** [@verflieger](https://discourse.julialang.org/u/verflieger)\
**Replies:** 11\
**Last updated:** [May 1, 2023, 8:26pm UTC](https://discourse.julialang.org/t/cache-results-between-function-calls-in-optimization-jl/94964 "2023-05-01T20:26:28Z")

</div>

I want to use a cost function and constraints depending on the solution of an ODE. This is costly to evaluate and hence I’d like to cache the result for function calls with the same parameters. For that, I wanted to use …

---

## [Makie: row 2 colorbar without affecting row 1](https://discourse.julialang.org/t/makie-row-2-colorbar-without-affecting-row-1/106218)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 6\
**Last updated:** [November 15, 2023, 2:11pm UTC](https://discourse.julialang.org/t/makie-row-2-colorbar-without-affecting-row-1/106218 "2023-11-15T14:11:13Z")

</div>

I’m plotting two equal-sized graphs on the first row (fig\[1,1\] and fig\[1,2\]) and a single contour plot on the second row (fig\[2,1\]). My question is, how do you plot the colorbar for the contour plot? What is the standar…

---

## [Optim.jl not honoring convergence criteria](https://discourse.julialang.org/t/optim-jl-not-honoring-convergence-criteria/105723)

<div class="topic-metadata">

**Author:** [@Gbenga\_Fabusola](https://discourse.julialang.org/u/Gbenga_Fabusola)\
**Replies:** 6\
**Last updated:** [November 15, 2023, 11:18am UTC](https://discourse.julialang.org/t/optim-jl-not-honoring-convergence-criteria/105723 "2023-11-15T11:18:41Z")

</div>

I am trying to incorporate an early stopping to my code using Optim.jl but the specifications are not followed and I was hoping someone might know why. I have an example of this here. function toy(X) x, y = X cost = …

---

## [Plots: adding plots to \`twinx()\` axis](https://discourse.julialang.org/t/plots-adding-plots-to-twinx-axis/106223)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 6\
**Last updated:** [November 15, 2023, 10:19am UTC](https://discourse.julialang.org/t/plots-adding-plots-to-twinx-axis/106223 "2023-11-15T10:19:04Z")

</div>

I’m trying to construct a plot using the Plots package with a normal axis and a twinx() axis. Then I want to add plots to both axes, but it doesn’t seem to work: using Plots plot(sin,lc=:red, legend=:left) fg = plot!(tw…

---

## [NLsolve problem](https://discourse.julialang.org/t/nlsolve-problem/106222)

<div class="topic-metadata">

**Author:** [@GianmarcoPreso](https://discourse.julialang.org/u/GianmarcoPreso)\
**Replies:** 5\
**Last updated:** [November 15, 2023, 9:53am UTC](https://discourse.julialang.org/t/nlsolve-problem/106222 "2023-11-15T09:53:57Z")

</div>

Hi all! I’m new in Julia. I have to solve a non-linear equation, and I have found the NLsolve package. function coolebrok(fric\_fact) 1 ./sqrt(fric\_fact\[:\]) + 2\*log10(epsilon./. (3.7.\*DD) + 2.51./(sqrt(fric\_fact\[:\]).\*m…

---

## [Wrong gradient from Zygote?](https://discourse.julialang.org/t/wrong-gradient-from-zygote/106204)

<div class="topic-metadata">

**Author:** [@rcalxrc08](https://discourse.julialang.org/u/rcalxrc08)\
**Replies:** 13\
**Last updated:** [November 14, 2023, 11:39pm UTC](https://discourse.julialang.org/t/wrong-gradient-from-zygote/106204 "2023-11-14T23:39:58Z")

</div>

I have the following example where I get different gradient values for forward and backward: using Random, ChainRulesCore, Zygote, Statistics function simulate(N, drift, sigma, rng,i) ChainRulesCore.@ignore\_derivat…

---

## [Zygote, Flux, and Interpolations](https://discourse.julialang.org/t/zygote-flux-and-interpolations/61824)

<div class="topic-metadata">

**Author:** [@kiranshila](https://discourse.julialang.org/u/kiranshila)\
**Replies:** 6\
**Last updated:** [November 14, 2023, 9:54pm UTC](https://discourse.julialang.org/t/zygote-flux-and-interpolations/61824 "2023-11-14T21:54:53Z")

</div>

Hey everyone! I’m working on radio telescope imaging and am trying to do image reconstruction with an iterative, maximum entropy method. Many papers suggest using conjugate gradient, and have intricate derivations of gr…

---

## [Unusual behaviour with non-uniform level for a contour plot](https://discourse.julialang.org/t/unusual-behaviour-with-non-uniform-level-for-a-contour-plot/106227)

<div class="topic-metadata">

**Author:** [@jreaso](https://discourse.julialang.org/u/jreaso)\
**Replies:** 0\
**Last updated:** [November 14, 2023, 5:32pm UTC](https://discourse.julialang.org/t/unusual-behaviour-with-non-uniform-level-for-a-contour-plot/106227 "2023-11-14T17:32:41Z")

</div>

When I pass a non-uniform level to a contour plot, the color bar acts as expected, but the actual contour plot is colored incorrectly. Is there a way around this? As an example, using uniform levels l1: using Plots x …

---

## [Scaling color gradient with custom function](https://discourse.julialang.org/t/scaling-color-gradient-with-custom-function/106200)

<div class="topic-metadata">

**Author:** [@jreaso](https://discourse.julialang.org/u/jreaso)\
**Replies:** 9\
**Last updated:** [November 14, 2023, 4:21pm UTC](https://discourse.julialang.org/t/scaling-color-gradient-with-custom-function/106200 "2023-11-14T16:21:55Z")

</div>

I have a contourf plot which uses a color gradient but I want the values’ color to have a specific meaning. Specifically, I am using the :jet color gradient and I want any value in \[0,3\] to be blue to green, any value i…

---

## [Deactivating the drag rotation interaction in an LScene](https://discourse.julialang.org/t/deactivating-the-drag-rotation-interaction-in-an-lscene/106174)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 2\
**Last updated:** [November 14, 2023, 4:04pm UTC](https://discourse.julialang.org/t/deactivating-the-drag-rotation-interaction-in-an-lscene/106174 "2023-11-14T16:04:25Z")

</div>

How can I temporarily deactivate (and later reactivate) the rotation interaction (:dragrotate) for an LScene? The deactivate\_interaction! and activate\_interaction! methods seem only to be defined on Axis and Axis3. Some…

---

## [MonteCarloMeasurements & MTK, again](https://discourse.julialang.org/t/montecarlomeasurements-mtk-again/106205)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [November 14, 2023, 2:45pm UTC](https://discourse.julialang.org/t/montecarlomeasurements-mtk-again/106205 "2023-11-14T14:45:42Z")

</div>

I’m trying to use MonteCarloMeasurements with MTK. I have some problems wrt. (i) the number of particles, and (ii) interpretation/presentation of the results. Here is a simple RC circuit example: using Plots, LaTeXStri…

---

## [PaPILO for JuMP Presolver](https://discourse.julialang.org/t/papilo-for-jump-presolver/106169)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 1\
**Last updated:** [November 14, 2023, 1:09am UTC](https://discourse.julialang.org/t/papilo-for-jump-presolver/106169 "2023-11-14T01:09:01Z")

</div>

Are there plans to add PaPILO as a LP/MILP presolver for JuMP? Since PaPILO is sometimes able to detect infeasibility, it may also be viewed as a partial LP & MILP solver.

---

## [Solving multiple ODE concurrently](https://discourse.julialang.org/t/solving-multiple-ode-concurrently/106084)

<div class="topic-metadata">

**Author:** [@sand2](https://discourse.julialang.org/u/sand2)\
**Replies:** 3\
**Last updated:** [November 13, 2023, 5:46pm UTC](https://discourse.julialang.org/t/solving-multiple-ode-concurrently/106084 "2023-11-13T17:46:58Z")

</div>

Hi, I would like to solve several ODE’s with contribution from a neural network concurrently. I have the following (not working) example. using StableRNGs using ComponentArrays using Zygote, Lux, OrdinaryDiffEq, SciML…

---

## [Theta ticks in polar plots (Plots.jl)?](https://discourse.julialang.org/t/theta-ticks-in-polar-plots-plots-jl/106148)

<div class="topic-metadata">

**Author:** [@lsablon](https://discourse.julialang.org/u/lsablon)\
**Replies:** 1\
**Last updated:** [November 13, 2023, 2:43pm UTC](https://discourse.julialang.org/t/theta-ticks-in-polar-plots-plots-jl/106148 "2023-11-13T14:43:34Z")

</div>

Hello, I couldn’t find an answer in the documentation so here I am. Do you know if it is possible to modify the angular ticks (with a formatter, or directly specifying myself some values e.g. 30° will be ‘Monday’ or so…

---

## [Plot a circle with a given radius with Plots.jl](https://discourse.julialang.org/t/plot-a-circle-with-a-given-radius-with-plots-jl/23295)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 20\
**Last updated:** [November 13, 2023, 1:13pm UTC](https://discourse.julialang.org/t/plot-a-circle-with-a-given-radius-with-plots-jl/23295 "2023-11-13T13:13:30Z")

</div>

Hi, I can’t figure out how to plot circles with given radii. I would like the radius to be given as floats with plots units (not integers). I try to play with markersize but the display sizes do not correspond to xy u…

---

## [Issue with vlines + logscale in Makie?](https://discourse.julialang.org/t/issue-with-vlines-logscale-in-makie/106129)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 1\
**Last updated:** [November 13, 2023, 7:47am UTC](https://discourse.julialang.org/t/issue-with-vlines-logscale-in-makie/106129 "2023-11-13T07:47:11Z")

</div>

Hello, I just want to put an xscale in log10, with a vertical line, here a minimal working example. using GLMakie fig = let x = exp10.( range(-8, -2, length=20) ) y = x fig = Figure(fontsize = 25, resoluti…

---

## [JuMP: User defined functions with vector inputs and outputs](https://discourse.julialang.org/t/jump-user-defined-functions-with-vector-inputs-and-outputs/106025)

<div class="topic-metadata">

**Author:** [@A\_C](https://discourse.julialang.org/u/A_C)\
**Replies:** 5\
**Last updated:** [November 13, 2023, 4:10am UTC](https://discourse.julialang.org/t/jump-user-defined-functions-with-vector-inputs-and-outputs/106025 "2023-11-13T04:10:13Z")

</div>

In the JuMP documentation it is mentioned that functions with vector inputs and outputs require a workaround. However the following example works: MWEusing JuMP import Ipopt mwe = Model(Ipopt.Optimizer) @variable(mwe,…

---

## [How to calculate distance between two points along the LineString provided](https://discourse.julialang.org/t/how-to-calculate-distance-between-two-points-along-the-linestring-provided/106023)

<div class="topic-metadata">

**Author:** [@Chamika\_Kasun](https://discourse.julialang.org/u/Chamika_Kasun)\
**Replies:** 4\
**Last updated:** [November 12, 2023, 11:11pm UTC](https://discourse.julialang.org/t/how-to-calculate-distance-between-two-points-along-the-linestring-provided/106023 "2023-11-12T23:11:11Z")

</div>

I have a line string and two points with me. I need to understand how to calculate the distance between two points along the provided line string. Also, note that in some cases, the provided points can be the same as the…

---

## [Autodiff compatible least squares package](https://discourse.julialang.org/t/autodiff-compatible-least-squares-package/106115)

<div class="topic-metadata">

**Author:** [@RahulManavalan](https://discourse.julialang.org/u/RahulManavalan)\
**Replies:** 1\
**Last updated:** [November 12, 2023, 3:55pm UTC](https://discourse.julialang.org/t/autodiff-compatible-least-squares-package/106115 "2023-11-12T15:55:54Z")

</div>

Greetings. I am searching for a Julia package, that can emulate pinv(A) from LinearAlgebra.jl but has an all Julia implementation to leverage the AD ecosystem to evaluate the gradients with respect to the parameters use…

---

## [Changing axis in polar seasonal plots with Cairomakie](https://discourse.julialang.org/t/changing-axis-in-polar-seasonal-plots-with-cairomakie/106108)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 6\
**Last updated:** [November 12, 2023, 2:01pm UTC](https://discourse.julialang.org/t/changing-axis-in-polar-seasonal-plots-with-cairomakie/106108 "2023-11-12T14:01:43Z")

</div>

I am trying to replicate the seasonal plot with the polar axis from this example, but I couldn’t figure out how to replace the degree axis with months. This is the code: Creating the dataframe link = "https://vincentar…

---

## [Is Leaflet.jl still maintained?](https://discourse.julialang.org/t/is-leaflet-jl-still-maintained/106104)

<div class="topic-metadata">

**Author:** [@ConnectedSystems](https://discourse.julialang.org/u/ConnectedSystems)\
**Replies:** 4\
**Last updated:** [November 12, 2023, 8:42am UTC](https://discourse.julialang.org/t/is-leaflet-jl-still-maintained/106104 "2023-11-12T08:42:40Z")

</div>

The last release was in July 2022, and the maintainers seem to have been working on Tyler.jl and other efforts. I’m curious what the best way to create interactive maps is, these days.

---

## [Warm start using Dualization with JuMP and COSMO](https://discourse.julialang.org/t/warm-start-using-dualization-with-jump-and-cosmo/106006)

<div class="topic-metadata">

**Author:** [@akirakyle](https://discourse.julialang.org/u/akirakyle)\
**Replies:** 5\
**Last updated:** [November 12, 2023, 10:25am UTC](https://discourse.julialang.org/t/warm-start-using-dualization-with-jump-and-cosmo/106006 "2023-11-12T10:25:56Z")

</div>

I’m using the same example here as in my previous question about warm starting of HermitianPSDCone: using JuMP, LinearAlgebra, COSMO, Dualization function set\_hermitian\_start(x, start) for j in 1:size(x, 2), i in 1…

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

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