From 02d84a3589ed855b99815c8766cfacda3f277631 Mon Sep 17 00:00:00 2001 From: "Documenter.jl" Date: Thu, 7 Dec 2023 19:38:39 +0000 Subject: [PATCH] build based on 3404d64 --- dev/api/index.html | 2 +- dev/database/index.html | 2 +- dev/index.html | 10 +++++----- dev/search/index.html | 2 +- dev/search_index.js | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dev/api/index.html b/dev/api/index.html index d564b64..2ad2401 100644 --- a/dev/api/index.html +++ b/dev/api/index.html @@ -1,2 +1,2 @@ -API · QUBOInstances.jl
+API · QUBOLib.jl
diff --git a/dev/database/index.html b/dev/database/index.html index fd11780..50ceb5c 100644 --- a/dev/database/index.html +++ b/dev/database/index.html @@ -1,2 +1,2 @@ -Database · QUBOInstances.jl

Database

In this section we discuss the decisions and specifications behind the construction of the database.

+Database · QUBOLib.jl

Database

In this section we discuss the decisions and specifications behind the construction of the database.

diff --git a/dev/index.html b/dev/index.html index 5acfa1c..48d99ef 100644 --- a/dev/index.html +++ b/dev/index.html @@ -1,9 +1,9 @@ -Home · QUBOInstances.jl

QUBOInstances.jl

Getting Started

Installation

import Pkg
+Home · QUBOLib.jl

QUBOLib.jl

Getting Started

Installation

import Pkg
 
-Pkg.add(url="https://github.com/pedromxavier/QUBOInstances.jl")
+Pkg.add(url="https://github.com/pedromxavier/QUBOLib.jl")
 
-using QUBOInstances

Basic Example

using QUBOInstances
+using QUBOLib

Basic Example

using QUBOLib
 
 # Get code of the first registered collection
 coll = first(list_collections())
@@ -14,7 +14,7 @@
 # Eetrieve QUBOTools model
 load_instance(coll, inst)

Accessing the instance index database

using SQLite, DataFrames
 
-db = QUBOInstances.database()
+db = QUBOLib.database()
 
 df = DBInterface.execute(
     db,
@@ -26,4 +26,4 @@
     for (coll, inst) in zip(df[!,:collection], df[!,:instance])
 ]
 
-first(models)
+first(models)
diff --git a/dev/search/index.html b/dev/search/index.html index b245188..2a29355 100644 --- a/dev/search/index.html +++ b/dev/search/index.html @@ -1,2 +1,2 @@ -Search · QUBOInstances.jl

Loading search...

    +Search · QUBOLib.jl

    Loading search...

      diff --git a/dev/search_index.js b/dev/search_index.js index 67c0d04..34da2d7 100644 --- a/dev/search_index.js +++ b/dev/search_index.js @@ -1,3 +1,3 @@ var documenterSearchIndex = {"docs": -[{"location":"api/#API","page":"API","title":"API","text":"","category":"section"},{"location":"api/#List-items","page":"API","title":"List items","text":"","category":"section"},{"location":"api/","page":"API","title":"API","text":"QUBOInstances.list_collections\nQUBOInstances.list_instances","category":"page"},{"location":"api/#QUBOInstances.list_collections","page":"API","title":"QUBOInstances.list_collections","text":"list_collections()\n\nList the codes of the registered collections.\n\n\n\n\n\n","category":"function"},{"location":"api/#QUBOInstances.list_instances","page":"API","title":"QUBOInstances.list_instances","text":"list_instances(collection::AbstractString)\n\nLists the codes for all instances in a collection.\n\n\n\n\n\n","category":"function"},{"location":"api/#Load-instances","page":"API","title":"Load instances","text":"","category":"section"},{"location":"api/","page":"API","title":"API","text":"QUBOInstances.load_instance","category":"page"},{"location":"api/#QUBOInstances.load_instance","page":"API","title":"QUBOInstances.load_instance","text":"load_instance(collection::AbstractString, instance::AbstractString)\n\nLoads a specific instance for a given collection as a QUBOTools model.\n\n\n\n\n\n","category":"function"},{"location":"#QUBOInstances.jl","page":"Home","title":"QUBOInstances.jl","text":"","category":"section"},{"location":"#Getting-Started","page":"Home","title":"Getting Started","text":"","category":"section"},{"location":"#Installation","page":"Home","title":"Installation","text":"","category":"section"},{"location":"","page":"Home","title":"Home","text":"import Pkg\n\nPkg.add(url=\"https://github.com/pedromxavier/QUBOInstances.jl\")\n\nusing QUBOInstances","category":"page"},{"location":"#Basic-Example","page":"Home","title":"Basic Example","text":"","category":"section"},{"location":"","page":"Home","title":"Home","text":"using QUBOInstances\n\n# Get code of the first registered collection\ncoll = first(list_collections())\n\n# Get code of the first instance from that collection\ninst = first(list_instances(coll))\n\n# Eetrieve QUBOTools model\nload_instance(coll, inst)","category":"page"},{"location":"#Accessing-the-instance-index-database","page":"Home","title":"Accessing the instance index database","text":"","category":"section"},{"location":"","page":"Home","title":"Home","text":"using QUBOInstances","category":"page"},{"location":"","page":"Home","title":"Home","text":"using SQLite, DataFrames\n\ndb = QUBOInstances.database()\n\ndf = DBInterface.execute(\n db,\n \"SELECT collection, instance FROM instances WHERE size BETWEEN 100 AND 200;\"\n) |> DataFrame\n\nmodels = [\n load_instance(coll, inst)\n for (coll, inst) in zip(df[!,:collection], df[!,:instance])\n]\n\nfirst(models)","category":"page"},{"location":"database/#Database","page":"Database","title":"Database","text":"","category":"section"},{"location":"database/","page":"Database","title":"Database","text":"In this section we discuss the decisions and specifications behind the construction of the database.","category":"page"}] +[{"location":"api/#API","page":"API","title":"API","text":"","category":"section"},{"location":"api/#List-items","page":"API","title":"List items","text":"","category":"section"},{"location":"api/","page":"API","title":"API","text":"QUBOLib.list_collections\nQUBOLib.list_instances","category":"page"},{"location":"api/#QUBOLib.list_collections","page":"API","title":"QUBOLib.list_collections","text":"list_collections()\n\nList the codes of the registered collections.\n\n\n\n\n\n","category":"function"},{"location":"api/#QUBOLib.list_instances","page":"API","title":"QUBOLib.list_instances","text":"list_instances(collection::AbstractString)\n\nLists the codes for all instances in a collection.\n\n\n\n\n\n","category":"function"},{"location":"api/#Load-instances","page":"API","title":"Load instances","text":"","category":"section"},{"location":"api/","page":"API","title":"API","text":"QUBOLib.load_instance","category":"page"},{"location":"api/#QUBOLib.load_instance","page":"API","title":"QUBOLib.load_instance","text":"load_instance(collection::AbstractString, instance::AbstractString)\n\nLoads a specific instance for a given collection as a QUBOTools model.\n\n\n\n\n\n","category":"function"},{"location":"#QUBOLib.jl","page":"Home","title":"QUBOLib.jl","text":"","category":"section"},{"location":"#Getting-Started","page":"Home","title":"Getting Started","text":"","category":"section"},{"location":"#Installation","page":"Home","title":"Installation","text":"","category":"section"},{"location":"","page":"Home","title":"Home","text":"import Pkg\n\nPkg.add(url=\"https://github.com/pedromxavier/QUBOLib.jl\")\n\nusing QUBOLib","category":"page"},{"location":"#Basic-Example","page":"Home","title":"Basic Example","text":"","category":"section"},{"location":"","page":"Home","title":"Home","text":"using QUBOLib\n\n# Get code of the first registered collection\ncoll = first(list_collections())\n\n# Get code of the first instance from that collection\ninst = first(list_instances(coll))\n\n# Eetrieve QUBOTools model\nload_instance(coll, inst)","category":"page"},{"location":"#Accessing-the-instance-index-database","page":"Home","title":"Accessing the instance index database","text":"","category":"section"},{"location":"","page":"Home","title":"Home","text":"using QUBOLib","category":"page"},{"location":"","page":"Home","title":"Home","text":"using SQLite, DataFrames\n\ndb = QUBOLib.database()\n\ndf = DBInterface.execute(\n db,\n \"SELECT collection, instance FROM instances WHERE size BETWEEN 100 AND 200;\"\n) |> DataFrame\n\nmodels = [\n load_instance(coll, inst)\n for (coll, inst) in zip(df[!,:collection], df[!,:instance])\n]\n\nfirst(models)","category":"page"},{"location":"database/#Database","page":"Database","title":"Database","text":"","category":"section"},{"location":"database/","page":"Database","title":"Database","text":"In this section we discuss the decisions and specifications behind the construction of the database.","category":"page"}] }