Skip to content

Commit

Permalink
Merge branch 'typo-fix' into hull-performance-reference-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
emma58 committed Sep 9, 2024
2 parents a0b2437 + 838d560 commit 27e51b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/doc/samples/case_studies/diet/DietProblem.tex
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ \subsection*{Build the model}

The comma indicates that this parameter is over two different sets, and thus is in two dimensions. When we create the data file, we will be able to fill in how much of each nutrient each food contains.

At this point we have defined our sets and parameters. However, we have yet to cosnider the amount of food to be bought and eaten. This is the variable weâre trying to solve for, and thus we create an object of the variable class. Since this is just recording how much food to purchase, we create a one dimensional variable over food:
At this point we have defined our sets and parameters. However, we have yet to consider the amount of food to be bought and eaten. This is the variable weâre trying to solve for, and thus we create an object of the variable class. Since this is just recording how much food to purchase, we create a one dimensional variable over food:

\begin{verbatim}model.amount=Var(model.foods, within = NonNegativeReals) \end{verbatim}

Expand Down
2 changes: 1 addition & 1 deletion examples/doc/samples/case_studies/diet/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ model.nutrient_value=Param(model.nutrients, model.foods)

The comma indicates that this parameter is over two different sets, and thus is in two dimensions. When we create the data file, we will be able to fill in how much of each nutrient each food contains.

At this point we have defined our sets and parameters. However, we have yet to cosnider the amount of food to be bought and eaten. This is the variable we're trying to solve for, and thus we create an object of the variable class. Since this is just recording how much food to purchase, we create a one dimensional variable over food:
At this point we have defined our sets and parameters. However, we have yet to consider the amount of food to be bought and eaten. This is the variable we're trying to solve for, and thus we create an object of the variable class. Since this is just recording how much food to purchase, we create a one dimensional variable over food:

{{{
#!python
Expand Down

0 comments on commit 27e51b7

Please sign in to comment.