bus14
2019년부터 활동
Followers: 0 Following: 0
Feeds
질문
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...
5년 초과 전 | 답변 수: 1 | 0
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 ...
5년 초과 전 | 답변 수: 2 | 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...
5년 초과 전 | 답변 수: 4 | 0
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...
5년 초과 전 | 답변 수: 2 | 0
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...
5년 초과 전 | 답변 수: 1 | 0
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=...
5년 초과 전 | 답변 수: 0 | 0
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...
5년 초과 전 | 답변 수: 0 | 0
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...
5년 초과 전 | 답변 수: 0 | 0
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...
5년 초과 전 | 답변 수: 0 | 0
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
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'...
5년 초과 전 | 0
질문
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...
5년 초과 전 | 답변 수: 2 | 0
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...
5년 초과 전 | 답변 수: 0 | 0
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...
5년 초과 전 | 답변 수: 0 | 0
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...
5년 초과 전 | 답변 수: 0 | 0
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...
5년 초과 전 | 답변 수: 1 | 0
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 ...
5년 초과 전 | 답변 수: 0 | 0
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,...
5년 초과 전 | 답변 수: 1 | 0
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...
5년 초과 전 | 답변 수: 1 | 0
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...
5년 초과 전 | 답변 수: 0 | 0
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...
5년 초과 전 | 답변 수: 1 | 0
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?
thank you a lot, so linprog is indeed the one to use as my objective function is a linear function.
5년 초과 전 | 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 ] ...
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 ] ...
5년 초과 전 | 0
질문
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...
5년 초과 전 | 답변 수: 3 | 0