photo

bus14


Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

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 5 år ago | 1 answer | 0

1

answer

Question


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 5 år ago | 2 answers | 0

2

answers

Question


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 5 år ago | 4 answers | 0

4

answers

Question


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 5 år ago | 2 answers | 0

2

answers

Question


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 5 år ago | 1 answer | 0

1

answer

Question


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 5 år ago | 0 answers | 0

0

answers

Question


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 5 år ago | 0 answers | 0

0

answers

Question


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 5 år ago | 0 answers | 0

0

answers

Question


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 5 år ago | 0 answers | 0

0

answers

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

mer än 5 å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 5 år ago | 2 answers | 0

2

answers

Question


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 5 år ago | 0 answers | 0

0

answers

Question


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 5 år ago | 0 answers | 0

0

answers

Question


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 5 år ago | 0 answers | 0

0

answers

Question


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 5 år ago | 1 answer | 0

1

answer

Question


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 5 år ago | 0 answers | 0

0

answers

Question


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 5 år ago | 1 answer | 0

1

answer

Question


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 5 år ago | 1 answer | 0

1

answer

Question


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 5 år ago | 0 answers | 0

0

answers

Question


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 5 år ago | 1 answer | 0

1

answer

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

mer än 5 år ago | 0

Answered
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 5 å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 5 år ago | 3 answers | 0

3

answers