# Specific Domains

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

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

**Page:** 486

---

## [Mux.jl route vs page](https://discourse.julialang.org/t/mux-jl-route-vs-page/27431)

<div class="topic-metadata">

**Author:** [@milesf](https://discourse.julialang.org/u/milesf)\
**Replies:** 1\
**Last updated:** [August 20, 2019, 7:55pm UTC](https://discourse.julialang.org/t/mux-jl-route-vs-page/27431 "2019-08-20T19:55:58Z")

</div>

I am trying to determine best practices for using route versus page, but don’t understand the differences between these two functions. The documentation describes page as being more strict with exact request location ma…

---

## [How to get the current LP bound in an user callback (cplex)?](https://discourse.julialang.org/t/how-to-get-the-current-lp-bound-in-an-user-callback-cplex/27076)

<div class="topic-metadata">

**Author:** [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Replies:** 4\
**Last updated:** [August 20, 2019, 12:14pm UTC](https://discourse.julialang.org/t/how-to-get-the-current-lp-bound-in-an-user-callback-cplex/27076 "2019-08-20T12:14:07Z")

</div>

Dear community, I have a MIP in which I add cuts in a user callback (using JuMP 0.18.5, CPLEX 0.5, MathProgBase 0.7.7). I would like to retrieve the LP bound in the current node of the B&B tree, e.g., by doing something…

---

## [How to plot a surface with Makie by using corner points?](https://discourse.julialang.org/t/how-to-plot-a-surface-with-makie-by-using-corner-points/27707)

<div class="topic-metadata">

**Author:** [@Manu\_Francis](https://discourse.julialang.org/u/Manu_Francis)\
**Replies:** 4\
**Last updated:** [August 20, 2019, 3:28am UTC](https://discourse.julialang.org/t/how-to-plot-a-surface-with-makie-by-using-corner-points/27707 "2019-08-20T03:28:59Z")

</div>

Hi, I have x, y, z corner points of a plane as follows. x = \[-24.576 24.576 24.576 -24.576\] y = \[20.0 20.0 20.0 20.0\] z = \[-24.576 -24.576 24.576 24.576\] I am trying to plot the surface with Makie using following com…

---

## [JuliaML organization and MLJ.jl](https://discourse.julialang.org/t/juliaml-organization-and-mlj-jl/27342)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 5\
**Last updated:** [August 19, 2019, 7:49pm UTC](https://discourse.julialang.org/t/juliaml-organization-and-mlj-jl/27342 "2019-08-19T19:49:43Z")

</div>

I would like to take this opportunity to ask the community about the future of ML in Julia, and how the existing efforts interact. I am particularly interested in understanding to what extent the JuliaML organization and…

---

## [Newbie mathopt question: JuMP declare or restrain a variable to a few integers, not in a row](https://discourse.julialang.org/t/newbie-mathopt-question-jump-declare-or-restrain-a-variable-to-a-few-integers-not-in-a-row/27726)

<div class="topic-metadata">

**Author:** [@bhalonen](https://discourse.julialang.org/u/bhalonen)\
**Replies:** 2\
**Last updated:** [August 19, 2019, 7:17pm UTC](https://discourse.julialang.org/t/newbie-mathopt-question-jump-declare-or-restrain-a-variable-to-a-few-integers-not-in-a-row/27726 "2019-08-19T19:17:39Z")

</div>

I am looking to be able to declare a vector of integer variables and restrain them to 1, 2, 3 … some finite number of non sequential integers. Should I create some roundabout lookup table to interpret sequential integers…

---

## [Array of boxes using Makie and volume](https://discourse.julialang.org/t/array-of-boxes-using-makie-and-volume/27350)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 7\
**Last updated:** [August 19, 2019, 1:48pm UTC](https://discourse.julialang.org/t/array-of-boxes-using-makie-and-volume/27350 "2019-08-19T13:48:54Z")

</div>

Hi, the examples from the Makie documentation show how to build a cube (using volume), but if I try to update the scene with a new one, they overlap. Any ideas on how to solve this. I want to create an array of cubes. u…

---

## [Optim.jl with autodiff and complex numbers](https://discourse.julialang.org/t/optim-jl-with-autodiff-and-complex-numbers/27684)

<div class="topic-metadata">

**Author:** [@Dandan](https://discourse.julialang.org/u/Dandan)\
**Replies:** 8\
**Last updated:** [August 18, 2019, 8:03pm UTC](https://discourse.julialang.org/t/optim-jl-with-autodiff-and-complex-numbers/27684 "2019-08-18T20:03:03Z")

</div>

Hello! I would like to use Optim.jl with the target function defined on a complex Stiefel manifold (unitary matrices) of some large size. Stiefel manifold is already implemented in Optim.jl. The problem is I can’t use …

---

## [Changing the righthand side in a callback](https://discourse.julialang.org/t/changing-the-righthand-side-in-a-callback/27462)

<div class="topic-metadata">

**Author:** [@FHell](https://discourse.julialang.org/u/FHell)\
**Replies:** 6\
**Last updated:** [August 18, 2019, 6:31pm UTC](https://discourse.julialang.org/t/changing-the-righthand-side-in-a-callback/27462 "2019-08-18T18:31:31Z")

</div>

Hi everyone, I am wondering how to correctly change the right hand side inside a DifferentialEquations callback. If I don’t reinit the system runs through but gives wrong results (compared to just running new different…

---

## [Grassman algebras for electromagnetic scattering](https://discourse.julialang.org/t/grassman-algebras-for-electromagnetic-scattering/27681)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 7\
**Last updated:** [August 18, 2019, 2:53pm UTC](https://discourse.julialang.org/t/grassman-algebras-for-electromagnetic-scattering/27681 "2019-08-18T14:53:05Z")

</div>

All of the math you are trying to do here could be simplified by using Grassmann.jl multivectors instead of matrices. It encodes both rotational algebras as well as spacetime geometry, so that matrices are no longer need…

---

## [Custom Flux loss function \`culiteral\_pow()\` error](https://discourse.julialang.org/t/custom-flux-loss-function-culiteral-pow-error/27671)

<div class="topic-metadata">

**Author:** [@jchen975](https://discourse.julialang.org/u/jchen975)\
**Replies:** 2\
**Last updated:** [August 18, 2019, 6:16am UTC](https://discourse.julialang.org/t/custom-flux-loss-function-culiteral-pow-error/27671 "2019-08-18T06:16:27Z")

</div>

Hi, I’m trying to build a MLP for a regression problem. A sample of my data looks like this: x= \\left\[ {\\begin{array}{c} \\hat{m\_1}\\\\ \\vdots \\\\ \\hat{m\_k}\\\\ \\hat{n\_1}\\\\ \\vdots \\\\ \\hat{n\_k}\\\\ P \\…

---

## [Winston on Travis](https://discourse.julialang.org/t/winston-on-travis/27659)

<div class="topic-metadata">

**Author:** [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Replies:** 3\
**Last updated:** [August 17, 2019, 8:02pm UTC](https://discourse.julialang.org/t/winston-on-travis/27659 "2019-08-17T20:02:07Z")

</div>

I am trying to build documentation on Travis with Literate.jl which contains figures made with Winston.jl. Locally everything works great, but when I build stuff on Travis I get precompilation error: value = Failed to p…

---

## [Pkg update downgrade JuMP](https://discourse.julialang.org/t/pkg-update-downgrade-jump/27621)

<div class="topic-metadata">

**Author:** [@remi-garcia](https://discourse.julialang.org/u/remi-garcia)\
**Replies:** 3\
**Last updated:** [August 17, 2019, 3:11pm UTC](https://discourse.julialang.org/t/pkg-update-downgrade-jump/27621 "2019-08-17T15:11:53Z")

</div>

Hi, When I add JuMP and GLPK I get this: (v1.1) pkg\> st Status \`~/.julia/environments/v1.1/Project.toml\` (empty environment) (v1.1) pkg\> add JuMP GLPK Resolving package versions... Updating \`~/.julia/environm…

---

## [Defining the objective using function](https://discourse.julialang.org/t/defining-the-objective-using-function/27633)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 5\
**Last updated:** [August 17, 2019, 2:09pm UTC](https://discourse.julialang.org/t/defining-the-objective-using-function/27633 "2019-08-17T14:09:55Z")

</div>

Dear users, I need to minimize this nonlinear function: f(x1,x2) = 1 + x2^2 - x - sin(x1) with box constraints. How can I do this by using a function, named E-restrito, providing as argument f? My code is: function E…

---

## [How to reconfigure Couenne for Cplex in windows](https://discourse.julialang.org/t/how-to-reconfigure-couenne-for-cplex-in-windows/27581)

<div class="topic-metadata">

**Author:** [@Raminel](https://discourse.julialang.org/u/Raminel)\
**Replies:** 2\
**Last updated:** [August 17, 2019, 2:02pm UTC](https://discourse.julialang.org/t/how-to-reconfigure-couenne-for-cplex-in-windows/27581 "2019-08-17T14:02:54Z")

</div>

Hi all, Can someone tell me how I can “reconfigure and recompile” Couenne to use Cplex for lp solver? I added this to couenne.opt “lp\_solver cplex” and read in teh manual that I need to run the configuration file after…

---

## [Makie on Travis](https://discourse.julialang.org/t/makie-on-travis/27637)

<div class="topic-metadata">

**Author:** [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Replies:** 2\
**Last updated:** [August 17, 2019, 11:34am UTC](https://discourse.julialang.org/t/makie-on-travis/27637 "2019-08-17T11:34:24Z")

</div>

Hello everyone! I am writing documentation for a package which includes animations created with Makie. As I am using Literate.jl it makes sense to generate animations at the time of compiling the document with Documente…

---

## [DAEs and initialization](https://discourse.julialang.org/t/daes-and-initialization/27648)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 1\
**Last updated:** [August 17, 2019, 11:33am UTC](https://discourse.julialang.org/t/daes-and-initialization/27648 "2019-08-17T11:33:07Z")

</div>

I need to use DAE formulation of models, and wonder about the initialization… From the documentation: Question: Does this imply that those differential\_vars which are differential, are assumed to have correct initial…

---

## [GPU simulation time of neural ODE program](https://discourse.julialang.org/t/gpu-simulation-time-of-neural-ode-program/27416)

<div class="topic-metadata">

**Author:** [@JunichiFukui](https://discourse.julialang.org/u/JunichiFukui)\
**Replies:** 8\
**Last updated:** [August 16, 2019, 11:43pm UTC](https://discourse.julialang.org/t/gpu-simulation-time-of-neural-ode-program/27416 "2019-08-16T23:43:45Z")

</div>

Hello, I’m trying to run the following neural ODE program using GPU. If I run the code using GPU (NVIDIA GeForce GTX 1050), the simulation time of Flux.train!(loss\_n\_ode, ps, data, opt, cb = cb) part was much longer tha…

---

## [Type FPFunctionalCache has no field caches error](https://discourse.julialang.org/t/type-fpfunctionalcache-has-no-field-caches-error/27598)

<div class="topic-metadata">

**Author:** [@Farnazmdi](https://discourse.julialang.org/u/Farnazmdi)\
**Replies:** 5\
**Last updated:** [August 16, 2019, 6:42pm UTC](https://discourse.julialang.org/t/type-fpfunctionalcache-has-no-field-caches-error/27598 "2019-08-16T18:42:27Z")

</div>

Hi, I am using BlackBoxOptim and I get this error when I run it. Starting optimization with optimizer DiffEvoOpt{FitPopulation{Float64},RadiusLimitedSelector,BlackBoxOptim.AdaptiveDiffEvoRandBin{3},RandomBound{Continuo…

---

## [CSV in Parallel Error](https://discourse.julialang.org/t/csv-in-parallel-error/27585)

<div class="topic-metadata">

**Author:** [@austinbean](https://discourse.julialang.org/u/austinbean)\
**Replies:** 6\
**Last updated:** [August 16, 2019, 1:12pm UTC](https://discourse.julialang.org/t/csv-in-parallel-error/27585 "2019-08-16T13:12:49Z")

</div>

I have a very large (160 Gb) csv file. I had the idea to do some processing of the file in parallel, but I’m stuck on an error in CSV.jl. What I wanted to do was use CSV.Rows on non-contiguous chunks of the file across…

---

## [Hermitian representation of a matrix](https://discourse.julialang.org/t/hermitian-representation-of-a-matrix/27594)

<div class="topic-metadata">

**Author:** [@darknoob](https://discourse.julialang.org/u/darknoob)\
**Replies:** 5\
**Last updated:** [August 15, 2019, 11:30pm UTC](https://discourse.julialang.org/t/hermitian-representation-of-a-matrix/27594 "2019-08-15T23:30:13Z")

</div>

Hi! I have the following problem: I have done some computations in order to obtain three 4x4-matrices represented as a 12x4-array, aka a span V of 4 linear independet vectors comming from C^12; these 4 vectors build a b…

---

## [Calculating Lyapunov Exponents with ModelingToolkit](https://discourse.julialang.org/t/calculating-lyapunov-exponents-with-modelingtoolkit/26641)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 17\
**Last updated:** [August 14, 2019, 10:49am UTC](https://discourse.julialang.org/t/calculating-lyapunov-exponents-with-modelingtoolkit/26641 "2019-08-14T10:49:52Z")

</div>

Hi all, suggested in this thread here Chaostools tangent\_integrator stiff solvers - #26 by jamblejoe, one could use ModelingToolkit the approach the following scenario. One has a dynamical system defined by n different…

---

## [Bioinformatics.jl - Helper functions for bioinformatics and rosalind.info problems](https://discourse.julialang.org/t/bioinformatics-jl-helper-functions-for-bioinformatics-and-rosalind-info-problems/27506)

<div class="topic-metadata">

**Author:** [@mrtkp9993](https://discourse.julialang.org/u/mrtkp9993)\
**Replies:** 1\
**Last updated:** [August 13, 2019, 9:06pm UTC](https://discourse.julialang.org/t/bioinformatics-jl-helper-functions-for-bioinformatics-and-rosalind-info-problems/27506 "2019-08-13T21:06:51Z")

</div>

https://github.com/mrtkp9993/Bioinformatics.jl

---

## [Discussion: SPIR-V analog to CUDAnative?](https://discourse.julialang.org/t/discussion-spir-v-analog-to-cudanative/27427)

<div class="topic-metadata">

**Author:** [@wsphillips](https://discourse.julialang.org/u/wsphillips)\
**Replies:** 6\
**Last updated:** [August 13, 2019, 5:20pm UTC](https://discourse.julialang.org/t/discussion-spir-v-analog-to-cudanative/27427 "2019-08-13T17:20:13Z")

</div>

Almost certainly this has been thought of, but surprisingly I haven’t been able to find any mention of it on discourse and not really any repos…(although I noticed VulkanCore is perhaps waking up :smiley: ) Has there be…

---

## [Convex.jl: Trouble with partially specified function inside another problem?](https://discourse.julialang.org/t/convex-jl-trouble-with-partially-specified-function-inside-another-problem/26508)

<div class="topic-metadata">

**Author:** [@Jacob\_Stevens-Haas](https://discourse.julialang.org/u/Jacob_Stevens-Haas)\
**Replies:** 5\
**Last updated:** [August 13, 2019, 4:13pm UTC](https://discourse.julialang.org/t/convex-jl-trouble-with-partially-specified-function-inside-another-problem/26508 "2019-08-13T16:13:45Z")

</div>

I’m trying to use a partially defined function as in DCP documentation. I have a minimization problem including convex function that isn’t a disciplined convex function. It’s fenchel conjugate is, however, so I was hop…

---

## [How to add Integer contraint to variables using the @variables macro?](https://discourse.julialang.org/t/how-to-add-integer-contraint-to-variables-using-the-variables-macro/27500)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [August 13, 2019, 3:02pm UTC](https://discourse.julialang.org/t/how-to-add-integer-contraint-to-variables-using-the-variables-macro/27500 "2019-08-13T15:02:49Z")

</div>

To bound a variable to be integer I can use integer=true, e.g. @variable(m, 0 \<= p, integer=true, start=1), but how to do that when I use the @variables macro? I did try as such, but it is not recognised (also base\_name …

---

## [Mux.jl mysterious d() function](https://discourse.julialang.org/t/mux-jl-mysterious-d-function/27436)

<div class="topic-metadata">

**Author:** [@milesf](https://discourse.julialang.org/u/milesf)\
**Replies:** 4\
**Last updated:** [August 13, 2019, 4:45am UTC](https://discourse.julialang.org/t/mux-jl-mysterious-d-function/27436 "2019-08-13T04:45:41Z")

</div>

Where is this d() function defined? I can’t find it in Mux.jl, or HTTP.jl. https://github.com/JuliaWeb/Mux.jl/blob/b8419df8774c0ee14052320d22bab41b653d0c01/src/routing.jl#L19

---

## [ForwardDiff fast construction of vectors/matrices without cats](https://discourse.julialang.org/t/forwarddiff-fast-construction-of-vectors-matrices-without-cats/27468)

<div class="topic-metadata">

**Author:** [@ys3636](https://discourse.julialang.org/u/ys3636)\
**Replies:** 6\
**Last updated:** [August 12, 2019, 9:25pm UTC](https://discourse.julialang.org/t/forwarddiff-fast-construction-of-vectors-matrices-without-cats/27468 "2019-08-12T21:25:21Z")

</div>

Hi, I’m trying to use Optim to do maximum-likelihood estimation of some parameters in a custom likelihood model. In particular, I would like to incorporate autodiff to increase the accuracy of my estimates. However, set…

---

## [Container of PSD variables in JuMP](https://discourse.julialang.org/t/container-of-psd-variables-in-jump/27448)

<div class="topic-metadata">

**Author:** [@nrontsis](https://discourse.julialang.org/u/nrontsis)\
**Replies:** 3\
**Last updated:** [August 12, 2019, 4:02pm UTC](https://discourse.julialang.org/t/container-of-psd-variables-in-jump/27448 "2019-08-12T16:02:21Z")

</div>

What is the best way to create a container of PSD “variables” such that X\[i\] = i-th PSD variable?

---

## [Memory usage seems extremely high in standard Flux, is it any better with Zygote?](https://discourse.julialang.org/t/memory-usage-seems-extremely-high-in-standard-flux-is-it-any-better-with-zygote/27435)

<div class="topic-metadata">

**Author:** [@tue](https://discourse.julialang.org/u/tue)\
**Replies:** 2\
**Last updated:** [August 12, 2019, 7:56am UTC](https://discourse.julialang.org/t/memory-usage-seems-extremely-high-in-standard-flux-is-it-any-better-with-zygote/27435 "2019-08-12T07:56:20Z")

</div>

Hi I’m running some tests on CIFAR10, with a residual CNN, and so far I’m getting very discouraging results for the memory consumption. I’m doing something rather atypical where I regularize each layer of my network sepa…

---

## [Is the ODBC.load function implemented?](https://discourse.julialang.org/t/is-the-odbc-load-function-implemented/27330)

<div class="topic-metadata">

**Author:** [@js135005](https://discourse.julialang.org/u/js135005)\
**Replies:** 3\
**Last updated:** [August 12, 2019, 4:12am UTC](https://discourse.julialang.org/t/is-the-odbc-load-function-implemented/27330 "2019-08-12T04:12:39Z")

</div>

I am trying to load data from a very small dataframe into an MS SQL server database. This is documented in the ODBC.jl documentation, albeit as experimental. However it does not find the load function at all when I try …

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

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