# Specific Domains

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

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

**Page:** 394

---

## [Marker shapes in Plots](https://discourse.julialang.org/t/marker-shapes-in-plots/53806)

<div class="topic-metadata">

**Author:** [@yarahmad](https://discourse.julialang.org/u/yarahmad)\
**Replies:** 2\
**Last updated:** [January 27, 2021, 12:37pm UTC](https://discourse.julialang.org/t/marker-shapes-in-plots/53806 "2021-01-27T12:37:57Z")

</div>

I have to use two marker shapes say: circle and star5, to plot some simulation results via scatter plot. However, the second marker shape, apart from its type, does not appear in plots. I have been trying different ways …

---

## [DifferentialEquations.jl solution object: save\_idxs and interpolation](https://discourse.julialang.org/t/differentialequations-jl-solution-object-save-idxs-and-interpolation/54030)

<div class="topic-metadata">

**Author:** [@cdwhite](https://discourse.julialang.org/u/cdwhite)\
**Replies:** 3\
**Last updated:** [January 27, 2021, 11:55am UTC](https://discourse.julialang.org/t/differentialequations-jl-solution-object-save-idxs-and-interpolation/54030 "2021-01-27T11:55:25Z")

</div>

Hello, I’m trying to solve a largeish number of largeish systems of linear differential equations. I ultimately only care about one component from each equation, so save\_idxs in principle should be exactly what I want: …

---

## [CUDA.jl compiles to 15GB](https://discourse.julialang.org/t/cuda-jl-compiles-to-15gb/54040)

<div class="topic-metadata">

**Author:** [@Ribeiro](https://discourse.julialang.org/u/Ribeiro)\
**Replies:** 4\
**Last updated:** [January 27, 2021, 9:56am UTC](https://discourse.julialang.org/t/cuda-jl-compiles-to-15gb/54040 "2021-01-27T09:56:20Z")

</div>

Hi. I’m trying to use PackageCompiler and CUDA. PackageCompiler makes even the smallest program around 150MB because it adds almost all of Julia to it. But when using CUDA, the smallest program seems to have 15GB in the…

---

## [Invertible Constraint in JuMP](https://discourse.julialang.org/t/invertible-constraint-in-jump/54031)

<div class="topic-metadata">

**Author:** [@cheng\_chen](https://discourse.julialang.org/u/cheng_chen)\
**Replies:** 1\
**Last updated:** [January 27, 2021, 8:03am UTC](https://discourse.julialang.org/t/invertible-constraint-in-jump/54031 "2021-01-27T08:03:31Z")

</div>

How can I add a constraint in JuMP model with ProxSDP optimizer such that the solution is invertible?

---

## [JuliaHEP Meeting](https://discourse.julialang.org/t/juliahep-meeting/53260)

<div class="topic-metadata">

**Author:** [@lyonsquark](https://discourse.julialang.org/u/lyonsquark)\
**Replies:** 2\
**Last updated:** [January 27, 2021, 6:46am UTC](https://discourse.julialang.org/t/juliahep-meeting/53260 "2021-01-27T06:46:06Z")

</div>

After our successful first meeting in December, please see Julia in HEP - Google Docs for information about the next JuliaHEP meeting (mid-late January). There is a link there to a Doodle Poll to help set the day/time if…

---

## [ModelingToolkit.jl periodic callbacks -- discrete controllers and model transitions from events](https://discourse.julialang.org/t/modelingtoolkit-jl-periodic-callbacks-discrete-controllers-and-model-transitions-from-events/53933)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 2\
**Last updated:** [January 27, 2021, 1:19am UTC](https://discourse.julialang.org/t/modelingtoolkit-jl-periodic-callbacks-discrete-controllers-and-model-transitions-from-events/53933 "2021-01-27T01:19:42Z")

</div>

How would one use the ModelingToolkit to model a physical system but interface it to a discrete controller? I don’t see this in any of the examples? (But maybe I’m not looking in the right spot.) Is it just a callback…

---

## [Propagating uncertainty of estimated ODE parameters in turing.jl](https://discourse.julialang.org/t/propagating-uncertainty-of-estimated-ode-parameters-in-turing-jl/53718)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 5\
**Last updated:** [January 26, 2021, 11:20pm UTC](https://discourse.julialang.org/t/propagating-uncertainty-of-estimated-ode-parameters-in-turing-jl/53718 "2021-01-26T23:20:30Z")

</div>

Hello all, I have been using turing to estimate parameters of logistic growth curve ODEs, using data from bacterial growth experiments. Since I have replicate growth curves for each treatment, I am interested in the pos…

---

## [Optim callback function -- how to use optimization variable](https://discourse.julialang.org/t/optim-callback-function-how-to-use-optimization-variable/8807)

<div class="topic-metadata">

**Author:** [@egcjm](https://discourse.julialang.org/u/egcjm)\
**Replies:** 1\
**Last updated:** [January 26, 2021, 4:45pm UTC](https://discourse.julialang.org/t/optim-callback-function-how-to-use-optimization-variable/8807 "2021-01-26T16:45:50Z")

</div>

The optim callback function seems to operate on the OptimizationState, which provides access to the iteration count (.iteration) and value. Can I access the optimization variable being optimized (i.e. temporary optim.mi…

---

## [Optim.jl callback](https://discourse.julialang.org/t/optim-jl-callback/52625)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 1\
**Last updated:** [January 26, 2021, 4:44pm UTC](https://discourse.julialang.org/t/optim-jl-callback/52625 "2021-01-26T16:44:16Z")

</div>

How to work properly with OptimizationState? In docs I found only os.iteration. Some like os.metadata\["x"\] not working with error: type Array has no field metadata Is callback documented anywhere? Thx!

---

## [What is best practice for adding OpenCV as a dependency in a Julia Package?](https://discourse.julialang.org/t/what-is-best-practice-for-adding-opencv-as-a-dependency-in-a-julia-package/53990)

<div class="topic-metadata">

**Author:** [@Erik\_Engheim](https://discourse.julialang.org/u/Erik_Engheim)\
**Replies:** 7\
**Last updated:** [January 26, 2021, 4:11pm UTC](https://discourse.julialang.org/t/what-is-best-practice-for-adding-opencv-as-a-dependency-in-a-julia-package/53990 "2021-01-26T16:11:05Z")

</div>

I went through the recipe online for building the Julia OpenCV bindings. It is all based on CxxWrap to automatically create the bindings. So I get something locally installed, but I cannot add OpenCV as a dependency to m…

---

## [VectorContinuousCallback creating too many time steps?](https://discourse.julialang.org/t/vectorcontinuouscallback-creating-too-many-time-steps/53940)

<div class="topic-metadata">

**Author:** [@jonniedie](https://discourse.julialang.org/u/jonniedie)\
**Replies:** 1\
**Last updated:** [January 26, 2021, 1:32pm UTC](https://discourse.julialang.org/t/vectorcontinuouscallback-creating-too-many-time-steps/53940 "2021-01-26T13:32:54Z")

</div>

I have a VectorContinuousCallback of four variables. As you can see below, things are pretty monotonic and should be relatively straightforward for rootfinding. For some reason, though, my simulation is taking a few …

---

## [ERROR: syntax: function argument names not unique around](https://discourse.julialang.org/t/error-syntax-function-argument-names-not-unique-around/53944)

<div class="topic-metadata">

**Author:** [@GraceMabele](https://discourse.julialang.org/u/GraceMabele)\
**Replies:** 5\
**Last updated:** [January 26, 2021, 9:46am UTC](https://discourse.julialang.org/t/error-syntax-function-argument-names-not-unique-around/53944 "2021-01-26T09:46:29Z")

</div>

I am currently building a milp model previously done in GAMS and I’m converting it into JuMP (Julia). I am particularly having trouble with constraints and the objective function that has more than one summation with co…

---

## [Error with Torch.jl](https://discourse.julialang.org/t/error-with-torch-jl/53712)

<div class="topic-metadata">

**Author:** [@LuisB](https://discourse.julialang.org/u/LuisB)\
**Replies:** 6\
**Last updated:** [January 26, 2021, 8:32am UTC](https://discourse.julialang.org/t/error-with-torch-jl/53712 "2021-01-26T08:32:27Z")

</div>

Hello, I am new using Julia. Currently, I am implementing a very simple example with Flux and Torch.jl, and I get the following error: getindex not defined for Tensor{Float32,2}. The code is the following: using Flux u…

---

## [Help with CSV and Dataframe](https://discourse.julialang.org/t/help-with-csv-and-dataframe/53930)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 2\
**Last updated:** [January 26, 2021, 7:27am UTC](https://discourse.julialang.org/t/help-with-csv-and-dataframe/53930 "2021-01-26T07:27:13Z")

</div>

Hello everybody I’m still learning to program in julia and I came across this doubt. How to save data in a DataFrame using the for command? Whenever I try to compile the last for it displays this error message: Method…

---

## [Methods to diagonalize a Matrix{BigFloat}?](https://discourse.julialang.org/t/methods-to-diagonalize-a-matrix-bigfloat/4571)

<div class="topic-metadata">

**Author:** [@lbenet](https://discourse.julialang.org/u/lbenet)\
**Replies:** 22\
**Last updated:** [January 26, 2021, 4:46am UTC](https://discourse.julialang.org/t/methods-to-diagonalize-a-matrix-bigfloat/4571 "2021-01-26T04:46:09Z")

</div>

Does anyone know about methods (or packages) that allow to diagonalize a Matrix{BigFloat}? So far, I have only found (in IterativeSolvers.jl) that powm and invpowm do work with Matrix{BigFloat}, but using them I get onl…

---

## [EXIT: Restoration Failed! with JuMP (0.21.4) and Ipopt (0.6.5)](https://discourse.julialang.org/t/exit-restoration-failed-with-jump-0-21-4-and-ipopt-0-6-5/53853)

<div class="topic-metadata">

**Author:** [@indycdrom](https://discourse.julialang.org/u/indycdrom)\
**Replies:** 6\
**Last updated:** [January 25, 2021, 10:42pm UTC](https://discourse.julialang.org/t/exit-restoration-failed-with-jump-0-21-4-and-ipopt-0-6-5/53853 "2021-01-25T22:42:27Z")

</div>

I am really puzzled and also frustrated that no matter how simple the problem was, like one below, Ipopt returns EXIT: Restoration Failed! using JuMP using Ipopt model = Model(Ipopt.Optimizer) @variable(model, x, st…

---

## [Debugging and Visualizing High Dimensional Models (Turing/MCMCChains)](https://discourse.julialang.org/t/debugging-and-visualizing-high-dimensional-models-turing-mcmcchains/41872)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 11\
**Last updated:** [January 25, 2021, 10:14pm UTC](https://discourse.julialang.org/t/debugging-and-visualizing-high-dimensional-models-turing-mcmcchains/41872 "2021-01-25T22:14:13Z")

</div>

Hi all. I’m working on a Tutorial in which I use Turing to fit a time series model to some Economic data (nonfarm payrolls). The model is basically a radial basis function expansion, with parameters for center locations…

---

## [Nonlinear systems: NLsolve alternative (non-convergence issue)](https://discourse.julialang.org/t/nonlinear-systems-nlsolve-alternative-non-convergence-issue/53925)

<div class="topic-metadata">

**Author:** [@vjimenezg](https://discourse.julialang.org/u/vjimenezg)\
**Replies:** 3\
**Last updated:** [January 25, 2021, 9:39pm UTC](https://discourse.julialang.org/t/nonlinear-systems-nlsolve-alternative-non-convergence-issue/53925 "2021-01-25T21:39:39Z")

</div>

Hello Julia community I’m having trouble with the convergence of NLsolve when solving a large system of linear equations (the transition between steady states in a heterogeneous-agent model in economics). Even in its si…

---

## [DoubleFloats plans for fft](https://discourse.julialang.org/t/doublefloats-plans-for-fft/53921)

<div class="topic-metadata">

**Author:** [@Jaime\_Araneda](https://discourse.julialang.org/u/Jaime_Araneda)\
**Replies:** 5\
**Last updated:** [January 25, 2021, 9:33pm UTC](https://discourse.julialang.org/t/doublefloats-plans-for-fft/53921 "2021-01-25T21:33:26Z")

</div>

Hi, I would like to use fft’s under DoubleFloats. Is it possible to use plans to optimize the calculations? Many thanks! Jaime

---

## [Using functions in GPU Kernel (via KernelAbstractions.jl) (k nearest neighbor kernel)](https://discourse.julialang.org/t/using-functions-in-gpu-kernel-via-kernelabstractions-jl-k-nearest-neighbor-kernel/53850)

<div class="topic-metadata">

**Author:** [@jenkspt](https://discourse.julialang.org/u/jenkspt)\
**Replies:** 1\
**Last updated:** [January 25, 2021, 4:44pm UTC](https://discourse.julialang.org/t/using-functions-in-gpu-kernel-via-kernelabstractions-jl-k-nearest-neighbor-kernel/53850 "2021-01-25T16:44:49Z")

</div>

I’ve been working on implementing the k nearest neighbors CUDA kernel from https://github.com/facebookresearch/pytorch3d/tree/master/pytorch3d/csrc/knn in Julia. I found KernelAbstractions.jl allows the code to be simpli…

---

## [Help with JuMP](https://discourse.julialang.org/t/help-with-jump/53724)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 5\
**Last updated:** [January 25, 2021, 4:12pm UTC](https://discourse.julialang.org/t/help-with-jump/53724 "2021-01-25T16:12:40Z")

</div>

Hello I’m trying to make the “for” compile all the variables in the model, but whenever I compile it just returns the variable “c” Can anybody help me ? Thank you!! using JuMP, MathOptInterface, GLPK, GLPKMathProgInt…

---

## [What is the fastest dimension ordering for convolutions?](https://discourse.julialang.org/t/what-is-the-fastest-dimension-ordering-for-convolutions/46182)

<div class="topic-metadata">

**Author:** [@maxfreu](https://discourse.julialang.org/u/maxfreu)\
**Replies:** 1\
**Last updated:** [January 25, 2021, 12:00pm UTC](https://discourse.julialang.org/t/what-is-the-fastest-dimension-ordering-for-convolutions/46182 "2021-01-25T12:00:57Z")

</div>

Hi! I am wondering what the fastest dimension ordering for convolution operations on the GPU using CUDNN currently is. Flux uses WHCN (column major), pytorch uses NCHW (row major) which is exactly the same. So to say, t…

---

## [Comparisons between Julia (NeuralPDE.jl and DiffEqFlux.jl) and DeepXDE python package?](https://discourse.julialang.org/t/comparisons-between-julia-neuralpde-jl-and-diffeqflux-jl-and-deepxde-python-package/52669)

<div class="topic-metadata">

**Author:** [@bad\_at\_math](https://discourse.julialang.org/u/bad_at_math)\
**Replies:** 3\
**Last updated:** [January 25, 2021, 6:07am UTC](https://discourse.julialang.org/t/comparisons-between-julia-neuralpde-jl-and-diffeqflux-jl-and-deepxde-python-package/52669 "2021-01-25T06:07:18Z")

</div>

Hello everyone, I’ve recently come across the DeepXDE python package (https://github.com/lululxvi/deepxde), which can be used for formulating and solving a variety of neural differential equation - type problems. Beyond …

---

## [Looking to create something like pythex](https://discourse.julialang.org/t/looking-to-create-something-like-pythex/52633)

<div class="topic-metadata">

**Author:** [@bicepjai](https://discourse.julialang.org/u/bicepjai)\
**Replies:** 4\
**Last updated:** [January 25, 2021, 5:27am UTC](https://discourse.julialang.org/t/looking-to-create-something-like-pythex/52633 "2021-01-25T05:27:30Z")

</div>

When I was doing advent of code 2020 in julia, I noticed there were no good resource like pythex.org to test out the julia regular expression results. Looking up resources to host a simple web app that can solve this. Ca…

---

## [How to bring a system of differential equations to zero with DifferentialEquations?](https://discourse.julialang.org/t/how-to-bring-a-system-of-differential-equations-to-zero-with-differentialequations/53659)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 15\
**Last updated:** [January 24, 2021, 12:59pm UTC](https://discourse.julialang.org/t/how-to-bring-a-system-of-differential-equations-to-zero-with-differentialequations/53659 "2021-01-24T12:59:30Z")

</div>

I have a population model described by this system of differential equations: dN/dt = μN(1-(N+I)/κ) -φNP -ωN dI/dt = φNP -ηI -ωI dP/dt = βηI -φNP -ωP with κ = 2.2 ⋅ 10^7 μ = 0.47 φ = 10^-9 β = 50 η = 1.0 ω = 0.05 Thi…

---

## [How to connect an event handler to a button in Makie.jl?](https://discourse.julialang.org/t/how-to-connect-an-event-handler-to-a-button-in-makie-jl/53851)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [January 24, 2021, 9:13am UTC](https://discourse.julialang.org/t/how-to-connect-an-event-handler-to-a-button-in-makie-jl/53851 "2021-01-24T09:13:47Z")

</div>

How can I execute a function when I press a button in Makie? This is missing in the documentation. Example: using GeometryBasics, GLMakie function reset() # set camera and zoom to default values end function mai…

---

## [Infeasible LP and Farkas Certificate](https://discourse.julialang.org/t/infeasible-lp-and-farkas-certificate/53852)

<div class="topic-metadata">

**Author:** [@Mahbubar06](https://discourse.julialang.org/u/Mahbubar06)\
**Replies:** 2\
**Last updated:** [January 24, 2021, 9:23am UTC](https://discourse.julialang.org/t/infeasible-lp-and-farkas-certificate/53852 "2021-01-24T09:23:29Z")

</div>

Is there any JuMP (or other) method to retrieve Farkas certificate from an infeasible lp model? I am using Clp, Gurobi, or Ipopt solver for solving the lp problem modeled using JuMP. Thank you.

---

## [How to set a systems of ODEs to zero with Boundary Value Problem?](https://discourse.julialang.org/t/how-to-set-a-systems-of-odes-to-zero-with-boundary-value-problem/53771)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 1\
**Last updated:** [January 24, 2021, 6:58am UTC](https://discourse.julialang.org/t/how-to-set-a-systems-of-odes-to-zero-with-boundary-value-problem/53771 "2021-01-24T06:58:06Z")

</div>

I have a system of ordinary differential equations (ODEs) that model the interaction between a bacterium and phage: dN/dt = μN(1-(N+I)/κ) -φNP -ωN dI/dt = φNP -ηI -ωI dP/dt = βηI -φNP -ωP I am looking for the values of…

---

## [Optimizing a quadratic binary function on CPLEX/JuMP](https://discourse.julialang.org/t/optimizing-a-quadratic-binary-function-on-cplex-jump/53800)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 11\
**Last updated:** [January 23, 2021, 10:22pm UTC](https://discourse.julialang.org/t/optimizing-a-quadratic-binary-function-on-cplex-jump/53800 "2021-01-23T22:22:07Z")

</div>

I am using CPLEX 12.8 in JuMP to minimize a quadratic binary nonconvex function, according to quadratic function by CPLEX. In particular, my function is the following: \\sum\_{i=1}^{m-1} \\sum\_{f=1}^{F} \\sum\_{\\underset{\\…

---

## [Turing: truncated regression example](https://discourse.julialang.org/t/turing-truncated-regression-example/53832)

<div class="topic-metadata">

**Author:** [@drbenvincent](https://discourse.julialang.org/u/drbenvincent)\
**Replies:** 1\
**Last updated:** [January 23, 2021, 3:12pm UTC](https://discourse.julialang.org/t/turing-truncated-regression-example/53832 "2021-01-23T15:12:58Z")

</div>

Hi all. I’ve found that there are no real definitive guides on truncated vs censored regression in a Bayesian context. They are given some treatment in some Bayesian texts, but I’ve not found it easy to find worked examp…

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

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