julia-jump Questions

1

I'm trying to use Xpress solver in Julia-Jump. However, I have trouble to make Julia find the location of my Xpress installation. I'm using a Mac. I downloaded the Xpress, obtained license, put the...
Semester asked 20/7, 2023 at 19:20

2

Is it possible to use vectorized variables with user-defined objective functions in JuMP for Julia? Like so, model = Model(GLPK.Optimizer) A = [ 1 1 9 5 3 5 0 8 2 0 6 13 ] b = [7; 3; 5] c = [...
Fleuron asked 22/1, 2022 at 21:33

3

Solved

I am new to Julia, and I am trying to define an optimization problem with JuMP. I have a lot of variables (x1,x2,x3....) that I am trying to define using a for loop. I want to have the code: @vari...
Katharynkathe asked 4/8, 2015 at 14:46

1

Solved

I need to fit two curves(which both should belong to cubic functions) into a set of points with JuMP. I've done fitting one curve, but I'm struggling at fitting 2 curves into same dataset. I thou...

0

using JuMP, Cbc model = Model(with_optimizer(Cbc.Optimizer, seconds= (20 * 60), ratioGap = 0.10)); @variable(model, x[1:5], Bin); @constraint(model, c1[i in 1:4], x[i] == 0 ) @constraint(model, ...
Palladous asked 16/12, 2019 at 17:29

1

I wrote a program to solve a linear program in Julia using GLPKMathProgInterface and JuMP. The Julia code is being called by python program which runs multiple instances of the Juila code through m...
Fleecy asked 3/4, 2018 at 16:45

1

I am trying to duplicate a code in Julia using Jupyter Notebook. and getting the error MethodError: objects of type Module are not callable What am i missing here? using JuMP, Clp m=Model(so...
Gramme asked 12/6, 2017 at 4:9

1

I have a Mixed Integer Programming problem. I can use JuMP to find the optimal solution. But how can I find the second best solution? Or the third-best etc. This potentially might be another equal...

3

Solved

I was wondering if there is a nice way (preferably using JuMP) to get all optimal solutions of a linear program (in case there are multiple optimal solutions). An example minimize the statistica...
Romans asked 2/4, 2016 at 18:3

1

Solved

I am trying to rewrite a Matlab fmincon optimization function in Julia. Here is the Matlab code: function [x,fval] = example3() x0 = [0; 0; 0; 0; 0; 0; 0; 0]; A = []; b = []; Ae = [1000 1...
Clock asked 20/1, 2016 at 11:0
1

© 2022 - 2024 — McMap. All rights reserved.