# Specific Domains

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

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

**Page:** 277

---

## [\_generic\_matmatmul error in sciml\_train](https://discourse.julialang.org/t/generic-matmatmul-error-in-sciml-train/81976)

<div class="topic-metadata">

**Author:** [@linkz](https://discourse.julialang.org/u/linkz)\
**Replies:** 3\
**Last updated:** [May 31, 2022, 1:20pm UTC](https://discourse.julialang.org/t/generic-matmatmul-error-in-sciml-train/81976 "2022-05-31T13:20:35Z")

</div>

Hello all, I am trying to train a neural ODE model using DiffEqFlux.sciml\_train. I have reasons to believe that if I use the outer vector product of the current state u as the neural net input, I might get better perform…

---

## [Number of rows / columns for facet wrap in AlgebraOfGraphics](https://discourse.julialang.org/t/number-of-rows-columns-for-facet-wrap-in-algebraofgraphics/81769)

<div class="topic-metadata">

**Author:** [@Jakob](https://discourse.julialang.org/u/Jakob)\
**Replies:** 3\
**Last updated:** [May 31, 2022, 6:35am UTC](https://discourse.julialang.org/t/number-of-rows-columns-for-facet-wrap-in-algebraofgraphics/81769 "2022-05-31T06:35:40Z")

</div>

Does anyone know of an easy way to specify the number of rows / columns when facet wrapping in AOG? E.g., in the following example I’d like to specify a 3x2 layout instead of 2x3: df = (x=rand(100), y=rand(100), l=rand…

---

## [Save each simulation result on master node during parameter scanning](https://discourse.julialang.org/t/save-each-simulation-result-on-master-node-during-parameter-scanning/81953)

<div class="topic-metadata">

**Author:** [@jtoda](https://discourse.julialang.org/u/jtoda)\
**Replies:** 0\
**Last updated:** [May 31, 2022, 2:31am UTC](https://discourse.julialang.org/t/save-each-simulation-result-on-master-node-during-parameter-scanning/81953 "2022-05-31T02:31:53Z")

</div>

Hello ! I want to write code that stores data for a huge amount of simulation. I want to save data for each experiment, and the data storage location is the master node. Below is an example code, do you have any bette…

---

## [Scale and Location to TDist in Distributions](https://discourse.julialang.org/t/scale-and-location-to-tdist-in-distributions/74360)

<div class="topic-metadata">

**Author:** [@Dominic\_Pazzula](https://discourse.julialang.org/u/Dominic_Pazzula)\
**Replies:** 7\
**Last updated:** [May 30, 2022, 1:00pm UTC](https://discourse.julialang.org/t/scale-and-location-to-tdist-in-distributions/74360 "2022-05-30T13:00:35Z")

</div>

Is there any reason not to have a scale and location parameter in TDist in the Distributions package? I was trying to do a MLE with a Generalized T distribution when I realized it wasn’t available out of the box. Not h…

---

## [A few resources to help enable using Distributed.jl on a SLURM cluster](https://discourse.julialang.org/t/a-few-resources-to-help-enable-using-distributed-jl-on-a-slurm-cluster/81911)

<div class="topic-metadata">

**Author:** [@jmair](https://discourse.julialang.org/u/jmair)\
**Replies:** 0\
**Last updated:** [May 30, 2022, 11:38am UTC](https://discourse.julialang.org/t/a-few-resources-to-help-enable-using-distributed-jl-on-a-slurm-cluster/81911 "2022-05-30T11:38:06Z")

</div>

I created some resources for a few colleagues new to Julia, to enable them to use our SLURM cluster effectively, using existing packages like Distributed.jl and ClusterManagers.jl. These scripts and resources do nothing…

---

## [SCS Indirect Solver Parallelized?](https://discourse.julialang.org/t/scs-indirect-solver-parallelized/81687)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 5\
**Last updated:** [May 30, 2022, 9:36am UTC](https://discourse.julialang.org/t/scs-indirect-solver-parallelized/81687 "2022-05-30T09:36:09Z")

</div>

Is it possible to permit the SCS.jl indirect solver to parallelize its computations with multiple threads running on a multi-core CPU? I am trying to solve a very large LP. problem: variables n: 47251695, constraints m…

---

## [Adaptive mesh refinement in JuMP](https://discourse.julialang.org/t/adaptive-mesh-refinement-in-jump/81864)

<div class="topic-metadata">

**Author:** [@Kieran\_Marray](https://discourse.julialang.org/u/Kieran_Marray)\
**Replies:** 2\
**Last updated:** [May 30, 2022, 12:01am UTC](https://discourse.julialang.org/t/adaptive-mesh-refinement-in-jump/81864 "2022-05-30T00:01:30Z")

</div>

I have a non-linear programming problem similar to the space shuttle problem in the JuMP tutorial Optimal control for a Space Shuttle reentry trajectory · JuMP. I want to implement adaptive mesh refinement to ensure an a…

---

## [Converting PyTorch to Flux while keeping performance](https://discourse.julialang.org/t/converting-pytorch-to-flux-while-keeping-performance/81877)

<div class="topic-metadata">

**Author:** [@Jarartur](https://discourse.julialang.org/u/Jarartur)\
**Replies:** 7\
**Last updated:** [May 29, 2022, 9:58pm UTC](https://discourse.julialang.org/t/converting-pytorch-to-flux-while-keeping-performance/81877 "2022-05-29T21:58:01Z")

</div>

Hey, I am currently converting some models from pytorch to flux and can’t figure out why I am having performance issues. My function in PyTorch: def stiffness\_reg(x, idx): x\_nn = knn\_gather(x, idx) # basically ind…

---

## [Write function "show" for own multi-level structure](https://discourse.julialang.org/t/write-function-show-for-own-multi-level-structure/81882)

<div class="topic-metadata">

**Author:** [@Yuri](https://discourse.julialang.org/u/Yuri)\
**Replies:** 2\
**Last updated:** [May 29, 2022, 7:35pm UTC](https://discourse.julialang.org/t/write-function-show-for-own-multi-level-structure/81882 "2022-05-29T19:35:47Z")

</div>

I want to write a function Base.show for my structure Node: mutable struct Node keys::Vector vals::Vector count::Int end and which will display: nod = Node( \["a", "b", "c", "d"\], \[Node( \["…

---

## [MethodError: objects of type Float64 are not callable](https://discourse.julialang.org/t/methoderror-objects-of-type-float64-are-not-callable/81876)

<div class="topic-metadata">

**Author:** [@Hupdup](https://discourse.julialang.org/u/Hupdup)\
**Replies:** 2\
**Last updated:** [May 29, 2022, 6:04pm UTC](https://discourse.julialang.org/t/methoderror-objects-of-type-float64-are-not-callable/81876 "2022-05-29T18:04:11Z")

</div>

Hi, when I want to update the weights of my main\_network, I always get this ERROR: MethodError: objects of type Float64 are not callable The Output is: -24.429102722601773 Float32\[-0.019576067, 0.08515469, -0.026…

---

## [Symbolics.jl: Compute determinant](https://discourse.julialang.org/t/symbolics-jl-compute-determinant/81866)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 2\
**Last updated:** [May 29, 2022, 1:28pm UTC](https://discourse.julialang.org/t/symbolics-jl-compute-determinant/81866 "2022-05-29T13:28:35Z")

</div>

I would like to compute the determinant of a matrix involving a symbolic variable: using Symbolics I = # Identity matrix A = # Some non-trivial matrix @variables z aux = I - z \* A det(aux) This webpage claims that co…

---

## [Pipeline for different columns](https://discourse.julialang.org/t/pipeline-for-different-columns/81494)

<div class="topic-metadata">

**Author:** [@jfcal](https://discourse.julialang.org/u/jfcal)\
**Replies:** 11\
**Last updated:** [May 29, 2022, 9:08am UTC](https://discourse.julialang.org/t/pipeline-for-different-columns/81494 "2022-05-29T09:08:23Z")

</div>

Hi everyone, I have mixed type data and want to apply different functions to different types in a pipeline. Like imputation with mean for continuous and knn imputation for categorical and so on… Is it possible with MLJ…

---

## [Send http request through specific network interface using HTTP.jl](https://discourse.julialang.org/t/send-http-request-through-specific-network-interface-using-http-jl/81777)

<div class="topic-metadata">

**Author:** [@Anastas](https://discourse.julialang.org/u/Anastas)\
**Replies:** 2\
**Last updated:** [May 29, 2022, 5:08am UTC](https://discourse.julialang.org/t/send-http-request-through-specific-network-interface-using-http-jl/81777 "2022-05-29T05:08:50Z")

</div>

Hello, every one I want to send request through specific network interface using HTTP.jl like it works in here . In lib python requests it works correct. Or if to use curl, request should look like this: curl --interfa…

---

## [Training with Flux.jl on the GPU causes ArgumentError: cannot take the CPU address of a CuArray](https://discourse.julialang.org/t/training-with-flux-jl-on-the-gpu-causes-argumenterror-cannot-take-the-cpu-address-of-a-cuarray/81751)

<div class="topic-metadata">

**Author:** [@lfenzo](https://discourse.julialang.org/u/lfenzo)\
**Replies:** 4\
**Last updated:** [May 28, 2022, 4:30pm UTC](https://discourse.julialang.org/t/training-with-flux-jl-on-the-gpu-causes-argumenterror-cannot-take-the-cpu-address-of-a-cuarray/81751 "2022-05-28T16:30:54Z")

</div>

Hello! I’m trying to train a neural network using Flux.jl on the GPU with CUDA.jl. My issue (see error below) is that there seems to be some problem during the data transfer process between the GPU and CPU which causes …

---

## [Why do we need "GalacticOptim.instantiate\_function"?](https://discourse.julialang.org/t/why-do-we-need-galacticoptim-instantiate-function/81760)

<div class="topic-metadata">

**Author:** [@mzhenirovskyy](https://discourse.julialang.org/u/mzhenirovskyy)\
**Replies:** 9\
**Last updated:** [May 28, 2022, 3:58pm UTC](https://discourse.julialang.org/t/why-do-we-need-galacticoptim-instantiate-function/81760 "2022-05-28T15:58:28Z")

</div>

This example seems to work even without “instantiate\_function”. https://diffeqflux.sciml.ai/stable/examples/neural\_ode\_galacticoptim/ I can’t find any docs about “instantiate\_function”.

---

## [Heat flow in 1d](https://discourse.julialang.org/t/heat-flow-in-1d/81711)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 10\
**Last updated:** [May 28, 2022, 10:44am UTC](https://discourse.julialang.org/t/heat-flow-in-1d/81711 "2022-05-28T10:44:09Z")

</div>

I want to Plot Theta vs index " i ". where θ\[i-1\]+b\*θ\[i\]+θ\[i+1\] =0 is the equation that i obtained after discretization . b is parameter. i took m=100 and delta g= 0.01 using Plots begin Δg=0.01 ;m=100 b=-2-(m^2…

---

## [Detecting low precision contamination of DoubleFloats.jl](https://discourse.julialang.org/t/detecting-low-precision-contamination-of-doublefloats-jl/77408)

<div class="topic-metadata">

**Author:** [@HexSpin](https://discourse.julialang.org/u/HexSpin)\
**Replies:** 15\
**Last updated:** [May 28, 2022, 7:56am UTC](https://discourse.julialang.org/t/detecting-low-precision-contamination-of-doublefloats-jl/77408 "2022-05-28T07:56:22Z")

</div>

For the last many months I’ve very happily used DoubleFloats.jl to compute series akin to 1+1/2+1/3-1/4-1/5… with varying signs changes and ranges up to (and fractions as as small as) 1/10^15 – or smaller. As these summ…

---

## [Arbitrary precision refinnements with Convex.jl & COSMO.jl](https://discourse.julialang.org/t/arbitrary-precision-refinnements-with-convex-jl-cosmo-jl/61806)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 9\
**Last updated:** [May 28, 2022, 7:16am UTC](https://discourse.julialang.org/t/arbitrary-precision-refinnements-with-convex-jl-cosmo-jl/61806 "2022-05-28T07:16:53Z")

</div>

Hi, I’m solving a problem through Convex.jl & COSMO.jl. I want to build a BigFloat version of the same problem to refine the solution, and i’d like to warm start it with the low-precision solution. For the dummy problem…

---

## [Read .lp file into JuMP model in direct mode](https://discourse.julialang.org/t/read-lp-file-into-jump-model-in-direct-mode/81803)

<div class="topic-metadata">

**Author:** [@MarioSouto](https://discourse.julialang.org/u/MarioSouto)\
**Replies:** 3\
**Last updated:** [May 28, 2022, 2:58am UTC](https://discourse.julialang.org/t/read-lp-file-into-jump-model-in-direct-mode/81803 "2022-05-28T02:58:34Z")

</div>

Is it possible to read a .lp file into a JuMP optimization model in direct mode? I’m not sure how to combine direct\_model and read\_from\_file to achieve this.

---

## [Using HSL library for IPOPT in PowerModels.jl](https://discourse.julialang.org/t/using-hsl-library-for-ipopt-in-powermodels-jl/81796)

<div class="topic-metadata">

**Author:** [@aaldik](https://discourse.julialang.org/u/aaldik)\
**Replies:** 4\
**Last updated:** [May 27, 2022, 10:26pm UTC](https://discourse.julialang.org/t/using-hsl-library-for-ipopt-in-powermodels-jl/81796 "2022-05-27T22:26:04Z")

</div>

Hello I would like to ask how to use the HSL library with the solver IPOPT that is used in the library PowerModels.jl.

---

## [Plots.jl - Strings as xticks](https://discourse.julialang.org/t/plots-jl-strings-as-xticks/20745)

<div class="topic-metadata">

**Author:** [@mariok90](https://discourse.julialang.org/u/mariok90)\
**Replies:** 5\
**Last updated:** [May 27, 2022, 8:45pm UTC](https://discourse.julialang.org/t/plots-jl-strings-as-xticks/20745 "2022-05-27T20:45:59Z")

</div>

I want to replace the xticks with strings. How can I do that? When I run : using Plots xticks = \["$i" for i in 1:10\] plot(rand(10), xticks=xticks) I get an error: Julia Client – Internal Error MethodError: no method …

---

## [Abstract DataFrame not iterable?](https://discourse.julialang.org/t/abstract-dataframe-not-iterable/81799)

<div class="topic-metadata">

**Author:** [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Replies:** 4\
**Last updated:** [May 27, 2022, 8:14pm UTC](https://discourse.julialang.org/t/abstract-dataframe-not-iterable/81799 "2022-05-27T20:14:53Z")

</div>

Hi there! I have data like so which I then combine according to the number of observations on each group like so Finally I join the new feature with my main df: The problem is when I wrap around function to t…

---

## [Save and plot parameter history with ModelingToolkit.jl](https://discourse.julialang.org/t/save-and-plot-parameter-history-with-modelingtoolkit-jl/81778)

<div class="topic-metadata">

**Author:** [@visr](https://discourse.julialang.org/u/visr)\
**Replies:** 1\
**Last updated:** [May 27, 2022, 12:11pm UTC](https://discourse.julialang.org/t/save-and-plot-parameter-history-with-modelingtoolkit-jl/81778 "2022-05-27T12:11:39Z")

</div>

Parameters are currently not saved over time in the solution, the way states are. This was previously discussed in Update parameters in ModelingToolkit using callbacks. Chris mentioned there that one option would be to…

---

## [Dynamic NL expression in julia](https://discourse.julialang.org/t/dynamic-nl-expression-in-julia/81658)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 2\
**Last updated:** [May 27, 2022, 10:42am UTC](https://discourse.julialang.org/t/dynamic-nl-expression-in-julia/81658 "2022-05-27T10:42:46Z")

</div>

Hi, I am using Juniper to solve MNILP and with array of nonlinear expression i am getting invalid model error. is there a way to generate nonlinear expression names in a loop like @variable(model,x) zz=0.0 for i in 1:5 …

---

## [Cannot multiply a quadratic expression by an aff. expression](https://discourse.julialang.org/t/cannot-multiply-a-quadratic-expression-by-an-aff-expression/81742)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 2\
**Last updated:** [May 27, 2022, 10:34am UTC](https://discourse.julialang.org/t/cannot-multiply-a-quadratic-expression-by-an-aff-expression/81742 "2022-05-27T10:34:16Z")

</div>

using Cbc,JuMP,LinearAlgebra, Juniper,Ipopt,HiGHS; optimizer = Juniper.Optimizer; nl\_solver = optimizer\_with\_attributes(Ipopt.Optimizer); mip\_solver = optimizer\_with\_attributes(HiGHS.Optimizer); mod2 = Model(optimizer\_…

---

## [GalacticOptim.solve ignores callback](https://discourse.julialang.org/t/galacticoptim-solve-ignores-callback/81670)

<div class="topic-metadata">

**Author:** [@mzhenirovskyy](https://discourse.julialang.org/u/mzhenirovskyy)\
**Replies:** 1\
**Last updated:** [May 27, 2022, 3:09am UTC](https://discourse.julialang.org/t/galacticoptim-solve-ignores-callback/81670 "2022-05-27T03:09:35Z")

</div>

Hi All, It seems the callback doesn’t work when it is called from “GalacticOptim.solve”. using DifferentialEquations, DiffEqFlux, GalacticOptim function lotka\_volterra!(du, u, p, t) x, y = u α, β, δ, γ = p du\[1\]…

---

## [Creating a tuple from combination of tuple and vectors](https://discourse.julialang.org/t/creating-a-tuple-from-combination-of-tuple-and-vectors/81705)

<div class="topic-metadata">

**Author:** [@joxane7887](https://discourse.julialang.org/u/joxane7887)\
**Replies:** 5\
**Last updated:** [May 27, 2022, 2:43am UTC](https://discourse.julialang.org/t/creating-a-tuple-from-combination-of-tuple-and-vectors/81705 "2022-05-27T02:43:49Z")

</div>

I’d like to combine three thing; a Vector{Tuple{Int64, Int64}}, Vector{Vector{Int64}}, and a Vector{Int64} under some condition to be able to create a new tuple; in other words; a Vector{Tuple{Int64, Int64, Int64}}. And …

---

## [JuMP creating a huge MPS file](https://discourse.julialang.org/t/jump-creating-a-huge-mps-file/81477)

<div class="topic-metadata">

**Author:** [@Popeye](https://discourse.julialang.org/u/Popeye)\
**Replies:** 22\
**Last updated:** [May 26, 2022, 10:30pm UTC](https://discourse.julialang.org/t/jump-creating-a-huge-mps-file/81477 "2022-05-26T22:30:28Z")

</div>

Further to my question, here How to specify barrier method to use? - Specific Domains / Optimization (Mathematical) - JuliaLang, I have given an example of a case where it is taking too long to build the model or write a…

---

## [Archival of discontinued packages in JuliaML](https://discourse.julialang.org/t/archival-of-discontinued-packages-in-juliaml/81375)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 11\
**Last updated:** [May 26, 2022, 9:27pm UTC](https://discourse.julialang.org/t/archival-of-discontinued-packages-in-juliaml/81375 "2022-05-26T21:27:08Z")

</div>

I am cleaning the house in JuliaML and will proceed with a sequence of archival operations to facilitate the lives of newcomers who come to Julia and are completely lost in the middle of packages that don’t even load any…

---

## [Need Help to implement my loss function](https://discourse.julialang.org/t/need-help-to-implement-my-loss-function/81724)

<div class="topic-metadata">

**Author:** [@Hupdup](https://discourse.julialang.org/u/Hupdup)\
**Replies:** 0\
**Last updated:** [May 26, 2022, 2:13pm UTC](https://discourse.julialang.org/t/need-help-to-implement-my-loss-function/81724 "2022-05-26T14:13:40Z")

</div>

Hi I want to implement a loss function for the weight-update of the neural network in my Reinforcement learning (DQN) project. The Q Value of the next state should be estimated by my target network (yellow mark) wheras…

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

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