Skip to content

Commit c2a1de7

Browse files
committed
update documentation
1 parent 25cd46c commit c2a1de7

5 files changed

Lines changed: 14 additions & 4 deletions

File tree

src/OperationsResearchModels.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ module OperationsResearchModels
22

33
using JuMP, HiGHS
44

5+
# This function has several methods to solve different types of problems including:
6+
# solve(t::TransportationProblem)::TransportationResult
7+
# solve(s::ShortestPathProblem)::ShortestPathResult
8+
# solve(m::MaximumFlowProblem)::MaximumFlowResult
9+
# solve(a::AssignmentProblem)::AssignmentResult
10+
# solve(g::Game)::GameResult
11+
# solve(m::MstProblem)::MstResult
512
solve() = nothing
613

714
export solve

src/cpm.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ end
245245
solve(problem::PertProblem)::PertResult
246246
247247
# Arguments
248+
248249
- `problem::PertProblem`: The problem in type of PertProblem.
249250
250251
# Example

src/maximumflow.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ end
2626
2727
# Arguments
2828
29-
`problem::MaximumFlowProblem`: The problem in type of MaximumFlowProblem
29+
- `problem::MaximumFlowProblem`: The problem in type of MaximumFlowProblem
3030
3131
# Output
3232
33-
`MaximumFlowResult`: The custom data type that holds path and flow.
33+
- `MaximumFlowResult`: The custom data type that holds path and flow.
3434
3535
# Example
3636

src/mst.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,15 @@ end
9595
solve(problem::MstProblem)
9696
9797
# Arguments
98+
9899
- `problem::MstProblem`: The problem in type of MstProblem
99100
100101
# Description
101102
102103
Obtains the minimum spanning tree.
103104
104105
# Output
106+
105107
- `::MstResult`: A MstResult object that holds the results.
106108
107109
# Examples

src/shortestpath.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ Solves a shortest path problem given by an object of in type `ShortestPathProble
3131
3232
# Arguments
3333
34-
`problem::ShortestPathProblem`: The problem in type of ShortestPathProblem
34+
- `problem::ShortestPathProblem`: The problem in type of ShortestPathProblem
3535
3636
# Output
3737
38-
`ShortestPathResult`: The custom data type that holds path and cost.
38+
- `ShortestPathResult`: The custom data type that holds path and cost.
3939
4040
# Example
4141

0 commit comments

Comments
 (0)