Giter Site home page Giter Site logo

hankyang94 / semidefinite Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 14.17 MB

Lecture notes

Home Page: http://hankyang.seas.harvard.edu/Semidefinite/

License: Creative Commons Zero v1.0 Universal

Dockerfile 0.53% Shell 3.15% R 5.08% TeX 75.99% CSS 11.78% HTML 3.46%

semidefinite's Introduction

Semidefinite Optimization and Relaxation

Lecture notes for Harvard ES/AM 2XX Semidefinite Optimization and Relaxation

How to contribute

  • Clone this repo to your local environment

  • To build this book and preview local copies of the html files and book pdf, below is what I have done (on my macbook)

    • Install the RStudio IDE. Note that you need a version higher than 1.0.0. Please download the latest version if your RStudio version is lower than 1.0.0.

    • Open RStudio IDE and install the R package bookdown, after which you can close RStudio IDE

    # stable version on CRAN
    install.packages("bookdown")
    # or development version on GitHub
    # remotes::install_github('rstudio/bookdown')
    • Open the repo using VSCode and in the terminal run:
    ./_build.sh

    Then you should see a folder _book generated in this repo, where you should see all the local html files. Open the html files using your browser to preview the textbook. You can also preview the pdf file of the book if you want.

    You can also build the book using RStudio, but for some reason that way did not give me what I want.

  • Edit the .Rmd files of corresponding chapters. The syntax of writing R markdown is quite similar to latex. You can find detailed documentation here. You can also look at the files I have written and I believe you will enjoy writing R markdown pretty quickly.

  • After you are done with your edits, and you have checked that the book can still compile after your edits (preview the html files to make sure they look the way you want), you can push your changes to the main branch (you should pull first before your push, in case other people have made their changes too).

  • Let Hank know you have made your edits. Hank will review the edits and deploy these changes to the gh-pages branch. Then those changes will be online and public.

At this time there are only a small number of people writing the book, so this centralized way will probably work well. Feel free to suggest better ways as Hank is not an expert using github.

semidefinite's People

Contributors

hankyang94 avatar xyxu2033 avatar

Stargazers

Pengyu Yin avatar George 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.