# Specific Domains

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

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

**Page:** 50

---

## [Drawing points in a map with GMT](https://discourse.julialang.org/t/drawing-points-in-a-map-with-gmt/127744)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 5\
**Last updated:** [April 5, 2025, 4:53pm UTC](https://discourse.julialang.org/t/drawing-points-in-a-map-with-gmt/127744 "2025-04-05T16:53:38Z")

</div>

Dear all, I have the code below where I plot south america with GMT: using GMT # Desenhe o mapa coast(region=(-90, -30, -60, 15), proj=:Mercator, xaxis=(annot=10,ticks=5), yaxis=(annot=10,ticks=5), area=:10, land=:brow…

---

## [Makie record\_states and export\_static results in NO interactivity](https://discourse.julialang.org/t/makie-record-states-and-export-static-results-in-no-interactivity/127712)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 2\
**Last updated:** [April 5, 2025, 1:57pm UTC](https://discourse.julialang.org/t/makie-record-states-and-export-static-results-in-no-interactivity/127712 "2025-04-05T13:57:41Z")

</div>

i’m trying to save an interactive Makie plot to share with a colleague who doesn’t use julia, but i can’t even get this example in the docs to work. specifically, at the REPL i enter: julia\> using Bonito, WGLMakie jul…

---

## [Simulating the Spherical p=2 Spin Model with DifferentialEquations.jl](https://discourse.julialang.org/t/simulating-the-spherical-p-2-spin-model-with-differentialequations-jl/127640)

<div class="topic-metadata">

**Author:** [@mtarabolo](https://discourse.julialang.org/u/mtarabolo)\
**Replies:** 1\
**Last updated:** [April 5, 2025, 1:04pm UTC](https://discourse.julialang.org/t/simulating-the-spherical-p-2-spin-model-with-differentialequations-jl/127640 "2025-04-05T13:04:11Z")

</div>

Issue: Correctly Implementing the Spherical Constraint I am working on simulating the spherical p=2 spin model using the DifferentialEquations.jl package in Julia. The model consists of N coupled stochastic differential …

---

## [Saving and loading ODEProblems created by ModelingToolkit](https://discourse.julialang.org/t/saving-and-loading-odeproblems-created-by-modelingtoolkit/127629)

<div class="topic-metadata">

**Author:** [@Bill\_Holmes](https://discourse.julialang.org/u/Bill_Holmes)\
**Replies:** 2\
**Last updated:** [April 5, 2025, 1:03pm UTC](https://discourse.julialang.org/t/saving-and-loading-odeproblems-created-by-modelingtoolkit/127629 "2025-04-05T13:03:25Z")

</div>

Hello all. I have question about the saving and loading ODEProblems created from Modeling Toolkit (MTK) models. Specifically, when I create and MTK model, build an ODE problem from that, save the ODE problem using JLD2, …

---

## [A note on how to identify redundant constraints using JuMP](https://discourse.julialang.org/t/a-note-on-how-to-identify-redundant-constraints-using-jump/127504)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 8\
**Last updated:** [April 5, 2025, 4:30am UTC](https://discourse.julialang.org/t/a-note-on-how-to-identify-redundant-constraints-using-jump/127504 "2025-04-05T04:30:15Z")

</div>

(In this topic, whenever I write ==, this really means the Julia’s ==) I use this primal LP model to demonstrate CodeBlock1: import JuMP, Gurobi; GRB\_ENV = Gurobi.Env() primal = JuMP.Model(() -\> Gurobi.Optimizer(GRB\_E…

---

## [Resolving segfault error when attempting to sequentially add constraints to a JuMP model](https://discourse.julialang.org/t/resolving-segfault-error-when-attempting-to-sequentially-add-constraints-to-a-jump-model/127693)

<div class="topic-metadata">

**Author:** [@jcclug](https://discourse.julialang.org/u/jcclug)\
**Replies:** 4\
**Last updated:** [April 4, 2025, 11:25pm UTC](https://discourse.julialang.org/t/resolving-segfault-error-when-attempting-to-sequentially-add-constraints-to-a-jump-model/127693 "2025-04-04T23:25:30Z")

</div>

I am attempting to resolve a segfault error, which seems to be stemming from a line of code that tries to add to an empty dictionary new constraints iteratively in a while loop. I am wondering what the best way would be …

---

## [Sensitivity of an SDE with non-diagonal noise](https://discourse.julialang.org/t/sensitivity-of-an-sde-with-non-diagonal-noise/127714)

<div class="topic-metadata">

**Author:** [@stochasticguy](https://discourse.julialang.org/u/stochasticguy)\
**Replies:** 2\
**Last updated:** [April 4, 2025, 9:17pm UTC](https://discourse.julialang.org/t/sensitivity-of-an-sde-with-non-diagonal-noise/127714 "2025-04-04T21:17:10Z")

</div>

Hi everyone, I’m simulating an SDE with non-diagonal noise and I’m trying to compute the gradient (using ForwardDiff) of a loss function that uses the SDE solution. When I try to compute the gradient the following error…

---

## [Automatic Differentiation for existing AMG libraries](https://discourse.julialang.org/t/automatic-differentiation-for-existing-amg-libraries/127722)

<div class="topic-metadata">

**Author:** [@CiREus](https://discourse.julialang.org/u/CiREus)\
**Replies:** 3\
**Last updated:** [April 4, 2025, 7:23pm UTC](https://discourse.julialang.org/t/automatic-differentiation-for-existing-amg-libraries/127722 "2025-04-04T19:23:26Z")

</div>

Hi all, I recently joined Julia for my MSc thesis and was having some doubts about the Automatic Differentiation tools (Enzyme, Zygote, JuliaDiff, etc.). In short, I wanted to use existing linear algebra libraries cont…

---

## [Solver agnostic way to control warm starting](https://discourse.julialang.org/t/solver-agnostic-way-to-control-warm-starting/118737)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 5\
**Last updated:** [April 4, 2025, 3:47pm UTC](https://discourse.julialang.org/t/solver-agnostic-way-to-control-warm-starting/118737 "2025-04-04T15:47:55Z")

</div>

Is there a way to control/prevent how a LP solver may use information from a previous solve to warm start? I know, e.g., for Gurobi there is LPWarmStart, but I struggle to prevent that for example when using HiGHS. What…

---

## [Locally solved status with Gurobi](https://discourse.julialang.org/t/locally-solved-status-with-gurobi/111539)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 3\
**Last updated:** [April 4, 2025, 4:46am UTC](https://discourse.julialang.org/t/locally-solved-status-with-gurobi/111539 "2025-04-04T04:46:51Z")

</div>

I am solving some LPs using Gurobi and the interior point method and without crossover. I notice that it returns the solution to be suboptimal and terminates with status LOCALLY\_SOLVED, which, according to documentation,…

---

## [The inappropriateness of applying RLT to solve the DBP in ARO who lacks RCR](https://discourse.julialang.org/t/the-inappropriateness-of-applying-rlt-to-solve-the-dbp-in-aro-who-lacks-rcr/127203)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 3\
**Last updated:** [April 4, 2025, 12:37am UTC](https://discourse.julialang.org/t/the-inappropriateness-of-applying-rlt-to-solve-the-dbp-in-aro-who-lacks-rcr/127203 "2025-04-04T00:37:54Z")

</div>

Adaptive robust optimization (ARO) is typically NP-hard. It’s known that in the RHS uncertainty setting, the subproblem constitutes a disjointed bilinear programming (DBP). A naive way to solve DBP is employing Gurobi’…

---

## [HDR and ColorTypes](https://discourse.julialang.org/t/hdr-and-colortypes/127648)

<div class="topic-metadata">

**Author:** [@rmfritz](https://discourse.julialang.org/u/rmfritz)\
**Replies:** 3\
**Last updated:** [April 4, 2025, 12:13am UTC](https://discourse.julialang.org/t/hdr-and-colortypes/127648 "2025-04-04T00:13:49Z")

</div>

I’ve been working with HDR data, the Radiance RGBE and XYZE types, and I’ve looked a little at LogLuv and OpenEXR, and I’ve run into a problem: the AbstractRGB ColorType doesn’t accommodate the RGB values that Radiance R…

---

## [How to identify clusters of values in a dataframe (or grouped dataframe)](https://discourse.julialang.org/t/how-to-identify-clusters-of-values-in-a-dataframe-or-grouped-dataframe/127557)

<div class="topic-metadata">

**Author:** [@rj3838](https://discourse.julialang.org/u/rj3838)\
**Replies:** 2\
**Last updated:** [April 3, 2025, 8:31pm UTC](https://discourse.julialang.org/t/how-to-identify-clusters-of-values-in-a-dataframe-or-grouped-dataframe/127557 "2025-04-03T20:31:52Z")

</div>

I am trying to identify clusters of values within a dataframe (it’s actually grouped but I’m handling it in sections). The data is of road defects so the actual data is large, I know that isn’t relevant for this but it g…

---

## [Reinit! doesn't work on MTK integrators](https://discourse.julialang.org/t/reinit-doesnt-work-on-mtk-integrators/127577)

<div class="topic-metadata">

**Author:** [@Bart\_van\_de\_Lint](https://discourse.julialang.org/u/Bart_van_de_Lint)\
**Replies:** 3\
**Last updated:** [April 3, 2025, 7:07pm UTC](https://discourse.julialang.org/t/reinit-doesnt-work-on-mtk-integrators/127577 "2025-04-03T19:07:47Z")

</div>

It seems like reinit! doesn’t work for ModelingToolkit systems. Is this true, what is the workaround and why don’t I get an error or warning? Trying to run this mwe shows that the integrator state is unchanged after rein…

---

## [Track function on profiler to CUDA documentation](https://discourse.julialang.org/t/track-function-on-profiler-to-cuda-documentation/127654)

<div class="topic-metadata">

**Author:** [@victor\_vhrn](https://discourse.julialang.org/u/victor_vhrn)\
**Replies:** 1\
**Last updated:** [April 3, 2025, 6:38am UTC](https://discourse.julialang.org/t/track-function-on-profiler-to-cuda-documentation/127654 "2025-04-03T06:38:11Z")

</div>

Below, I have a profile report for a experiment I’m trying. The most expensive device function is cusparse::csrmv\_v3\_transpose\_kernel, so I tried to google the function name to read more but couldn’t find it. From CUDA.v…

---

## [How to label multiple histograms in AlgebraOfGraphics](https://discourse.julialang.org/t/how-to-label-multiple-histograms-in-algebraofgraphics/127429)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 5\
**Last updated:** [April 3, 2025, 6:35am UTC](https://discourse.julialang.org/t/how-to-label-multiple-histograms-in-algebraofgraphics/127429 "2025-04-03T06:35:47Z")

</div>

I have a dataset where each column is a list of occurrences. I would like to plot three columns as three histograms within one figure, but I cannot wrap my head around the AlgebraOfGraphics idioms. Within Makie.jl, I wo…

---

## [Can we improve JuMP.set\_objective\_coefficient?](https://discourse.julialang.org/t/can-we-improve-jump-set-objective-coefficient/127652)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 5\
**Last updated:** [April 3, 2025, 1:52am UTC](https://discourse.julialang.org/t/can-we-improve-jump-set-objective-coefficient/127652 "2025-04-03T01:52:16Z")

</div>

I find JuMP.set\_objective\_coefficient somewhat favorable, because it is a functional API, and is flexible. e.g., I can use it to write a (pseudo-) Benders’ decomposition algorithm import JuMP, Gurobi; GRB\_ENV = Gurobi.E…

---

## [Detecting pitchfork bifurcations from side branch](https://discourse.julialang.org/t/detecting-pitchfork-bifurcations-from-side-branch/127558)

<div class="topic-metadata">

**Author:** [@danielwe](https://discourse.julialang.org/u/danielwe)\
**Replies:** 4\
**Last updated:** [April 2, 2025, 8:37pm UTC](https://discourse.julialang.org/t/detecting-pitchfork-bifurcations-from-side-branch/127558 "2025-04-02T20:37:52Z")

</div>

@rveltz Is BifurcationKit.jl capable of detecting a pitchfork bifurcation when the continuation approaches along a side branch? I always use detect\_bifurcation=3 as you suggested on slack, and have spent more time than I…

---

## [How to add volt/var curve to PowerModels.jl](https://discourse.julialang.org/t/how-to-add-volt-var-curve-to-powermodels-jl/127611)

<div class="topic-metadata">

**Author:** [@Glon](https://discourse.julialang.org/u/Glon)\
**Replies:** 1\
**Last updated:** [April 2, 2025, 7:40pm UTC](https://discourse.julialang.org/t/how-to-add-volt-var-curve-to-powermodels-jl/127611 "2025-04-02T19:40:06Z")

</div>

Hello, How can I add the volt/var curve as a non-linear expression to powermodels.jl?

---

## [Error with Ipopt.jl and ipopt.out file](https://discourse.julialang.org/t/error-with-ipopt-jl-and-ipopt-out-file/127596)

<div class="topic-metadata">

**Author:** [@nico](https://discourse.julialang.org/u/nico)\
**Replies:** 3\
**Last updated:** [April 2, 2025, 7:16pm UTC](https://discourse.julialang.org/t/error-with-ipopt-jl-and-ipopt-out-file/127596 "2025-04-02T19:16:29Z")

</div>

Hi, I have a simple test code, that used to work and now gives an error. When I run the code the first time, Ipopt manages to solve the toy problem and print the output to a .txt file. The second time I run the code, …

---

## [Encrypt/Decrypt Serialized Julia Objects](https://discourse.julialang.org/t/encrypt-decrypt-serialized-julia-objects/127608)

<div class="topic-metadata">

**Author:** [@Deduction42](https://discourse.julialang.org/u/Deduction42)\
**Replies:** 2\
**Last updated:** [April 2, 2025, 4:56pm UTC](https://discourse.julialang.org/t/encrypt-decrypt-serialized-julia-objects/127608 "2025-04-02T16:56:56Z")

</div>

I am currently working with serialized objects, but would like to have them safely stored in a file system without the host being able to see what is inside the objects. The files would be generated and consumed by the s…

---

## [Run the Gemma 2 9B LLM in Julia and without a GPU?](https://discourse.julialang.org/t/run-the-gemma-2-9b-llm-in-julia-and-without-a-gpu/124155)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 5\
**Last updated:** [April 2, 2025, 11:01am UTC](https://discourse.julialang.org/t/run-the-gemma-2-9b-llm-in-julia-and-without-a-gpu/124155 "2025-04-02T11:01:37Z")

</div>

I’m ignorant about LLMs, machine learning, etc.; but I want to run the Gemma 2 9B large language model. I’m not interested in using it as a chat bot, rather the reason I want to use it is the fact that it defines the eva…

---

## [GeoTiff files retrieving metadata by using Rasters.jl as in rasterio.py](https://discourse.julialang.org/t/geotiff-files-retrieving-metadata-by-using-rasters-jl-as-in-rasterio-py/127587)

<div class="topic-metadata">

**Author:** [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Replies:** 12\
**Last updated:** [April 2, 2025, 8:45am UTC](https://discourse.julialang.org/t/geotiff-files-retrieving-metadata-by-using-rasters-jl-as-in-rasterio-py/127587 "2025-04-02T08:45:44Z")

</div>

Hi, I am looking how to retrive metadata from GeoTiff files by using Julia language. I can obtain the relevant information by using the rasterio.jl python package, but I am struggling to perform the same commands by u…

---

## [Performance drop from HiGHS 1.14.0 to HiGHS 1.15.0](https://discourse.julialang.org/t/performance-drop-from-highs-1-14-0-to-highs-1-15-0/127522)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 9\
**Last updated:** [April 1, 2025, 10:39pm UTC](https://discourse.julialang.org/t/performance-drop-from-highs-1-14-0-to-highs-1-15-0/127522 "2025-04-01T22:39:21Z")

</div>

Hi, I am trying to reduce allocations using JuMP and HiGHS for solving numerous small LPs and I just noticed that these allocations have increased dramatically (x2) by updating HiGHS 1.14 to 1.15.0: 1.14 \[ Info: Launc…

---

## [Retrieving CRS from vector and raster data](https://discourse.julialang.org/t/retrieving-crs-from-vector-and-raster-data/107903)

<div class="topic-metadata">

**Author:** [@Bojas](https://discourse.julialang.org/u/Bojas)\
**Replies:** 7\
**Last updated:** [April 1, 2025, 2:15pm UTC](https://discourse.julialang.org/t/retrieving-crs-from-vector-and-raster-data/107903 "2025-04-01T14:15:00Z")

</div>

Hello, I’m new to Julia, as for now I was using mainly Python. What I want to do is to crop part of raster based on polygon. Both polygon and raster are in different spatial references and I have to convert either one of…

---

## [Makie - Defining legend output for a makie recipe](https://discourse.julialang.org/t/makie-defining-legend-output-for-a-makie-recipe/121567)

<div class="topic-metadata">

**Author:** [@sc-dyer](https://discourse.julialang.org/u/sc-dyer)\
**Replies:** 4\
**Last updated:** [March 31, 2025, 10:28pm UTC](https://discourse.julialang.org/t/makie-defining-legend-output-for-a-makie-recipe/121567 "2025-03-31T22:28:53Z")

</div>

Hi, I have a makie recipe that essentially makes a stacked line graph using the band function. A very simplified example of what this looks like is this: function Makie.plot!(myplot::MyPlot) band!(myplot,myplot.x,0,…

---

## [Why \_removing\_ unused variables makes ipopt taking longer?](https://discourse.julialang.org/t/why-removing-unused-variables-makes-ipopt-taking-longer/127541)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [March 31, 2025, 8:22pm UTC](https://discourse.julialang.org/t/why-removing-unused-variables-makes-ipopt-taking-longer/127541 "2025-03-31T20:22:08Z")

</div>

I have a model that was originally global and making it multi-regional, I transformed all my variables adding a regional dimension, created the equivalent “global” version for each of them defined mostly as the sum, test…

---

## [When is it worth it to setup a database rather than to just organize the data into files?](https://discourse.julialang.org/t/when-is-it-worth-it-to-setup-a-database-rather-than-to-just-organize-the-data-into-files/127539)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 2\
**Last updated:** [March 31, 2025, 2:30pm UTC](https://discourse.julialang.org/t/when-is-it-worth-it-to-setup-a-database-rather-than-to-just-organize-the-data-into-files/127539 "2025-03-31T14:30:38Z")

</div>

I’m building a library of example spectra for chemical analysis and I’m wondering what the benefits would be to setting up a database in mySQL or something with these spectra rather than just having files in folders with…

---

## [Move colorbar to the center of figure using Makie](https://discourse.julialang.org/t/move-colorbar-to-the-center-of-figure-using-makie/127456)

<div class="topic-metadata">

**Author:** [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Replies:** 5\
**Last updated:** [March 31, 2025, 12:39pm UTC](https://discourse.julialang.org/t/move-colorbar-to-the-center-of-figure-using-makie/127456 "2025-03-31T12:39:08Z")

</div>

Hello everyone! I want to put the colorbar at the center of figure using Makie. How can I get it? The result I want just likes this:

---

## [Add an "optimize\_assert\_optimal" functionality in JuMP would be handier?](https://discourse.julialang.org/t/add-an-optimize-assert-optimal-functionality-in-jump-would-be-handier/124458)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 5\
**Last updated:** [March 31, 2025, 2:33am UTC](https://discourse.julialang.org/t/add-an-optimize-assert-optimal-functionality-in-jump-would-be-handier/124458 "2025-03-31T02:33:56Z")

</div>

Compared with the current “is\_solved\_and\_feasible” functionality, I think the one suggested in the title would be more convenient sometimes. In practice ((Mi)LP context particularly), we almostly certainly want our mode…

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

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