# Specific Domains

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

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

**Page:** 113

---

## [How to get HSL up and running with Ipopt](https://discourse.julialang.org/t/how-to-get-hsl-up-and-running-with-ipopt/114138)

<div class="topic-metadata">

**Author:** [@heiwie](https://discourse.julialang.org/u/heiwie)\
**Replies:** 6\
**Last updated:** [May 11, 2024, 4:12pm UTC](https://discourse.julialang.org/t/how-to-get-hsl-up-and-running-with-ipopt/114138 "2024-05-11T16:12:50Z")

</div>

Hello, I have recently received an academic license for HSL, and so I wish to try this linear solver out for Ipopt in order to see if there is an increase in performance of my model. Based on this source: GitHub - jump-…

---

## [Flux CNN error: Scalar indexing is disallowed](https://discourse.julialang.org/t/flux-cnn-error-scalar-indexing-is-disallowed/88973)

<div class="topic-metadata">

**Author:** [@amitjamadagni](https://discourse.julialang.org/u/amitjamadagni)\
**Replies:** 4\
**Last updated:** [May 11, 2024, 5:39am UTC](https://discourse.julialang.org/t/flux-cnn-error-scalar-indexing-is-disallowed/88973 "2024-05-11T05:39:49Z")

</div>

Hi! I have 1D data which I can successfully train and test with all to all connected 3 layer model as below: function build\_model\_ffn(; nclasses=2) return Chain( Dense(99, 48, relu), Dense(4…

---

## [\[RFC\] What should the arithmetic within the FixedPointNumbers be](https://discourse.julialang.org/t/rfc-what-should-the-arithmetic-within-the-fixedpointnumbers-be/46697)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 65\
**Last updated:** [May 11, 2024, 4:54am UTC](https://discourse.julialang.org/t/rfc-what-should-the-arithmetic-within-the-fixedpointnumbers-be/46697 "2024-05-11T04:54:12Z")

</div>

Hi all, I am one of the committers of FixedPointNumbers.jl and we are currently working on the next version, v0.9.0, to be released. This is not directly related to the visualization, but I’m writing this in the visual…

---

## [Android Apps in Julia?](https://discourse.julialang.org/t/android-apps-in-julia/108005)

<div class="topic-metadata">

**Author:** [@chelseas](https://discourse.julialang.org/u/chelseas)\
**Replies:** 3\
**Last updated:** [May 11, 2024, 4:29am UTC](https://discourse.julialang.org/t/android-apps-in-julia/108005 "2024-05-11T04:29:09Z")

</div>

Hello! I wanted to check if anyone has written a self contained app for Android in Julia? I know there were some threads a few years back. Wanted to ask again now that time has passed. I am thinking of trying it but hop…

---

## [Gurobi lazy constraint issue](https://discourse.julialang.org/t/gurobi-lazy-constraint-issue/113969)

<div class="topic-metadata">

**Author:** [@marouane-f](https://discourse.julialang.org/u/marouane-f)\
**Replies:** 15\
**Last updated:** [May 11, 2024, 12:21am UTC](https://discourse.julialang.org/t/gurobi-lazy-constraint-issue/113969 "2024-05-11T00:21:34Z")

</div>

Hi, I’m implementing a MIP cut generation algorithm on JuMP+Gurobi using MOI.LazyConstraintCallback. Theoretically, the algorithm is correct. However, running tests on a large batch of instances and cross-checking with…

---

## [How to use define interpolations in JuMP](https://discourse.julialang.org/t/how-to-use-define-interpolations-in-jump/114126)

<div class="topic-metadata">

**Author:** [@Longblackcoffee](https://discourse.julialang.org/u/Longblackcoffee)\
**Replies:** 2\
**Last updated:** [May 11, 2024, 12:19am UTC](https://discourse.julialang.org/t/how-to-use-define-interpolations-in-jump/114126 "2024-05-11T00:19:35Z")

</div>

Hi everyone, Is there a way to register a user-defined function, generated from the Interpolations.jl package, into a JuMP model? Whenever I do, I get a method error. Here’s a MWE: using JuMP, MadNLP using Interpolatio…

---

## [How to get reproducible results with DiffEqNoiseProcess.jl?](https://discourse.julialang.org/t/how-to-get-reproducible-results-with-diffeqnoiseprocess-jl/114063)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [May 10, 2024, 9:59pm UTC](https://discourse.julialang.org/t/how-to-get-reproducible-results-with-diffeqnoiseprocess-jl/114063 "2024-05-10T21:59:17Z")

</div>

I have a process: using DifferentialEquations using Random mu = 1 sigma = 1 gbm = GeometricBrownianMotionProcess(mu, sigma, 0.0, 10.0) prob = NoiseProblem(gbm, (0.0, 10)) sol = solve(prob; dt=1.0) How can I fix the se…

---

## [Binary variables in Ipopt](https://discourse.julialang.org/t/binary-variables-in-ipopt/114111)

<div class="topic-metadata">

**Author:** [@heiwie](https://discourse.julialang.org/u/heiwie)\
**Replies:** 2\
**Last updated:** [May 10, 2024, 9:25pm UTC](https://discourse.julialang.org/t/binary-variables-in-ipopt/114111 "2024-05-10T21:25:07Z")

</div>

I am using Ipopt in JuMP to solve a non-linear hydropower optimization problem. After realizing that there may be spillage in periods where the reservoir is half empty, I want to add a constraint which only allows spilla…

---

## [3D scenes in GLMakie Glitch out and Slow down after few seconds](https://discourse.julialang.org/t/3d-scenes-in-glmakie-glitch-out-and-slow-down-after-few-seconds/114110)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 8\
**Last updated:** [May 10, 2024, 5:08pm UTC](https://discourse.julialang.org/t/3d-scenes-in-glmakie-glitch-out-and-slow-down-after-few-seconds/114110 "2024-05-10T17:08:58Z")

</div>

I was recently playing around with GLMakie Scenes using the cam3d! camera which works pretty much like plotly() backend on Plots. I was impressed by the zoom in-out controls. However, after a few seconds of scroll…

---

## [\`explode\`-like function in DataFrames](https://discourse.julialang.org/t/explode-like-function-in-dataframes/114113)

<div class="topic-metadata">

**Author:** [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)\
**Replies:** 3\
**Last updated:** [May 10, 2024, 3:31pm UTC](https://discourse.julialang.org/t/explode-like-function-in-dataframes/114113 "2024-05-10T15:31:44Z")

</div>

If I have a DataFrame in which one of the columns has Vectors of one of more elements, how do I make each value to be a different row with the rest of the data copied? Ex.: A | B \[1, 17, 9\] | "abc" \[2, 5\] …

---

## [Set default color cycle for densities: transparent color and linecolor](https://discourse.julialang.org/t/set-default-color-cycle-for-densities-transparent-color-and-linecolor/114097)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 5\
**Last updated:** [May 10, 2024, 2:21pm UTC](https://discourse.julialang.org/t/set-default-color-cycle-for-densities-transparent-color-and-linecolor/114097 "2024-05-10T14:21:20Z")

</div>

I believe I have tried any conceivable combination of cycling arguments to the Theme() object. What I am trying to do: I have a default color scheme, lets say: default = \[:red, :black, :blue\] I want the default behavio…

---

## [Optimization with integrals in both objective and the constraint](https://discourse.julialang.org/t/optimization-with-integrals-in-both-objective-and-the-constraint/113838)

<div class="topic-metadata">

**Author:** [@Ayesha](https://discourse.julialang.org/u/Ayesha)\
**Replies:** 9\
**Last updated:** [May 9, 2024, 11:54pm UTC](https://discourse.julialang.org/t/optimization-with-integrals-in-both-objective-and-the-constraint/113838 "2024-05-09T23:54:36Z")

</div>

I’m trying to optimize a function that has an integral in the objective. While I can perform unconstrained optimization, I’m unsure how to use the Julia optimizer. I am trying to do this to add a constraint later, which …

---

## [Dual ray from LP solved by dual algorithm](https://discourse.julialang.org/t/dual-ray-from-lp-solved-by-dual-algorithm/114068)

<div class="topic-metadata">

**Author:** [@ShGE](https://discourse.julialang.org/u/ShGE)\
**Replies:** 3\
**Last updated:** [May 9, 2024, 9:22pm UTC](https://discourse.julialang.org/t/dual-ray-from-lp-solved-by-dual-algorithm/114068 "2024-05-09T21:22:07Z")

</div>

Hello I solve an LP using CPLEX and fix the following parameters: set\_optimizer\_attribute(sub, "CPX\_PARAM\_REDUCE", 0) set\_optimizer\_attribute(sub, "CPX\_PARAM\_NUMERICALEMPHASIS", 1) # Emphasize numerical precis…

---

## [Extracting the loglikelihood function from GLM?](https://discourse.julialang.org/t/extracting-the-loglikelihood-function-from-glm/113849)

<div class="topic-metadata">

**Author:** [@alexfakos](https://discourse.julialang.org/u/alexfakos)\
**Replies:** 6\
**Last updated:** [May 9, 2024, 8:54pm UTC](https://discourse.julialang.org/t/extracting-the-loglikelihood-function-from-glm/113849 "2024-05-09T20:54:49Z")

</div>

I am trying to extract the loglikelihood function that maps the parameter vector to each observation. The goal is to use the likelihood function to generate the score and hessian for each observation to use for inference…

---

## [Solved to optimlity but status is infeasible](https://discourse.julialang.org/t/solved-to-optimlity-but-status-is-infeasible/114054)

<div class="topic-metadata">

**Author:** [@ShGE](https://discourse.julialang.org/u/ShGE)\
**Replies:** 4\
**Last updated:** [May 9, 2024, 7:59pm UTC](https://discourse.julialang.org/t/solved-to-optimlity-but-status-is-infeasible/114054 "2024-05-09T19:59:53Z")

</div>

Hello there println("=================================================") println(" Optimal Solution Status: ", termination\_status(sub)) println(" Optimal Value: ", objective\_value(sub)) println("========…

---

## [How to implement an objective function in Jump](https://discourse.julialang.org/t/how-to-implement-an-objective-function-in-jump/113422)

<div class="topic-metadata">

**Author:** [@Coral](https://discourse.julialang.org/u/Coral)\
**Replies:** 8\
**Last updated:** [May 9, 2024, 6:42pm UTC](https://discourse.julialang.org/t/how-to-implement-an-objective-function-in-jump/113422 "2024-05-09T18:42:48Z")

</div>

Hello everyone, I am implementing an optimization problem for a satellite that has to move from a radius 1 orbit to a radius 2 orbit. The objective of my optimization is to minimize the required deltaV. I am trying to d…

---

## [\[INTRO\] JuliaFinance](https://discourse.julialang.org/t/intro-juliafinance/20571)

<div class="topic-metadata">

**Author:** [@anon67531922](https://discourse.julialang.org/u/anon67531922)\
**Replies:** 20\
**Last updated:** [May 9, 2024, 1:10pm UTC](https://discourse.julialang.org/t/intro-juliafinance/20571 "2024-05-09T13:10:41Z")

</div>

Hi everyone, A few of us are interested in developing financial applications using Julia. To date, the lowest hanging fruits have been in the domains of “quant” analysis and economics and each of those have respective …

---

## [How to render such interactive 3D scenes/plots in Makie?](https://discourse.julialang.org/t/how-to-render-such-interactive-3d-scenes-plots-in-makie/114037)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 2\
**Last updated:** [May 9, 2024, 11:02am UTC](https://discourse.julialang.org/t/how-to-render-such-interactive-3d-scenes-plots-in-makie/114037 "2024-05-09T11:02:27Z")

</div>

I’m working on this molecule simulation and wanna make a couple of dots move around in 3D. I’ve worked with GLMakie very little (was creating just some basic scenes). In fact, I’ve worked with plots for the first time…

---

## [Colour Bar for heatmap does not render for SVG](https://discourse.julialang.org/t/colour-bar-for-heatmap-does-not-render-for-svg/114039)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 3\
**Last updated:** [May 9, 2024, 10:04am UTC](https://discourse.julialang.org/t/colour-bar-for-heatmap-does-not-render-for-svg/114039 "2024-05-09T10:04:23Z")

</div>

When rendering a heatmap with a colour bar as a PNG this displays perfectly However when I render as an svg the colour bar goes black. Image and MWE below using CairoMakie a = rand(10,10) f = Figure(); ax = Axis(f…

---

## [Makie - Removing background grid from qplot](https://discourse.julialang.org/t/makie-removing-background-grid-from-qplot/114046)

<div class="topic-metadata">

**Author:** [@alex123](https://discourse.julialang.org/u/alex123)\
**Replies:** 1\
**Last updated:** [May 9, 2024, 9:35am UTC](https://discourse.julialang.org/t/makie-removing-background-grid-from-qplot/114046 "2024-05-09T09:35:46Z")

</div>

Hi, when using the command qplot(green, children =(; selector = siteselector(cells = 1:3), sitecolor = :blue), hide = :hops) I get the following plot: I would like to only have a plain white background, without the…

---

## [Use FiniteDiff.jl in Turing.jl](https://discourse.julialang.org/t/use-finitediff-jl-in-turing-jl/113816)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 20\
**Last updated:** [May 9, 2024, 8:44am UTC](https://discourse.julialang.org/t/use-finitediff-jl-in-turing-jl/113816 "2024-05-09T08:44:51Z")

</div>

Hello, I have a user-defined density which does not support automatic differentiation (the function gamma\_inv\_cdf in SpecialFunctions.jl does not support AD). Is there a support for finite difference calculation with F…

---

## [Efficient Dual Problems in JuMP? Or: Avoiding Symbolic Overheads with Complex Objectives?](https://discourse.julialang.org/t/efficient-dual-problems-in-jump-or-avoiding-symbolic-overheads-with-complex-objectives/113953)

<div class="topic-metadata">

**Author:** [@SebKrantz](https://discourse.julialang.org/u/SebKrantz)\
**Replies:** 12\
**Last updated:** [May 9, 2024, 5:34am UTC](https://discourse.julialang.org/t/efficient-dual-problems-in-jump-or-avoiding-symbolic-overheads-with-complex-objectives/113953 "2024-05-09T05:34:53Z")

</div>

I am developing OptimalTransportNetworks,jl, a Julia library to compute optimal transport networks in spatial equilibirium originally implemented in MATLAB. Having succesfully implemented all model cases in JuMP, I am n…

---

## [\[Call for Maintainers\] JuliaAstro packages: AstroBase.jl, AstroTime.jl, EarthOrientation.jl, ERFA.jl, SPICE.jl](https://discourse.julialang.org/t/call-for-maintainers-juliaastro-packages-astrobase-jl-astrotime-jl-earthorientation-jl-erfa-jl-spice-jl/110402)

<div class="topic-metadata">

**Author:** [@helgee](https://discourse.julialang.org/u/helgee)\
**Replies:** 1\
**Last updated:** [May 9, 2024, 3:31am UTC](https://discourse.julialang.org/t/call-for-maintainers-juliaastro-packages-astrobase-jl-astrotime-jl-earthorientation-jl-erfa-jl-spice-jl/110402 "2024-05-09T03:31:41Z")

</div>

Hi folks, Unfortunately, I have come to the conclusion that due to my current life circumstances I will not be able to give the following JuliaAstro packages the attention that they deserve for the foreseeable future. I…

---

## [Why is this CUDA interpolation kernel scaling poorly?](https://discourse.julialang.org/t/why-is-this-cuda-interpolation-kernel-scaling-poorly/114008)

<div class="topic-metadata">

**Author:** [@leestrobel](https://discourse.julialang.org/u/leestrobel)\
**Replies:** 1\
**Last updated:** [May 8, 2024, 8:10pm UTC](https://discourse.julialang.org/t/why-is-this-cuda-interpolation-kernel-scaling-poorly/114008 "2024-05-08T20:10:10Z")

</div>

I’m quite new to CUDA programming with Julia. I have been trying to write a CUDA kernel for doing a simple 1D interpolation on a uniform logarithmic grid - here is the function: function CUDA\_interpolate!(out,ydata,E) …

---

## [Multiple shooting and multiple options](https://discourse.julialang.org/t/multiple-shooting-and-multiple-options/113659)

<div class="topic-metadata">

**Author:** [@JordiBolibar](https://discourse.julialang.org/u/JordiBolibar)\
**Replies:** 7\
**Last updated:** [May 8, 2024, 10:48pm UTC](https://discourse.julialang.org/t/multiple-shooting-and-multiple-options/113659 "2024-05-08T22:48:09Z")

</div>

I am trying to add multiple shooting to a neural differential equation. After browsing multiple options, I see I have two possibilities: Use DiffEqFlux.jl’s multiple\_shoot Use DiffEqParamEstim.jl’s multiple\_shooting\_ob…

---

## [Acausal modeling and Unreal Engine](https://discourse.julialang.org/t/acausal-modeling-and-unreal-engine/111016)

<div class="topic-metadata">

**Author:** [@joelreymont](https://discourse.julialang.org/u/joelreymont)\
**Replies:** 16\
**Last updated:** [May 8, 2024, 9:02pm UTC](https://discourse.julialang.org/t/acausal-modeling-and-unreal-engine/111016 "2024-05-08T21:02:37Z")

</div>

I would like to simulate a quadrocopter using Julia and visualize it in Unreal Engine. I figure ModelingToolkit.jl should let me model the energy consumption of the on-board drone battery and optimize trajectories, etc.…

---

## [Changing order of variables and constraints in Highs](https://discourse.julialang.org/t/changing-order-of-variables-and-constraints-in-highs/113959)

<div class="topic-metadata">

**Author:** [@mohammad\_amini](https://discourse.julialang.org/u/mohammad_amini)\
**Replies:** 3\
**Last updated:** [May 8, 2024, 8:27pm UTC](https://discourse.julialang.org/t/changing-order-of-variables-and-constraints-in-highs/113959 "2024-05-08T20:27:20Z")

</div>

Hi. I’m working with JuMP to solve a mathematical optimization problem. I’ve realized that when I use functions like copy(model) or methods to relax models, such as the code snippet below, the order of constraints and v…

---

## [Guidance needed for ODE problem](https://discourse.julialang.org/t/guidance-needed-for-ode-problem/113956)

<div class="topic-metadata">

**Author:** [@BALWWE](https://discourse.julialang.org/u/BALWWE)\
**Replies:** 2\
**Last updated:** [May 8, 2024, 8:22pm UTC](https://discourse.julialang.org/t/guidance-needed-for-ode-problem/113956 "2024-05-08T20:22:48Z")

</div>

to find min time to steer x0=0 to xf=100 for the dynamics x’=y, y’=u-a y-by^2, u= 1, 0, -1, a=b=0.4

---

## [HPC Cafe video](https://discourse.julialang.org/t/hpc-cafe-video/114010)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [May 8, 2024, 4:31pm UTC](https://discourse.julialang.org/t/hpc-cafe-video/114010 "2024-05-08T16:31:45Z")

</div>

Marvellous video from @carstenbauer I would save this to show to any HPC types asking about Julia

---

## [Scalar indexing GPU problem in Flux.jl model](https://discourse.julialang.org/t/scalar-indexing-gpu-problem-in-flux-jl-model/113974)

<div class="topic-metadata">

**Author:** [@mward19](https://discourse.julialang.org/u/mward19)\
**Replies:** 4\
**Last updated:** [May 8, 2024, 3:35pm UTC](https://discourse.julialang.org/t/scalar-indexing-gpu-problem-in-flux-jl-model/113974 "2024-05-08T15:35:22Z")

</div>

I am trying to use the GPU to accelerate training on a CNN. It’s my first time doing this. I keep getting an exception saying that “Scalar indexing is disallowed”, and I can’t understand why after reading what I could fi…

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

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