# Specific Domains

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

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

**Page:** 153

---

## [Loading vector data to Gridspace in Agents.jl](https://discourse.julialang.org/t/loading-vector-data-to-gridspace-in-agents-jl/106459)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 2\
**Last updated:** [November 20, 2023, 1:13pm UTC](https://discourse.julialang.org/t/loading-vector-data-to-gridspace-in-agents-jl/106459 "2023-11-20T13:13:58Z")

</div>

Hi, I am wondering whether there is a way in Agents.jl to load vector data (using perhaps .shpfile) to something like Grid space. Or is this possbile with open street map space? For context, what I am trying to do is m…

---

## [Why Julia is much slower than MATLAB on GPU computing?](https://discourse.julialang.org/t/why-julia-is-much-slower-than-matlab-on-gpu-computing/106450)

<div class="topic-metadata">

**Author:** [@DennisFang](https://discourse.julialang.org/u/DennisFang)\
**Replies:** 30\
**Last updated:** [November 20, 2023, 12:44pm UTC](https://discourse.julialang.org/t/why-julia-is-much-slower-than-matlab-on-gpu-computing/106450 "2023-11-20T12:44:29Z")

</div>

Hello, I use a local computer, consisting of an NVIDIA RTX 3090 GPU, with a Windows 10 system to run models in different programming languages and compare their performance. When comparing Julia (v1.9.3) and MATLAB (202…

---

## [Library/package for calculating vertex curvature and normals of a mesh](https://discourse.julialang.org/t/library-package-for-calculating-vertex-curvature-and-normals-of-a-mesh/106456)

<div class="topic-metadata">

**Author:** [@Jacopo\_Romano](https://discourse.julialang.org/u/Jacopo_Romano)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 11:42am UTC](https://discourse.julialang.org/t/library-package-for-calculating-vertex-curvature-and-normals-of-a-mesh/106456 "2023-11-20T11:42:05Z")

</div>

Hi everyone, I’m trying to develop a numerical scheme for simulating the equation of motion of a closed surface in 3D. To do it, I wanted to represent the surface as a mesh, compute the normal velocity, and use it to e…

---

## [Recording solutions to Julia Bifurcation Kit continuation](https://discourse.julialang.org/t/recording-solutions-to-julia-bifurcation-kit-continuation/106384)

<div class="topic-metadata">

**Author:** [@GeorgeA](https://discourse.julialang.org/u/GeorgeA)\
**Replies:** 5\
**Last updated:** [November 20, 2023, 7:11am UTC](https://discourse.julialang.org/t/recording-solutions-to-julia-bifurcation-kit-continuation/106384 "2023-11-20T07:11:46Z")

</div>

I can’t find the correct line of code to obtain the values for specific variables from Julia Bifurcation kit. I have a system of ODEs and a fixed point for the system. I can use the continuation function to obtain the no…

---

## [DynamicalSystems Poincare map of sin(u\[1\]) and u\[2\] \[using ProjectedDynamicalSystems\]](https://discourse.julialang.org/t/dynamicalsystems-poincare-map-of-sin-u-1-and-u-2-using-projecteddynamicalsystems/106443)

<div class="topic-metadata">

**Author:** [@hisacro](https://discourse.julialang.org/u/hisacro)\
**Replies:** 2\
**Last updated:** [November 20, 2023, 2:40am UTC](https://discourse.julialang.org/t/dynamicalsystems-poincare-map-of-sin-u-1-and-u-2-using-projecteddynamicalsystems/106443 "2023-11-20T02:40:38Z")

</div>

I will take an example from a predefined dynamical system using PredefinedDynamicalSystems, DynamicalSystems ds = Systems.double\_pendulum( \[π/2, 0, 0, π\]; G=10.0, L1 = 1.0, L2 = 1.0, M1 = 1.0, M2 = 1.0) Points, t = tra…

---

## [DifferentialEquations.jl callbacks\_buckExample not giving correct output](https://discourse.julialang.org/t/differentialequations-jl-callbacks-buckexample-not-giving-correct-output/106444)

<div class="topic-metadata">

**Author:** [@mongi](https://discourse.julialang.org/u/mongi)\
**Replies:** 1\
**Last updated:** [November 19, 2023, 10:42pm UTC](https://discourse.julialang.org/t/differentialequations-jl-callbacks-buckexample-not-giving-correct-output/106444 "2023-11-19T22:42:13Z")

</div>

Greetings, I have a question about the use of callbacks in differentialEquation.jl that was asked here: https://github.com/SciML/DifferentialEquations.jl/issues/998 thank you for your help

---

## [PlotlyJS: subplots with subplot\_titles + annotations](https://discourse.julialang.org/t/plotlyjs-subplots-with-subplot-titles-annotations/106417)

<div class="topic-metadata">

**Author:** [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Replies:** 3\
**Last updated:** [November 19, 2023, 9:30pm UTC](https://discourse.julialang.org/t/plotlyjs-subplots-with-subplot-titles-annotations/106417 "2023-11-19T21:30:35Z")

</div>

I need to create a figure with subplots using PlotlyJS. In particular, I need one with annotations and individual titles in the different subplots. I searched the internet and found an excellent example by @empet, which …

---

## [Unexpected array VariableRef\[c\[1\] c\[2\] c\[3\]\] in nonlinear expression](https://discourse.julialang.org/t/unexpected-array-variableref-c-1-c-2-c-3-in-nonlinear-expression/106419)

<div class="topic-metadata">

**Author:** [@Shayan](https://discourse.julialang.org/u/Shayan)\
**Replies:** 6\
**Last updated:** [November 19, 2023, 8:55pm UTC](https://discourse.julialang.org/t/unexpected-array-variableref-c-1-c-2-c-3-in-nonlinear-expression/106419 "2023-11-19T20:55:29Z")

</div>

Code: function b̂ₜfunc( x̂ₜ₊₁::AbstractVector, Σ̂ₜ₊₁::AbstractMatrix, γ::AbstractFloat, ξ::AbstractFloat, b̂ₜ::AbstractVector ) n\_assets = length(x̂ₜ₊₁) model = Model(optimizer\_with\_attributes(Ipopt.Optimi…

---

## [Handling Dynamical system with trigonometric function](https://discourse.julialang.org/t/handling-dynamical-system-with-trigonometric-function/106429)

<div class="topic-metadata">

**Author:** [@hisacro](https://discourse.julialang.org/u/hisacro)\
**Replies:** 14\
**Last updated:** [November 19, 2023, 10:45am UTC](https://discourse.julialang.org/t/handling-dynamical-system-with-trigonometric-function/106429 "2023-11-19T10:45:30Z")

</div>

using DynamicalSystems, GLMakie, OrdinaryDiffEq function rotor\_1( u, params, t) # @inbounds begin θ1,pθ1,θ2,pθ2 = u k,l = params…

---

## [Automatic complex valued differentiation for adjoint method](https://discourse.julialang.org/t/automatic-complex-valued-differentiation-for-adjoint-method/106408)

<div class="topic-metadata">

**Author:** [@marco\_menarini](https://discourse.julialang.org/u/marco_menarini)\
**Replies:** 0\
**Last updated:** [November 18, 2023, 3:11pm UTC](https://discourse.julialang.org/t/automatic-complex-valued-differentiation-for-adjoint-method/106408 "2023-11-18T15:11:14Z")

</div>

Is there a package that supports automatic differentiation for complex-valued functions (non-holomorphic)? So far I used a workaround of defining my own Wirtinger derivative in Zygote and I use the result as the input fo…

---

## [Minimizing a untidy multiparam function](https://discourse.julialang.org/t/minimizing-a-untidy-multiparam-function/106132)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 6\
**Last updated:** [November 14, 2023, 3:43am UTC](https://discourse.julialang.org/t/minimizing-a-untidy-multiparam-function/106132 "2023-11-14T03:43:31Z")

</div>

I have an untidy objective function that takes 4 vectors (34, 120, 120, 120 floats) and evaluates to a float, and an slow update function (~2 secs) that takes the same 4 vectors, alters and returns them. There is little …

---

## [ReverseDiff + SciMLSensitivity method ambiguity](https://discourse.julialang.org/t/reversediff-scimlsensitivity-method-ambiguity/105718)

<div class="topic-metadata">

**Author:** [@Larbino1](https://discourse.julialang.org/u/Larbino1)\
**Replies:** 7\
**Last updated:** [November 18, 2023, 5:47pm UTC](https://discourse.julialang.org/t/reversediff-scimlsensitivity-method-ambiguity/105718 "2023-11-18T17:47:38Z")

</div>

Hi, I’m getting a method ambiguity when trying to use ReverseDiff + SciMLSensitivity. ERROR: MethodError: kwcall( ::NamedTuple{(:save\_everystep,), Tuple{Bool}}, ::typeof(DiffEqBase.solve\_up), ::ODEProblem{SVector{…

---

## [Interpolation](https://discourse.julialang.org/t/interpolation/106382)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 7\
**Last updated:** [November 18, 2023, 6:47am UTC](https://discourse.julialang.org/t/interpolation/106382 "2023-11-18T06:47:53Z")

</div>

Hi, I am suing simple interpolation within a optimization problem by interpolation.jl I have a 3\*3 grid value matrix Val\_grid. Then I implemented this simple code: i\_values = \[1.0, 1.2, 1.3\] j\_values = \[1.0, 1.2, 1.3…

---

## [Descretization Failed - Method of Lines](https://discourse.julialang.org/t/descretization-failed-method-of-lines/105720)

<div class="topic-metadata">

**Author:** [@emmabottomley](https://discourse.julialang.org/u/emmabottomley)\
**Replies:** 1\
**Last updated:** [November 17, 2023, 4:19pm UTC](https://discourse.julialang.org/t/descretization-failed-method-of-lines/105720 "2023-11-17T16:19:25Z")

</div>

Hello, I’ve been having issues with my code related to the descretization step. I tried taking the derivative of a fraction Dx(S(t,x)/(p-2L(t,x))) but I got this error, SO I decided to use the quotient rule to expand t…

---

## [Implement JFNK with NonlinearSolve.jl](https://discourse.julialang.org/t/implement-jfnk-with-nonlinearsolve-jl/106339)

<div class="topic-metadata">

**Author:** [@gjparker](https://discourse.julialang.org/u/gjparker)\
**Replies:** 2\
**Last updated:** [November 17, 2023, 2:20pm UTC](https://discourse.julialang.org/t/implement-jfnk-with-nonlinearsolve-jl/106339 "2023-11-17T14:20:02Z")

</div>

I am trying to implement a Jacobian-Free Newton Krylov (JFNK) solver using existing functions in NonlinearSolve.jl and related packages. These methods should only require the evaluation of the directional derivatives J\*…

---

## [Why my diffeq solver idea doesn't work?](https://discourse.julialang.org/t/why-my-diffeq-solver-idea-doesnt-work/106350)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 4\
**Last updated:** [November 17, 2023, 1:32pm UTC](https://discourse.julialang.org/t/why-my-diffeq-solver-idea-doesnt-work/106350 "2023-11-17T13:32:09Z")

</div>

I was testing a silly idea on how to solve a difeq. #f(x+Δx) ≈ a + bΔx + cΔx^2 + dΔx^3 #f'(x+Δx) ≈ b + 2cΔx + 3dΔx^2 #a = f(x) #b = f'(x) # cΔx^2 + dΔx^3 = f(x+Δx) - a - bΔx # 2cΔx + 3dΔx^2 = f'(x+Δx) - b # (c,d) = \[Δx…

---

## [Plots.jl plotly heatmap labels](https://discourse.julialang.org/t/plots-jl-plotly-heatmap-labels/106252)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 2\
**Last updated:** [November 17, 2023, 8:58am UTC](https://discourse.julialang.org/t/plots-jl-plotly-heatmap-labels/106252 "2023-11-17T08:58:23Z")

</div>

I’d like to create a large heatmap using Plots.jl and plotly. which should look like this, where all y axis labels are shown, these align with the tool tip, and if I zoom in I get an increased granularity of the x axis d…

---

## [Histogram counts from Makie](https://discourse.julialang.org/t/histogram-counts-from-makie/106323)

<div class="topic-metadata">

**Author:** [@panbroggi](https://discourse.julialang.org/u/panbroggi)\
**Replies:** 5\
**Last updated:** [November 17, 2023, 8:46am UTC](https://discourse.julialang.org/t/histogram-counts-from-makie/106323 "2023-11-17T08:46:08Z")

</div>

Hi everyone! Do you know how I can recover the bin count from an histogram, e.g. the following? hist(rand(100))

---

## [How to call Gurobi solver?](https://discourse.julialang.org/t/how-to-call-gurobi-solver/106351)

<div class="topic-metadata">

**Author:** [@Kaiming\_Zhang](https://discourse.julialang.org/u/Kaiming_Zhang)\
**Replies:** 1\
**Last updated:** [November 17, 2023, 8:23am UTC](https://discourse.julialang.org/t/how-to-call-gurobi-solver/106351 "2023-11-17T08:23:22Z")

</div>

When I called Gurobi (v1.1.0) with the following code, m\_cvx = Model(optimizer\_with\_attributes(Gurobi.Optimizer,GRB\_ENV,“OutputFlag”=\>0)) it fails with methoderror. MethodError: no method matching optimizer\_with\_att…

---

## [Stiff methods throw \`Cannot create a dual over scalar type ComplexF64\` in \`SDEProblem\`](https://discourse.julialang.org/t/stiff-methods-throw-cannot-create-a-dual-over-scalar-type-complexf64-in-sdeproblem/106321)

<div class="topic-metadata">

**Author:** [@ymardoukhi](https://discourse.julialang.org/u/ymardoukhi)\
**Replies:** 4\
**Last updated:** [November 17, 2023, 7:15am UTC](https://discourse.julialang.org/t/stiff-methods-throw-cannot-create-a-dual-over-scalar-type-complexf64-in-sdeproblem/106321 "2023-11-17T07:15:02Z")

</div>

I am solving the following von Neumann master equation with a stochastic term \\dot{\\rho} = -i\[H(t), \\rho\] where \[., .\] is the commutator operator and H(t) is given by H(t) = s(t)\\hat{\\sigma\_x} + \\hat{\\sigma\_z} W\_t s…

---

## [Trouble with gmtread (gdalinfo failed)](https://discourse.julialang.org/t/trouble-with-gmtread-gdalinfo-failed/106330)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 1\
**Last updated:** [November 16, 2023, 7:46pm UTC](https://discourse.julialang.org/t/trouble-with-gmtread-gdalinfo-failed/106330 "2023-11-16T19:46:34Z")

</div>

I’m trying to get acquainted with the GMT.jl package, and I’m following the wonderful tutorial here: Plot Landsat 8 images Unfortunately, the very first step fails! julia\> Ir = gmtread("/vsicurl/http://landsat-pds.s3.a…

---

## [SOS constraints in LP file throwing \`Malformed SOS constraint\` error](https://discourse.julialang.org/t/sos-constraints-in-lp-file-throwing-malformed-sos-constraint-error/106324)

<div class="topic-metadata">

**Author:** [@hdavid16](https://discourse.julialang.org/u/hdavid16)\
**Replies:** 3\
**Last updated:** [November 16, 2023, 7:13pm UTC](https://discourse.julialang.org/t/sos-constraints-in-lp-file-throwing-malformed-sos-constraint-error/106324 "2023-11-16T19:13:29Z")

</div>

I have a large .lp file exported from CPLEX that I want to read into JuMP with read\_from\_file. However, the SOS constraints are defined in 2 lines each: s3: S1 :: x : 1 y : 2 As a result, the parsing doesn’…

---

## [JuMP with Pajarito/Pavito for a simple MINLP fails with solver does not support MathOptInterface.ScalarNonlinearFunction](https://discourse.julialang.org/t/jump-with-pajarito-pavito-for-a-simple-minlp-fails-with-solver-does-not-support-mathoptinterface-scalarnonlinearfunction/106314)

<div class="topic-metadata">

**Author:** [@stephanmg](https://discourse.julialang.org/u/stephanmg)\
**Replies:** 5\
**Last updated:** [November 16, 2023, 7:05pm UTC](https://discourse.julialang.org/t/jump-with-pajarito-pavito-for-a-simple-minlp-fails-with-solver-does-not-support-mathoptinterface-scalarnonlinearfunction/106314 "2023-11-16T19:05:39Z")

</div>

Dear all, trying to set up a simple MINLP somehow fails for me with: MathOptInterface.ScalarNonlinearFunction Code: using JuMP using HiGHS using Pavito, Pajarito, Hypatia using LinearAlgebra import Ipopt, GLPK vector…

---

## [Using logical constraints with gurobi](https://discourse.julialang.org/t/using-logical-constraints-with-gurobi/106311)

<div class="topic-metadata">

**Author:** [@raian](https://discourse.julialang.org/u/raian)\
**Replies:** 3\
**Last updated:** [November 16, 2023, 6:57pm UTC](https://discourse.julialang.org/t/using-logical-constraints-with-gurobi/106311 "2023-11-16T18:57:35Z")

</div>

Hi, I’m trying to use logical constraints on JuMP, ex: x5 = x1 AND x3 AND x4 In the doc of gurobi, there is a function that directly construct this constraint without having to linearize it manually : model.addGenCon…

---

## [Gridap.jl: Solving non-linear coupled PDEs](https://discourse.julialang.org/t/gridap-jl-solving-non-linear-coupled-pdes/106326)

<div class="topic-metadata">

**Author:** [@charvey](https://discourse.julialang.org/u/charvey)\
**Replies:** 0\
**Last updated:** [November 16, 2023, 4:35pm UTC](https://discourse.julialang.org/t/gridap-jl-solving-non-linear-coupled-pdes/106326 "2023-11-16T16:35:56Z")

</div>

We are having some difficulties solving two coupled multi-variate non-linear PDEs using Gridap. The various tutorials haven’t quite filled the gaps in our knowledge. We have two PDEs that we need to solve together. Thei…

---

## [Unable to evaluate inputs comprising columns of either String or Int type: convert error](https://discourse.julialang.org/t/unable-to-evaluate-inputs-comprising-columns-of-either-string-or-int-type-convert-error/106035)

<div class="topic-metadata">

**Author:** [@wilhansen](https://discourse.julialang.org/u/wilhansen)\
**Replies:** 8\
**Last updated:** [November 16, 2023, 2:30pm UTC](https://discourse.julialang.org/t/unable-to-evaluate-inputs-comprising-columns-of-either-string-or-int-type-convert-error/106035 "2023-11-16T14:30:29Z")

</div>

Hi, I’m trying out MLJ to do decision tree regression where the inputs are categorical that are either string or ints. Below is the schema of the input (origin and destination are h3 hashes). ┌─────────────┬────────────…

---

## [Julia suddenly stopped when using JuMP with Gurobi to solve](https://discourse.julialang.org/t/julia-suddenly-stopped-when-using-jump-with-gurobi-to-solve/106315)

<div class="topic-metadata">

**Author:** [@Z\_M](https://discourse.julialang.org/u/Z_M)\
**Replies:** 6\
**Last updated:** [November 16, 2023, 1:30pm UTC](https://discourse.julialang.org/t/julia-suddenly-stopped-when-using-jump-with-gurobi-to-solve/106315 "2023-11-16T13:30:59Z")

</div>

Hello! I have an optimization problem and I am using Gurobi solver through JuMP in Julia. In the process of solving this problem, it is necessary to constantly judge the solution add constraints, and then solve. Howeve…

---

## [Any Julia package with support for 'graph6' graph encoding?](https://discourse.julialang.org/t/any-julia-package-with-support-for-graph6-graph-encoding/1893)

<div class="topic-metadata">

**Author:** [@vsart](https://discourse.julialang.org/u/vsart)\
**Replies:** 2\
**Last updated:** [November 16, 2023, 10:42am UTC](https://discourse.julialang.org/t/any-julia-package-with-support-for-graph6-graph-encoding/1893 "2023-11-16T10:42:08Z")

</div>

graph6 format is a somewhat common encoding for graphs, and is available in several graph libraries/mathematical software, including NetworkX. I’m currently working on a project that would benefit from moving to Julia a…

---

## [When I upgrade one package, another package will be downgraded. How to solve this problem?](https://discourse.julialang.org/t/when-i-upgrade-one-package-another-package-will-be-downgraded-how-to-solve-this-problem/106292)

<div class="topic-metadata">

**Author:** [@wang\_ruoxu](https://discourse.julialang.org/u/wang_ruoxu)\
**Replies:** 2\
**Last updated:** [November 16, 2023, 6:19am UTC](https://discourse.julialang.org/t/when-i-upgrade-one-package-another-package-will-be-downgraded-how-to-solve-this-problem/106292 "2023-11-16T06:19:32Z")

</div>

When I upgrade SDDP@1.6.6,the will degrade ScenTrees@0.1.1，When I upgrade ScenTrees@0.3.3,the will degrade SDDP@0.4.6.What can I do to make both versions exist at the same time? I need to use these two packages at the s…

---

## [QMC vs rand](https://discourse.julialang.org/t/qmc-vs-rand/106195)

<div class="topic-metadata">

**Author:** [@tchebycheff](https://discourse.julialang.org/u/tchebycheff)\
**Replies:** 12\
**Last updated:** [November 16, 2023, 5:28am UTC](https://discourse.julialang.org/t/qmc-vs-rand/106195 "2023-11-16T05:28:19Z")

</div>

X\_t is a d-dimensional geometric Brownian process and Y\_t = \\min\_i X\_t^{(i)}. My objective is to simulate paths of Y\_t at t=\\Delta, 2\\Delta, ..., M\\Delta. There are significant differences in E(Y\_t) estimates from QMC/S…

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

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