# Specific Domains

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

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

**Page:** 72

---

## [Accessing axis in Makie plot recipes](https://discourse.julialang.org/t/accessing-axis-in-makie-plot-recipes/66006)

<div class="topic-metadata">

**Author:** [@jlchan](https://discourse.julialang.org/u/jlchan)\
**Replies:** 5\
**Last updated:** [November 24, 2024, 9:18am UTC](https://discourse.julialang.org/t/accessing-axis-in-makie-plot-recipes/66006 "2024-11-24T09:18:18Z")

</div>

Is there a way to access the axis in a Makie plot recipe? I’d like to apply xlims!(ax, ...) and set ax.aspect = .....

---

## [Implementing the log-sum-exp function](https://discourse.julialang.org/t/implementing-the-log-sum-exp-function/122946)

<div class="topic-metadata">

**Author:** [@kangqiu](https://discourse.julialang.org/u/kangqiu)\
**Replies:** 10\
**Last updated:** [November 23, 2024, 9:23am UTC](https://discourse.julialang.org/t/implementing-the-log-sum-exp-function/122946 "2024-11-23T09:23:55Z")

</div>

Hi everyone! I am working on stochastic model predictive control in Julia/JuMP. I am using essentially a log-sum-exp function in the objective and encountered some issues with overflow. Now I am trying to implement a re…

---

## [Pivoted Cholesky: Why is rank a private field/property?](https://discourse.julialang.org/t/pivoted-cholesky-why-is-rank-a-private-field-property/122971)

<div class="topic-metadata">

**Author:** [@ajinkya-k](https://discourse.julialang.org/u/ajinkya-k)\
**Replies:** 6\
**Last updated:** [November 23, 2024, 7:06am UTC](https://discourse.julialang.org/t/pivoted-cholesky-why-is-rank-a-private-field-property/122971 "2024-11-23T07:06:35Z")

</div>

Hello! I am posting for the first time so please forgive me if this is naive. I am using the cholesky function with pivoting to (1) factorize a positive semidefinite matrix, (2) get its rank, and (3) do some follow-up c…

---

## [Setting the foreground color of colorbar tick marks](https://discourse.julialang.org/t/setting-the-foreground-color-of-colorbar-tick-marks/122911)

<div class="topic-metadata">

**Author:** [@marcusps](https://discourse.julialang.org/u/marcusps)\
**Replies:** 5\
**Last updated:** [November 22, 2024, 10:57pm UTC](https://discourse.julialang.org/t/setting-the-foreground-color-of-colorbar-tick-marks/122911 "2024-11-22T22:57:23Z")

</div>

I am trying to make plot some data on black background, and setting fg\_color to :white works well except for one details. The tick marks on the color bar remain black, and thus are rendered essentially invisible. The la…

---

## [Comparing model solutions - Validating solutions](https://discourse.julialang.org/t/comparing-model-solutions-validating-solutions/122294)

<div class="topic-metadata">

**Author:** [@daro.slai](https://discourse.julialang.org/u/daro.slai)\
**Replies:** 6\
**Last updated:** [November 22, 2024, 9:37pm UTC](https://discourse.julialang.org/t/comparing-model-solutions-validating-solutions/122294 "2024-11-22T21:37:48Z")

</div>

Hi! I’m working on an MINLP model and solving it with KNITRO. Since it’s an MINLP, the solver solution heavily depends on solver settings and I’m looking for new ways to validate it. I was trying to take the same mode…

---

## [Robust and adaptive optimization support?](https://discourse.julialang.org/t/robust-and-adaptive-optimization-support/122965)

<div class="topic-metadata">

**Author:** [@karlzhu](https://discourse.julialang.org/u/karlzhu)\
**Replies:** 3\
**Last updated:** [November 22, 2024, 9:24pm UTC](https://discourse.julialang.org/t/robust-and-adaptive-optimization-support/122965 "2024-11-22T21:24:35Z")

</div>

Are there any currently maintained packages that extend JuMP and formulate robust and adaptive optimization models? I see there’s a JuMPeR package built many years ago, but I heard it’s unusable since it’s quite outdated…

---

## [Plots.contourf and PlotlyJS.contour behaviour with regard to the x,y,z input](https://discourse.julialang.org/t/plots-contourf-and-plotlyjs-contour-behaviour-with-regard-to-the-x-y-z-input/122897)

<div class="topic-metadata">

**Author:** [@Valery](https://discourse.julialang.org/u/Valery)\
**Replies:** 1\
**Last updated:** [November 22, 2024, 7:17pm UTC](https://discourse.julialang.org/t/plots-contourf-and-plotlyjs-contour-behaviour-with-regard-to-the-x-y-z-input/122897 "2024-11-22T19:17:52Z")

</div>

I have been using PlotlyJS.contour() in a program to plot data, but I need to switch to Plot.contourf(). I use PlotlyJS.contour(x=x,y=y,z=z) such that x::Vector and y::Vector contain the x and y coordinates of the point…

---

## [Cannot get HSL to work with AmplNLWriter](https://discourse.julialang.org/t/cannot-get-hsl-to-work-with-amplnlwriter/122903)

<div class="topic-metadata">

**Author:** [@pulsipher](https://discourse.julialang.org/u/pulsipher)\
**Replies:** 8\
**Last updated:** [November 22, 2024, 11:37am UTC](https://discourse.julialang.org/t/cannot-get-hsl-to-work-with-amplnlwriter/122903 "2024-11-22T11:37:51Z")

</div>

I have installed HSL\_jll.jl as provided by HSL and also installed HSL.jl. With this I can get Ipopt to work with ma27 when I use Ipopt directly: using JuMP, Ipopt, HSL, HSL\_jll model = Model(Ipopt.Optimizer) @variable(m…

---

## [Possibility of factorization for ODEs produced by a mass action chemical reaction network](https://discourse.julialang.org/t/possibility-of-factorization-for-odes-produced-by-a-mass-action-chemical-reaction-network/122950)

<div class="topic-metadata">

**Author:** [@adhalanay](https://discourse.julialang.org/u/adhalanay)\
**Replies:** 1\
**Last updated:** [November 22, 2024, 11:29am UTC](https://discourse.julialang.org/t/possibility-of-factorization-for-odes-produced-by-a-mass-action-chemical-reaction-network/122950 "2024-11-22T11:29:12Z")

</div>

In the algebraic approach to mass action chemical reaction networks there is a very useful factorization of the RHS of the ODE system \\frac{dx}{dt}=Y\\cdot A\_k \\cdot \\Phi(x), where Y is the complex stoichiometric matr…

---

## [Solve can not solve nonlinear symbolic equations](https://discourse.julialang.org/t/solve-can-not-solve-nonlinear-symbolic-equations/122942)

<div class="topic-metadata">

**Author:** [@Bart\_van\_de\_Lint](https://discourse.julialang.org/u/Bart_van_de_Lint)\
**Replies:** 2\
**Last updated:** [November 22, 2024, 11:27am UTC](https://discourse.julialang.org/t/solve-can-not-solve-nonlinear-symbolic-equations/122942 "2024-11-22T11:27:37Z")

</div>

It seems like symbolic\_solve doesn’t symbolically solve nonlinear equations yet. Is this a feature that will be added in the future, so that I for example could do the following? Or is there some alternative way to do th…

---

## [Logistic regression for data with missing values](https://discourse.julialang.org/t/logistic-regression-for-data-with-missing-values/122929)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.julialang.org/u/Jakub_Mitura)\
**Replies:** 1\
**Last updated:** [November 22, 2024, 9:34am UTC](https://discourse.julialang.org/t/logistic-regression-for-data-with-missing-values/122929 "2024-11-22T09:34:05Z")

</div>

:100: ello I tried to adapt logistic regression for my case @model function logistic\_regression(x, y, n, σ) intercept ~ Normal(0, σ) Gabel ~ Normal(0, σ) SUVmax\_binned ~ Normal(0, σ) MTV\_binned ~ Normal…

---

## [Has Plots.mesh3d() opacity with respect to depth when displaying multiple shapes?](https://discourse.julialang.org/t/has-plots-mesh3d-opacity-with-respect-to-depth-when-displaying-multiple-shapes/122941)

<div class="topic-metadata">

**Author:** [@Valery](https://discourse.julialang.org/u/Valery)\
**Replies:** 0\
**Last updated:** [November 22, 2024, 9:17am UTC](https://discourse.julialang.org/t/has-plots-mesh3d-opacity-with-respect-to-depth-when-displaying-multiple-shapes/122941 "2024-11-22T09:17:15Z")

</div>

using Plots Plots.mesh3d(\[1,2,2,1\],\[1,1,1,1\],\[1,1,2,2\], connections=\[(1,2,3,4)\], linecolor=:black) Plots.mesh3d!(\[1,2,2,1\],\[1.1,1.1,1.1,1.1\],\[1,1,2,2\], connections=\[(1,2,3,4)\], linecolor=:black) D…

---

## [Capturing best solution from a JuMP model that times out](https://discourse.julialang.org/t/capturing-best-solution-from-a-jump-model-that-times-out/122807)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 5\
**Last updated:** [November 22, 2024, 6:59am UTC](https://discourse.julialang.org/t/capturing-best-solution-from-a-jump-model-that-times-out/122807 "2024-11-22T06:59:54Z")

</div>

I have a mixed integer problem that I think is sufficiently hard that it won’t complete in sensible time. I am probably using HiGHS. I would like to see the best feasible solution that was found. Actually I might like…

---

## [Crash when tuning SVC with multithreading in MLJ.jl](https://discourse.julialang.org/t/crash-when-tuning-svc-with-multithreading-in-mlj-jl/122908)

<div class="topic-metadata">

**Author:** [@Yuan-Ru-Lin](https://discourse.julialang.org/u/Yuan-Ru-Lin)\
**Replies:** 4\
**Last updated:** [November 21, 2024, 10:11pm UTC](https://discourse.julialang.org/t/crash-when-tuning-svc-with-multithreading-in-mlj-jl/122908 "2024-11-21T22:11:41Z")

</div>

I have been trying to tune a set of hyper-parameters of a SVC. The SVC is from LIBSVM.jl. It works when I use only one thread, but crashes indeterministically with multiple threads. Not only did it may or may not crash,…

---

## [Multiple chart types in Plots.jl](https://discourse.julialang.org/t/multiple-chart-types-in-plots-jl/122904)

<div class="topic-metadata">

**Author:** [@Valery](https://discourse.julialang.org/u/Valery)\
**Replies:** 2\
**Last updated:** [November 21, 2024, 8:25pm UTC](https://discourse.julialang.org/t/multiple-chart-types-in-plots-jl/122904 "2024-11-21T20:25:52Z")

</div>

Is it possible to have multiple chart types in a subplot using Plots.jl ? (the same way one could do it with PlotlyJS) I ideally would like to combine a contourf with a regular line plot (see example below) Reference: M…

---

## [Calling multiple user plot recipes from single recipe](https://discourse.julialang.org/t/calling-multiple-user-plot-recipes-from-single-recipe/122885)

<div class="topic-metadata">

**Author:** [@Ickaser](https://discourse.julialang.org/u/Ickaser)\
**Replies:** 3\
**Last updated:** [November 21, 2024, 7:28pm UTC](https://discourse.julialang.org/t/calling-multiple-user-plot-recipes-from-single-recipe/122885 "2024-11-21T19:28:40Z")

</div>

I am building a suite of Plots.jl recipes for my common visualizations, which has been very helpful–this functionality is awesome. I’ve arrived at a point where I would like to compose multiple of my user recipes in a s…

---

## [Save data to same files from independent, parallel processes](https://discourse.julialang.org/t/save-data-to-same-files-from-independent-parallel-processes/122876)

<div class="topic-metadata">

**Author:** [@J-J](https://discourse.julialang.org/u/J-J)\
**Replies:** 1\
**Last updated:** [November 21, 2024, 4:05pm UTC](https://discourse.julialang.org/t/save-data-to-same-files-from-independent-parallel-processes/122876 "2024-11-21T16:05:20Z")

</div>

Problem I have a Julia script which computes two numbers, num1 and num2, but the computation isn’t deterministic and so these computed numbers are different each time I run the script. Now I want to run this script many …

---

## [Documenting a plot recipe](https://discourse.julialang.org/t/documenting-a-plot-recipe/122423)

<div class="topic-metadata">

**Author:** [@franckgaga](https://discourse.julialang.org/u/franckgaga)\
**Replies:** 3\
**Last updated:** [November 21, 2024, 3:23pm UTC](https://discourse.julialang.org/t/documenting-a-plot-recipe/122423 "2024-11-21T15:23:02Z")

</div>

ModelPredictiveControl.jl defines plot recipes that works on SimResult types. My recipes include keyword arguments like plotu=false so user can type using ModelPredictiveControl, ControlSystemsBase, Plots res = sim!(Lin…

---

## [Connecting Tidier with MSSQL](https://discourse.julialang.org/t/connecting-tidier-with-mssql/121018)

<div class="topic-metadata">

**Author:** [@jjAtNxtPt](https://discourse.julialang.org/u/jjAtNxtPt)\
**Replies:** 12\
**Last updated:** [November 19, 2024, 1:10pm UTC](https://discourse.julialang.org/t/connecting-tidier-with-mssql/121018 "2024-11-19T13:10:52Z")

</div>

Hi, all. I’m hoping to get some Tidier officiandos here to help me out. I’m trying to connect to a MSSQL database using Tidier because I want to test out that package. I have followed all the info in the docs as far a…

---

## [Is it possible to simulate a resistive network using ModelingToolkit?](https://discourse.julialang.org/t/is-it-possible-to-simulate-a-resistive-network-using-modelingtoolkit/122690)

<div class="topic-metadata">

**Author:** [@Ricardo\_Borges](https://discourse.julialang.org/u/Ricardo_Borges)\
**Replies:** 16\
**Last updated:** [November 21, 2024, 12:15pm UTC](https://discourse.julialang.org/t/is-it-possible-to-simulate-a-resistive-network-using-modelingtoolkit/122690 "2024-11-21T12:15:15Z")

</div>

Hi, I’m trying to simulate a simple circuit of a constant voltage source connected to a resistor, using MTK. But I’m getting empty results when I solve the problem. Bear in mind this is a simple, toy problem, which I co…

---

## [DimensionalData vs AxisKeys](https://discourse.julialang.org/t/dimensionaldata-vs-axiskeys/122880)

<div class="topic-metadata">

**Author:** [@kli6891](https://discourse.julialang.org/u/kli6891)\
**Replies:** 2\
**Last updated:** [November 21, 2024, 11:51am UTC](https://discourse.julialang.org/t/dimensionaldata-vs-axiskeys/122880 "2024-11-21T11:51:30Z")

</div>

Hi, it seems that DimensionalData and AxisKeys have quite a bit overlap. What are the considerations I should keep in mind for choosing between these two packages?

---

## [Representing a symmetric matrix factorization](https://discourse.julialang.org/t/representing-a-symmetric-matrix-factorization/122881)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 3\
**Last updated:** [November 21, 2024, 9:56am UTC](https://discourse.julialang.org/t/representing-a-symmetric-matrix-factorization/122881 "2024-11-21T09:56:35Z")

</div>

This question is about implementing a matrix factorization with some operations in Julia, ideally relying on existing optimized implementations, in a generic way do that I don’t have to commit to a particular implementat…

---

## [Nuclear norm minimization objective using JuMP](https://discourse.julialang.org/t/nuclear-norm-minimization-objective-using-jump/122869)

<div class="topic-metadata">

**Author:** [@MLL](https://discourse.julialang.org/u/MLL)\
**Replies:** 6\
**Last updated:** [November 21, 2024, 8:39am UTC](https://discourse.julialang.org/t/nuclear-norm-minimization-objective-using-jump/122869 "2024-11-21T08:39:45Z")

</div>

I am new to JuMP and trying to solve the nuclear norm minimization problem for low-rank matrix completion: \\text{min}\_\\mathbf{X} || \\mathbf{X} ||\_\* \\ \\text{ subject to }\\ x\_{ij} = m\_{ij},\\ \\ (i, j) \\in \\Omega Where…

---

## [JuMP operators for \> and mod2pi?](https://discourse.julialang.org/t/jump-operators-for-and-mod2pi/122871)

<div class="topic-metadata">

**Author:** [@lamont](https://discourse.julialang.org/u/lamont)\
**Replies:** 2\
**Last updated:** [November 21, 2024, 1:50am UTC](https://discourse.julialang.org/t/jump-operators-for-and-mod2pi/122871 "2024-11-21T01:50:56Z")

</div>

I’m trying to solve an NLP with JuMP and the problem that I’m trying to solve canonically converts orbital state vectors into keplerian elements in order to match terminal conditions. This is horrible and very nonlinear…

---

## [Makie - single bar label for stacked bar](https://discourse.julialang.org/t/makie-single-bar-label-for-stacked-bar/122873)

<div class="topic-metadata">

**Author:** [@sleak](https://discourse.julialang.org/u/sleak)\
**Replies:** 2\
**Last updated:** [November 20, 2024, 10:34pm UTC](https://discourse.julialang.org/t/makie-single-bar-label-for-stacked-bar/122873 "2024-11-20T22:34:14Z")

</div>

I have a stacked bar plot, and can add a label to each block in the stack with bar\_labels=:y. But this is noisy, and I’d like to only add a single label to the top of the stack, showing the total stacked value. How do I …

---

## [Getting Catalyst and Oscar to work together](https://discourse.julialang.org/t/getting-catalyst-and-oscar-to-work-together/121299)

<div class="topic-metadata">

**Author:** [@adhalanay](https://discourse.julialang.org/u/adhalanay)\
**Replies:** 10\
**Last updated:** [November 20, 2024, 9:34pm UTC](https://discourse.julialang.org/t/getting-catalyst-and-oscar-to-work-together/121299 "2024-11-20T21:34:06Z")

</div>

This more of an extension of the previous topic https://discourse.julialang.org/t/finding-steady-states-symbolicaly/119545/18. First some background: commutative algebra is of great use for studying mass-action chemical…

---

## [Best practices for passing JuMP decision variables and data to a function for adding constraints](https://discourse.julialang.org/t/best-practices-for-passing-jump-decision-variables-and-data-to-a-function-for-adding-constraints/122853)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 2\
**Last updated:** [November 20, 2024, 8:15pm UTC](https://discourse.julialang.org/t/best-practices-for-passing-jump-decision-variables-and-data-to-a-function-for-adding-constraints/122853 "2024-11-20T20:15:31Z")

</div>

I have an integer optimization problem of the form: {\\text{minimize}}\_{x\_{1},\\ldots,x\_{r}} \\quad c\_{1}^{\\top}x\_{1}+c\_{2}^{\\top}x\_{2}+\\ldots+c\_{r}^{\\top}x\_{r}\\\\​\\text{subject to} \\quad B\_{1}x\_{1}+B\_{2…

---

## [Cannot change the init\_value of look\_at kwarg from Makie.Camera3D](https://discourse.julialang.org/t/cannot-change-the-init-value-of-look-at-kwarg-from-makie-camera3d/118250)

<div class="topic-metadata">

**Author:** [@xczphysics](https://discourse.julialang.org/u/xczphysics)\
**Replies:** 5\
**Last updated:** [November 20, 2024, 2:21pm UTC](https://discourse.julialang.org/t/cannot-change-the-init-value-of-look-at-kwarg-from-makie-camera3d/118250 "2024-11-20T14:21:18Z")

</div>

This is the code modified (only 1 line) from Cameras | Makie HAVE tried some other walkarounds, none works, either… using GeometryBasics, LinearAlgebra function frustum\_snapshot(cam) r = Rect3f(Point3f(-1, -1, -1)…

---

## [Getting the symbolic solution of system of equations using ModelingToolKit](https://discourse.julialang.org/t/getting-the-symbolic-solution-of-system-of-equations-using-modelingtoolkit/122786)

<div class="topic-metadata">

**Author:** [@Ricardo\_Borges](https://discourse.julialang.org/u/Ricardo_Borges)\
**Replies:** 6\
**Last updated:** [November 20, 2024, 12:06pm UTC](https://discourse.julialang.org/t/getting-the-symbolic-solution-of-system-of-equations-using-modelingtoolkit/122786 "2024-11-20T12:06:03Z")

</div>

Hi, I have the following circuit, which is used to estimate the isolation resistance of high-voltage battery packs to the chassis / low-voltage reference. The switch SW is turned on and off, so there are 2 equations, to…

---

## [Tutorial on the portfolio liquidation problem with PDE deep learning - NeuralPDEs and MTK](https://discourse.julialang.org/t/tutorial-on-the-portfolio-liquidation-problem-with-pde-deep-learning-neuralpdes-and-mtk/122583)

<div class="topic-metadata">

**Author:** [@finmod](https://discourse.julialang.org/u/finmod)\
**Replies:** 1\
**Last updated:** [November 20, 2024, 11:07am UTC](https://discourse.julialang.org/t/tutorial-on-the-portfolio-liquidation-problem-with-pde-deep-learning-neuralpdes-and-mtk/122583 "2024-11-20T11:07:27Z")

</div>

I seek to bring to NeuralPDEs.jl and MTK as a tutorial combining the PDE system and the integro-differential demos the portfolio liquidation problem of the Mean Field Control literature. Here we consider the model propo…

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

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