# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=304

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

**Page:** 305

---

## [Continuous Integration with Gurobi.jl](https://discourse.julialang.org/t/continuous-integration-with-gurobi-jl/76355)

<div class="topic-metadata">

**Author:** [@davide-f](https://discourse.julialang.org/u/davide-f)\
**Replies:** 2\
**Last updated:** [February 13, 2022, 7:03pm UTC](https://discourse.julialang.org/t/continuous-integration-with-gurobi-jl/76355 "2022-02-13T19:03:31Z")

</div>

Dear Community, For a project I am developing on github, I would like to set-up the CI.yml using Gurobi.jl as a solver. I do have a license, however, it is not clear to me how to successfully install gurobi and the lic…

---

## [OutOfMemoryError() when calculating Fibonacci numbers of the order of 10^20 using the \`fibonaccinum\` function](https://discourse.julialang.org/t/outofmemoryerror-when-calculating-fibonacci-numbers-of-the-order-of-10-20-using-the-fibonaccinum-function/76268)

<div class="topic-metadata">

**Author:** [@jriveraa](https://discourse.julialang.org/u/jriveraa)\
**Replies:** 17\
**Last updated:** [February 13, 2022, 5:45pm UTC](https://discourse.julialang.org/t/outofmemoryerror-when-calculating-fibonacci-numbers-of-the-order-of-10-20-using-the-fibonaccinum-function/76268 "2022-02-13T17:45:22Z")

</div>

Using the fibonaccinum function of the Combinatorics library - installed in its latest version - on an HPC using a Linux distribution, I get an OutOfMemoryError(). The code is: using Combinatorics fibonaccinum(BigInt(1…

---

## [Errors when learning a function of a Jacobian. What am I doing wrong?](https://discourse.julialang.org/t/errors-when-learning-a-function-of-a-jacobian-what-am-i-doing-wrong/76352)

<div class="topic-metadata">

**Author:** [@ynsch](https://discourse.julialang.org/u/ynsch)\
**Replies:** 0\
**Last updated:** [February 13, 2022, 2:23pm UTC](https://discourse.julialang.org/t/errors-when-learning-a-function-of-a-jacobian-what-am-i-doing-wrong/76352 "2022-02-13T14:23:20Z")

</div>

Hello, I am working on a simple example with Flux and Zygote, mainly translating this notebook to Julia. The loss function contains the divergence (trace of the Jacobian) and Zygote gives an error when updating the mod…

---

## [M-sequences in Julia?](https://discourse.julialang.org/t/m-sequences-in-julia/76340)

<div class="topic-metadata">

**Author:** [@KajWiik](https://discourse.julialang.org/u/KajWiik)\
**Replies:** 3\
**Last updated:** [February 13, 2022, 1:25pm UTC](https://discourse.julialang.org/t/m-sequences-in-julia/76340 "2022-02-13T13:25:35Z")

</div>

Is there a package for generating m-sequences (Maximum length sequence - Wikipedia) in Julia? At least with a quick search I did not find anything.

---

## [Why my NN overfitting?](https://discourse.julialang.org/t/why-my-nn-overfitting/76333)

<div class="topic-metadata">

**Author:** [@sherlock](https://discourse.julialang.org/u/sherlock)\
**Replies:** 1\
**Last updated:** [February 13, 2022, 9:27am UTC](https://discourse.julialang.org/t/why-my-nn-overfitting/76333 "2022-02-13T09:27:58Z")

</div>

Here is the Julia code, with 2 hidden layers, (784, 40) and (40, 10). Using relu as activation function. using Flux using MLDatasets using ImageCore using Distributions p = Binomial(1, 0.5) one\_hot\_encoding(x) = uniqu…

---

## [Can't differentiate foreigncall expression](https://discourse.julialang.org/t/cant-differentiate-foreigncall-expression/56336)

<div class="topic-metadata">

**Author:** [@tzr7mm](https://discourse.julialang.org/u/tzr7mm)\
**Replies:** 1\
**Last updated:** [February 13, 2022, 1:57am UTC](https://discourse.julialang.org/t/cant-differentiate-foreigncall-expression/56336 "2022-02-13T01:57:47Z")

</div>

Trying to use Flux’s automatic differentiation to solve a toy PINN problem below but keep getting the following error and its traceback. When using manually differentiated field term it works fine but not with auto-diff. …

---

## [Defining an if condition in a constraint](https://discourse.julialang.org/t/defining-an-if-condition-in-a-constraint/76228)

<div class="topic-metadata">

**Author:** [@Sahar](https://discourse.julialang.org/u/Sahar)\
**Replies:** 7\
**Last updated:** [February 12, 2022, 2:55pm UTC](https://discourse.julialang.org/t/defining-an-if-condition-in-a-constraint/76228 "2022-02-12T14:55:23Z")

</div>

Hello everyone! I want to define an if condition in a constraint. I will have different constraints if the variable is positive or negative (Pb \>0.0 or Pb \<0.0), and you can see this part of the code; for i in 1:5, t i…

---

## [Future plan for realtime computing?](https://discourse.julialang.org/t/future-plan-for-realtime-computing/76282)

<div class="topic-metadata">

**Author:** [@pepperoni](https://discourse.julialang.org/u/pepperoni)\
**Replies:** 1\
**Last updated:** [February 12, 2022, 12:01pm UTC](https://discourse.julialang.org/t/future-plan-for-realtime-computing/76282 "2022-02-12T12:01:10Z")

</div>

Is there futur plan to make JuliaSim/MTK/DifferentialEquation support realtime computing? my lab make a good use of software in the loop (SIL) and hardware in the loop (HIL) simulation with various setup such as SpeedGoa…

---

## [How to interactively zoom using GLMakie?](https://discourse.julialang.org/t/how-to-interactively-zoom-using-glmakie/76270)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 0\
**Last updated:** [February 11, 2022, 9:28pm UTC](https://discourse.julialang.org/t/how-to-interactively-zoom-using-glmakie/76270 "2022-02-11T21:28:52Z")

</div>

I have recently seen a video where, using the scroll of the mouse, someone was able to zoom interactively in a 3D GLMakie plot. However, when I am doing something similar, I only can rotate the plot using the left click.…

---

## [Formulating a customized optimization problem in JuliaOpt](https://discourse.julialang.org/t/formulating-a-customized-optimization-problem-in-juliaopt/76260)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 2\
**Last updated:** [February 11, 2022, 11:40pm UTC](https://discourse.julialang.org/t/formulating-a-customized-optimization-problem-in-juliaopt/76260 "2022-02-11T23:40:28Z")

</div>

Hello everyone, I have clear modeling requirements, but not sure how to (or is it possible to) implement my problem with Julia optimization packages, like JuMP. General optimization problem: Objective function: obj(…

---

## [How to work around this error in expint?](https://discourse.julialang.org/t/how-to-work-around-this-error-in-expint/76133)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 8:28pm UTC](https://discourse.julialang.org/t/how-to-work-around-this-error-in-expint/76133 "2022-02-11T20:28:16Z")

</div>

I ran into this error while evaluating the Gamma function from SpecialFunctions: julia\> using SpecialFunctions julia\> gamma(exp(19.39)+1, 0.0125\*0.6) ERROR: ArgumentError: Unsupported order |ν| \> 50 off the positive re…

---

## [Dualization.jl PositiveSemidefiniteConeSquare not implemented](https://discourse.julialang.org/t/dualization-jl-positivesemidefiniteconesquare-not-implemented/74861)

<div class="topic-metadata">

**Author:** [@Thomas](https://discourse.julialang.org/u/Thomas)\
**Replies:** 2\
**Last updated:** [February 11, 2022, 6:00pm UTC](https://discourse.julialang.org/t/dualization-jl-positivesemidefiniteconesquare-not-implemented/74861 "2022-02-11T18:00:28Z")

</div>

When trying to dualize an SDP I got Constraints of function MathOptInterface.VectorAffineFunction{Float64} in the Set MathOptInterface.PositiveSemidefiniteConeSquare are not implemented Is this by any chance supporte…

---

## [Is it possible to change the transparency of a line without specifying the color?](https://discourse.julialang.org/t/is-it-possible-to-change-the-transparency-of-a-line-without-specifying-the-color/76252)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 5:38pm UTC](https://discourse.julialang.org/t/is-it-possible-to-change-the-transparency-of-a-line-without-specifying-the-color/76252 "2022-02-11T17:38:35Z")

</div>

I am playing with Makie animations and I would like to change the transparecy of some lines using the lines! function but without having to specify the color. Is there any attribute in Makie that allows to change this?

---

## [ABC / MSM with Turing.jl](https://discourse.julialang.org/t/abc-msm-with-turing-jl/76189)

<div class="topic-metadata">

**Author:** [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Replies:** 4\
**Last updated:** [February 11, 2022, 3:48pm UTC](https://discourse.julialang.org/t/abc-msm-with-turing-jl/76189 "2022-02-11T15:48:49Z")

</div>

I believe that ABC (approximate Bayesian computing) and/or Bayesian MSM (method of simulated moments) are not yet well supported by Turing.jl. I have come up with a simple example that does the basic steps, and it was su…

---

## [JuliaDB select/filter multiple string values in one column](https://discourse.julialang.org/t/juliadb-select-filter-multiple-string-values-in-one-column/9918)

<div class="topic-metadata">

**Author:** [@macieyo](https://discourse.julialang.org/u/macieyo)\
**Replies:** 10\
**Last updated:** [February 11, 2022, 3:18pm UTC](https://discourse.julialang.org/t/juliadb-select-filter-multiple-string-values-in-one-column/9918 "2022-02-11T15:18:53Z")

</div>

Hello Julia Community, I have a question regarding usage of JuliaDB. My table consist with 5 columns and I need to select/filter by one column containing string values. I am able to do it with one string value: table…

---

## [Optimization error when using JuMP](https://discourse.julialang.org/t/optimization-error-when-using-jump/76160)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 13\
**Last updated:** [February 10, 2022, 11:57pm UTC](https://discourse.julialang.org/t/optimization-error-when-using-jump/76160 "2022-02-10T23:57:16Z")

</div>

Follow is the optimization problem I defined: Packages and constants: using JuMP, Ipopt const R0 = 0.1803 Lmin, Lnom, Lmax = 0.8, 2.4, 3.5 w1 = 0.4 w2 = 0.6 Rfc1 = 0.1803 + 0.01 Rfc2 = 0.1803 L11, L21 = 2.1, 2.…

---

## [Distributed Computing with Slurm and Julia](https://discourse.julialang.org/t/distributed-computing-with-slurm-and-julia/76181)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 9\
**Last updated:** [February 10, 2022, 7:25pm UTC](https://discourse.julialang.org/t/distributed-computing-with-slurm-and-julia/76181 "2022-02-10T19:25:01Z")

</div>

I’m looking for some guidance on how to get started with the following scenario. I have a cluster with multiple nodes, each node has 48 cores. The job scheduling is done with slurm. Currently, I’ve been running single…

---

## [Wrapping label text in Plots.jl](https://discourse.julialang.org/t/wrapping-label-text-in-plots-jl/76124)

<div class="topic-metadata">

**Author:** [@putianyi888](https://discourse.julialang.org/u/putianyi888)\
**Replies:** 9\
**Last updated:** [February 10, 2022, 5:26pm UTC](https://discourse.julialang.org/t/wrapping-label-text-in-plots-jl/76124 "2022-02-10T17:26:12Z")

</div>

I have a plot of only two lines with long legend labels. The plot doesn’t have enough horizontal space unless the labels are wrapped. How do I do that? I’m using pgfplotsx() backend in Plots.jl for LaTeX-style plots, so…

---

## [DiffEqFlux does not expose sciml\_train](https://discourse.julialang.org/t/diffeqflux-does-not-expose-sciml-train/76172)

<div class="topic-metadata">

**Author:** [@AlexG](https://discourse.julialang.org/u/AlexG)\
**Replies:** 2\
**Last updated:** [February 10, 2022, 4:47pm UTC](https://discourse.julialang.org/t/diffeqflux-does-not-expose-sciml-train/76172 "2022-02-10T16:47:44Z")

</div>

I’m trying to get DiffEqFlux.jl 1.4.5 running on Julia 1.6.5 (Mac x86). When running the Lotka-Volterra example in the docs verbatim, it throws the following error: UndefVarError: sciml\_train not defined Stacktrace: \[…

---

## [Creating a graph with objects or structs as nodes](https://discourse.julialang.org/t/creating-a-graph-with-objects-or-structs-as-nodes/76088)

<div class="topic-metadata">

**Author:** [@flobe](https://discourse.julialang.org/u/flobe)\
**Replies:** 3\
**Last updated:** [February 10, 2022, 10:54am UTC](https://discourse.julialang.org/t/creating-a-graph-with-objects-or-structs-as-nodes/76088 "2022-02-10T10:54:36Z")

</div>

Hi everyone, I would like to create a graph where the nodes can contain multiple pieces of information. I tried to use graph.jl, but currently I don’t see any way to store more information than the child nodes. For exa…

---

## [ModellingToolkit system with ODEForwardSensitivityProblem](https://discourse.julialang.org/t/modellingtoolkit-system-with-odeforwardsensitivityproblem/76093)

<div class="topic-metadata">

**Author:** [@ap2013](https://discourse.julialang.org/u/ap2013)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 11:37pm UTC](https://discourse.julialang.org/t/modellingtoolkit-system-with-odeforwardsensitivityproblem/76093 "2022-02-09T23:37:32Z")

</div>

Hi, I am using ModellingToolkit to define a system following the spring-mass example in the documentation. I solve the ODEForwardSensitivityProblem of the system. The problem is when I try to access the states of the s…

---

## [How to implement a piece-wise defined function in JuMP](https://discourse.julialang.org/t/how-to-implement-a-piece-wise-defined-function-in-jump/76095)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 8\
**Last updated:** [February 9, 2022, 8:06pm UTC](https://discourse.julialang.org/t/how-to-implement-a-piece-wise-defined-function-in-jump/76095 "2022-02-09T20:06:08Z")

</div>

I have an optimization problem simplified as: function α(x) global Lmin, Lnom, Lmax, α\_0 # values calculated outside a = 0.0019727939 b = 0.0078887 if Lmin \<= x \< Lnom return a \* (x-Lnom)^2 + α\_0 elseif Lnom \<= x…

---

## [Turing TypeErrror Issue](https://discourse.julialang.org/t/turing-typeerrror-issue/76032)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 4\
**Last updated:** [February 9, 2022, 7:26pm UTC](https://discourse.julialang.org/t/turing-typeerrror-issue/76032 "2022-02-09T19:26:29Z")

</div>

I’m experimenting with using Turing to handle some Gaussian random fields problems, and I’m struggling a bit with the interface. The following is supposed to do a Bayesian posterior sampling of the problem y= u(x\_i) +…

---

## [Setting up Turing.jl model for an astrophysics problem](https://discourse.julialang.org/t/setting-up-turing-jl-model-for-an-astrophysics-problem/75618)

<div class="topic-metadata">

**Author:** [@majoburo](https://discourse.julialang.org/u/majoburo)\
**Replies:** 2\
**Last updated:** [February 9, 2022, 4:45pm UTC](https://discourse.julialang.org/t/setting-up-turing-jl-model-for-an-astrophysics-problem/75618 "2022-02-09T16:45:05Z")

</div>

Hi guys, I’m new to using Julia and Turing.jl. A friend recommended I ask about this here. I’m trying to model the dispersion of the stellar orbits around the supermassive black hole at the center of the Milky Way. I’…

---

## [Multinomial(::Int, ::Vector{Any}) error in Turing doing LDA](https://discourse.julialang.org/t/multinomial-int-vector-any-error-in-turing-doing-lda/76066)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 5\
**Last updated:** [February 9, 2022, 4:13pm UTC](https://discourse.julialang.org/t/multinomial-int-vector-any-error-in-turing-doing-lda/76066 "2022-02-09T16:13:30Z")

</div>

Hello, I’m trying to get my hands on Turing by implementing a Latent Dirichlet Allocation model from a youtube course I’m following. I implemented the following model: using Turing, Distributions @model function LDA(w…

---

## [Julia artifact was not installed correctly](https://discourse.julialang.org/t/julia-artifact-was-not-installed-correctly/76038)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 3\
**Last updated:** [February 9, 2022, 3:33pm UTC](https://discourse.julialang.org/t/julia-artifact-was-not-installed-correctly/76038 "2022-02-09T15:33:37Z")

</div>

I love artifacts, but I think currently there are somehow fragile. I am constantly using a certain artifact, which after some time gets automatically deleted and I get an error like: Artifact "JuliaMono" was not instal…

---

## [Is there an efficient way that the xticks and yticks numbers appear in LaTeX using Makie?](https://discourse.julialang.org/t/is-there-an-efficient-way-that-the-xticks-and-yticks-numbers-appear-in-latex-using-makie/76064)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 4\
**Last updated:** [February 9, 2022, 1:01pm UTC](https://discourse.julialang.org/t/is-there-an-efficient-way-that-the-xticks-and-yticks-numbers-appear-in-latex-using-makie/76064 "2022-02-09T13:01:36Z")

</div>

I open this question because I have not been able to set the Computer Modern font in Makie. The only workaround I found to write the numbers of the x and y axis in LaTeX is to extract the attribute from the plot that con…

---

## [Profiling Julia CUDA code missing 'CUDA HW'](https://discourse.julialang.org/t/profiling-julia-cuda-code-missing-cuda-hw/76061)

<div class="topic-metadata">

**Author:** [@torrance](https://discourse.julialang.org/u/torrance)\
**Replies:** 7\
**Last updated:** [February 9, 2022, 9:46am UTC](https://discourse.julialang.org/t/profiling-julia-cuda-code-missing-cuda-hw/76061 "2022-02-09T09:46:17Z")

</div>

I’m attempting to profile a custom CUDA kernel using NVIDIA’s nsight-systems (ie. nsys), as recommended by the CUDA.jl project. nsys correctly gives me profiling results for nvcc compiled code, however when I run it aga…

---

## [Unconditionally stable numerical solution of advection equation](https://discourse.julialang.org/t/unconditionally-stable-numerical-solution-of-advection-equation/75935)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 8\
**Last updated:** [February 9, 2022, 6:58am UTC](https://discourse.julialang.org/t/unconditionally-stable-numerical-solution-of-advection-equation/75935 "2022-02-09T06:58:58Z")

</div>

Hello, Can you please recommend me some method (preferably unconditionally stable) of solving an advection equation of the following type: \\displaystyle \\frac{\\partial u}{\\partial t} + a(x,t) \\frac{\\partial u}{\\partial…

---

## [Plot recipe for existing series type and own type](https://discourse.julialang.org/t/plot-recipe-for-existing-series-type-and-own-type/23902)

<div class="topic-metadata">

**Author:** [@moesphere](https://discourse.julialang.org/u/moesphere)\
**Replies:** 4\
**Last updated:** [February 8, 2022, 6:33pm UTC](https://discourse.julialang.org/t/plot-recipe-for-existing-series-type-and-own-type/23902 "2022-02-08T18:33:26Z")

</div>

I am slightly confused how to properly add a plot recipe for a corrplot of an own-defined type. Suppose that I have defined the following type struct MyType x::DataFrame end I would now like to have a corrplot for cer…

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=303)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=305)
