Skip to content

Commit 9957182

Browse files
adjust name and compat
1 parent 3d252c4 commit 9957182

27 files changed

+74
-68
lines changed
File renamed without changes.

Project.toml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "L2O"
1+
name = "LearningToOptimize"
22
uuid = "e1d8bfa7-c465-446a-84b9-451470f6e76c"
33
authors = ["andrewrosemberg <[email protected]> and contributors"]
44
version = "1.0.0"
@@ -21,12 +21,18 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
2121
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
2222

2323
[compat]
24-
Arrow = "^2"
25-
CSV = "^0.10"
26-
JuMP = "^1"
27-
ParametricOptInterface = "^0.8"
28-
Zygote = "^0.6.68"
29-
julia = "^1.9"
24+
Arrow = "2"
25+
CSV = "0.10"
26+
JuMP = "1"
27+
ParametricOptInterface = "0.8"
28+
Zygote = "0.6.68"
29+
julia = "1.9"
30+
DataFrames = "1"
31+
Flux = "0.14"
32+
Optimisers = "0.3"
33+
MLJFlux = "0.6"
34+
Distributions = "0.25"
35+
NNlib = "0.9"
3036

3137
[extras]
3238
CUDA_Runtime_jll = "76a88914-d11a-5bdc-97e0-2f5a05c973a2"

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11

22
<div style="overflow: auto;">
3-
<h1 style="float: left;">L2O.jl</h1>
3+
<h1 style="float: left;">LearningToOptimize.jl</h1>
44
<div style="float: right; margin-left: 20px;">
5-
<img src="https://raw.githubusercontent.com/andrewrosemberg/L2O.jl/main/L2O.jpg" alt="Logo" width="100" align="right">
5+
<img src="https://raw.githubusercontent.com/andrewrosemberg/LearningToOptimize.jl/main/LearningToOptimize.jpg" alt="Logo" width="100" align="right">
66
</div>
77
</div>
88

9-
Learning to optimize (L2O) package that provides basic functionalities to help fit proxy models for optimization.
9+
Learning to optimize (LearningToOptimize) package that provides basic functionalities to help fit proxy models for optimization.
1010

11-
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://andrewrosemberg.github.io/L2O.jl/stable/)
12-
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://andrewrosemberg.github.io/L2O.jl/dev/)
13-
[![Build Status](https://github.com/andrewrosemberg/L2O.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/andrewrosemberg/L2O.jl/actions/workflows/CI.yml?query=branch%3Amain)
14-
[![Coverage](https://codecov.io/gh/andrewrosemberg/L2O.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/andrewrosemberg/L2O.jl)
11+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://andrewrosemberg.github.io/LearningToOptimize.jl/stable/)
12+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://andrewrosemberg.github.io/LearningToOptimize.jl/dev/)
13+
[![Build Status](https://github.com/andrewrosemberg/LearningToOptimize.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/andrewrosemberg/LearningToOptimize.jl/actions/workflows/CI.yml?query=branch%3Amain)
14+
[![Coverage](https://codecov.io/gh/andrewrosemberg/LearningToOptimize.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/andrewrosemberg/LearningToOptimize.jl)
1515

1616
# Flowchart Summary
1717

18-
![flowchart](https://github.com/andrewrosemberg/L2O.jl/blob/main/docs/L2O.png)
18+
![flowchart](https://github.com/andrewrosemberg/LearningToOptimize.jl/blob/main/docs/LearningToOptimize.png)
1919

2020
## Generate Dataset
2121
This package provides a basic way of generating a dataset of the solutions of an optimization problem by varying the values of the parameters in the problem and recording it.

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3-
L2O = "e1d8bfa7-c465-446a-84b9-451470f6e76c"
3+
LearningToOptimize = "e1d8bfa7-c465-446a-84b9-451470f6e76c"

docs/make.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
using L2O
1+
using LearningToOptimize
22
using Documenter
33

4-
DocMeta.setdocmeta!(L2O, :DocTestSetup, :(using L2O); recursive=true)
4+
DocMeta.setdocmeta!(LearningToOptimize, :DocTestSetup, :(using LearningToOptimize); recursive=true)
55

66
makedocs(;
7-
modules=[L2O],
7+
modules=[LearningToOptimize],
88
authors="andrewrosemberg <[email protected]> and contributors",
9-
repo="https://github.com/andrewrosemberg/L2O.jl/blob/{commit}{path}#{line}",
10-
sitename="L2O.jl",
9+
repo="https://github.com/andrewrosemberg/LearningToOptimize.jl/blob/{commit}{path}#{line}",
10+
sitename="LearningToOptimize.jl",
1111
format=Documenter.HTML(;
1212
prettyurls=get(ENV, "CI", "false") == "true",
13-
canonical="https://andrewrosemberg.github.io/L2O.jl",
13+
canonical="https://andrewrosemberg.github.io/LearningToOptimize.jl",
1414
edit_link="main",
1515
assets=String[],
1616
),
1717
pages=["Home" => "index.md"],
1818
)
1919

20-
deploydocs(; repo="github.com/andrewrosemberg/L2O.jl", devbranch="main")
20+
deploydocs(; repo="github.com/andrewrosemberg/LearningToOptimize.jl", devbranch="main")

docs/src/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
```@meta
2-
CurrentModule = L2O
2+
CurrentModule = LearningToOptimize
33
```
44

5-
# L2O
5+
# LearningToOptimize
66

7-
Documentation for [L2O](https://github.com/andrewrosemberg/L2O.jl).
7+
Documentation for [LearningToOptimize](https://github.com/andrewrosemberg/LearningToOptimize.jl).
88

9-
Learning to optimize (L2O) package that provides basic functionalities to help fit proxy models for optimization.
9+
Learning to optimize (LearningToOptimize) package that provides basic functionalities to help fit proxy models for optimization.
1010

1111
```@index
1212
```
1313

1414
```@autodocs
15-
Modules = [L2O]
15+
Modules = [LearningToOptimize]
1616
```

examples/generate_dataset_inputs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using L2O
1+
using LearningToOptimize
22

33
general_sampler(
44
"examples/powermodels/data/6468_rte/6468_rte_SOCWRConicPowerModel_POI_load.mof.json";

examples/powermodels/HuggingFaceDatasets.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function download_dataset(organization, dataset, case_name, io_type; formulation
2828
end
2929

3030
cache_dir="./examples/powermodels/data/"
31-
organization = "L2O"
31+
organization = "LearningToOptimize"
3232
dataset = "pglib_opf_solves"
3333
case_name = "pglib_opf_case300_ieee"
3434
formulation = "SOCWRConicPowerModel" # ACPPowerModel SOCWRConicPowerModel DCPPowerModel

examples/powermodels/data_split.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ using Random
1515
@everywhere Pkg.activate(dirname(dirname(@__DIR__)))
1616
@everywhere Pkg.instantiate()
1717
@everywhere using DataFrames
18-
@everywhere using L2O
18+
@everywhere using LearningToOptimize
1919
@everywhere using Gurobi
2020
@everywhere using Arrow
2121
@everywhere using MLUtils

examples/powermodels/generate_full_datasets_script.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ using Random
1919

2020
########## SCRIPT REQUIRED PACKAGES ##########
2121

22-
@everywhere using L2O
22+
@everywhere using LearningToOptimize
2323
@everywhere using Arrow
2424
@everywhere using Test
2525
@everywhere using UUIDs

0 commit comments

Comments
 (0)