Skip to content

spixap/PWAmethods

Repository files navigation

PWA methods for 2 variables

This repository contains the scripts 📜 for implementing PieceWise Approximations 📐.

  • The methods are based on the paper:

D’Ambrosio, C., Lodi, A., Martello, S., 2010. "Piecewise linear approximation of functions of two variables in MILP models". Operations Research Letters 38, 39–46.

INPUTS

  • I   set of discretization points
  • funSlct   function selection to test % {1,2,3,4,5,6}
  • varRanges   x, y ranges % {'physical','paper'}
  • activeCstrX   activate constraint on x % {0,1}
  • varRanges   activate constraint on y % {0,1}

METHODS 📚

  1. Function of 1 variable

    • funSeperablePWA.m  
  2. Function of 2 variables: One-dimensional

    • oneDimensionalPWA.m  
  3. Function of 2 variables: Triangles

    • trianglesPWA.m
  4. Function xy: Seperable programming

    • sprblPrgrmXY.m

About

To test github repository working from my PC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages