# Specific Domains

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

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

**Page:** 137

---

## [Crystal Graphs w/ GeometricFlux.jl](https://discourse.julialang.org/t/crystal-graphs-w-geometricflux-jl/109773)

<div class="topic-metadata">

**Author:** [@Stefan\_Bringuier](https://discourse.julialang.org/u/Stefan_Bringuier)\
**Replies:** 0\
**Last updated:** [February 6, 2024, 12:25am UTC](https://discourse.julialang.org/t/crystal-graphs-w-geometricflux-jl/109773 "2024-02-06T00:25:40Z")

</div>

I’m fairly new to GeometricFlux.jl and working on trying to implement the Crystal Graph CNN approach by Xie and Grossman. I have the following FeaturedGraph, target pair dataset. I guess what I’m wondering is 1.) How sho…

---

## [Supporting SIMD-enabled objective functions in optimization APIs](https://discourse.julialang.org/t/supporting-simd-enabled-objective-functions-in-optimization-apis/109728)

<div class="topic-metadata">

**Author:** [@nielsls](https://discourse.julialang.org/u/nielsls)\
**Replies:** 3\
**Last updated:** [February 5, 2024, 8:22pm UTC](https://discourse.julialang.org/t/supporting-simd-enabled-objective-functions-in-optimization-apis/109728 "2024-02-05T20:22:32Z")

</div>

With SIMD the CPU may execute the same instructions on e.g. 4x differents datasets just as fast as on 1x dataset. Assuming the user has a SIMD-enabled objective function - are there optimization algos that can exploit t…

---

## [Help with column generation implementation](https://discourse.julialang.org/t/help-with-column-generation-implementation/109737)

<div class="topic-metadata">

**Author:** [@Carl\_Baier](https://discourse.julialang.org/u/Carl_Baier)\
**Replies:** 1\
**Last updated:** [February 5, 2024, 8:12pm UTC](https://discourse.julialang.org/t/help-with-column-generation-implementation/109737 "2024-02-05T20:12:29Z")

</div>

Hello, i am currently working on a column generation model which i would like to solve with gurobi in Julia. As i am a total newbie, i dont really know where to start. This is the model i would like to implement.PDF Thi…

---

## [Scaling up a Dash.jl application?](https://discourse.julialang.org/t/scaling-up-a-dash-jl-application/109660)

<div class="topic-metadata">

**Author:** [@JesperMartinsson](https://discourse.julialang.org/u/JesperMartinsson)\
**Replies:** 2\
**Last updated:** [February 5, 2024, 7:29pm UTC](https://discourse.julialang.org/t/scaling-up-a-dash-jl-application/109660 "2024-02-05T19:29:26Z")

</div>

I’m running a Dash.jl application simply as: run\_server(app, "0.0.0.0", 8081) Is it possible to scale it up easily (e.g. by adding more threads)?

---

## [How to insert columns in sub-tables for a grouped dataframe in \`DataFrames.jl\`?](https://discourse.julialang.org/t/how-to-insert-columns-in-sub-tables-for-a-grouped-dataframe-in-dataframes-jl/109713)

<div class="topic-metadata">

**Author:** [@anon56682678](https://discourse.julialang.org/u/anon56682678)\
**Replies:** 4\
**Last updated:** [February 5, 2024, 6:49pm UTC](https://discourse.julialang.org/t/how-to-insert-columns-in-sub-tables-for-a-grouped-dataframe-in-dataframes-jl/109713 "2024-02-05T18:49:54Z")

</div>

What I want to do is: Group a data-frame by column (“col1”) in DataFrames.jl, call it grouped\_df Send the sub-tables from the grouped\_df to a user defined function The user-defined function will transform an exis…

---

## [Help with WeakStringRef when inserting into database](https://discourse.julialang.org/t/help-with-weakstringref-when-inserting-into-database/109744)

<div class="topic-metadata">

**Author:** [@rdavis120](https://discourse.julialang.org/u/rdavis120)\
**Replies:** 0\
**Last updated:** [February 5, 2024, 3:36pm UTC](https://discourse.julialang.org/t/help-with-weakstringref-when-inserting-into-database/109744 "2024-02-05T15:36:11Z")

</div>

The duckdb appender api has a line of non-working code to convert a WeakStringRef types to be inserted into the database as a type Varchar. I have never used the WeakStringRef type so I do not know how this conversion sh…

---

## [Lux (And Flux), "parallel" Network Input. When Input is flat, Zygote gradient works, when input is not flat it doesn't](https://discourse.julialang.org/t/lux-and-flux-parallel-network-input-when-input-is-flat-zygote-gradient-works-when-input-is-not-flat-it-doesnt/107763)

<div class="topic-metadata">

**Author:** [@Qfl3x](https://discourse.julialang.org/u/Qfl3x)\
**Replies:** 10\
**Last updated:** [February 5, 2024, 6:10pm UTC](https://discourse.julialang.org/t/lux-and-flux-parallel-network-input-when-input-is-flat-zygote-gradient-works-when-input-is-not-flat-it-doesnt/107763 "2024-02-05T18:10:42Z")

</div>

It’s easier to see the code: using Lux using Zygote using ComponentArrays using Random x\_test\_flat = rand(16) x\_test\_p = \[rand(4) for \_ in 1:4\] NNmodel\_1 = Lux.Chain(Lux.Dense(16 =\> 18, sigmoid), …

---

## [Model a first-order-plus-delay system in ModelingToolkit](https://discourse.julialang.org/t/model-a-first-order-plus-delay-system-in-modelingtoolkit/109695)

<div class="topic-metadata">

**Author:** [@VPBML](https://discourse.julialang.org/u/VPBML)\
**Replies:** 11\
**Last updated:** [February 5, 2024, 5:34pm UTC](https://discourse.julialang.org/t/model-a-first-order-plus-delay-system-in-modelingtoolkit/109695 "2024-02-05T17:34:35Z")

</div>

Hi, I wonder if there is any straightforward way to model a system consisting of a first-order-plus-delay plant T(s) = K.exp(-delay.s)/(tau.s + 1) and a PI controller using components from ModelingToolkitStandardLibrary…

---

## [Symbolics build\_function issues on complicated expressions](https://discourse.julialang.org/t/symbolics-build-function-issues-on-complicated-expressions/109727)

<div class="topic-metadata">

**Author:** [@Johan-Gronqvist](https://discourse.julialang.org/u/Johan-Gronqvist)\
**Replies:** 6\
**Last updated:** [February 5, 2024, 4:48pm UTC](https://discourse.julialang.org/t/symbolics-build-function-issues-on-complicated-expressions/109727 "2024-02-05T16:48:13Z")

</div>

I am trying to use Symbolics to define and manipulate my problem before moving to numerical methods to actually solve my problem. After initial manipulations, I want to replace all symbolic variables with their actual v…

---

## [Raw"\\nabla" fails in labels](https://discourse.julialang.org/t/raw-nabla-fails-in-labels/109739)

<div class="topic-metadata">

**Author:** [@blob](https://discourse.julialang.org/u/blob)\
**Replies:** 2\
**Last updated:** [February 5, 2024, 3:09pm UTC](https://discourse.julialang.org/t/raw-nabla-fails-in-labels/109739 "2024-02-05T15:09:49Z")

</div>

I am trying to get “nice” labels for a plot and the unicode characters work properly only sometimes: using Plots plot(rand(10),label="δ works") plot!(rand(10),label=raw"\\delta works") …

---

## [Parser for safetensors](https://discourse.julialang.org/t/parser-for-safetensors/109366)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 6\
**Last updated:** [February 5, 2024, 12:35pm UTC](https://discourse.julialang.org/t/parser-for-safetensors/109366 "2024-02-05T12:35:15Z")

</div>

There is a new format to store weights of neural networks advocated by huggingface, called safetensors. I have encountered when I wanted to download phi-2 model to Transformers.jl (see this pull request Add Phi model by…

---

## [Converting UK National Grid to Lat Lon and vice versa](https://discourse.julialang.org/t/converting-uk-national-grid-to-lat-lon-and-vice-versa/109628)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 17\
**Last updated:** [February 5, 2024, 9:59am UTC](https://discourse.julialang.org/t/converting-uk-national-grid-to-lat-lon-and-vice-versa/109628 "2024-02-05T09:59:43Z")

</div>

Just getting started on what I expect to be a long learning curve with maps (no prior experience). I have a UK postcode picked more or less at random: BT3 9DT. Google tells me this has the following properties: Latitu…

---

## [Stop Criteria using JuMP with HiGHS when find the first feasible solution](https://discourse.julialang.org/t/stop-criteria-using-jump-with-highs-when-find-the-first-feasible-solution/109520)

<div class="topic-metadata">

**Author:** [@grem](https://discourse.julialang.org/u/grem)\
**Replies:** 4\
**Last updated:** [February 5, 2024, 9:12am UTC](https://discourse.julialang.org/t/stop-criteria-using-jump-with-highs-when-find-the-first-feasible-solution/109520 "2024-02-05T09:12:16Z")

</div>

Hello, I have a MILP problem, which is feasible, and I would like to stop the model run when the solver find the first feasible solution. Is it possible to use a stop criteria like that? I can only find one about time…

---

## [Get x and y limits of Makie plot](https://discourse.julialang.org/t/get-x-and-y-limits-of-makie-plot/109716)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 5\
**Last updated:** [February 5, 2024, 7:40am UTC](https://discourse.julialang.org/t/get-x-and-y-limits-of-makie-plot/109716 "2024-02-05T07:40:16Z")

</div>

How to get axis limits? scatter(50randn(5), 50randn(5))

---

## [Correct way to save Makie plot to IOBuffer](https://discourse.julialang.org/t/correct-way-to-save-makie-plot-to-iobuffer/87793)

<div class="topic-metadata">

**Author:** [@contradict](https://discourse.julialang.org/u/contradict)\
**Replies:** 6\
**Last updated:** [February 5, 2024, 6:41am UTC](https://discourse.julialang.org/t/correct-way-to-save-makie-plot-to-iobuffer/87793 "2024-02-05T06:41:06Z")

</div>

I am generating a web page including a data URL for a Makie plot. I would like to avoid saving the plot to a file if possible. I figured this out but I would like to know if there is a better way. using Makie, CairoMaki…

---

## [Plotting to multiple separate figures](https://discourse.julialang.org/t/plotting-to-multiple-separate-figures/109681)

<div class="topic-metadata">

**Author:** [@cbarring](https://discourse.julialang.org/u/cbarring)\
**Replies:** 5\
**Last updated:** [February 5, 2024, 1:54am UTC](https://discourse.julialang.org/t/plotting-to-multiple-separate-figures/109681 "2024-02-05T01:54:34Z")

</div>

Hi. I would like to generate 2 separate figures. These are shown below. Figure 1 shows the numerical solution, plus the actual solution. Figure 2 shows the (tiny) error. I can’t put all this on a single plot since t…

---

## [Optimization constraints](https://discourse.julialang.org/t/optimization-constraints/109653)

<div class="topic-metadata">

**Author:** [@Lemma](https://discourse.julialang.org/u/Lemma)\
**Replies:** 7\
**Last updated:** [February 4, 2024, 11:49pm UTC](https://discourse.julialang.org/t/optimization-constraints/109653 "2024-02-04T23:49:07Z")

</div>

I’m working on an optimization model in JuMP where I need to implement conditional constraints based on the sign of the right-hand side (RHS) of certain conditions. This is typically handled using the Big-M method, which…

---

## [Survey of Non-Linear Optimization Modeling Layers in Julia](https://discourse.julialang.org/t/survey-of-non-linear-optimization-modeling-layers-in-julia/78168)

<div class="topic-metadata">

**Author:** [@ccoffrin](https://discourse.julialang.org/u/ccoffrin)\
**Replies:** 63\
**Last updated:** [February 4, 2024, 10:34pm UTC](https://discourse.julialang.org/t/survey-of-non-linear-optimization-modeling-layers-in-julia/78168 "2024-02-04T22:34:44Z")

</div>

I am doing a survey of the NLP modeling layers in Julia to see which might be applicable to the kinds of problems that I regularly solve. I have the following basic requirements of the modeling layer, Support for non-…

---

## [Oceananigans.jl](https://discourse.julialang.org/t/oceananigans-jl/109693)

<div class="topic-metadata">

**Author:** [@benslinux](https://discourse.julialang.org/u/benslinux)\
**Replies:** 0\
**Last updated:** [February 4, 2024, 8:33am UTC](https://discourse.julialang.org/t/oceananigans-jl/109693 "2024-02-04T08:33:58Z")

</div>

\*\* SOLVED - Tried running the demo program for Oceananigans - I got as far as this: julia\> run!(simulation) \[ Info: Initializing simulation… \[ Info: … simulation initialization complete (88.034 ms) \[ Info: Execu…

---

## [How can I read a GDAL dataset from an io stream?](https://discourse.julialang.org/t/how-can-i-read-a-gdal-dataset-from-an-io-stream/109679)

<div class="topic-metadata">

**Author:** [@maxfreu](https://discourse.julialang.org/u/maxfreu)\
**Replies:** 2\
**Last updated:** [February 4, 2024, 12:14pm UTC](https://discourse.julialang.org/t/how-can-i-read-a-gdal-dataset-from-an-io-stream/109679 "2024-02-04T12:14:37Z")

</div>

Hi! I’m wondering how I can read a gdal dataset that comes in the form of some io stream. Imagine you iterate over a tar file of tifs via TarIterator. For each tif there is an io stream containing the raw dataset data as…

---

## [Memoization in mcmc](https://discourse.julialang.org/t/memoization-in-mcmc/109694)

<div class="topic-metadata">

**Author:** [@swsw](https://discourse.julialang.org/u/swsw)\
**Replies:** 0\
**Last updated:** [February 4, 2024, 9:13am UTC](https://discourse.julialang.org/t/memoization-in-mcmc/109694 "2024-02-04T09:13:04Z")

</div>

Hi there, I wondered if how Turing or RxInfer deals w/ the following situation. For example, I have 10 parameters x1,…x10, the likelihood function is as follows. x1^2 + … + x10^2 Apparently, when updating x1, the o…

---

## [Are database connection pools typically used with concurrency](https://discourse.julialang.org/t/are-database-connection-pools-typically-used-with-concurrency/109689)

<div class="topic-metadata">

**Author:** [@rdavis120](https://discourse.julialang.org/u/rdavis120)\
**Replies:** 2\
**Last updated:** [February 4, 2024, 3:44am UTC](https://discourse.julialang.org/t/are-database-connection-pools-typically-used-with-concurrency/109689 "2024-02-04T03:44:10Z")

</div>

When creating hundreds of tasks using @spawn (with multiple threads), where each task has a connection to an embedded database, is it necessary to use a connection pool structure or can each task maintain its own DBInter…

---

## [How to create a new axis in a loop using CairoMakie?](https://discourse.julialang.org/t/how-to-create-a-new-axis-in-a-loop-using-cairomakie/109623)

<div class="topic-metadata">

**Author:** [@albrightand](https://discourse.julialang.org/u/albrightand)\
**Replies:** 4\
**Last updated:** [February 4, 2024, 2:59am UTC](https://discourse.julialang.org/t/how-to-create-a-new-axis-in-a-loop-using-cairomakie/109623 "2024-02-04T02:59:37Z")

</div>

I’m trying to create a series of histograms by looping through a data frame and plotting each entry as a histogram. There is 20 different plots, so it would be inconvenient to not use a loop. In the Makie docs, it shows…

---

## [How to implement a filtered derivative](https://discourse.julialang.org/t/how-to-implement-a-filtered-derivative/109441)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 29\
**Last updated:** [February 3, 2024, 10:51pm UTC](https://discourse.julialang.org/t/how-to-implement-a-filtered-derivative/109441 "2024-02-03T22:51:18Z")

</div>

How can I implement a filtered, discrete time derivative following the equations: u\_1 = u − y\_1 dy\_1/dt = (1 / T\_D) \* u\_1 y = (K\_D / T\_D) \* u\_1 filtertau = 0.01 as described on page 128 of the following document: http…

---

## [3D surfaces + time slider](https://discourse.julialang.org/t/3d-surfaces-time-slider/109673)

<div class="topic-metadata">

**Author:** [@sob](https://discourse.julialang.org/u/sob)\
**Replies:** 2\
**Last updated:** [February 3, 2024, 5:49pm UTC](https://discourse.julialang.org/t/3d-surfaces-time-slider/109673 "2024-02-03T17:49:45Z")

</div>

Hi, PlotlyJS provides the following code to represent multiple surfaces at once (see multiple surfaces): julia\> using PlotlyJS julia\> function multiple\_surface() z1 = Vector\[\[8.83, 8.89, 8.81, 8.87, 8.9, 8.…

---

## [3D plot labels customization](https://discourse.julialang.org/t/3d-plot-labels-customization/109675)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 0\
**Last updated:** [February 3, 2024, 4:44pm UTC](https://discourse.julialang.org/t/3d-plot-labels-customization/109675 "2024-02-03T16:44:02Z")

</div>

Hi all, I am using Makie.jl as my main plotting library. Maybe I missed something in the doc, but I don’t know if it is possible to customize the ticks and axis labels layout of Axis3 to get something like in the figure …

---

## [Integration of functions over geometries](https://discourse.julialang.org/t/integration-of-functions-over-geometries/81994)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 30\
**Last updated:** [February 3, 2024, 4:07pm UTC](https://discourse.julialang.org/t/integration-of-functions-over-geometries/81994 "2024-02-03T16:07:20Z")

</div>

Cross-posting from Zulip’s #meshes.jl channel… Does anyone know of a good reference for integration rules over different geometries? For example, to integrate a function f over a triangle, we can consider the surface i…

---

## [KeyError in PowerModels](https://discourse.julialang.org/t/keyerror-in-powermodels/109656)

<div class="topic-metadata">

**Author:** [@Rasoul](https://discourse.julialang.org/u/Rasoul)\
**Replies:** 3\
**Last updated:** [February 3, 2024, 6:16am UTC](https://discourse.julialang.org/t/keyerror-in-powermodels/109656 "2024-02-03T06:16:20Z")

</div>

Hi All, I developed PowerModels and PowerModelsAnnex, then ran my customized code in PowerModelsAnnex and encountered the following error. Could you please provide guidance on how to resolve this? Thanks in advance! "E…

---

## [BatchIntegralFunction not appearing to work as intended](https://discourse.julialang.org/t/batchintegralfunction-not-appearing-to-work-as-intended/109513)

<div class="topic-metadata">

**Author:** [@HSnowden](https://discourse.julialang.org/u/HSnowden)\
**Replies:** 2\
**Last updated:** [February 3, 2024, 4:05am UTC](https://discourse.julialang.org/t/batchintegralfunction-not-appearing-to-work-as-intended/109513 "2024-02-03T04:05:09Z")

</div>

I am trying to implement a batch integral function using the new BatchIntegralFunction rather than then deprecated nout/batch keywords. However, when I do, the in-place vector to fill place the answer in is the incorrec…

---

## [Physics-informed training of a surrogate model involving finite element analysis](https://discourse.julialang.org/t/physics-informed-training-of-a-surrogate-model-involving-finite-element-analysis/103735)

<div class="topic-metadata">

**Author:** [@touste](https://discourse.julialang.org/u/touste)\
**Replies:** 4\
**Last updated:** [February 2, 2024, 10:29pm UTC](https://discourse.julialang.org/t/physics-informed-training-of-a-surrogate-model-involving-finite-element-analysis/103735 "2024-02-02T22:29:53Z")

</div>

Hi all, I’m looking at ways to accelerate mechanical simulations for endovascular applications. We published a paper recently where we present EndoBeams.jl, a finite element framework for beam elements in contact with a…

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

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