Answered

how to Write a code that returns the objective function (scalar) as the first output The gradient (vector) as the second output and the out put and also the out put should depend on the number of the variable

see the Factory Example in MATLAB documentation

how to Write a code that returns the objective function (scalar) as the first output The gradient (vector) as the second output and the out put and also the out put should depend on the number of the variable

see the Factory Example in MATLAB documentation

meer dan 4 jaar ago | 0

Question

sparse matrices for Aineq,Aeq in genetic algorithm soler(ga) - Reg

I want to know whether we can use sparse matrices for Aineq and Aeq to be passed as the parameters to the ga(genetic algorithm) ...

meer dan 4 jaar ago | 1 answer | 0

Question

ANFIS - number of inputs

I solved an optimization problem (linear program) which has 10 inputs ( costs and capacities).can i use these 10 inputs and 2 ou...

bijna 5 jaar ago | 0 answers | 0

Question

genetic algorithm - not running - reg

I converted a GAMS model (mip) file into cplexmps format using PAVER web server. I read this file into MATLAB R2015b using mpsre...

bijna 5 jaar ago | 1 answer | 0

Question

mpsread - cplexmps or fixedmps - reg

i read that matlab can read mps files through mpsread command. i want to which version of mps it can read. is it cplexmps or fix...

bijna 5 jaar ago | 0 answers | 0

Question

ANFIS - linear program - reg

I solved an optimization problem(linear program) with 7 sets of costs and 3 sets of capacity parameters. I got two costs as outp...

bijna 5 jaar ago | 0 answers | 0

Question

intlinprog solver and cplexmip solvers - comparison - reg

I want to know whether the algorithm used in MATLAB R 2014a for ' intlinprog' and 'cplexmip' solvers are same or different. If a...

bijna 5 jaar ago | 0 answers | 0

Question

Model Predictive Control - State Space model - error message

In the model predictive control tool box of MATLAB R 2013a, i entered a discrete state space model with A1=[0,0,0;0,0,0...

bijna 5 jaar ago | 0 answers | 0

Question

Problem with while loop

I wrote 3 functions and i wanted to link them in main function. In the main function i wrote a while loop . i am facing problem ...

bijna 5 jaar ago | 1 answer | 0

Question

calling a function in another function by changing only few input arguments

I have written a function function [ yp,PAC ] = PAgent( c5,c6,c7,rcapa,Aineq5,Bineq5,Aeq5,Beq5,lb,ub,options ) suppose i...

bijna 5 jaar ago | 1 answer | 0

Question

Model Predictive Tool - mpctool - Error message - unable to load selected items - Reg

I created a discrete state-space plant model(sys1) in the work space of MATLAB R 2013a. A =[1 2 3;4 5 6;7 8 9]; >> B = [5 ;...

bijna 5 jaar ago | 1 answer | 0

Question

particle swarm optimization - Error too many input arguments - reg

i am doing a linear programming problem involving large number of variables . i ran the problem with genetic algorithm and simul...

ongeveer 5 jaar ago | 1 answer | 0

Question

genetic algorithm - fitness function - algorithm not converging

I want to apply genetic algorithm for a 150 variable linear programming problem. I wrote the fitness function 'fit1.m' as fol...

ongeveer 5 jaar ago | 1 answer | 0

Question

set of equations printing using sprintf command

i want to print the following set of equations using sprintf command. p=1,2,...,8 c=1,2,..,4 t = 1,2,...,12, m= 1...

ongeveer 5 jaar ago | 0 answers | 0

Question

Particle swarm optimization for large scale integer variables and large number of constraints in matlab

can particle swarm optimization algorithm be applied to a large scale linear programming problem with large number of integer va...

ongeveer 5 jaar ago | 1 answer | 0

Question

Genetic optimization with 2000 integer variables and 800 equality constraints and 300 inequality constraints all involving integer variables using MATLAB R 2013

I want to design a supply chain network's multi-period production and distribution problem using genetic algorithm. I solved thi...

ongeveer 5 jaar ago | 1 answer | 0

Question

Genetic algorithm with integer variables using MATLAB R2009b version.

Is there any body who can help me in performing genetic algorithm with integer variables in MATLAB R 2009 b version. Because i h...

ongeveer 5 jaar ago | 0 answers | 0

Question

Interfacing GAMS and MATLAB - worked well in MATLAB R 2009b - Showing Errors in MATLAB R 2013a - Reg

I interfaced GAMS win32 24.7.4 software with MATLAB using the procedure explained in youtube video. I run the GAMS program from ...

meer dan 5 jaar ago | 2 answers | 0

Question

Genetic algorithm giving errors - reg

I implemented a flow shop scheduling problem in MATLAB R 2009b. But the same m-file and same data when i want to run in MATLAB ...

meer dan 5 jaar ago | 1 answer | 0

Question

Mex files - Invalid mex file - Error message - Reg

I linked GAMS optimization software with MATLAB successfully by seeing the video in youtube. I was able to run the GAMS model fr...

bijna 6 jaar ago | 2 answers | 0

Question

Interfacing MATLAB with GAMS optimization software - shadowing files - Error message - Reg

I want to interface GAMS optimization software with GAMS. I created a model (abc.gms) in GAMS and executed it successfully in GA...

bijna 6 jaar ago | 0 answers | 0

Question

Interfacing MATLAB with GAMS optimization software - Error messages

I want to interface MATLAB with GAMS optimization software. My GAMS system directory is located in drive C: My MATLAB soft...

bijna 6 jaar ago | 1 answer | 0

Question

i am a beginer to model predictive control. can any body provide link on how to implement a model predictive control system for inventory control of a supply chain working on pull system.

i am a beginer to model predictive control. can any body provide link on how to implement a model predictive control system for ...

bijna 6 jaar ago | 0 answers | 0

Question

I have to count the number of occurrences of a record (x) in a Table "Stocks" from a database "MultiProductInventory"

I have to count the number of occurrences of a record (x) in a Table "Stocks" from a database "MultiProductInventory". The datab...

ongeveer 6 jaar ago | 1 answer | 0

Question

I want to know whether MATLAB R2009b supports dynamic SQL facility for Microsoft Access database. If it provides support, what is the procedure

I want to know whether MATLAB R2009b supports dynamic SQL facility for Microsoft Access database. i.e ., whether we can provid...

ongeveer 6 jaar ago | 0 answers | 0

Question

SQL query in a M-file. Not working

I tried to execute an sql query from an M- file. But I am getting the error message "undefined function fetch ". when i executed...

ongeveer 6 jaar ago | 0 answers | 0

Question

how to write a sql query with multiple variables

sir, i want to write a SQLquery in which in the where clause i use two variables on two fields. i tried the following, but g...

ongeveer 6 jaar ago | 0 answers | 0

Question

Sir, I have to search the number of occurrences of a record ( say name x) in the table , name say Stocks in a database ( name say, MultiProductInventory) . I have to repeat this process for a number of records created by a function called population.

sir, I have to repeat the above searching process by chaniging the variable x. T.V.S.R.K.Prasad

ongeveer 6 jaar ago | 0 answers | 0

Question

flow shop scheduling problem using genetic algorithm in MATLAB

I tried a flow shop scheduling problem using genetic algorithm in MATLAB optimization tool box. I tried on a sample of 5 jobs, 3...

ongeveer 7 jaar ago | 0 answers | 0

Question

I want to implement flow shop scheduling problem for a problem with 10 jobs and 5 machines.( using permutaion crossover and permutation mutation) to minimize the make span. How to go ahead.please guide.

I want to implement a permutation flow shop scheduling problem for a problem with 10 jobs and 5 machines.( using permutaion cros...

ongeveer 7 jaar ago | 0 answers | 0