Git Product home page Git Product logo

graphic-method-solver's Introduction

GUIDE FOR THE GRAPHIC METHOD SOLVER

In this repository you will find the code for the solver of maximize and minimize problems. This solver use the graphic method.

GRAPHIC METHOD

The graphical method consists of representing the graphs associated with the equations of the system to deduce their solution. The solution of the system is the point of intersection between the graphs. The reason for this is that the coordinates of this point satisfy both equations and, therefore, it is the solution of the system.

HOW TO USE THE PROGRAM

The program consist of the following steps:

  1. Choose an excercise and put it into the Excercise.csv
  2. Read the CSV file with a standardized text with input()
  3. Parse the information saved from the read before with ParseExcercises(reuturnOfInput())
  4. Call solver(returnOfParseExcercises())
  5. Run the program

SOME ADVICES FOR CSV FILES AND NEW EXCERCISES

Code execution

  • The program was made to analyze N number of restrictions in just ONE excercises, each of them with a similar look (only two variables of decission).
  • It will only accept problems that achieve the terms of solutions given by the graphic method solver

CSV file terms

Every text must be like the following example:

image

Despite criterio;max does not have any functionality within the code, its a need to be given, this just for keep the structure of work defined.

You will see another file called Excercises.txt. It contain other two differents examples. If you want to use them, choose one and copy/paste it in Excercises.csv .

graphic-method-solver's People

Contributors

miguelalf12 avatar

Watchers

James Cloos avatar  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.