
Before you start this module please have quick look at this video
The NEOS Server is a free internet-based service for solving numerical optimization problems. Hosted by the Wisconsin Institute for Discovery at the University of Wisconsin in Madison, the NEOS Server provides access to more than 60 state-of-the-art solvers in more than a dozen optimization categories.
What is the decision making?
Some practical examples
What is the objective function?
What is the constraint?
This video explains how to install GAMS on a windows machine
In this lesson, you will get familiar with the general structure of each GAMS code
What is set ?
How to deal with sets in GAMS ?
Syntax ?
What is Scalar?
How to deal with Scalars in GAMS ?
Syntax ?
What is parameter?
How to deal with Parameters in GAMS ?
Syntax ?
What is Table?
How to deal with Tables in GAMS ?
Syntax ?
Real variables
Binary variables
Integer variables
SOS1
SOS2
Semicont
SemiInt
How to define lower and upper bounds for variables ?
How to define equations in GAMS?
What is the syntax ?
What kind of optimisation models can be solved in GAMS ?
What is my model type ?
How to select the right solver for my model in GAMS?
In this session you will learn how to code a linear programming problem in GAMS
In this lecture you will get familiar with the duality concept in linear programming problems
Mixed integrer programming in transportation problem is discussed here
Conditional Expressions, Assignments and Equations
How to define a model in loops in GAMS environment?
In this lecture you will learn:
What is the optimisation and decision making ?
What is an objective function ?
What is a constraint ?
What is multi-objective optimisation ?
What is Pareto optimal front ?
How to code a Pareto optimal front in GAMS ?
In a given circle find a rectangle of maximal area.
In a given sphere find a cylinder of maximal volume
“A woman at a point A on the shore of a circular lake with radius 2 mi wants to arrive at the point C diametrically opposite A on the other side of the lake in the shortest possible time (see the figure). She can walk at the rate of 4 mi/h and row a boat at 2 mi/h. For what value of the angle θ shown in the figure will she minimize her travel time?“
A and B are two given points on the same side of a line ℓ. Find a point D on ℓ such that the sum of the distances form A to D and from D to B is a minimum.
(Steiner) In the plane of a triangle, find a point such that the sum of its distances to the vertices of the triangle is minimal.
In this lecture you will learn how to code in GAMS for finding the shortest paths between nodes in a graph, which may represent, for example, road networks.
The travelling salesman problem (TSP) asks the following question: "Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city and returns to the origin city?"
Each city should be met only once
Every city should be visited
In these slides, you will see how to formulate the game clash of clans as MIP and solve it in GAMS
In this video you will learn how to find and have access to Power system optimization library in GAMS website.
https://www.amazon.com/Power-System-Optimization-Modeling-GAMS/dp/3319623494/ref=sr_1_2?ie=UTF8&qid=1523040637&sr=8-2&keywords=soroudi
In this lesson you will learn how to use the GAMS for solving the Dynamic economic dispatch problem
Model energy storage in a dynamic economic dispatch with wind using jammes. Optimize charging, discharging, and wind curtailment across a 24-hour horizon to minimize total costs.
DC Optimal power flow modelling will be discussed
The AC -OPF takes into account the non-linear KVL-KCL constraints and tries to determine the optimal generating schedules of units
In this lecture you will learn how to calculate the LMP in GAMS
Security constrained optimal power flow is modelled in this lecture. The N-1 contingencies can cause overloading the remaining lines.
The unit commitment problem is explained in this lecturer
This session provides a solution for increasing the power system observability by allocation of Phasor Measurement Units (PMU) problem in GAMS. The PMU is able to measure the voltage phasor at the connection bus and also it measures the current phasor of any branch connected to the bus hosting the PMU.
Updated for 2026: The Bestselling Power System Optimization Course in GAMS on Udemy
Join more than 27,000 engineers, researchers and students in the energy and power sector who have learned to model and solve optimization problems in GAMS.
This course takes you through GAMS coding step by step, using real-world case studies, hands-on experiments and many examples from different fields. You don’t need a background in power systems to start: everything you need is explained along the way.
By the end of this course, you will be able to:
Formulate an optimization problem and implement it in GAMS
Write efficient, scalable GAMS code that handles large problems
Run sensitivity analyses to see how your optimal decision changes when key assumptions turn out differently
Model and solve the core optimization problems of power and energy systems
The course has two parts:
General GAMS coding: sets, parameters, variables and equations, loops, conditional statements, multi-objective optimization, and worked examples
Power system optimization in GAMS: static and dynamic economic and environmental dispatch, AC and DC optimal power flow, energy storage, demand response, PMU placement, and more
Who this course is for:
Engineers and researchers in power and energy systems
Graduate students who need to implement optimization models for their thesis or papers
Anyone who wants to learn GAMS through practical, real-world problems
About your instructor
I am the author of Power System Optimization Modeling in GAMS (Springer, 2017), an IEEE Senior Member, and I have spent many years applying optimization to power systems in both academia and industry. I have advised companies and researchers around the world on using optimization in their work, and this course brings together the lessons I learned along the way.
What’s included:
More than 5 hours of high-quality video lectures
Downloadable code and resources
Exercises and assignments to practice as you learn
Q&A support: post a question in the course or send me a direct message
Lifetime access, including all future updates
A certificate of completion
Udemy’s 30-day money-back guarantee
Is GAMS hard to learn? No. With a clear structure and step-by-step examples, you’ll be writing your own models from the first sections. And because GAMS separates the model from the data, the skills you build here scale from small exercises to real industrial studies.
The energy sector increasingly relies on optimization, and engineers who can build these models are in high demand. Start today, and turn your modeling skills into better decisions.
See you inside!