# bus14

**Statistics**

RANK**253 743**

of 265 301

REPUTATION**0**

CONTRIBUTIONS

**20** Questions

**3** Answers

ANSWER ACCEPTANCE **
55.0%
**

VOTES RECEIVED**0**

RANK

of 18 130

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 116 591

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

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...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

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 ...

mer än 3 år ago | 2 answers | 0

### 2

answersQuestion

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...

mer än 3 år ago | 4 answers | 0

### 4

answersQuestion

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...

mer än 3 år ago | 2 answers | 0

### 2

answersQuestion

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...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

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=...

mer än 3 år ago | 0 answers | 0

### 0

answersQuestion

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...

mer än 3 år ago | 0 answers | 0

### 0

answersQuestion

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...

mer än 3 år ago | 0 answers | 0

### 0

answersQuestion

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...

mer än 3 år ago | 0 answers | 0

### 0

answersfor 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'...

mer än 3 år ago | 0

Question

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...

mer än 3 år ago | 2 answers | 0

### 2

answersQuestion

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...

mer än 3 år ago | 0 answers | 0

### 0

answersQuestion

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...

mer än 3 år ago | 0 answers | 0

### 0

answersQuestion

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...

mer än 3 år ago | 0 answers | 0

### 0

answersQuestion

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...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

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 ...

mer än 3 år ago | 0 answers | 0

### 0

answersQuestion

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,...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

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...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

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...

mer än 3 år ago | 0 answers | 0

### 0

answersQuestion

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...

mer än 3 år ago | 1 answer | 0

### 1

answerfmincon 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.

mer än 3 år ago | 0

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 ] ...

mer än 3 år ago | 0

Question

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...

mer än 3 år ago | 3 answers | 0