# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=535

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

**Page:** 536

---

## [CPLEX - Accessing root node before and after cuts](https://discourse.julialang.org/t/cplex-accessing-root-node-before-and-after-cuts/11650)

<div class="topic-metadata">

**Author:** [@Lefteris\_Manousakis](https://discourse.julialang.org/u/Lefteris_Manousakis)\
**Replies:** 1\
**Last updated:** [June 13, 2018, 8:25pm UTC](https://discourse.julialang.org/t/cplex-accessing-root-node-before-and-after-cuts/11650 "2018-06-13T20:25:58Z")

</div>

Hi! Is there a way to access the value of the root node relaxation of cplex before and after applying the cuts? I would like to measure the effectiveness of cuts at root 0 and how much they can tighten the formulation. T…

---

## [Gradiens of gradients using ReverseDiff](https://discourse.julialang.org/t/gradiens-of-gradients-using-reversediff/11661)

<div class="topic-metadata">

**Author:** [@Goysa2](https://discourse.julialang.org/u/Goysa2)\
**Replies:** 0\
**Last updated:** [June 13, 2018, 7:42pm UTC](https://discourse.julialang.org/t/gradiens-of-gradients-using-reversediff/11661 "2018-06-13T19:42:56Z")

</div>

Hi, This is a duplicate of the issue I created here: https://github.com/JuliaDiff/ReverseDiff.jl/issues/105 I am trying to get Hessian-vector product, without having to explicitly compute the Hessian matrix. I have t…

---

## [ReverseDiff resultst do not fit theory](https://discourse.julialang.org/t/reversediff-resultst-do-not-fit-theory/11549)

<div class="topic-metadata">

**Author:** [@Goysa2](https://discourse.julialang.org/u/Goysa2)\
**Replies:** 6\
**Last updated:** [June 8, 2018, 9:21pm UTC](https://discourse.julialang.org/t/reversediff-resultst-do-not-fit-theory/11549 "2018-06-08T21:21:24Z")

</div>

I have a question concerning ReverseDiff. I am doing some simple benchmarking with different Julia tools for automatic differentiation. In theory (at least what I know of automatic differentiation theory) computing a gra…

---

## [Plot problem](https://discourse.julialang.org/t/plot-problem/11586)

<div class="topic-metadata">

**Author:** [@jcrbloch](https://discourse.julialang.org/u/jcrbloch)\
**Replies:** 5\
**Last updated:** [June 13, 2018, 2:22pm UTC](https://discourse.julialang.org/t/plot-problem/11586 "2018-06-13T14:22:38Z")

</div>

Many of my plots are cut off at the top. For example: pyplot() plot(xlabel=“s”,ylabel=“Re(f)”) plot!(T.s1,T.f1,color=:blue) plot!(T.s2,T.f2,color=:blue) f\_w%3D10|600x450

---

## [Table transformation in JuliaDB or Queryverse or DataFramesMeta?](https://discourse.julialang.org/t/table-transformation-in-juliadb-or-queryverse-or-dataframesmeta/11622)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 5\
**Last updated:** [June 13, 2018, 1:47pm UTC](https://discourse.julialang.org/t/table-transformation-in-juliadb-or-queryverse-or-dataframesmeta/11622 "2018-06-13T13:47:34Z")

</div>

I have been experimenting with different NLopt optimizers on particular examples of models from MixedModels. The current set of results is available at https://github.com/dmbates/MixedModelExamples/blob/master/results/…

---

## [Strange behaviour of @cuprintf?](https://discourse.julialang.org/t/strange-behaviour-of-cuprintf/11635)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 3\
**Last updated:** [June 13, 2018, 12:34pm UTC](https://discourse.julialang.org/t/strange-behaviour-of-cuprintf/11635 "2018-06-13T12:34:24Z")

</div>

I modified the example from the CUDAnative readme as follows. Am I using @cuprintf in the wrong way? function kernel\_vadd(a, b, c) i = (blockIdx().x-1) \* blockDim().x + threadIdx().x @cuprintf("blockx= %d, block…

---

## [Problem with CUDAintrinsic pow: pow(y\[1,1\],2.0)?](https://discourse.julialang.org/t/problem-with-cudaintrinsic-pow-pow-y-1-1-2-0/11637)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 2\
**Last updated:** [June 13, 2018, 12:14pm UTC](https://discourse.julialang.org/t/problem-with-cudaintrinsic-pow-pow-y-1-1-2-0/11637 "2018-06-13T12:14:16Z")

</div>

Hi again, (sorry for all the questions!) I am a bit puzzled that this does not work. I want to use the power function on values in a Matrix. if I uncomment x=1.0, it does work. function kernel(ydepK::CuDeviceMatrix{Fl…

---

## [Beta Distribution - full precision may not have been achieved](https://discourse.julialang.org/t/beta-distribution-full-precision-may-not-have-been-achieved/11621)

<div class="topic-metadata">

**Author:** [@acunningham](https://discourse.julialang.org/u/acunningham)\
**Replies:** 7\
**Last updated:** [June 13, 2018, 10:32am UTC](https://discourse.julialang.org/t/beta-distribution-full-precision-may-not-have-been-achieved/11621 "2018-06-13T10:32:29Z")

</div>

Hi, I’m upgrading my code to use Julia 0.6 and all of the libraries along with and working through the code to fix any deprecation warnings / errors. However, since I update the Distributions library (v0.15.0) I seem t…

---

## [Ipopt infeasibility on travis-ci](https://discourse.julialang.org/t/ipopt-infeasibility-on-travis-ci/11612)

<div class="topic-metadata">

**Author:** [@Libbum](https://discourse.julialang.org/u/Libbum)\
**Replies:** 2\
**Last updated:** [June 13, 2018, 7:55am UTC](https://discourse.julialang.org/t/ipopt-infeasibility-on-travis-ci/11612 "2018-06-13T07:55:09Z")

</div>

Hi everyone. I’m trying to set up tests for a project on Travis which uses JuMP with the Ipopt solver (repo for the project is here). The build steps seem fine as far as I can tell and my tests can run (well, sometimes…

---

## [Solving a quadratic program inside a JuMP model solve](https://discourse.julialang.org/t/solving-a-quadratic-program-inside-a-jump-model-solve/10690)

<div class="topic-metadata">

**Author:** [@shoshievass](https://discourse.julialang.org/u/shoshievass)\
**Replies:** 14\
**Last updated:** [June 13, 2018, 3:06am UTC](https://discourse.julialang.org/t/solving-a-quadratic-program-inside-a-jump-model-solve/10690 "2018-06-13T03:06:37Z")

</div>

I’m trying to solve a two-step optimization problem (to fit a complex econometric model) that requires solving a \[fairly straight forward\] quadratic program (as a function of the parameters of the model) at every iterati…

---

## [Using DataFramesMeta and Lazy in a function](https://discourse.julialang.org/t/using-dataframesmeta-and-lazy-in-a-function/11616)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 0\
**Last updated:** [June 12, 2018, 6:09pm UTC](https://discourse.julialang.org/t/using-dataframesmeta-and-lazy-in-a-function/11616 "2018-06-12T18:09:46Z")

</div>

I’m working with dplyr today and ran into something that annoys me often. If I have a number of operations to do in repeatedly on a dataframe, its useful to put them in a function. However because of R’s lazy evaluation…

---

## [Tensor regression models in Julia](https://discourse.julialang.org/t/tensor-regression-models-in-julia/11601)

<div class="topic-metadata">

**Author:** [@outlace](https://discourse.julialang.org/u/outlace)\
**Replies:** 5\
**Last updated:** [June 12, 2018, 6:21pm UTC](https://discourse.julialang.org/t/tensor-regression-models-in-julia/11601 "2018-06-12T18:21:27Z")

</div>

I’m trying to create a tensor regression model in Julia. I first tried in PyTorch but it was becoming a hassle so thought I’d give Julia a try, and its looking like Julia can’t do it at all (at least in any efficient way…

---

## [Random subsample from a JuliaDB distributed table: no getindex](https://discourse.julialang.org/t/random-subsample-from-a-juliadb-distributed-table-no-getindex/11615)

<div class="topic-metadata">

**Author:** [@ElOceanografo](https://discourse.julialang.org/u/ElOceanografo)\
**Replies:** 0\
**Last updated:** [June 12, 2018, 5:57pm UTC](https://discourse.julialang.org/t/random-subsample-from-a-juliadb-distributed-table-no-getindex/11615 "2018-06-12T17:57:27Z")

</div>

I have a dataset in a JuliaDB distributed table with about 200 million rows. I’d like to take a random subsample from this table to do some quick exploratory plotting and analysis before running the whole thing. This i…

---

## [Plot problem](https://discourse.julialang.org/t/plot-problem/11585)

<div class="topic-metadata">

**Author:** [@jcrbloch](https://discourse.julialang.org/u/jcrbloch)\
**Replies:** 11\
**Last updated:** [June 12, 2018, 4:42pm UTC](https://discourse.julialang.org/t/plot-problem/11585 "2018-06-12T16:42:07Z")

</div>

Many of my plots are cut off at the top. The commands are plot(xlabel="s",ylabel="Re(f)") plot!(T.s1,T.f1,color=:blue) plot!(T.s2,T.f2,color=:blue)

---

## [Offset in scientific notation](https://discourse.julialang.org/t/offset-in-scientific-notation/11613)

<div class="topic-metadata">

**Author:** [@jcrbloch](https://discourse.julialang.org/u/jcrbloch)\
**Replies:** 0\
**Last updated:** [June 12, 2018, 3:59pm UTC](https://discourse.julialang.org/t/offset-in-scientific-notation/11613 "2018-06-12T15:59:58Z")

</div>

Is there a way to specify an offset in the scientific notation of ticks in a plot using Plots and pyplot()? In matplotlib one can do it by giving the useoffset argument in the ticklabel formatting This is quite useful w…

---

## [Julia equivalent of cupy?](https://discourse.julialang.org/t/julia-equivalent-of-cupy/11603)

<div class="topic-metadata">

**Author:** [@Kaiyin\_Zhong](https://discourse.julialang.org/u/Kaiyin_Zhong)\
**Replies:** 1\
**Last updated:** [June 12, 2018, 12:03pm UTC](https://discourse.julialang.org/t/julia-equivalent-of-cupy/11603 "2018-06-12T12:03:12Z")

</div>

Do we have something like this?

---

## [Publication with Julia/JuMP/Spectra: Thanks Julia Ecosystem](https://discourse.julialang.org/t/publication-with-julia-jump-spectra-thanks-julia-ecosystem/2961)

<div class="topic-metadata">

**Author:** [@charlesll](https://discourse.julialang.org/u/charlesll)\
**Replies:** 3\
**Last updated:** [June 11, 2018, 11:03pm UTC](https://discourse.julialang.org/t/publication-with-julia-jump-spectra-thanks-julia-ecosystem/2961 "2018-06-11T23:03:38Z")

</div>

Dear Julia Opt community, I just wanted to share my enthusiasm about one of our new publication in Journal of Non Crystalline Solids (click here for a free version until 8th May or here for the standard Elsevier access)…

---

## [Distributions 0.7 RangeGeneratorInt not defined](https://discourse.julialang.org/t/distributions-0-7-rangegeneratorint-not-defined/11577)

<div class="topic-metadata">

**Author:** [@TAJD](https://discourse.julialang.org/u/TAJD)\
**Replies:** 4\
**Last updated:** [June 11, 2018, 12:33pm UTC](https://discourse.julialang.org/t/distributions-0-7-rangegeneratorint-not-defined/11577 "2018-06-11T12:33:56Z")

</div>

Hi, I’m updating my work to use Julia 0.7 and I come up with this error. I see there have been a few issues raised on the repo for updating Distributions to work with 0.7. What is the current status of Distributions and …

---

## [Zoomable plots in IJulia](https://discourse.julialang.org/t/zoomable-plots-in-ijulia/11523)

<div class="topic-metadata">

**Author:** [@magzpavz](https://discourse.julialang.org/u/magzpavz)\
**Replies:** 3\
**Last updated:** [June 10, 2018, 11:12pm UTC](https://discourse.julialang.org/t/zoomable-plots-in-ijulia/11523 "2018-06-10T23:12:27Z")

</div>

I’ve been using PyPlot for my plotting needs. How can I get interactive (mostly just adjusting axis limits) inline plots in an IJulia notebook? Interact.jl seems like overkill. Thanks!

---

## [Graphs, k-centers and recursion](https://discourse.julialang.org/t/graphs-k-centers-and-recursion/11556)

<div class="topic-metadata">

**Author:** [@JakobPeterlin](https://discourse.julialang.org/u/JakobPeterlin)\
**Replies:** 6\
**Last updated:** [June 10, 2018, 1:19pm UTC](https://discourse.julialang.org/t/graphs-k-centers-and-recursion/11556 "2018-06-10T13:19:21Z")

</div>

Hello! I have been recently trying to improve the performance of the classic brute force algorithm for k-centers in a simple graph. My reasons for this are not really that serious, I was only trying to reach the speed o…

---

## [Creating a collection of ordered tuple](https://discourse.julialang.org/t/creating-a-collection-of-ordered-tuple/11507)

<div class="topic-metadata">

**Author:** [@Sharabh\_Shukla](https://discourse.julialang.org/u/Sharabh_Shukla)\
**Replies:** 1\
**Last updated:** [June 9, 2018, 9:46pm UTC](https://discourse.julialang.org/t/creating-a-collection-of-ordered-tuple/11507 "2018-06-09T21:46:53Z")

</div>

Hi All, I am relatively new to Julia, moving from GAMS and AMPL. I am building a JuMP mode, for Distribution Optimal power Flow. The grid is mostly radial, so I am thinking of creating a collection of order tuples (bra…

---

## [Right syntax @constraintref](https://discourse.julialang.org/t/right-syntax-constraintref/11529)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 3\
**Last updated:** [June 8, 2018, 12:38pm UTC](https://discourse.julialang.org/t/right-syntax-constraintref/11529 "2018-06-08T12:38:26Z")

</div>

I have read the documentation http://www.juliaopt.org/JuMP.jl/0.18/refexpr.html in order to get the right syntax to build a reference to a constraint. It’s like that: @constraintref constraintName\[1:3\] My constraint …

---

## [LP having unbouded and bounded variables](https://discourse.julialang.org/t/lp-having-unbouded-and-bounded-variables/11494)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 3\
**Last updated:** [June 8, 2018, 7:44am UTC](https://discourse.julialang.org/t/lp-having-unbouded-and-bounded-variables/11494 "2018-06-08T07:44:18Z")

</div>

I have been modelling a LP problem with ~ 50k variables. Some of them are bounded, the other ones can take any value, i.e., they are unbounded. I coded the objective function and constraints but at the end, I got this r…

---

## [Stack hierarchical data](https://discourse.julialang.org/t/stack-hierarchical-data/11522)

<div class="topic-metadata">

**Author:** [@pmarg](https://discourse.julialang.org/u/pmarg)\
**Replies:** 0\
**Last updated:** [June 7, 2018, 9:54pm UTC](https://discourse.julialang.org/t/stack-hierarchical-data/11522 "2018-06-07T21:54:28Z")

</div>

Hi, I have some survey data which are organized hierarchically and I would like to transform them into a rectangular dataset. For example using JuliaDB: t = table(\[1,1,1,2,2,2\], \[1,2,2,2,4,5\],\[10,20,10,5,20,10\], names=…

---

## [Expression vs Constraint](https://discourse.julialang.org/t/expression-vs-constraint/11481)

<div class="topic-metadata">

**Author:** [@rawls238](https://discourse.julialang.org/u/rawls238)\
**Replies:** 3\
**Last updated:** [June 6, 2018, 6:56pm UTC](https://discourse.julialang.org/t/expression-vs-constraint/11481 "2018-06-06T18:56:54Z")

</div>

Hi, I’m new to using JuMP and still trying to figure out some of the quirks of JuMP. This may also arise from my ignorance of the underlying methods used by the solvers. I’m using the Ipopt solver and solving a non-line…

---

## [Why JuliaDB.Table?](https://discourse.julialang.org/t/why-juliadb-table/11473)

<div class="topic-metadata">

**Author:** [@jamii](https://discourse.julialang.org/u/jamii)\
**Replies:** 1\
**Last updated:** [June 6, 2018, 6:46pm UTC](https://discourse.julialang.org/t/why-juliadb-table/11473 "2018-06-06T18:46:38Z")

</div>

IIRC the original JuliaDB release only had one datastructure, which was similar to the current JuliaDB.NDSparse. I’m curious why Table was added. Is this a UX thing, or so that they can dispatch differently, or some unde…

---

## [Model/variable copy error in JuMP 0.18](https://discourse.julialang.org/t/model-variable-copy-error-in-jump-0-18/11449)

<div class="topic-metadata">

**Author:** [@chkwon](https://discourse.julialang.org/u/chkwon)\
**Replies:** 3\
**Last updated:** [June 6, 2018, 1:55pm UTC](https://discourse.julialang.org/t/model-variable-copy-error-in-jump-0-18/11449 "2018-06-06T13:55:24Z")

</div>

I created a simple model and tried to copy and modify. using JuMP, Clp m = Model(solver=ClpSolver()) set\_A = \[(1,2), (2,3)\] @variable(m, x\[(i,j) in set\_A\]\>=0) @objective(m, Max, sum(x\[(i,j)\] for (i,j) in set\_A) ) @cons…

---

## [How to add user-defined nonlinear functions as constraints with JuMP?](https://discourse.julialang.org/t/how-to-add-user-defined-nonlinear-functions-as-constraints-with-jump/11436)

<div class="topic-metadata">

**Author:** [@mrapo](https://discourse.julialang.org/u/mrapo)\
**Replies:** 3\
**Last updated:** [June 5, 2018, 8:24pm UTC](https://discourse.julialang.org/t/how-to-add-user-defined-nonlinear-functions-as-constraints-with-jump/11436 "2018-06-05T20:24:37Z")

</div>

Is it possible to add user-defined nonlinear functions as constraints in JuMP? I couldn’t find any documentation about a case like this nor any examples where someone would have done this. I mean something like this: J…

---

## [Does \`overwrite\_figure=true\` have any effect in notebook using Plots/GR?](https://discourse.julialang.org/t/does-overwrite-figure-true-have-any-effect-in-notebook-using-plots-gr/11458)

<div class="topic-metadata">

**Author:** [@ronubi](https://discourse.julialang.org/u/ronubi)\
**Replies:** 0\
**Last updated:** [June 6, 2018, 12:49am UTC](https://discourse.julialang.org/t/does-overwrite-figure-true-have-any-effect-in-notebook-using-plots-gr/11458 "2018-06-06T00:49:01Z")

</div>

I read somewhere that if I set the Plots attribute overwrite\_figure=true, the previous plot would not visibly erase (and the Jupyter notebook cell output would remain in position) so that I could get an animation-like ef…

---

## [Plots: title -- what if I have subplots?](https://discourse.julialang.org/t/plots-title-what-if-i-have-subplots/10838)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [June 5, 2018, 2:05pm UTC](https://discourse.julialang.org/t/plots-title-what-if-i-have-subplots/10838 "2018-06-05T14:05:49Z")

</div>

Using Plots: if I have subplots, a title is applied to the subplot. Is there a “supertitle” that is applied for the entire plot, and not for the various subplots?

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=534)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=536)
