# Specific Domains

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

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

**Page:** 93

---

## [Historical data - SDDP.jl](https://discourse.julialang.org/t/historical-data-sddp-jl/117207)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 6\
**Last updated:** [August 6, 2024, 11:42pm UTC](https://discourse.julialang.org/t/historical-data-sddp-jl/117207 "2024-08-06T23:42:24Z")

</div>

Hi everyone, I trained a big model using SDDP.jl. Then, I used historical data to simulate the policy multiple times. However, when I examine the results of different simulations with the same historical data, I notice …

---

## [Solution indexing is very slow](https://discourse.julialang.org/t/solution-indexing-is-very-slow/117896)

<div class="topic-metadata">

**Author:** [@Bart\_van\_de\_Lint](https://discourse.julialang.org/u/Bart_van_de_Lint)\
**Replies:** 8\
**Last updated:** [August 6, 2024, 9:23pm UTC](https://discourse.julialang.org/t/solution-indexing-is-very-slow/117896 "2024-08-06T21:23:05Z")

</div>

When running the following code, the last two lines do the same thing: they get decay2.f at the last point in time. sol\[decay2.f\]\[end\] is the modelingtoolkit preferred way, while sol.u\[end\]\[2\] is using normal array index…

---

## [Different results with different macros for profiling](https://discourse.julialang.org/t/different-results-with-different-macros-for-profiling/117592)

<div class="topic-metadata">

**Author:** [@HAP40HTT](https://discourse.julialang.org/u/HAP40HTT)\
**Replies:** 3\
**Last updated:** [August 6, 2024, 7:53pm UTC](https://discourse.julialang.org/t/different-results-with-different-macros-for-profiling/117592 "2024-08-06T19:53:09Z")

</div>

Hi everyone, I’m relatively new to kernel programming with CUDA.jl and am currently implementing a kernel to compute attention using a sliding-window attention mechanism. While profiling the code, I observed that the r…

---

## [Genetic Epidemiology tools](https://discourse.julialang.org/t/genetic-epidemiology-tools/117764)

<div class="topic-metadata">

**Author:** [@jromanowska](https://discourse.julialang.org/u/jromanowska)\
**Replies:** 7\
**Last updated:** [August 6, 2024, 3:59pm UTC](https://discourse.julialang.org/t/genetic-epidemiology-tools/117764 "2024-08-06T15:59:24Z")

</div>

Hi, I am working with genotyping data (PLINK format) and DNA methylation data (large matrices of numbers in range 0-1). Are there any recommended packages, workflows, or tutorials for working with these data in Julia? …

---

## [Drawing stripped dodged bar charts in Makie](https://discourse.julialang.org/t/drawing-stripped-dodged-bar-charts-in-makie/114208)

<div class="topic-metadata">

**Author:** [@harrysw](https://discourse.julialang.org/u/harrysw)\
**Replies:** 4\
**Last updated:** [August 6, 2024, 11:40am UTC](https://discourse.julialang.org/t/drawing-stripped-dodged-bar-charts-in-makie/114208 "2024-08-06T11:40:48Z")

</div>

I tried to create a dodged stripped barplot where bars from each plot have different strip directions. After consulting the documentation about dodged bars and stripped bars, I came up with the following short example: …

---

## [The graphs ecosystem](https://discourse.julialang.org/t/the-graphs-ecosystem/99463)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 35\
**Last updated:** [August 6, 2024, 10:01am UTC](https://discourse.julialang.org/t/the-graphs-ecosystem/99463 "2024-08-06T10:01:22Z")

</div>

Hey everyone, The very fruitful discussion on fixing package fragmentation started from a remark I made on Slack about graphs, which is why I’m asking the community for ideas and support. In my opinion, the most import…

---

## [MTK -- how to set initial unknowns introduced by MTK?](https://discourse.julialang.org/t/mtk-how-to-set-initial-unknowns-introduced-by-mtk/117832)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 6\
**Last updated:** [August 6, 2024, 9:36am UTC](https://discourse.julialang.org/t/mtk-how-to-set-initial-unknowns-introduced-by-mtk/117832 "2024-08-06T09:36:17Z")

</div>

I’m converting a model from Modelica to ModelingToolkit in Julia. Modelica is somewhat more flexible wrt. specifying initial values for unknowns, so I have to change which initial unknowns I specify. Here is the model pr…

---

## [How to change the background colour of \`fillstyle\`?](https://discourse.julialang.org/t/how-to-change-the-background-colour-of-fillstyle/117815)

<div class="topic-metadata">

**Author:** [@chuljang](https://discourse.julialang.org/u/chuljang)\
**Replies:** 2\
**Last updated:** [August 6, 2024, 9:02am UTC](https://discourse.julialang.org/t/how-to-change-the-background-colour-of-fillstyle/117815 "2024-08-06T09:02:56Z")

</div>

With the StatsPlots package (not with Makie or other packages), I would like to change the background colour of fillstyle, where it has :+, :|, and etc. Is there any way? Alternatively, I wrote the following code which d…

---

## [Modeling Toolkit: Vector equations and register symbolic interaction](https://discourse.julialang.org/t/modeling-toolkit-vector-equations-and-register-symbolic-interaction/117877)

<div class="topic-metadata">

**Author:** [@HSnowden](https://discourse.julialang.org/u/HSnowden)\
**Replies:** 0\
**Last updated:** [August 6, 2024, 8:53am UTC](https://discourse.julialang.org/t/modeling-toolkit-vector-equations-and-register-symbolic-interaction/117877 "2024-08-06T08:53:36Z")

</div>

Hi, I am trying to build a model within modeling toolkit where it is built on a grid, therefore defining variables as vectors, but inside the equations is an integral over the whole vector and it doesn’t seem to be work…

---

## [Help on ForwardDiff and Zygote for ODEProblem with mass matrix](https://discourse.julialang.org/t/help-on-forwarddiff-and-zygote-for-odeproblem-with-mass-matrix/117857)

<div class="topic-metadata">

**Author:** [@ccz](https://discourse.julialang.org/u/ccz)\
**Replies:** 8\
**Last updated:** [August 6, 2024, 8:27am UTC](https://discourse.julialang.org/t/help-on-forwarddiff-and-zygote-for-odeproblem-with-mass-matrix/117857 "2024-08-06T08:27:29Z")

</div>

Hi there, I’m new to SciMLSensitivity.jl and Zygote.jl and have been playing with these two libraries for a toy ODE system with a mass matrix. However, the Jacobians produced by the two libraries are different, and I ha…

---

## [3d graphics editor in Julia coming?](https://discourse.julialang.org/t/3d-graphics-editor-in-julia-coming/117851)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 2\
**Last updated:** [August 6, 2024, 2:09am UTC](https://discourse.julialang.org/t/3d-graphics-editor-in-julia-coming/117851 "2024-08-06T02:09:53Z")

</div>

First, let’s address the elephant in the room. 3d graphic editors like Blender are difficult. And I do have an idea on a 3d graphic system in Julia, though it’s probably stupid, and even if not, who am I to make it done…

---

## [Could not solve optimization problem with max/min in constraints](https://discourse.julialang.org/t/could-not-solve-optimization-problem-with-max-min-in-constraints/117839)

<div class="topic-metadata">

**Author:** [@VPBML](https://discourse.julialang.org/u/VPBML)\
**Replies:** 5\
**Last updated:** [August 5, 2024, 10:35pm UTC](https://discourse.julialang.org/t/could-not-solve-optimization-problem-with-max-min-in-constraints/117839 "2024-08-05T22:35:50Z")

</div>

Hi, I wonder why JuMP could not solve the following optimization problem with max/min in the constraints. I would really appreciate it if you could show me how to solve this issue. using JuMP, Ipopt model = Model(Ipop…

---

## [CAD files in Julia](https://discourse.julialang.org/t/cad-files-in-julia/101898)

<div class="topic-metadata">

**Author:** [@KapilKhanal](https://discourse.julialang.org/u/KapilKhanal)\
**Replies:** 6\
**Last updated:** [August 5, 2024, 6:50pm UTC](https://discourse.julialang.org/t/cad-files-in-julia/101898 "2024-08-05T18:50:57Z")

</div>

Is there a Julia package that imports CAD files or generates Spline-based mesh for higher-order elements in a numerical simulation? I see some barebones packages like BSplines.jl but they don’t have much of functionality…

---

## [A good colorscheme encodes the right information on data. Is inferno a good colorscheme?](https://discourse.julialang.org/t/a-good-colorscheme-encodes-the-right-information-on-data-is-inferno-a-good-colorscheme/99962)

<div class="topic-metadata">

**Author:** [@empet](https://discourse.julialang.org/u/empet)\
**Replies:** 0\
**Last updated:** [June 6, 2023, 7:55pm UTC](https://discourse.julialang.org/t/a-good-colorscheme-encodes-the-right-information-on-data-is-inferno-a-good-colorscheme/99962 "2023-06-06T19:55:05Z")

</div>

There is a thread https://discourse.julialang.org/t/comparison-of-plotting-packages/99860 where users of different plotting/drawing libraries try to convince the readers about the superiority of their tool. No matter w…

---

## [Variables are Missing from Variable map in PDE](https://discourse.julialang.org/t/variables-are-missing-from-variable-map-in-pde/117707)

<div class="topic-metadata">

**Author:** [@ppinney](https://discourse.julialang.org/u/ppinney)\
**Replies:** 4\
**Last updated:** [August 5, 2024, 1:13pm UTC](https://discourse.julialang.org/t/variables-are-missing-from-variable-map-in-pde/117707 "2024-08-05T13:13:07Z")

</div>

Hello, I am trying to solve a set of coupled PDEs using MethodOfLines.jl, but I am new to both PDE solving and Julia in general. The code is based on one of the MethodOfLines.jl tutorials: using MethodOfLines, Modeling…

---

## [How to solve a nonlinear system with redundancy with NonlinearSolve.jl](https://discourse.julialang.org/t/how-to-solve-a-nonlinear-system-with-redundancy-with-nonlinearsolve-jl/117840)

<div class="topic-metadata">

**Author:** [@VPBML](https://discourse.julialang.org/u/VPBML)\
**Replies:** 1\
**Last updated:** [August 5, 2024, 1:11pm UTC](https://discourse.julialang.org/t/how-to-solve-a-nonlinear-system-with-redundancy-with-nonlinearsolve-jl/117840 "2024-08-05T13:11:32Z")

</div>

Hi, I have problem using NonlinearSolve.jl to solve the following nonlinear system. The reason of the problem is because of the redundancy among the last 3 equations. I wonder if it is possible for NonlinearSolve.jl to …

---

## [Using views of CuArray with CUDA-aware MPI is extremely slow](https://discourse.julialang.org/t/using-views-of-cuarray-with-cuda-aware-mpi-is-extremely-slow/117348)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 14\
**Last updated:** [August 5, 2024, 12:36pm UTC](https://discourse.julialang.org/t/using-views-of-cuarray-with-cuda-aware-mpi-is-extremely-slow/117348 "2024-08-05T12:36:56Z")

</div>

Hi everyone, I attempted a simple 2D boundary communication using MPI.jl and CUDA.jl. However, when I used views, the wall time was 100 times slower compared to not using views. I made slight modifications based on the …

---

## [Julia with Knitro](https://discourse.julialang.org/t/julia-with-knitro/81686)

<div class="topic-metadata">

**Author:** [@joyce\_azevedo](https://discourse.julialang.org/u/joyce_azevedo)\
**Replies:** 22\
**Last updated:** [August 5, 2024, 11:54am UTC](https://discourse.julialang.org/t/julia-with-knitro/81686 "2024-08-05T11:54:18Z")

</div>

Hey everyone! I’m trying to set a time limit and a gap in Julia using Knitro, but not having success: m = Model(KNITRO.Optimizer) set\_optimizer\_attribute(m, “maxtime\_cpu”, 3.6e+2) set\_optimizer\_attribute(m, “mip\_opt\_g…

---

## [How to implement similar functionality as in Simulink/Simscape by ModelingToolkitStandardLibrary.jl](https://discourse.julialang.org/t/how-to-implement-similar-functionality-as-in-simulink-simscape-by-modelingtoolkitstandardlibrary-jl/106597)

<div class="topic-metadata">

**Author:** [@Jan\_Svanda](https://discourse.julialang.org/u/Jan_Svanda)\
**Replies:** 14\
**Last updated:** [August 5, 2024, 3:53am UTC](https://discourse.julialang.org/t/how-to-implement-similar-functionality-as-in-simulink-simscape-by-modelingtoolkitstandardlibrary-jl/106597 "2024-08-05T03:53:27Z")

</div>

I try the Julia Modeling Toolkit as an alternative to Simulink/Simscape. I’m struggling a bit with the connection to the “classical” Julia code. I’m looking for something like a PS-Simulink converter block. The following…

---

## [Parallel Branch and Bound Priority Queue](https://discourse.julialang.org/t/parallel-branch-and-bound-priority-queue/117818)

<div class="topic-metadata">

**Author:** [@phK3](https://discourse.julialang.org/u/phK3)\
**Replies:** 1\
**Last updated:** [August 4, 2024, 7:41pm UTC](https://discourse.julialang.org/t/parallel-branch-and-bound-priority-queue/117818 "2024-08-04T19:41:58Z")

</div>

I’ve implemented code for a simple branch and bound procedure for maximizing a function in Julia (actually I’ve tweaked the code in NeuralPriorityOptimizer.jl). Currently the code runs on a single thread, but I’d like t…

---

## [Meep FDTD and Julia](https://discourse.julialang.org/t/meep-fdtd-and-julia/109309)

<div class="topic-metadata">

**Author:** [@mike.ingold](https://discourse.julialang.org/u/mike.ingold)\
**Replies:** 17\
**Last updated:** [August 4, 2024, 4:43pm UTC](https://discourse.julialang.org/t/meep-fdtd-and-julia/109309 "2024-08-04T16:43:05Z")

</div>

Regarding the FDTD solver Meep: GitHub - NanoComp/meep: free finite-difference time-domain (FDTD) software for electromagnetic simulations. Does anyone have any interest in either a Julia package to interface with Meep, …

---

## [Shapefile.jl writing .shp without coordinates](https://discourse.julialang.org/t/shapefile-jl-writing-shp-without-coordinates/117434)

<div class="topic-metadata">

**Author:** [@alejandromerchan](https://discourse.julialang.org/u/alejandromerchan)\
**Replies:** 19\
**Last updated:** [August 4, 2024, 4:08pm UTC](https://discourse.julialang.org/t/shapefile-jl-writing-shp-without-coordinates/117434 "2024-08-04T16:08:36Z")

</div>

I loaded a Shapefile in Julia, transformed it to a datafame and then did some data cleaning, getting rid of some unneeded rows of data. I saved the shapefile again, with a new name, using “Shapefile.write” and tried to o…

---

## [Parallelization for Large DataFrames](https://discourse.julialang.org/t/parallelization-for-large-dataframes/117807)

<div class="topic-metadata">

**Author:** [@ujjwal\_singh](https://discourse.julialang.org/u/ujjwal_singh)\
**Replies:** 2\
**Last updated:** [August 4, 2024, 1:42pm UTC](https://discourse.julialang.org/t/parallelization-for-large-dataframes/117807 "2024-08-04T13:42:44Z")

</div>

@bkamins, would you please suggest how to make the attached code more efficient with parallelization? The DataFrame size is 1,877,655,217 rows × 27 columns. using DataFrames, Dates, Statistics, Base.Threads # Optimized…

---

## [Does gurobi support a different precision other than float64](https://discourse.julialang.org/t/does-gurobi-support-a-different-precision-other-than-float64/117658)

<div class="topic-metadata">

**Author:** [@Betristor](https://discourse.julialang.org/u/Betristor)\
**Replies:** 21\
**Last updated:** [August 4, 2024, 3:34am UTC](https://discourse.julialang.org/t/does-gurobi-support-a-different-precision-other-than-float64/117658 "2024-08-04T03:34:30Z")

</div>

I want to reduce my model memory consumption with JuMP and Gurobi as solver. With about 0.3 billion variables in the model, the memory consumption increases to 1.5 TB, which exceeds my machine’s physical limit. JuMP supp…

---

## [Axis-relative positioning](https://discourse.julialang.org/t/axis-relative-positioning/117749)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 3\
**Last updated:** [August 3, 2024, 9:23am UTC](https://discourse.julialang.org/t/axis-relative-positioning/117749 "2024-08-03T09:23:06Z")

</div>

I want to say Axis(ax\[1,1\]; bbox = BBox(x,x+100,y,y+50)) with the x and y being on the scale of ax’s axes – i.e. in data space. But ax\[1,1\] doesn’t work so I use Axis(fig, and so x and y are relative to fig’s coordinates…

---

## [Constrained ordered prior for ordered logistic model](https://discourse.julialang.org/t/constrained-ordered-prior-for-ordered-logistic-model/55670)

<div class="topic-metadata">

**Author:** [@Neal](https://discourse.julialang.org/u/Neal)\
**Replies:** 3\
**Last updated:** [August 2, 2024, 9:16pm UTC](https://discourse.julialang.org/t/constrained-ordered-prior-for-ordered-logistic-model/55670 "2024-08-02T21:16:47Z")

</div>

Hello, I have a task for modeling ordered discrete response outcome but I struggled to make my prior ordered for ordered logistic model so theta\[6\] \> theta\[5\] \> theta\[4\] \> theta\[3\] \> theta\[2\] \> theta\[1\]. In Stan, I can d…

---

## [Ask user to provide points coordinates as two vectors or as a single vector of tuples?](https://discourse.julialang.org/t/ask-user-to-provide-points-coordinates-as-two-vectors-or-as-a-single-vector-of-tuples/117717)

<div class="topic-metadata">

**Author:** [@K5Julien](https://discourse.julialang.org/u/K5Julien)\
**Replies:** 10\
**Last updated:** [August 2, 2024, 9:21pm UTC](https://discourse.julialang.org/t/ask-user-to-provide-points-coordinates-as-two-vectors-or-as-a-single-vector-of-tuples/117717 "2024-08-02T21:21:42Z")

</div>

When asking the user to provide coordinates of plan points for my package RingStarProblems.jl I initially thought the following was best: xycoordinates = tuple.(1:10, rand(1:10, 10)) somefunction(xycoordinates) However…

---

## [Update non linear solve with sliders (Makie)](https://discourse.julialang.org/t/update-non-linear-solve-with-sliders-makie/117767)

<div class="topic-metadata">

**Author:** [@Mehdi\_MABED](https://discourse.julialang.org/u/Mehdi_MABED)\
**Replies:** 1\
**Last updated:** [August 2, 2024, 3:39pm UTC](https://discourse.julialang.org/t/update-non-linear-solve-with-sliders-makie/117767 "2024-08-02T15:39:08Z")

</div>

I would like to plot iwith GLMakie the solution of a non linear equation that I solve with the NonlinearSolve.jl package, but I would like this plot to be updated when I move a slider (the parameter of the equation is li…

---

## [Troubles with GeoStats/GeoIO coordinates with units](https://discourse.julialang.org/t/troubles-with-geostats-geoio-coordinates-with-units/117766)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 5\
**Last updated:** [August 1, 2024, 10:39am UTC](https://discourse.julialang.org/t/troubles-with-geostats-geoio-coordinates-with-units/117766 "2024-08-01T10:39:09Z")

</div>

Thank you @juliohm! File reads fine now. New issue - too small to warrant new thread, perhaps. bb = boundingbox(gt.geometry) minx, miny = coordinates(bb.min)\[1:2\] coordinates function no longer works. ERROR: LoadErro…

---

## [Using DynamicHMC for a model defined in Python](https://discourse.julialang.org/t/using-dynamichmc-for-a-model-defined-in-python/117765)

<div class="topic-metadata">

**Author:** [@Douwe](https://discourse.julialang.org/u/Douwe)\
**Replies:** 0\
**Last updated:** [August 2, 2024, 12:47pm UTC](https://discourse.julialang.org/t/using-dynamichmc-for-a-model-defined-in-python/117765 "2024-08-02T12:47:15Z")

</div>

Hi I’ve been trying to use DynamicHMC to sample my model written in Python. The problem I’m encountering is that I don’t know how to structure the output of my log posterior function in julia correctly, so the MCMC sampl…

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

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