# Questions tagged [matlab]

For questions about solving Operations Research problems using Matlab programming language.

29 questions
Filter by
Sorted by
Tagged with
68 views

### is it possible to improve the solution process of an MILP?

I am trying to optimize a charging station for EVs in matlab with intlinprog, which is connected to a PV-Modul, to an system storage systeme and to the network grid. I am using different Storage ...
• 11
94 views

### Mixed Integer Programming - How to model a term in objective function with a constant multiplied by (1-Decision Variable)

I am solving an optimization problem, where I want to minimize the objective function $$Z = \sum_q \left(D_q \text{fare}_q - \sum_{p \ne q} \Delta D^p_q \text{fare}_q \right) (1-Z_q)$$ Each $q$ is an ...
1 vote
56 views

### Solving stochastic dynamic problem by space state MATLAB program

I have a maximization problem as shown in the picture below. The output has a common shock z that follows a two-state Markov chain with a transition matrix Π. Does anyone know how I would go about ...
• 11
3k views

### Ideal programming language for an operations researcher

No single programming language will meet every need. However, there should be a language that most operations research scientists prefer to master. I have coded different algorithms in Matlab and ...
• 573
508 views

### Transform nonlinear cost function to get LP or MILP

I'm trying to schedule power of multiple prosumers in a microgrid. The problem includes a cost function with min and max ...
• 153
62 views

### Where is the relative gap from cplexbilp?

I am invoking cplexbilp (CPLEX 12.9) from Matlab R2022a. I request all 4 return arguments: ...
• 193
73 views

### Determining the number of nodes within a cycle for an MILP problem

I have a MILP problem that requires knowing the number of nodes within a cycle (there will be multiple depending on inputs). I believe this will involve tracing nodes/values within cycles using the ...
• 21
128 views

• 3,980