Fermé

Optimization Transformation from Yalmip to Gurobi

This is a small part of an optimization of Variable P. One of the conditions of this optimization is that two samples within the horizon of 4 samples have to be constant. A solution with Yalmip Code is already available (see below). The goal of the project is to transform this Yalmip Code into fully running Gurobi Model Code (see: [url removed, login to view] and [url removed, login to view]:solving).

The current Matlab Code for Yalmip looks like this:

%Variables

Horizon = 4; %number of total samples

samp_const =2; %number of samples which should be held constant

Pmin = [150,100,100,100]; %Min Constraint

Pmax = [150,200,200,200]; %Max Constraint

P = sdpvar(1,Horizon,'full');

%Constraints

Constraints = []; %Initialize

for k = 1:Horizon

Constraints = [Constraints, Pmin(:,k) <= P(:,k) <= Pmax(:,k)];

end

%Objective Function

Objective = 0; %Initialize

for k = 2:Horizon

range = k:min(Horizon, k+samp_const-1); % indices where no further rate changes is allowed

moves_1 = sum(ceil( abs(P(1,range)-P(1,range-1))./2000 )); % count rate changes in range

Objective = Objective + ...

Constweight*floor(0.81+moves_1/10); % constraint: maximal 1 rate change in 2 (samp_const) samples

end

options = sdpsettings('solver','gurobi');

result = optimize(Constraints,Objective,options);

Gurobi License needed in order to test the code
Matlab License
Experience with Yalmip

Compétences : Algorithme, Matlab and Mathematica

en voir plus : optimization with linear programming, discuss with some ilustration what a professional geography teacher should be like in his carrier, applied optimization with matlab programming, topology optimization of truss structure with matlab, need help with current site, construct and explain a contingency model with no more than five variables explaining how volkswagen came to experience this fir, optimization pid controller matlab code, euler method armature current matlab, negative sequence current matlab, optimization pid controller matlab, dynamic optimization discrete time matlab, current professional looks, optimization tools api matlab, matlab programs models, freelance matlab dynamic optimization, windows 2003 server optimization, steps advance search engine optimization, adwords optimization course, xml transformation flat file, vba optimization method, arab website optimization work, data warehouse optimization, mysql server optimization, ahmedabad search engine optimization, vba code optimization

Concernant l'employeur :
( 0 commentaires ) Austria

Nº du projet : #12696207

8 freelance font une offre moyenne de €142 pour ce travail

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(57 Commentaires)
6.8
%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(78 Commentaires)
6.6
matlabxperts

Hello, I am Ammar. It is to inform you that we have worked on Matlab projects related to Electrical Engineering, Digital Communications, Artificial Intelligence, Video and Image Processing and Radar systems etc. Please Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(94 Commentaires)
6.6
earthat

HI I am experienced developer in MATLAB and completed various projects in diverse domains. I can help you out in your work. You can check out my sample previous work here [url removed, login to view] Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(28 Commentaires)
5.4
%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(47 Commentaires)
5.2
saied2017

Hello dear ,I'm mohamed saeed, aeronautical engineer and matlab expert. I see your project and I'm able to do it. Best regards . Mohamed saeed

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 0 jours
(31 Commentaires)
4.9
ExpertzWorld

I’m a writer, an idea guy, and a difference-maker. I write with passion, discernment, perception, credibility, and punctuality which make me come up with the best result ever. Also, I deliver great results with a p Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 3 jours
(12 Commentaires)
4.3
feixiaolong

Hi.I am a control engineer. I might do your project buy i need some days.I used to work with yalmip for my assignment at my university. Cheers!

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 5 jours
(2 Commentaires)
1.9