# Specific Domains

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

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

**Page:** 239

---

## [Get all solution found by CPLEX.jl](https://discourse.julialang.org/t/get-all-solution-found-by-cplex-jl/89780)

<div class="topic-metadata">

**Author:** [@Luca](https://discourse.julialang.org/u/Luca)\
**Replies:** 1\
**Last updated:** [November 4, 2022, 6:16pm UTC](https://discourse.julialang.org/t/get-all-solution-found-by-cplex-jl/89780 "2022-11-04T18:16:45Z")

</div>

Dear all, I’m using CPLEX.jl to solve a MILP. I would like to retrieve all the solutions found by the solver. Do you have any advise or suggestion? Thanks very much. Bests.

---

## [Modeling a crowbar circuit with ModelingToolkit.jl](https://discourse.julialang.org/t/modeling-a-crowbar-circuit-with-modelingtoolkit-jl/81968)

<div class="topic-metadata">

**Author:** [@Irene\_Ndindabahizi](https://discourse.julialang.org/u/Irene_Ndindabahizi)\
**Replies:** 5\
**Last updated:** [November 4, 2022, 3:35pm UTC](https://discourse.julialang.org/t/modeling-a-crowbar-circuit-with-modelingtoolkit-jl/81968 "2022-11-04T15:35:10Z")

</div>

Hi All, I am trying to model an electromagnetic launcher using ModelingToolkit.jl. The electric circuit is basically an RLC with a crowbar circuit that cut off the capacitor when the voltage is 0V. I managed to do the s…

---

## [ANOVA and TukeyHSD](https://discourse.julialang.org/t/anova-and-tukeyhsd/89750)

<div class="topic-metadata">

**Author:** [@Rudiney](https://discourse.julialang.org/u/Rudiney)\
**Replies:** 4\
**Last updated:** [November 4, 2022, 1:53pm UTC](https://discourse.julialang.org/t/anova-and-tukeyhsd/89750 "2022-11-04T13:53:07Z")

</div>

I am interested in analysis of variance (ANOVA) and Hierarchical Multiple Comparison Test (TukeyHSD). Where can I find examples and theoretical reference with the Julia language?

---

## [Plotlyjs x values display](https://discourse.julialang.org/t/plotlyjs-x-values-display/89688)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 5\
**Last updated:** [November 4, 2022, 12:02pm UTC](https://discourse.julialang.org/t/plotlyjs-x-values-display/89688 "2022-11-04T12:02:45Z")

</div>

here is the code: DateTick = x\[1\]:Dates.Month(6):x\[end\] DateTick2 = Dates.format.(DateTick,"Y-m") p1 = scatter(x, y1, xticks = (DateTick, DateTick2), title = "Money supply", xrotation=-45, legend = :topleft) …

---

## [Resize legend box in subplots for Plots.jl?](https://discourse.julialang.org/t/resize-legend-box-in-subplots-for-plots-jl/36141)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 11\
**Last updated:** [November 4, 2022, 11:47am UTC](https://discourse.julialang.org/t/resize-legend-box-in-subplots-for-plots-jl/36141 "2022-11-04T11:47:49Z")

</div>

I have a series of subplots each with their own legend. however, the boxes around the legends are too big. how could I make them smaller? like, why is the red line in avg N so long? asked differently: what determines…

---

## [Namedtuple as a single value](https://discourse.julialang.org/t/namedtuple-as-a-single-value/89764)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 6\
**Last updated:** [November 4, 2022, 10:39am UTC](https://discourse.julialang.org/t/namedtuple-as-a-single-value/89764 "2022-11-04T10:39:18Z")

</div>

I wanted to report the following results and have comments on how to consider them. The problem is not fictitious. It derives from the usecase treated here, where, among other things, the error description is slightly …

---

## [Flux and Octavian](https://discourse.julialang.org/t/flux-and-octavian/89770)

<div class="topic-metadata">

**Author:** [@qwerty](https://discourse.julialang.org/u/qwerty)\
**Replies:** 1\
**Last updated:** [November 4, 2022, 10:06am UTC](https://discourse.julialang.org/t/flux-and-octavian/89770 "2022-11-04T10:06:51Z")

</div>

Does Flux use Octavian when run on cpu?

---

## [Add points to scatter plot by Mouse.down click using GLMakie](https://discourse.julialang.org/t/add-points-to-scatter-plot-by-mouse-down-click-using-glmakie/89740)

<div class="topic-metadata">

**Author:** [@mgalenb](https://discourse.julialang.org/u/mgalenb)\
**Replies:** 4\
**Last updated:** [November 4, 2022, 8:51am UTC](https://discourse.julialang.org/t/add-points-to-scatter-plot-by-mouse-down-click-using-glmakie/89740 "2022-11-04T08:51:21Z")

</div>

Id like to add points to a GLMakie plot when holding down the keyboard letter “a” and then holding down the left mouse button. The docs have a good demo on how to do this with a click (Point Picking). However when I chan…

---

## [How to use filter from inmemorydatasets package](https://discourse.julialang.org/t/how-to-use-filter-from-inmemorydatasets-package/89696)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 3\
**Last updated:** [November 3, 2022, 11:24pm UTC](https://discourse.julialang.org/t/how-to-use-filter-from-inmemorydatasets-package/89696 "2022-11-03T23:24:04Z")

</div>

Hi, I am looking for a way to extract all the rows that match PT from the column employment\_type, I have tried to change dataset into dataframe but there are still same errors, can anyone please give me some adv…

---

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

<div class="topic-metadata">

**Author:** [@JUL1A](https://discourse.julialang.org/u/JUL1A)\
**Replies:** 12\
**Last updated:** [November 3, 2022, 9:18pm UTC](https://discourse.julialang.org/t/optimization-using-jump/89720 "2022-11-03T21:18:12Z")

</div>

I’m trying to code an optimization problem in Julia using JuMP. The objective function has two matrix multiplications. First, multiply the vector of w with size (10) by the matrix of arr\_C with size (20, 10). So the w s…

---

## [The objective function sparse is not supported by JuMP in julia](https://discourse.julialang.org/t/the-objective-function-sparse-is-not-supported-by-jump-in-julia/89726)

<div class="topic-metadata">

**Author:** [@thiagoselias](https://discourse.julialang.org/u/thiagoselias)\
**Replies:** 9\
**Last updated:** [November 3, 2022, 8:28pm UTC](https://discourse.julialang.org/t/the-objective-function-sparse-is-not-supported-by-jump-in-julia/89726 "2022-11-03T20:28:22Z")

</div>

model = Model(Gurobi.Optimizer) @objective(model, Min, DRect + 0.6DBlad + 0.6DBO) The objective function sparse(\[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, …

---

## [Result and summary files not generated with BARON.jl](https://discourse.julialang.org/t/result-and-summary-files-not-generated-with-baron-jl/89722)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 6\
**Last updated:** [November 3, 2022, 8:16pm UTC](https://discourse.julialang.org/t/result-and-summary-files-not-generated-with-baron-jl/89722 "2022-11-03T20:16:12Z")

</div>

I solved the following tutorial problem on JuMP’s documentation page, but the result and summary file are not generated (I do set the result and summary parameters to 1): using JuMP, BARON rocket = Model(BARON.Optimize…

---

## [Multidimensional non-linear root search?](https://discourse.julialang.org/t/multidimensional-non-linear-root-search/89680)

<div class="topic-metadata">

**Author:** [@gleyland](https://discourse.julialang.org/u/gleyland)\
**Replies:** 3\
**Last updated:** [November 3, 2022, 7:00pm UTC](https://discourse.julialang.org/t/multidimensional-non-linear-root-search/89680 "2022-11-03T19:00:26Z")

</div>

Hi, Does anyone have any guidance on what’s best practice for non-linear root search? (in this case, relatively small, smooth systems of equations expressed as code that should be AD-able) It looks like NLsolve.jl is …

---

## [How to preallocate LU factorization](https://discourse.julialang.org/t/how-to-preallocate-lu-factorization/89718)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 3\
**Last updated:** [November 3, 2022, 5:59pm UTC](https://discourse.julialang.org/t/how-to-preallocate-lu-factorization/89718 "2022-11-03T17:59:09Z")

</div>

OK, I see what you mean. Suppose, then, that I’m not using StaticArrays and just want to allocate an empty LU with normal Julia arrays—how do I do that? zeros(LU{Float64, zeros(Matrix{Float64}), zeros(Vector{Int64})}) …

---

## [ODEFunctionExpr and observed variables \[Modeling Toolkit\]](https://discourse.julialang.org/t/odefunctionexpr-and-observed-variables-modeling-toolkit/89728)

<div class="topic-metadata">

**Author:** [@lxsilva](https://discourse.julialang.org/u/lxsilva)\
**Replies:** 0\
**Last updated:** [November 3, 2022, 5:30pm UTC](https://discourse.julialang.org/t/odefunctionexpr-and-observed-variables-modeling-toolkit/89728 "2022-11-03T17:30:44Z")

</div>

Hello! so, I’m using MTK as a tool for modeling. I’m using ModelingToolkitStandardLibrary in order to build my models (great tool btw). After I build my ODESystem and run “structural\_simplify” I would like to save my …

---

## [Heatmap plots with X and Y matrix instead of vectors](https://discourse.julialang.org/t/heatmap-plots-with-x-and-y-matrix-instead-of-vectors/89665)

<div class="topic-metadata">

**Author:** [@fontainee](https://discourse.julialang.org/u/fontainee)\
**Replies:** 22\
**Last updated:** [November 3, 2022, 3:57pm UTC](https://discourse.julialang.org/t/heatmap-plots-with-x-and-y-matrix-instead-of-vectors/89665 "2022-11-03T15:57:07Z")

</div>

Hi all, I want to know if it is possible to make heatmap plots type with X and Y matrix instead of using X and Y vectors. In fact my X and Y matrix are longitude and latitude and the Z matrix are geostationnary satellit…

---

## [Different lags for DDEProblem](https://discourse.julialang.org/t/different-lags-for-ddeproblem/89482)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 2\
**Last updated:** [November 3, 2022, 1:33pm UTC](https://discourse.julialang.org/t/different-lags-for-ddeproblem/89482 "2022-11-03T13:33:08Z")

</div>

Hi! I try to use delay differential equations from DifferentialEquations.jl. I look at docs and make system with different delays, it works but looks not fine: hist1 = h(p, t)\[1\] hist2 = h(p, t - 2)\[2\] hist3 = h(p, …

---

## [How to take the average value for each type in the job title column?](https://discourse.julialang.org/t/how-to-take-the-average-value-for-each-type-in-the-job-title-column/89710)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 3\
**Last updated:** [November 3, 2022, 12:36pm UTC](https://discourse.julialang.org/t/how-to-take-the-average-value-for-each-type-in-the-job-title-column/89710 "2022-11-03T12:36:19Z")

</div>

Hi, I have met the problem that for same employment type, there are different salary coressponding to the same job title, but I only need one salary value for one job title, can someone please give me some advices about …

---

## [How to linearize a conditional constraint in JuMP?](https://discourse.julialang.org/t/how-to-linearize-a-conditional-constraint-in-jump/89685)

<div class="topic-metadata">

**Author:** [@Alex\_ricci](https://discourse.julialang.org/u/Alex_ricci)\
**Replies:** 1\
**Last updated:** [November 3, 2022, 3:03am UTC](https://discourse.julialang.org/t/how-to-linearize-a-conditional-constraint-in-jump/89685 "2022-11-03T03:03:11Z")

</div>

Any proper way for linearizing this conditional constraint? if x \\leq 0 then y=0 if x \> 0 then y=1

---

## [Can you solve wide matrices with LinearSolve.jl?](https://discourse.julialang.org/t/can-you-solve-wide-matrices-with-linearsolve-jl/89595)

<div class="topic-metadata">

**Author:** [@Ethan\_Leonard](https://discourse.julialang.org/u/Ethan_Leonard)\
**Replies:** 4\
**Last updated:** [November 2, 2022, 3:36am UTC](https://discourse.julialang.org/t/can-you-solve-wide-matrices-with-linearsolve-jl/89595 "2022-11-02T03:36:27Z")

</div>

New user here, trying to find an efficient way to iteratively solve lots of wide matrices in a loop. I came across LinearSolve.jl , but haven’t seen anything in the documentation about whether it can solve non-square ma…

---

## [How to draw the grouped bar plot in julia(best using Vegalite)](https://discourse.julialang.org/t/how-to-draw-the-grouped-bar-plot-in-julia-best-using-vegalite/89659)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 7\
**Last updated:** [November 2, 2022, 6:20pm UTC](https://discourse.julialang.org/t/how-to-draw-the-grouped-bar-plot-in-julia-best-using-vegalite/89659 "2022-11-02T18:20:01Z")

</div>

Hi, I need to draw a graph which is grouped bar chart, y axis will be salary, x axis will be job title, and I want to present each job title with employment type in different colors(this contains part time, full time, fr…

---

## [Package for selecting and inserting into MariaDB database?](https://discourse.julialang.org/t/package-for-selecting-and-inserting-into-mariadb-database/89016)

<div class="topic-metadata">

**Author:** [@tom-plaa](https://discourse.julialang.org/u/tom-plaa)\
**Replies:** 9\
**Last updated:** [November 2, 2022, 5:20pm UTC](https://discourse.julialang.org/t/package-for-selecting-and-inserting-into-mariadb-database/89016 "2022-11-02T17:20:20Z")

</div>

Sorry if this a really basic question, but I couldn’t filter useful information from the topics I have found here, I assume because of my inexperience in the subject. Since Monday, I’ve been trying to build and connect m…

---

## [Iterate an observable](https://discourse.julialang.org/t/iterate-an-observable/89619)

<div class="topic-metadata">

**Author:** [@mgp](https://discourse.julialang.org/u/mgp)\
**Replies:** 2\
**Last updated:** [November 2, 2022, 4:47pm UTC](https://discourse.julialang.org/t/iterate-an-observable/89619 "2022-11-02T16:47:52Z")

</div>

I have an undirected simple graph and a vector of nodes that I want to colour red. The function plotg below allows this using CairoMakie, Graphs, GraphMakie function plotg(g, y) fig = Figure(); ax = Axis(fig\[1, 1\])…

---

## [Removing numeric labels from axis](https://discourse.julialang.org/t/removing-numeric-labels-from-axis/89237)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 12\
**Last updated:** [November 2, 2022, 11:04am UTC](https://discourse.julialang.org/t/removing-numeric-labels-from-axis/89237 "2022-11-02T11:04:52Z")

</div>

I fear this might be a stupid question . . . but, how does one remove the numeric labels from an axis in a plot? I searched the documentation https://docs.juliaplots.org/latest/attributes/ but didn’t find an option. (…

---

## [Accessing solutions from earlier times in Callback functions](https://discourse.julialang.org/t/accessing-solutions-from-earlier-times-in-callback-functions/89613)

<div class="topic-metadata">

**Author:** [@LM\_Julia](https://discourse.julialang.org/u/LM_Julia)\
**Replies:** 4\
**Last updated:** [November 2, 2022, 10:28am UTC](https://discourse.julialang.org/t/accessing-solutions-from-earlier-times-in-callback-functions/89613 "2022-11-02T10:28:40Z")

</div>

Hi everyone, I’ve only recently started using Julia and I was wondering if it’s possible to access the values obtained at earlier times by a solver in a callback function. For example, I’m trying to identify maxima (as …

---

## [Plotting data with 2D lat/lons in geomakie](https://discourse.julialang.org/t/plotting-data-with-2d-lat-lons-in-geomakie/88648)

<div class="topic-metadata">

**Author:** [@k945](https://discourse.julialang.org/u/k945)\
**Replies:** 8\
**Last updated:** [November 2, 2022, 9:37am UTC](https://discourse.julialang.org/t/plotting-data-with-2d-lat-lons-in-geomakie/88648 "2022-11-02T09:37:24Z")

</div>

Is it possible to plot data with 2d lat/lons using GeoMakie? I have so far been unable to properly project WRF simulation data onto a map. Using test data, this is what I have tried so far: using GeoMakie, CairoMa…

---

## [Linear Regression step by step for newcomers](https://discourse.julialang.org/t/linear-regression-step-by-step-for-newcomers/89621)

<div class="topic-metadata">

**Author:** [@Troiss](https://discourse.julialang.org/u/Troiss)\
**Replies:** 7\
**Last updated:** [November 2, 2022, 9:00am UTC](https://discourse.julialang.org/t/linear-regression-step-by-step-for-newcomers/89621 "2022-11-02T09:00:44Z")

</div>

Hello. I’m very new to machine and even newer to Julia, as a whole, thought the syntax is still easy to understand. I got a task to train linear regression a set of data (X, y), in which X is the matrix of input vectors,…

---

## [Rlocusplot provide gain K](https://discourse.julialang.org/t/rlocusplot-provide-gain-k/89578)

<div class="topic-metadata">

**Author:** [@GottDengDirk](https://discourse.julialang.org/u/GottDengDirk)\
**Replies:** 5\
**Last updated:** [November 1, 2022, 8:23pm UTC](https://discourse.julialang.org/t/rlocusplot-provide-gain-k/89578 "2022-11-01T20:23:13Z")

</div>

Hello, i have a problem that i want to provide K for rlocusplot, but it does no work. thanks in advance using ControlSystems w0=2\*pi D=0.1 Ki=0.05 sys = Kiw0^2/(s^3+2Dw0s^2+w0^2s+Kiw0^2) k=range(1e-6,stop=1000,le…

---

## [Flux - LSTM - Issue with input format for multiple features](https://discourse.julialang.org/t/flux-lstm-issue-with-input-format-for-multiple-features/55272)

<div class="topic-metadata">

**Author:** [@thomaszub](https://discourse.julialang.org/u/thomaszub)\
**Replies:** 9\
**Last updated:** [November 1, 2022, 7:52pm UTC](https://discourse.julialang.org/t/flux-lstm-issue-with-input-format-for-multiple-features/55272 "2022-11-01T19:52:54Z")

</div>

Hi community, I’m diving into machine learning in Julia and currently having some issues with the input format for a LSTM model. The target is to predict the current activity of a human based on motion data from a smart…

---

## [LightOSM and OpenStreetMapX read different nodes from one and the same osm file](https://discourse.julialang.org/t/lightosm-and-openstreetmapx-read-different-nodes-from-one-and-the-same-osm-file/89628)

<div class="topic-metadata">

**Author:** [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Replies:** 0\
**Last updated:** [November 1, 2022, 7:13pm UTC](https://discourse.julialang.org/t/lightosm-and-openstreetmapx-read-different-nodes-from-one-and-the-same-osm-file/89628 "2022-11-01T19:13:50Z")

</div>

Anyone have a quick idea why this fails? g1 = LightOSM.graph\_from\_file( data\_file, ... largest\_connected\_component=true) g2 = OpenStreetMapX.get\_map\_data( …

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

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