Skip to content

Commit bd2f1cb

Browse files
committed
docs: center align logos and update badges in README
1 parent e683720 commit bd2f1cb

2 files changed

Lines changed: 21 additions & 10 deletions

File tree

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
![benderslib.png](https://raw.githubusercontent.com/phguo/BendersLib/397a53a490f2bbee0cccb3af39d4ee4e9d567301/docs/source/_static/benderslib.png)
1+
<div align="center">
2+
3+
![BendersLib Logo](https://raw.githubusercontent.com/phguo/BendersLib/397a53a490f2bbee0cccb3af39d4ee4e9d567301/docs/source/_static/benderslib.png)
4+
5+
[![GitHub Commits](https://img.shields.io/github/last-commit/phguo/benderslib?style=flat-square&logo=github)](https://github.com/phguo/BendersLib)
6+
[![Codecov](https://img.shields.io/codecov/c/github/phguo/benderslib?style=flat-square&logo=codecov)](https://codecov.io/gh/phguo/BendersLib)
7+
[![Read the Docs](https://img.shields.io/readthedocs/benderslib?style=flat-square&logo=readthedocs)](https://benders.dev)
8+
[![PyPI](https://img.shields.io/pypi/v/benderslib.svg?style=flat-square&logo=pypi)](https://pypi.org/project/benderslib/)
9+
10+
[![Python Versions](https://img.shields.io/pypi/pyversions/benderslib?style=flat-square&logo=python)](https://pypi.org/project/benderslib/)
11+
12+
</div>
13+
14+
---
215

316
# BendersLib: A Benders Decomposition Library in Python
417

@@ -10,20 +23,17 @@ variants, including
1023
**L-shaped Method** [<sup>[4]</sup>](#4),
1124
**Integer L-shaped Method** [<sup>[5]</sup>](#5),
1225
and **Logic-based Benders Decomposition** [<sup>[6]</sup>](#6).
26+
1327
While BendersLib provides built-in implementations of
1428
these methods, it is designed to be extensible. Users can implement custom Benders
1529
decomposition methods by customizing **subproblem solvers** and **cut generators**,
16-
and defining **callback functions** for enhancement strategies. BendersLib is solver
30+
and defining **callback functions** for enhancement strategies.
31+
32+
BendersLib is solver
1733
agnostic and has built-in interfaces for popular Mathematical Programming and Constraint
1834
Programming solvers. Its support for rapid prototyping and high extensibility are designed
1935
to meet the needs of both researchers and practitioners in Operations Research and related fields.
2036

21-
[![GitHub last commit](https://img.shields.io/github/last-commit/phguo/benderslib)](https://github.com/phguo/BendersLib)
22-
[![codecov](https://codecov.io/gh/phguo/BendersLib/branch/develop/graph/badge.svg)](https://codecov.io/gh/phguo/BendersLib)
23-
[![PyPI version](https://img.shields.io/pypi/v/benderslib.svg)](https://pypi.org/project/benderslib/)
24-
[![Documentation Status](https://readthedocs.org/projects/benderslib/badge/?version=latest)](https://benders.dev)
25-
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/benderslib)
26-
2737
## Quick Start
2838

2939
Install BendersLib and a solver of your choice (e.g., Gurobi) using pip.

docs/source/about.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Contributors
3333
BendersLib was created by **Peng-Hui Guo** ("郭鹏辉" in Chinese, https://guo.ph),
3434
who holds a PhD in Management Science and Engineering
3535
from Nanjing University of Aeronautics and Astronautics (NUAA), China.
36+
3637
Before developing BendersLib, Peng-Hui Guo had published research papers
3738
on Benders decomposition in journals such as *Naval Research Logistics*,
3839
*IISE Transactions*, and *European Journal of Operational Research*. His PhD thesis, titled
@@ -86,11 +87,11 @@ Logo
8687
.. rubric:: Logo (horizontal)
8788

8889
.. image:: _static/benderslib.png
89-
:align: left
90+
:align: center
9091

9192
.. rubric:: Logo (vertical)
9293

9394
.. image:: _static/benderslib_v.png
94-
:align: left
95+
:align: center
9596
:height: 350px
9697
:width: 350px

0 commit comments

Comments
 (0)