# Specific Domains

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

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

**Page:** 477

---

## [Automatic differentiation of complex valued functions](https://discourse.julialang.org/t/automatic-differentiation-of-complex-valued-functions/30263)

<div class="topic-metadata">

**Author:** [@jtravs](https://discourse.julialang.org/u/jtravs)\
**Replies:** 30\
**Last updated:** [November 1, 2019, 8:44am UTC](https://discourse.julialang.org/t/automatic-differentiation-of-complex-valued-functions/30263 "2019-11-01T08:44:17Z")

</div>

Does anyone know if a Julia automatic differentiation package that supports complex valued functions (with real argument)? I have been using ForwardDiff.jl but it is missing this functionality: https://github.com/JuliaD…

---

## [Precompiling Turing package failing](https://discourse.julialang.org/t/precompiling-turing-package-failing/30485)

<div class="topic-metadata">

**Author:** [@wattsmo](https://discourse.julialang.org/u/wattsmo)\
**Replies:** 5\
**Last updated:** [November 1, 2019, 7:52am UTC](https://discourse.julialang.org/t/precompiling-turing-package-failing/30485 "2019-11-01T07:52:26Z")

</div>

I have been trying to use the Turing.jl package, MacOS v10.15, I successfully added the package Turing v0.7.0, with dependent packages Zygote v0.3.0, IRTools v0.3.0 but when executing: using Turing I get precompile …

---

## [Implement an MPS-based MOI solver](https://discourse.julialang.org/t/implement-an-mps-based-moi-solver/29218)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 7\
**Last updated:** [October 31, 2019, 12:55pm UTC](https://discourse.julialang.org/t/implement-an-mps-based-moi-solver/29218 "2019-10-31T12:55:44Z")

</div>

I want to implement an MPS-based solver interface. The actual solver is on a server and I have to send an MPS file, get the solution back and update the JuMP model with the solution. Are there any existing packages tha…

---

## [SCIP gap limit](https://discourse.julialang.org/t/scip-gap-limit/30511)

<div class="topic-metadata">

**Author:** [@Raminel](https://discourse.julialang.org/u/Raminel)\
**Replies:** 7\
**Last updated:** [October 31, 2019, 11:43am UTC](https://discourse.julialang.org/t/scip-gap-limit/30511 "2019-10-31T11:43:46Z")

</div>

Hi all, I am using SCIP optimizer and do not know how to adjust the gab limit. using SCIP m = Model(with\_optimizer(SCIP.Optimizer)) if I follow the guide for SCIP.jl I would need MIO.set and it seems but this package…

---

## [CDDLibrary not defined](https://discourse.julialang.org/t/cddlibrary-not-defined/30512)

<div class="topic-metadata">

**Author:** [@squirrel](https://discourse.julialang.org/u/squirrel)\
**Replies:** 1\
**Last updated:** [October 30, 2019, 7:48pm UTC](https://discourse.julialang.org/t/cddlibrary-not-defined/30512 "2019-10-30T19:48:18Z")

</div>

The packages were installed. Why is this telling me CDDLibrary is not defined? using Pkg Pkg.add("Polyhedra") Pkg.add("CDDLib") using CDDLib polyf = polyhedron(hrep, CDDLibrary())

---

## [For syntax in @constraints](https://discourse.julialang.org/t/for-syntax-in-constraints/30483)

<div class="topic-metadata">

**Author:** [@leclere](https://discourse.julialang.org/u/leclere)\
**Replies:** 1\
**Last updated:** [October 30, 2019, 1:28pm UTC](https://discourse.julialang.org/t/for-syntax-in-constraints/30483 "2019-10-30T13:28:48Z")

</div>

Hi! I am looking for the most elegant way of adding multiple constraints (e.g. with a for loop) in a JuMP model. For example I would like to be able to write : using JuMP m = Model() @variable(m,x\[1:5\]) @constraints(…

---

## [We can write an optimized BLAS library in pure Julia (please skip OP and jump to post 4)](https://discourse.julialang.org/t/we-can-write-an-optimized-blas-library-in-pure-julia-please-skip-op-and-jump-to-post-4/11634)

<div class="topic-metadata">

**Author:** [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Replies:** 17\
**Last updated:** [October 30, 2019, 9:46am UTC](https://discourse.julialang.org/t/we-can-write-an-optimized-blas-library-in-pure-julia-please-skip-op-and-jump-to-post-4/11634 "2019-10-30T09:46:31Z")

</div>

There’s a readme with a lot of output dumped on it here: https://github.com/chriselrod/TriangularMatrices.jl But the highlights are that, I found an fairly optimal “compute kernel” (at least for my architecture on Jul…

---

## [ApproxFun.jl Convolution/Fourier Multiplier](https://discourse.julialang.org/t/approxfun-jl-convolution-fourier-multiplier/30280)

<div class="topic-metadata">

**Author:** [@cpross90](https://discourse.julialang.org/u/cpross90)\
**Replies:** 11\
**Last updated:** [October 30, 2019, 7:20am UTC](https://discourse.julialang.org/t/approxfun-jl-convolution-fourier-multiplier/30280 "2019-10-30T07:20:16Z")

</div>

I’m trying to implement a solver for the Benjamin-Ono equation using DifferentialEquations.jl. I have periodic boundary conditions, so I’m using ApproxFun.jl to take the Fourier transform and use the method of lines to s…

---

## [Newbie Question: Julia optimization multiprocessing](https://discourse.julialang.org/t/newbie-question-julia-optimization-multiprocessing/1686)

<div class="topic-metadata">

**Author:** [@Jason](https://discourse.julialang.org/u/Jason)\
**Replies:** 10\
**Last updated:** [October 30, 2019, 1:12am UTC](https://discourse.julialang.org/t/newbie-question-julia-optimization-multiprocessing/1686 "2019-10-30T01:12:17Z")

</div>

Hi, I’m trying to figure out whether Julia is a good language for a project I’m undertaking. One thing I’ll need to do is optimize a complex statistical function (Hidden Markov / CRF related) involving potentially 12K p…

---

## [3D variable in JuMP](https://discourse.julialang.org/t/3d-variable-in-jump/30416)

<div class="topic-metadata">

**Author:** [@g001234](https://discourse.julialang.org/u/g001234)\
**Replies:** 4\
**Last updated:** [October 29, 2019, 11:45pm UTC](https://discourse.julialang.org/t/3d-variable-in-jump/30416 "2019-10-29T23:45:04Z")

</div>

I am working on a convex optimization problem that needs to define several (e.g. 5) symmetric matrices as variables. I was wondering if it is possible to define those variables with a single line like @variable(m, x(N,N,…

---

## [Save the date: 4th annual JuMP-dev](https://discourse.julialang.org/t/save-the-date-4th-annual-jump-dev/30465)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 10:20pm UTC](https://discourse.julialang.org/t/save-the-date-4th-annual-jump-dev/30465 "2019-10-29T22:20:37Z")

</div>

Dear all, We are pleased to announce that the 4th annual JuMP-dev workshop will be held June 15-17 2020 in Louvain-la-Neuve, Belgium, in conjunction with UCLouvain. Further details, including a call for speakers, will …

---

## [Getting error while using CurricularAnalytics](https://discourse.julialang.org/t/getting-error-while-using-curricularanalytics/30389)

<div class="topic-metadata">

**Author:** [@Gaurav\_Sharma](https://discourse.julialang.org/u/Gaurav_Sharma)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 6:55pm UTC](https://discourse.julialang.org/t/getting-error-while-using-curricularanalytics/30389 "2019-10-29T18:55:43Z")

</div>

Version of Julia: “1.3.0-rc4.1” CurricularAnalytics v0.6.0 “”" import Pkg Pkg.add(“CurricularAnalytics”) using CurricularAnalytics Info: Precompiling CurricularAnalytics \[593ffa3d-269e-5d81-88bc-c3b6809c35a6\] └ @ …

---

## [Problem with the positivedefinitivenesse of a kernel matrix](https://discourse.julialang.org/t/problem-with-the-positivedefinitivenesse-of-a-kernel-matrix/28976)

<div class="topic-metadata">

**Author:** [@Ujku\_KU](https://discourse.julialang.org/u/Ujku_KU)\
**Replies:** 8\
**Last updated:** [October 29, 2019, 2:37pm UTC](https://discourse.julialang.org/t/problem-with-the-positivedefinitivenesse-of-a-kernel-matrix/28976 "2019-10-29T14:37:51Z")

</div>

Hi guys, I am trying to generate a positive definite kernel matrix. Below is the minimalistic code: julia\> using MultivariateStats, ForwardDiff, StatsBase, MLKernels, LinearAlgebra, Optim, Plots, Distributions, Forwar…

---

## [JuMP macro @constraint where variable is in a finite set](https://discourse.julialang.org/t/jump-macro-constraint-where-variable-is-in-a-finite-set/30417)

<div class="topic-metadata">

**Author:** [@dadada\_dadada](https://discourse.julialang.org/u/dadada_dadada)\
**Replies:** 1\
**Last updated:** [October 28, 2019, 8:23pm UTC](https://discourse.julialang.org/t/jump-macro-constraint-where-variable-is-in-a-finite-set/30417 "2019-10-28T20:23:02Z")

</div>

Is it possible? I’m trying to solve a very simple optimization problem with IPOPT where the variables are binary. But it seems that IPOPT doesn’t support Bin variables, only continuous ones. Would it be possible to cre…

---

## [(Interval) subset optimization with JuMP](https://discourse.julialang.org/t/interval-subset-optimization-with-jump/30415)

<div class="topic-metadata">

**Author:** [@joemiller](https://discourse.julialang.org/u/joemiller)\
**Replies:** 2\
**Last updated:** [October 28, 2019, 7:50pm UTC](https://discourse.julialang.org/t/interval-subset-optimization-with-jump/30415 "2019-10-28T19:50:01Z")

</div>

Hey everyone. I’m trying to figure out how to use JuMP to optimize a function of a slice of data over the left and right endpoints for the range. I’ve never used JuMP before so I’m piecing this together from tutorials a…

---

## [NCP-function implementation (ifelse)](https://discourse.julialang.org/t/ncp-function-implementation-ifelse/30411)

<div class="topic-metadata">

**Author:** [@SingingKim](https://discourse.julialang.org/u/SingingKim)\
**Replies:** 3\
**Last updated:** [October 28, 2019, 7:28pm UTC](https://discourse.julialang.org/t/ncp-function-implementation-ifelse/30411 "2019-10-28T19:28:46Z")

</div>

Hi, I’m trying to implement a model with constraints based on an NCP-function (continuous & differentiable) and put it into an NLP solver such as IPOPT: @constraint(m, f(x,y) \<= 0) where f(x,y) := xy if …

---

## [Optim.jl: bracketing with Newton()](https://discourse.julialang.org/t/optim-jl-bracketing-with-newton/30332)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 9\
**Last updated:** [October 28, 2019, 2:54pm UTC](https://discourse.julialang.org/t/optim-jl-bracketing-with-newton/30332 "2019-10-28T14:54:20Z")

</div>

Is it possible to use Newton() methods with limiting some variables? Like FMinbox?

---

## [Extract alignments from BAM and associated FASTA reference genome](https://discourse.julialang.org/t/extract-alignments-from-bam-and-associated-fasta-reference-genome/30294)

<div class="topic-metadata">

**Author:** [@Gio](https://discourse.julialang.org/u/Gio)\
**Replies:** 2\
**Last updated:** [October 28, 2019, 11:49am UTC](https://discourse.julialang.org/t/extract-alignments-from-bam-and-associated-fasta-reference-genome/30294 "2019-10-28T11:49:10Z")

</div>

Hello everybody, I’m new to Julia/BioJulia but I’m already appreciating some features of both the language and the Bio libraries (really nice work!). I’m currently trying to do simple stuff to get acquainted with the Bi…

---

## [Fast calculation of eigenvalues](https://discourse.julialang.org/t/fast-calculation-of-eigenvalues/30359)

<div class="topic-metadata">

**Author:** [@FujiwaraTakumiEH](https://discourse.julialang.org/u/FujiwaraTakumiEH)\
**Replies:** 6\
**Last updated:** [October 28, 2019, 1:24am UTC](https://discourse.julialang.org/t/fast-calculation-of-eigenvalues/30359 "2019-10-28T01:24:10Z")

</div>

Background: Now I have a symmetric matrix A. I need to find the first n eigenvalues and eigenvectors. (I have not actually started to write code, but in the algorithm process I observed the need to solve the eigenvalues …

---

## [Quadratic Expression](https://discourse.julialang.org/t/quadratic-expression/30337)

<div class="topic-metadata">

**Author:** [@Nikos-Atzarakis](https://discourse.julialang.org/u/Nikos-Atzarakis)\
**Replies:** 2\
**Last updated:** [October 27, 2019, 12:49pm UTC](https://discourse.julialang.org/t/quadratic-expression/30337 "2019-10-27T12:49:46Z")

</div>

Hi, I’m trying to create a quadratic expression using a variable attached in model m : using JuMP using Ipopt m= Model(with\_optimizer(Ipopt.Optimizer)) @variables m begin u\[1:(time\_lapses)\*2,1:number\_of\_players\] …

---

## [Example of Login to SAML/Shibboleth authenticated site?](https://discourse.julialang.org/t/example-of-login-to-saml-shibboleth-authenticated-site/30361)

<div class="topic-metadata">

**Author:** [@robertfeldt](https://discourse.julialang.org/u/robertfeldt)\
**Replies:** 1\
**Last updated:** [October 27, 2019, 12:39pm UTC](https://discourse.julialang.org/t/example-of-login-to-saml-shibboleth-authenticated-site/30361 "2019-10-27T12:39:29Z")

</div>

Anyone has been able to (programmatically) authenticate via SAML/Shibboleth from/with Julia? I’m successfully scraping information from a site but to get all the information I need they require single-sign on via a SAML/…

---

## [Monte Carlo Simulation for Investment Portfolio Earnings](https://discourse.julialang.org/t/monte-carlo-simulation-for-investment-portfolio-earnings/30354)

<div class="topic-metadata">

**Author:** [@Nigel\_Adams](https://discourse.julialang.org/u/Nigel_Adams)\
**Replies:** 0\
**Last updated:** [October 27, 2019, 5:07am UTC](https://discourse.julialang.org/t/monte-carlo-simulation-for-investment-portfolio-earnings/30354 "2019-10-27T05:07:47Z")

</div>

In case anyone is interested in Monte Carlo finance experiments this might be of interest. In this blog post we use Julia to simulate the growth of an investment portfolio using Geometric Brownian motion (GBM). I hope…

---

## [Extend Axes](https://discourse.julialang.org/t/extend-axes/30340)

<div class="topic-metadata">

**Author:** [@squirrel](https://discourse.julialang.org/u/squirrel)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 6:47pm UTC](https://discourse.julialang.org/t/extend-axes/30340 "2019-10-26T18:47:32Z")

</div>

Hi. I have a function I want to graph whose domain is only 0 to infinity, but I want the plot to show the negative x axis, too. How do I tell it to do this? Right now I have: using Plots x(u) = u y(u) = sqrt(u) y2(u…

---

## [How to add metadata info to a DataFrame?](https://discourse.julialang.org/t/how-to-add-metadata-info-to-a-dataframe/11168)

<div class="topic-metadata">

**Author:** [@gcalderone](https://discourse.julialang.org/u/gcalderone)\
**Replies:** 96\
**Last updated:** [October 26, 2019, 2:57am UTC](https://discourse.julialang.org/t/how-to-add-metadata-info-to-a-dataframe/11168 "2019-10-26T02:57:26Z")

</div>

Storing both data and metadata in the same object or container is a very common approach in many research fields, and it has proven to be very successful in (for instance) astronomy where a few standards had been officia…

---

## [The objective function \`Val{false}()\` is not supported by JuMP](https://discourse.julialang.org/t/the-objective-function-val-false-is-not-supported-by-jump/30296)

<div class="topic-metadata">

**Author:** [@NextMyth](https://discourse.julialang.org/u/NextMyth)\
**Replies:** 2\
**Last updated:** [October 25, 2019, 10:03pm UTC](https://discourse.julialang.org/t/the-objective-function-val-false-is-not-supported-by-jump/30296 "2019-10-25T22:03:39Z")

</div>

Hi, I am trying to build a NHL DFS lineup optimizer using code found at https://github.com/dscotthunter/Fantasy-Hockey-IP-Code/blob/master/code\_for\_Github.jl which needs updated for the current version of JuMP. I’m very …

---

## [\[DIP\] K-means and Super pixels](https://discourse.julialang.org/t/dip-k-means-and-super-pixels/30243)

<div class="topic-metadata">

**Author:** [@apattyn](https://discourse.julialang.org/u/apattyn)\
**Replies:** 4\
**Last updated:** [October 25, 2019, 9:30pm UTC](https://discourse.julialang.org/t/dip-k-means-and-super-pixels/30243 "2019-10-25T21:30:32Z")

</div>

Hey everyone. I saw julia has the libraries Clustering.jl and ImageSegmentation.jl for data segmentation. I was mainly looking to do some grayscale image segmentation and I am not seeing k-means for images (e.g. K-means …

---

## [Tables.jl win!](https://discourse.julialang.org/t/tables-jl-win/30312)

<div class="topic-metadata">

**Author:** [@jkbest2](https://discourse.julialang.org/u/jkbest2)\
**Replies:** 0\
**Last updated:** [October 25, 2019, 5:45pm UTC](https://discourse.julialang.org/t/tables-jl-win/30312 "2019-10-25T17:45:48Z")

</div>

One of my projects (originally written in the v0.6 days) generates a Vector of structs as its output. In the past I would’ve converted it to a DataFrame or similar with a lot of getfield broadcasts, but I was delighted t…

---

## [Strange bug when truncating BigFloat to UInt8](https://discourse.julialang.org/t/strange-bug-when-truncating-bigfloat-to-uint8/30301)

<div class="topic-metadata">

**Author:** [@gmouts](https://discourse.julialang.org/u/gmouts)\
**Replies:** 11\
**Last updated:** [October 25, 2019, 3:11pm UTC](https://discourse.julialang.org/t/strange-bug-when-truncating-bigfloat-to-uint8/30301 "2019-10-25T15:11:18Z")

</div>

I am playing a bit with ridiculously big floating point numbers. The following: setprecision(8640) tf = BigFloat(255.11254081778609618826079023493869737962406296545795414517402744704859236140966993143901247046399018605…

---

## [How to graphically solve a problem?](https://discourse.julialang.org/t/how-to-graphically-solve-a-problem/30231)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 9:53am UTC](https://discourse.julialang.org/t/how-to-graphically-solve-a-problem/30231 "2019-10-25T09:53:59Z")

</div>

Is it possible to get the graphical solution of the x1 and x2 result of this problem using the Pyplot package? using JuMP, Cbc using PyPlot Test1 = Model(solver = CbcSolver()) @variable(Test1, x1 \>= 0) @variable(Test…

---

## [Plan of a gallery of fractal-related pattern animations with JuliaLang](https://discourse.julialang.org/t/plan-of-a-gallery-of-fractal-related-pattern-animations-with-julialang/30282)

<div class="topic-metadata">

**Author:** [@HaoLi111](https://discourse.julialang.org/u/HaoLi111)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 3:48am UTC](https://discourse.julialang.org/t/plan-of-a-gallery-of-fractal-related-pattern-animations-with-julialang/30282 "2019-10-25T03:48:54Z")

</div>

With JuliaLang’s fast computing and plotting ecosystems, I decide to render some fractal patterns, and at first I tried some pedestrian example in larger scales, and tried to customize with my own taste in aesthetics. G…

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

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