Matlab Linear programming; how to minmize maximum of decision variable?

2 views (last 30 days)
I am trying to minimize and objective function. It is a multiobjective function using weighted sum option. One of the objectives is to minimize the maximum of the decision variable. However, the maximum of decision variable is not know prior and i cannot use the 'max(decisionvariable)' command in optimization tool box. I am using Problem-Based Optimization tool box, so is there a way to replace the xommand to find maximum of decision variable? Problem Description: I have energy consumption data for 24 hours. I want to reduce the peak of the load after shifting the load to different times. Its also known as peak to average ration minimization. I need to minimize the peak of load after shifting bu i cannot include 'max' or 'mean' in the objective function. My variables are load values 'L' 1*48 matrix (half hourly energy records), Price 'P' again 48 values. I want to minimize the cost of energy consumed during 24 hours which is cost=L*P and i want to achieve this with minimum peak value of the L.
  5 Comments
Torsten
Torsten on 11 Sep 2018
You might be able to replace the maximum of n variables x1,x2,...,xn by a new variable "M" which is linked to x1,x2,...,xn by the constraints
x1 <= M
x2 <= M
...
xn <= M
Best wishes
Torsten.
zafar khan
zafar khan on 11 Sep 2018
My variables are load values 'L' 1*48 matrix (half hourly energy records), Price 'P' again 48 values. I want to minimize the cost of energy consumed during 24 hours which is cost=L*P and i want to achieve this with minimum peak value of the L.

Sign in to comment.

Answers (2)

Steven Lord
Steven Lord on 11 Sep 2018
Consider the fminimax function in Optimization Toolbox.
  2 Comments
zafar khan
zafar khan on 11 Sep 2018
I am using problem-based optimization and am unable to find a way to implement this fminmax in that.
Matt J
Matt J on 11 Sep 2018
Edited: Matt J on 12 Sep 2018
Problem-based optimization is not appropriate for your situation. It is for single-objective linear programming only. You appear to have two objectives ( namely you are minimizing both P*L and max(L) ), one of which is non-linear.

Sign in to comment.


Matt J
Matt J on 11 Sep 2018

Categories

Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!