Skip to main content

Questions tagged [julia]

For questions about solving Operations Research problems using the Julia programming language.

2 votes
1 answer
38 views

How to generate random bounded polytope by MATLAB defined by Ax=b, x≥0

How can one create a random bounded polytope in MATLAB, specified by the conditions $‎\lbrace‎x:~ Ax = b,~ x \geq 0‎\rbrace‎$
Optimization Online's user avatar
2 votes
0 answers
52 views

Parameter Tuning Tool in Gurobi using Julia

I need to solve a hard MIP model using Gurobi. There is a tool to set the best parameters combination to solve this problem called "Parameter Tunning". How can I find parameter tuning using ...
Angelo Aliano Filho's user avatar
0 votes
1 answer
46 views

Are quadratic multi-stage optimization problems with quadratic constraints solvable by stochastic dual dynamic programming and SDDP.jl?

I have a program with quadratic objective and constraints, and wanna utilize sddp.jl package in julia for solution.
Engr. Moiz Ahmad's user avatar
0 votes
1 answer
48 views

How can I handle a constraint on a terminal state variable while avoiding infeasibility during SDDP.jl training process?

I want to solve a multi-stage optimization problem using SDDP.jl in which I am having hard time using constraints on state variables at the termination.
Engr. Moiz Ahmad's user avatar
0 votes
1 answer
35 views

At the start of the execution of SDDP.jl, when there is no value approximation & terminal states available, what cost-to-go estimation is used?

I am using SDDP.jl for my research and want to know that at the very start of the execution, when there is no value function initialization and terminal state (for backward recursion), how cost-to-go ...
Engr. Moiz Ahmad's user avatar
0 votes
1 answer
29 views

How do I convert an SDDP.State object into a number or tuple in SDDP.jl?

I want to collect evaluation data and for it I need to collect data in numbers not SDDP.state objects, so how can I do that in SDDP.jl.
Engr. Moiz Ahmad's user avatar
2 votes
1 answer
57 views

Can I use continuous probability distributions when creating an SDDP.jl model?

I am using SDDP.jl for my research project and want to use continuous distribution, can I do so?
Engr. Moiz Ahmad's user avatar
0 votes
1 answer
41 views

How can I write the output stream of SDDP.jl into an excel file?

I am using SDDP.jl for my research project in which I am developing a state-of-the-art actor critic algorithm which I am going to benchmark with SDDP but for it I need to plot graphs which require ...
Engr. Moiz Ahmad's user avatar
5 votes
3 answers
217 views

Randomly constructing a bounded ellipsoid

In a project, I am working with constraints of the following type $$ \frac{1}{2}{x}^\top Q x + q^\top x + q_0 \leq 0 $$ where I randomly generate the data by (randn...
independentvariable's user avatar
-1 votes
1 answer
75 views

How to set an objective to minimize the variance in ratio of allocation

I am trying to write a model where I have to distribute fractions of rent from properties to loans. The objective is to distribute the rents as equally as possible given the loan balance. Say there ...
Ashok Khatri's user avatar
1 vote
2 answers
442 views

Is there a way to obtain coefficient matrix A and RHS b of constraints equation from cplex or guribi in python?

I have a non-linear program, minimizing sum of concave functions subject to linear constraints. Hence I'm using a different solver(in Julia). However, that solver assumes we have constraints in $Ax \...
Meet Saiya's user avatar
3 votes
1 answer
150 views

How to remove a callback that was previously registered in Julia?

I'm coding in Julia, how can I do the same as "Remove(Cplex.Callback)" function does in C++ ?
Brown's user avatar
  • 173
5 votes
4 answers
515 views

What are the key pros and cons to mention when asked why one prefer Julia over Python in OR-research-industry interviews and vice-versa?

I want to apply for a position after my PhD in an industrial laboratory that does research in OR. They stipulate that they want either Python or Julia programming languages. Since my Bachelor's ...
JKHA's user avatar
  • 741
3 votes
1 answer
241 views

Reoptimization with GLPK in Julia/JuMP

I've been looking everywhere, and I can't seem to find any information on whether GLPK can do successive optimizations on the same model, on which we add a constraint at each iteration. More ...
Breizhen's user avatar
2 votes
1 answer
76 views

How to get the fractional solution of a node in a MIP model using JuMP package?

I'm coding in Julia and use the JuMP package. My IP solver stops by a fixed node limitation. I noticed that I can only get the feasible primal and dual solution if has any, however I would like to get ...
Brown's user avatar
  • 173

15 30 50 per page