Git Product home page Git Product logo

powell-method-matlab-r2022b's Introduction

Powell Method with Linear Constraints in MATLAB

This repository contains an implementation of Powell's optimization algorithm with linear constraints, written in MATLAB.

Usage

To run the algorithm, use the file powell_method_with_penalty_function.m. Ensure you have MATLAB installed.

% Example usage:
% Define the objective function
f = @(x)  x(1)^2+x(2)^2;

% Set initial conditions
x0 = [5.6, -2.6536];

% Set linear constraints (if any)
g = @(x) x(1)-x(2)-2;
G = {g};

% Run the optimization
[minimum, xes, iter] = powell_method_with_penalty_function(f, x0, [], 10, 10e-3, 12, G);

Test Files

Test files with names starting with 'test' are provided to help you validate the functionality of the algorithm. Feel free to explore and adapt these test files for your specific use case. File Structure

powell_method_with_penalty_function.m: Main script implementing Powell's method with linear constraints.
test.m, testRastringera.m, ...: Example test scripts.

Contributors

przemekMal

powell-method-matlab-r2022b's People

Contributors

przemekmal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.