Skip to content

Code used to generate the figures for "Computational Bounds for Photonic Design"

Notifications You must be signed in to change notification settings

angeris/ComputationalBounds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code for Computational Bounds for Photonic Design

This repository contains the code used to generate the images for the paper Computational Bounds for Photonic Design by Guillermo Angeris, Jelena Vučković, and Stephen Boyd.

Running the script

Make sure you have all of the requirements.

Clone the repository and simply run (assuming that Julia is found in your PATH)

julia generate_figures.jl

The script will then run (producing a good amount of output in the console, for those interested) for a few minutes on most modern laptops. It should then produce several *.pdf files in the directory that contains it.

Changing parameters

There are a few parameters to change. The ones currently set are exactly the ones provided in the original paper.

See the code for further documentation.

Requirements

This package has the following requirements:

  • Julia version ≥ 1.0
  • PyPlot
  • JuMP (version ≥ .19 required!)
  • ProgressMeter

And, if you plan to use it directly, it will also require

  • Mosek
  • MosekTools

Additionally, if you'd like to save the iterates, you will also need

  • JLD

You can install any of these from the Julia console (REPL) by typing ] and add [PACKAGE_NAME]. See the Julia documentation for more details.

About

Code used to generate the figures for "Computational Bounds for Photonic Design"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages