Community Profile

# bus14

23 2019 年以降の合計貢献数

#### bus14's バッジ

automatically filling a matrix
Hi community, n=200; i=3; j=6; I want to create a matrix which fills a matrix of (n*j) x j and has in the first column -1 f...

### 1

creating a large matrix with a pattern
Hi, I would like to create a 800x200 matrix which looks like: 1 0 0 0 0 0 0 0 0 0 ...

### 2

filling a matrix with a loop
Hi community, I want to create a large matrix 400x400, In this matrix I want it to have the form A= [1 1 0 1 0000000000000000...

### 4

unbounded problem in linprog but not in fmincon
HI, I am running an optimization problem. It is just a linear problem. Which is why I used linprog to solve it. However, whe...

### 2

fmincon unidentified variable in objective function
Hi, I am running a fmincon code to optimize a function. However in my objective function an error occurs that says I have a unde...

### 1

Undefined function 'symsum' for input arguments of type 'double'.
Hi, I am getting the error Undefined function 'symsum' for input arguments of type 'double'. Error in LoopsumQ2 (line 40) T=...

### 0

Changing decision variables in linprog
Hi! I am fixing an optimization problem and have a new situation in which I have 2 decision variables that are different for ev...

### 0

finding value of x in linprog
Hi community, In my linprog to find an optimal value of x. I got an error that my x was undefined. However, This x should be fou...

### 0

linprog in a for loop
Hi community, I am trying to optimize a functin for a finite set of scenarios using linprog. I am however not certain if I can b...

### 0

for loop adding numbers on left side of equal sign
I think we misunderstand each other. What I mean is, that ideally I want to run the program and as an output obtain two 'colums'...

for loop adding numbers on left side of equal sign
Hi, I want to make a for loop which iterates the the values of my prob function. Ideally I want to the loop to do for [89-105] t...

### 2

problem linking values in loop with symsum
Hi community, I have a normal distribution with mu=100 and sd=10. I also made a table for this function to compare its values...

### 0

lin prog optimization with recourse function.
Hi community, I have a problem with constructing the right code. Where I first want to minimize a code using linprog to find val...

### 0

linprog optimization of two functions
Hi community, I am trying to minimize a two stage function in which first value is computed on the bases of X & D and this valu...

### 0

error in fmincon code
Hi community, I am busy optimizing a function in fmincon, I think I have all parameters set up correctly. However I get an err...

### 1

two-stage modelling making expectation
Hi community, I am busy modelling a two-stage optimization problem. In this first stage, I have to make an expectation of the ...

### 0

normally distributed demand data
Hi community, I would like to make a normal random distribution for a demand set in Matlab with a range from [0 100]. However,...

### 1

expectation of random numbers
Hi community, I want to make an expectation of the next value to come with respect to a probability distribution function of my...

### 1

Difficulty in defining Aeq in linprog
Hi community, As I am now scaling up the problem with having two values for Z and 4 values of Y the dimensional problem become...

### 0

optimizing linprog 2 variables with different dimensions
Hi community, my function to optimize is min (l-q).'*z-s.'*y in which .' indicates the transpose. the constraints for this f...

### 1

fmincon or linprog use in minimization?
thank you a lot, so linprog is indeed the one to use as my objective function is a linear function.

fmincon or linprog use in minimization?
for the first instance my goal is to let the optimization problem work with the following values for x,A,l,q L=[0.25] Q=[2 ] ...

fmincon or linprog use in minimization?
Hi community, As I am busy trying to optimize the function I encouter quite some difficulties. As I am not certain which opti...