Skip to content

loika/GD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GD

"Gradient descent".

  • Generic badge

Introduction

the goal is to solve the equation $A \cdot U = b$. Using a gradient descent method in the program, the gradient descent method is the conjugate gradient method. In this subject, the matrix $A$ is a positive semidefinite matrix. The obective function is $f: f(x) = 0.5x^\top\cdot,A\cdot,x- x^\top \cdot b $.

Notation

  • $N$ size matrix and size vector
  • $A$ matrix
  • $b$ vector
  • $X$ coordinate vector
  • $U$ a solve vector

subject to :

  • $N$ is a interger such that $N > 1$
  • $A$ symmetric matrix defined semi positive
  • $b$ $\in \mathbb{R}^N$
  • $0 < X < 1$
  • $U$ such as $f(U) = 0$

to get started

change string and $N$ in program.py. string ="2D" or string = "3D".

if __name__ == '__main__'

pre-requisites

  • Generic badge

the use of program progmanopt requires :

  • Generic badge
  • Generic badge
  • Generic badge

if the packages are not installed. you can install them the command :

pip install -r requirements.txt

if the command did not work, you can install the packages one by one with the command

pip install [package]

Contributor

Links

packages

Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages