# Specific Domains

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

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

**Page:** 299

---

## [JuMP Hessian sparcity issues. Registered function's Hessians. atan2 issue](https://discourse.julialang.org/t/jump-hessian-sparcity-issues-registered-functions-hessians-atan2-issue/76342)

<div class="topic-metadata">

**Author:** [@a6a3uh](https://discourse.julialang.org/u/a6a3uh)\
**Replies:** 6\
**Last updated:** [March 7, 2022, 5:43am UTC](https://discourse.julialang.org/t/jump-hessian-sparcity-issues-registered-functions-hessians-atan2-issue/76342 "2022-03-07T05:43:28Z")

</div>

So there are a bunch of observations so far which I want to get some insights into. I’m describing issues with nonlinear solver btw. As soon as I’m using atan with 2 arguments JuMP seems registers this function for me (…

---

## [Julia on Google Colab: Free GPU-Accelerated Shareable Notebooks](https://discourse.julialang.org/t/julia-on-google-colab-free-gpu-accelerated-shareable-notebooks/15319)

<div class="topic-metadata">

**Author:** [@jekbradbury](https://discourse.julialang.org/u/jekbradbury)\
**Replies:** 58\
**Last updated:** [March 7, 2022, 4:26am UTC](https://discourse.julialang.org/t/julia-on-google-colab-free-gpu-accelerated-shareable-notebooks/15319 "2022-03-07T04:26:21Z")

</div>

(Disclosure: While I work for Google, this is not an official Google product or announcement.) tl;dr: For Julia on Colab with GPUs, first open this notebook and run the cell (takes ~15-20 minutes), then open this one to…

---

## [Convert DataFrameRow to Vector](https://discourse.julialang.org/t/convert-dataframerow-to-vector/77390)

<div class="topic-metadata">

**Author:** [@Frankiewaang](https://discourse.julialang.org/u/Frankiewaang)\
**Replies:** 6\
**Last updated:** [March 6, 2022, 8:55pm UTC](https://discourse.julialang.org/t/convert-dataframerow-to-vector/77390 "2022-03-06T20:55:49Z")

</div>

Hi Guys, I got a super easy question: when I want to convert a DataFrameRow with the same type to a Vector, I saw from some thread to use: Vector(data\[1,:\]) #or convert(Vector, data\[1,:\]) but some times I got the er…

---

## [Optimizing using objective with an integral in it](https://discourse.julialang.org/t/optimizing-using-objective-with-an-integral-in-it/77162)

<div class="topic-metadata">

**Author:** [@samerb](https://discourse.julialang.org/u/samerb)\
**Replies:** 5\
**Last updated:** [March 5, 2022, 11:05pm UTC](https://discourse.julialang.org/t/optimizing-using-objective-with-an-integral-in-it/77162 "2022-03-05T23:05:41Z")

</div>

I’m new to JuMP and I’d like to minimize a function that has an integral in it. Here’s an example f(y) = \\int\_0^y y dy - y. Of course, this is just f(y)=(1/2)y^2-y which is minimized at y=1, but this is just a minimal ex…

---

## [What kind of distribution should I use for binary variable and others](https://discourse.julialang.org/t/what-kind-of-distribution-should-i-use-for-binary-variable-and-others/77446)

<div class="topic-metadata">

**Author:** [@RickandMortyforever](https://discourse.julialang.org/u/RickandMortyforever)\
**Replies:** 1\
**Last updated:** [March 5, 2022, 9:40pm UTC](https://discourse.julialang.org/t/what-kind-of-distribution-should-i-use-for-binary-variable-and-others/77446 "2022-03-05T21:40:24Z")

</div>

Hi, Guys. I have a question about building linear model I’ve read some examples about linear model with continuos predictors. But I don’t know how to set prior distributions on the binary(boolean) or categorcal or ord…

---

## [Too late for Makie name change?](https://discourse.julialang.org/t/too-late-for-makie-name-change/76979)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 9\
**Last updated:** [March 5, 2022, 8:59pm UTC](https://discourse.julialang.org/t/too-late-for-makie-name-change/76979 "2022-03-05T20:59:01Z")

</div>

I think most new Julia users start plotting with Plots.jl because the name makes sense. Any chance of reviving this old plea?

---

## [How to print the values of constraints](https://discourse.julialang.org/t/how-to-print-the-values-of-constraints/40040)

<div class="topic-metadata">

**Author:** [@Vondoe79](https://discourse.julialang.org/u/Vondoe79)\
**Replies:** 12\
**Last updated:** [July 19, 2020, 5:16am UTC](https://discourse.julialang.org/t/how-to-print-the-values-of-constraints/40040 "2020-07-19T05:16:50Z")

</div>

Hello team, I would like to print the values of the constraints(disT, cosT, & deaTH) of my model below. I used the following immediate commands, but it is not working. I am using Julia v0.6.4. I shall be grateful for yo…

---

## [How to define a subset of some variables integers?](https://discourse.julialang.org/t/how-to-define-a-subset-of-some-variables-integers/77443)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [March 5, 2022, 5:53pm UTC](https://discourse.julialang.org/t/how-to-define-a-subset-of-some-variables-integers/77443 "2022-03-05T17:53:12Z")

</div>

I need to define some variables as integer based on input. The following code doesn’t work as the name x is already used, and at the same time I don’t know the syntax to add it as a constraint: for a in 1:nActivities …

---

## [Evaluation time of generic gradient vs gradient at a particular input using Flux.jl](https://discourse.julialang.org/t/evaluation-time-of-generic-gradient-vs-gradient-at-a-particular-input-using-flux-jl/77001)

<div class="topic-metadata">

**Author:** [@Kishore\_Nori](https://discourse.julialang.org/u/Kishore_Nori)\
**Replies:** 4\
**Last updated:** [March 5, 2022, 3:54am UTC](https://discourse.julialang.org/t/evaluation-time-of-generic-gradient-vs-gradient-at-a-particular-input-using-flux-jl/77001 "2022-03-05T03:54:59Z")

</div>

I am beginner in ML coming from the scientific computing field and getting started with Flux.jl for a simple deep learning problem (not very deep actually) with an MLP Neural Network (NN). Like the usual training approac…

---

## [How to optimize multiple times in a run](https://discourse.julialang.org/t/how-to-optimize-multiple-times-in-a-run/75118)

<div class="topic-metadata">

**Author:** [@Anjinsan](https://discourse.julialang.org/u/Anjinsan)\
**Replies:** 4\
**Last updated:** [March 4, 2022, 11:43pm UTC](https://discourse.julialang.org/t/how-to-optimize-multiple-times-in-a-run/75118 "2022-03-04T23:43:52Z")

</div>

Hello, I’m completely new to Julia / JuMP. I’m working on writing least-cost dispatch code for a power system. I want to load in data for one year (8760 hours), but have the model optimize only one day at a time. Wha…

---

## [Extract rpm from tachometer signal](https://discourse.julialang.org/t/extract-rpm-from-tachometer-signal/77329)

<div class="topic-metadata">

**Author:** [@cmtasso](https://discourse.julialang.org/u/cmtasso)\
**Replies:** 14\
**Last updated:** [March 4, 2022, 11:15pm UTC](https://discourse.julialang.org/t/extract-rpm-from-tachometer-signal/77329 "2022-03-04T23:15:11Z")

</div>

Hi guys… I need to extract a tachometer signal (pulses) and convert it to rpm. Would anyone know how to help write this script? In this case, the script is used within the Sigview software, which allows the use of the …

---

## [Makie - Colorbar crashing saving figure](https://discourse.julialang.org/t/makie-colorbar-crashing-saving-figure/76983)

<div class="topic-metadata">

**Author:** [@Herve](https://discourse.julialang.org/u/Herve)\
**Replies:** 6\
**Last updated:** [March 4, 2022, 5:09pm UTC](https://discourse.julialang.org/t/makie-colorbar-crashing-saving-figure/76983 "2022-03-04T17:09:48Z")

</div>

Hi, I am using Makie for displaying finite element computations with Gridap.jl. Works fine with GLMakie, but the use of “colorbar” crashes with CairoMakie (with exactly the same code as for GLMakie). Any clue ?

---

## [Adjoint for Base.TwicePrecision](https://discourse.julialang.org/t/adjoint-for-base-twiceprecision/77052)

<div class="topic-metadata">

**Author:** [@lxvm](https://discourse.julialang.org/u/lxvm)\
**Replies:** 1\
**Last updated:** [March 4, 2022, 5:03pm UTC](https://discourse.julialang.org/t/adjoint-for-base-twiceprecision/77052 "2022-03-04T17:03:23Z")

</div>

Hello, I would like to define an adjoint for Base.TwicePrecision though I was wondering if it can be done given the following test julia\> using Zygote julia\> gradient(x -\> Float64(sum(map(i -\> i\*Base.TwicePrecision(x)…

---

## [Alternatives to zero-padding conv layers?](https://discourse.julialang.org/t/alternatives-to-zero-padding-conv-layers/73488)

<div class="topic-metadata">

**Author:** [@czexana](https://discourse.julialang.org/u/czexana)\
**Replies:** 3\
**Last updated:** [March 4, 2022, 4:59pm UTC](https://discourse.julialang.org/t/alternatives-to-zero-padding-conv-layers/73488 "2022-03-04T16:59:12Z")

</div>

Is there a way to use same-padding or reflection-padding in Flux convolutional layers, such as NNlib.jl supplies in https://github.com/FluxML/NNlib.jl/blob/master/src/padding.jl, rather than only using zero-padding? I’m…

---

## [Custom ChainRulesCore rrule with ReverseDiff](https://discourse.julialang.org/t/custom-chainrulescore-rrule-with-reversediff/77389)

<div class="topic-metadata">

**Author:** [@smharwood](https://discourse.julialang.org/u/smharwood)\
**Replies:** 2\
**Last updated:** [March 4, 2022, 2:50pm UTC](https://discourse.julialang.org/t/custom-chainrulescore-rrule-with-reversediff/77389 "2022-03-04T14:50:43Z")

</div>

I’m having trouble finding documentation to get ReverseDiff to use a custom adjoint defined using ChainRulesCore.rrule. MWE: import Zygote, ReverseDiff import ChainRulesCore function f(x) x'\*x end function ChainRulesC…

---

## [Optimization Error:](https://discourse.julialang.org/t/optimization-error/77358)

<div class="topic-metadata">

**Author:** [@Eriklw](https://discourse.julialang.org/u/Eriklw)\
**Replies:** 4\
**Last updated:** [March 4, 2022, 2:26pm UTC](https://discourse.julialang.org/t/optimization-error/77358 "2022-03-04T14:26:02Z")

</div>

I am minimizing a function with the Optim package. I am supplying a gradient (that is calculated using AD). I am using the LBFGS() option. However the following error keeps occuring: AssertionError: isfinite(phi\_c) && i…

---

## [Importing data with ambiguous dates](https://discourse.julialang.org/t/importing-data-with-ambiguous-dates/77391)

<div class="topic-metadata">

**Author:** [@George\_Githinji](https://discourse.julialang.org/u/George_Githinji)\
**Replies:** 3\
**Last updated:** [March 4, 2022, 2:22pm UTC](https://discourse.julialang.org/t/importing-data-with-ambiguous-dates/77391 "2022-03-04T14:22:51Z")

</div>

I have a large data-set with date columns in the format yyyy-mm-dd. The challenge is that some of the rows have dates that are ambiguous and contain either the yyyy e.g. 2019 or yyyy-mm e.g. 2019-09. I would like to imp…

---

## [Using Unified Memory with oversubscription](https://discourse.julialang.org/t/using-unified-memory-with-oversubscription/77348)

<div class="topic-metadata">

**Author:** [@anscoil](https://discourse.julialang.org/u/anscoil)\
**Replies:** 3\
**Last updated:** [March 4, 2022, 2:07pm UTC](https://discourse.julialang.org/t/using-unified-memory-with-oversubscription/77348 "2022-03-04T14:07:24Z")

</div>

Hi, I recently learnt the existence of Unified Memory in Cuda, and I’m trying to explore what is possible to do with it in Julia. I would like to use it with oversubsciption, for instance by allocating one array that i…

---

## [JuMP: Sensitivity of Objective to Constraints](https://discourse.julialang.org/t/jump-sensitivity-of-objective-to-constraints/77361)

<div class="topic-metadata">

**Author:** [@Alec\_Loudenback](https://discourse.julialang.org/u/Alec_Loudenback)\
**Replies:** 3\
**Last updated:** [March 4, 2022, 1:51am UTC](https://discourse.julialang.org/t/jump-sensitivity-of-objective-to-constraints/77361 "2022-03-04T01:51:52Z")

</div>

Is there a recommended way to perform sensitivity analysis of the optimization target to different constraints? What I mean by that is a way to determine which constraints are most limiting to the objective function. Fo…

---

## [How to solve regression problem with no related data each other](https://discourse.julialang.org/t/how-to-solve-regression-problem-with-no-related-data-each-other/77350)

<div class="topic-metadata">

**Author:** [@RickandMortyforever](https://discourse.julialang.org/u/RickandMortyforever)\
**Replies:** 5\
**Last updated:** [March 4, 2022, 1:21am UTC](https://discourse.julialang.org/t/how-to-solve-regression-problem-with-no-related-data-each-other/77350 "2022-03-04T01:21:01Z")

</div>

This is more of a problem solving question rather than programming. I’ll delete this post if it is not appropriate. I am trying to solve a regression problem. And I looked at scatter plot that is frustrating me. …

---

## [Specific fractions w/ LaTeXStrings](https://discourse.julialang.org/t/specific-fractions-w-latexstrings/77355)

<div class="topic-metadata">

**Author:** [@met-j](https://discourse.julialang.org/u/met-j)\
**Replies:** 6\
**Last updated:** [March 3, 2022, 8:32pm UTC](https://discourse.julialang.org/t/specific-fractions-w-latexstrings/77355 "2022-03-03T20:32:57Z")

</div>

I am not fully satisfied with the text I can produce with LaTeXStrings. Some (/many) commands only produce a question mark. Which LaTeX commands are available? Is it possible to load LaTeX packages? LaTeX has support…

---

## [Colorbar\_title position & orientation](https://discourse.julialang.org/t/colorbar-title-position-orientation/42715)

<div class="topic-metadata">

**Author:** [@met-j](https://discourse.julialang.org/u/met-j)\
**Replies:** 4\
**Last updated:** [March 3, 2022, 7:15pm UTC](https://discourse.julialang.org/t/colorbar-title-position-orientation/42715 "2022-03-03T19:15:02Z")

</div>

When dealing with several 2.5 d plots at the same time, it’s nice to indicate what the colorbar stands for. To do so, we have the colorbar\_title attribute, now even supported by GR. I assume, with long titles in mind, i…

---

## [NaiveBayes.jl alternative?](https://discourse.julialang.org/t/naivebayes-jl-alternative/77371)

<div class="topic-metadata">

**Author:** [@compleat](https://discourse.julialang.org/u/compleat)\
**Replies:** 0\
**Last updated:** [March 3, 2022, 5:17pm UTC](https://discourse.julialang.org/t/naivebayes-jl-alternative/77371 "2022-03-03T17:17:35Z")

</div>

This looks like it was a neat package but no longer works with its own examples which haven’t been updated since 2016. Does anyone know of an alternative package that does the same thing? Thanks for any help.

---

## [Parameter estimation with DifferentialEquations.jl for a subset of parameters](https://discourse.julialang.org/t/parameter-estimation-with-differentialequations-jl-for-a-subset-of-parameters/33851)

<div class="topic-metadata">

**Author:** [@moesphere](https://discourse.julialang.org/u/moesphere)\
**Replies:** 3\
**Last updated:** [March 3, 2022, 12:27pm UTC](https://discourse.julialang.org/t/parameter-estimation-with-differentialequations-jl-for-a-subset-of-parameters/33851 "2022-03-03T12:27:13Z")

</div>

If I have defined an ODEFunction with a parameter vector p according to the DifferentialEquations.jl package. Is it possible to build a loss objective, i.e. using build\_loss\_objective for only a subset of parameters spe…

---

## [Interact.jl PyPlot, HTML](https://discourse.julialang.org/t/interact-jl-pyplot-html/77343)

<div class="topic-metadata">

**Author:** [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Replies:** 0\
**Last updated:** [March 3, 2022, 9:46am UTC](https://discourse.julialang.org/t/interact-jl-pyplot-html/77343 "2022-03-03T09:46:15Z")

</div>

Hey, I use jupyter lab and julia 1.6. I have png files in a directory, and I would like (using a slider or the keyboard) to display all png files one by one. I can make a gif but I would like to explore my files forwar…

---

## [Source to practice linear regression problems using Julia](https://discourse.julialang.org/t/source-to-practice-linear-regression-problems-using-julia/77271)

<div class="topic-metadata">

**Author:** [@MS\_PRAGATI](https://discourse.julialang.org/u/MS_PRAGATI)\
**Replies:** 3\
**Last updated:** [March 3, 2022, 1:06am UTC](https://discourse.julialang.org/t/source-to-practice-linear-regression-problems-using-julia/77271 "2022-03-03T01:06:25Z")

</div>

could you provide some sources to study Linear regression problems using Julia programming language?

---

## [Cbc solver crashes Julia with multithreading](https://discourse.julialang.org/t/cbc-solver-crashes-julia-with-multithreading/73859)

<div class="topic-metadata">

**Author:** [@JohnZ](https://discourse.julialang.org/u/JohnZ)\
**Replies:** 11\
**Last updated:** [March 2, 2022, 10:26pm UTC](https://discourse.julialang.org/t/cbc-solver-crashes-julia-with-multithreading/73859 "2022-03-02T22:26:32Z")

</div>

The Cbc solver crashes Julia when using more than one threads for optimization. It gives an error message that Julia has exited. Here is a MWE based on JuMP tutorial on facility location: using JuMP, Cbc, LinearAlgebra,…

---

## [Storing stationary points during solving](https://discourse.julialang.org/t/storing-stationary-points-during-solving/77258)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 5\
**Last updated:** [March 2, 2022, 7:59pm UTC](https://discourse.julialang.org/t/storing-stationary-points-during-solving/77258 "2022-03-02T19:59:10Z")

</div>

In our library of SIR models (see e.g. https://github.com/epirecipes/sir-julia/blob/master/markdown/ode/ode.md), I’m trying to store the maximum of one of the state variables (I); I don’t want to just calculate the maxim…

---

## [Heatmap get scrambled](https://discourse.julialang.org/t/heatmap-get-scrambled/77292)

<div class="topic-metadata">

**Author:** [@fredrikpaues](https://discourse.julialang.org/u/fredrikpaues)\
**Replies:** 5\
**Last updated:** [March 2, 2022, 3:50pm UTC](https://discourse.julialang.org/t/heatmap-get-scrambled/77292 "2022-03-02T15:50:55Z")

</div>

When I try to implement a solution from my last question, I run into new problems: p1 and p2 (generated below) result in two completely different plots. I expected that they would look very similar except for the fact th…

---

## [KNITRO.jl cannot be added with latest JuMP, MathOptInterface](https://discourse.julialang.org/t/knitro-jl-cannot-be-added-with-latest-jump-mathoptinterface/77290)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 2\
**Last updated:** [March 2, 2022, 2:50pm UTC](https://discourse.julialang.org/t/knitro-jl-cannot-be-added-with-latest-jump-mathoptinterface/77290 "2022-03-02T14:50:30Z")

</div>

Dear All, If I try to install KNITRO add KNITRO it downgrades JuMP and MathoptInterface Resolving package versions... Installed BinaryProvider ───── v0.5.10 Installed MutableArithmetics ─ v0.3.3 Installed …

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

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