Skip to content

Commit 9c411b9

Browse files
committed
whitespaces
1 parent 556fada commit 9c411b9

File tree

9 files changed

+87
-89
lines changed

9 files changed

+87
-89
lines changed

.github/workflows/build-nuget-package.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
name: macos-x64
3030
path: ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
31-
31+
3232
# Build macos arm64
3333
build_macos_arm:
3434
runs-on: macos-14 # macos-14 is arm64
@@ -51,14 +51,14 @@ jobs:
5151
name: macos-arm64
5252
path: ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
5353

54-
# Build windows 32 and linux
54+
# Build windows 32 and linux
5555
build_windows_32:
5656
runs-on: windows-latest
5757
steps:
5858
- uses: actions/checkout@v4
5959
- name: Build HiGHS
6060
run: |
61-
cmake -E make_directory ${{runner.workspace}}/build32
61+
cmake -E make_directory ${{runner.workspace}}/build32
6262
6363
- name: Configure CMake win32
6464
shell: bash
@@ -139,10 +139,10 @@ jobs:
139139
working-directory: ${{runner.workspace}}/build
140140
shell: bash
141141
run: cmake --build . --config Release --parallel
142-
142+
143143
- name: Display structure of downloaded files
144144
run: |
145-
pwd
145+
pwd
146146
ls -R ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
147147
148148
- name: Download runtimes macos-x64
@@ -198,7 +198,7 @@ jobs:
198198
name: nuget
199199

200200
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
201-
steps:
201+
steps:
202202
- uses: actions/checkout@v4
203203
- uses: actions/setup-dotnet@v4
204204

@@ -208,6 +208,6 @@ jobs:
208208
name: nuget
209209

210210
- name: Dotnet push
211-
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json
211+
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json
212212
# env:
213213
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test-nuget-macos.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
3737
run: dotnet pack -c Release /p:Version=1.12.0
3838

39-
- name: Add local feed
39+
- name: Add local feed
4040
run: dotnet nuget add source ${{runner.workspace}}/nugets
4141

4242
- name: Dotnet push to local feed
@@ -48,12 +48,12 @@ jobs:
4848
working-directory: ${{runner.workspace}}/test_nuget
4949
run: |
5050
dotnet new console
51-
rm Program.cs
52-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
53-
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
51+
rm Program.cs
52+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
53+
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
5454
dotnet run
5555
56-
56+
5757
build_macos_arm:
5858
runs-on: macos-14 # macos-14 is arm64
5959
steps:
@@ -80,7 +80,7 @@ jobs:
8080
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
8181
run: dotnet pack -c Release /p:Version=1.12.0
8282

83-
- name: Add local feed
83+
- name: Add local feed
8484
run: dotnet nuget add source ${{runner.workspace}}/nugets
8585

8686
- name: Dotnet push to local feed
@@ -92,7 +92,7 @@ jobs:
9292
working-directory: ${{runner.workspace}}/test_nuget
9393
run: |
9494
dotnet new console
95-
rm Program.cs
96-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
97-
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
95+
rm Program.cs
96+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
97+
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
9898
dotnet run

.github/workflows/test-nuget-package.yml

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
3737
run: dotnet pack -c Release /p:Version=1.12.0
3838

39-
- name: Add local feed
39+
- name: Add local feed
4040
run: dotnet nuget add source ${{runner.workspace}}/nugets
4141

4242
- name: Dotnet push to local feed
@@ -48,13 +48,11 @@ jobs:
4848
working-directory: ${{runner.workspace}}/test_nuget
4949
run: |
5050
dotnet new console
51-
rm Program.cs
52-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
53-
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
51+
rm Program.cs
52+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
53+
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
5454
dotnet run
5555
56-
57-
5856
build_macos_arm:
5957
runs-on: macos-14 # macos-14 is arm64
6058
steps:
@@ -81,7 +79,7 @@ jobs:
8179
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
8280
run: dotnet pack -c Release /p:Version=1.12.0
8381

84-
- name: Add local feed
82+
- name: Add local feed
8583
run: dotnet nuget add source ${{runner.workspace}}/nugets
8684

8785
- name: Dotnet push to local feed
@@ -93,9 +91,9 @@ jobs:
9391
working-directory: ${{runner.workspace}}/test_nuget
9492
run: |
9593
dotnet new console
96-
rm Program.cs
97-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
98-
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
94+
rm Program.cs
95+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
96+
dotnet add package Highs.Native -s ${{runner.workspace}}/nugets
9997
dotnet run
10098
10199
build_linux:
@@ -125,7 +123,7 @@ jobs:
125123
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
126124
run: dotnet pack -c Release /p:Version=1.12.0
127125

128-
- name: Add local feed
126+
- name: Add local feed
129127
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
130128

131129
- name: Dotnet push to local feed
@@ -137,9 +135,9 @@ jobs:
137135
working-directory: /__w/HiGHS/HiGHS/test_nuget
138136
run: |
139137
dotnet new console
140-
rm Program.cs
141-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
142-
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
138+
rm Program.cs
139+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
140+
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
143141
dotnet run
144142
145143
build_linux_8:
@@ -169,7 +167,7 @@ jobs:
169167
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
170168
run: dotnet pack -c Release /p:Version=1.12.0
171169

172-
- name: Add local feed
170+
- name: Add local feed
173171
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
174172

175173
- name: Dotnet push to local feed
@@ -181,9 +179,9 @@ jobs:
181179
working-directory: /__w/HiGHS/HiGHS/test_nuget
182180
run: |
183181
dotnet new console
184-
rm Program.cs
185-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
186-
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
182+
rm Program.cs
183+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
184+
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
187185
dotnet run
188186
189187
build_windows:
@@ -205,7 +203,7 @@ jobs:
205203
shell: bash
206204
working-directory: ${{runner.workspace}}/build
207205
run: cmake --build . --config Release --parallel
208-
206+
209207
- uses: actions/setup-dotnet@v4
210208
with:
211209
dotnet-version: '6.0.x'
@@ -214,8 +212,8 @@ jobs:
214212
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
215213
run: dotnet pack -c Release /p:Version=1.12.0
216214

217-
- name: Add local feed
218-
run: dotnet nuget add source -n name ${{runner.workspace}}\nugets
215+
- name: Add local feed
216+
run: dotnet nuget add source -n name ${{runner.workspace}}\nugets
219217

220218
- name: Dotnet push to local feed
221219
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
@@ -226,7 +224,7 @@ jobs:
226224
working-directory: ${{runner.workspace}}/test_nuget
227225
run: |
228226
dotnet new console
229-
rm Program.cs
230-
cp ${{runner.workspace}}\HiGHS\examples\call_highs_from_csharp.cs .
231-
dotnet add package Highs.Native -v 1.12.0 -s ${{runner.workspace}}\nugets
227+
rm Program.cs
228+
cp ${{runner.workspace}}\HiGHS\examples\call_highs_from_csharp.cs .
229+
dotnet add package Highs.Native -v 1.12.0 -s ${{runner.workspace}}\nugets
232230
dotnet run

.github/workflows/test-nuget-ubuntu.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
3535
run: dotnet pack -c Release /p:Version=1.12.0
3636

37-
- name: Add local feed
37+
- name: Add local feed
3838
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
3939

4040
- name: Dotnet push to local feed
@@ -46,9 +46,9 @@ jobs:
4646
working-directory: /__w/HiGHS/HiGHS/test_nuget
4747
run: |
4848
dotnet new console
49-
rm Program.cs
50-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
51-
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
49+
rm Program.cs
50+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
51+
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
5252
dotnet run
5353
5454
build_linux_8:
@@ -78,7 +78,7 @@ jobs:
7878
working-directory: /__w/HiGHS/HiGHS/build/dotnet/Highs.Native
7979
run: dotnet pack -c Release /p:Version=1.12.0
8080

81-
- name: Add local feed
81+
- name: Add local feed
8282
run: dotnet nuget add source /__w/HiGHS/HiGHS/nugets
8383

8484
- name: Dotnet push to local feed
@@ -90,9 +90,9 @@ jobs:
9090
working-directory: /__w/HiGHS/HiGHS/test_nuget
9191
run: |
9292
dotnet new console
93-
rm Program.cs
94-
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
95-
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
93+
rm Program.cs
94+
cp $GITHUB_WORKSPACE/examples/call_highs_from_csharp.cs .
95+
dotnet add package Highs.Native -s /__w/HiGHS/HiGHS/nugets
9696
dotnet run
9797
9898

.github/workflows/test-nuget-win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
shell: bash
2727
working-directory: ${{runner.workspace}}/build
2828
run: cmake --build . --config Release --parallel
29-
29+
3030
- uses: actions/setup-dotnet@v4
3131
with:
3232
dotnet-version: '6.0.x'
@@ -35,7 +35,7 @@ jobs:
3535
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
3636
run: dotnet pack -c Release /p:Version=1.12.0
3737

38-
- name: Add local feed
38+
- name: Add local feed
3939
run: dotnet nuget add source -n name ${{runner.workspace}}\nugets
4040

4141
- name: Dotnet push to local feed
@@ -47,7 +47,7 @@ jobs:
4747
working-directory: ${{runner.workspace}}/test_nuget
4848
run: |
4949
dotnet new console
50-
rm Program.cs
50+
rm Program.cs
5151
cp ${{runner.workspace}}\HiGHS\examples\call_highs_from_csharp.cs .
5252
dotnet add package Highs.Native -v 1.12.0 -s ${{runner.workspace}}\nugets
5353
dotnet run

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
<!-- ![Build Status](https://github.com/ERGO-Code/HiGHS/actions/workflows/build.yml/badge.svg) -->
44

5-
[![Build Status][fast_build_svg]][fast_build_link]
6-
[![Build Status][linux_build_svg]][linux_build_link]
7-
[![Build Status][macos_build_svg]][macos_build_link]
8-
[![Build Status][windows_build_svg]][windows_build_link]
5+
[![Build Status][fast_build_svg]][fast_build_link]
6+
[![Build Status][linux_build_svg]][linux_build_link]
7+
[![Build Status][macos_build_svg]][macos_build_link]
8+
[![Build Status][windows_build_svg]][windows_build_link]
99
\
1010
[![Conan Center](https://img.shields.io/conan/v/highs)](https://conan.io/center/recipes/highs)
1111
\
@@ -152,35 +152,35 @@ options:
152152
--model_file file File of model to solve.
153153
--options_file file File containing HiGHS options.
154154
--read_solution_file file File of solution to read.
155-
--read_basis_file text File of initial basis to read.
155+
--read_basis_file text File of initial basis to read.
156156
--write_model_file text File for writing out model.
157157
--solution_file text File for writing out solution.
158158
--write_basis_file text File for writing out final basis.
159159
--presolve text Set presolve option to:
160-
"choose" * default
160+
"choose" * default
161161
"on"
162162
"off"
163-
--solver text Set solver option to:
164-
"choose" * default
163+
--solver text Set solver option to:
164+
"choose" * default
165165
"simplex"
166-
"ipm"
167-
--parallel text Set parallel option to:
168-
"choose" * default
169-
"on"
170-
"off"
171-
--run_crossover text Set run_crossover option to:
172-
"choose"
173-
"on" * default
174-
"off"
166+
"ipm"
167+
--parallel text Set parallel option to:
168+
"choose" * default
169+
"on"
170+
"off"
171+
--run_crossover text Set run_crossover option to:
172+
"choose"
173+
"on" * default
174+
"off"
175175
--time_limit float Run time limit (seconds - double).
176-
--random_seed int Seed to initialize random number
176+
--random_seed int Seed to initialize random number
177177
generation.
178-
--ranging text Compute cost, bound, RHS and basic
178+
--ranging text Compute cost, bound, RHS and basic
179179
solution ranging:
180-
"on"
181-
"off" * default
180+
"on"
181+
"off" * default
182182
-v, --version Print version.
183-
-h, --help Print help.
183+
-h, --help Print help.
184184

185185
```
186186
For a full list of options, see the [options page](https://ergo-code.github.io/HiGHS/stable/options/definitions/) of the documentation website.
@@ -212,20 +212,20 @@ The installation can be tested using the small example `HiGHS/examples/call_high
212212

213213
The [Google Colab Example Notebook](https://colab.research.google.com/drive/1JmHF53OYfU-0Sp9bzLw-D2TQyRABSjHb?usp=sharing) also demonstrates how to call `highspy`.
214214

215-
### C
215+
### C
216216
The C API is in `HiGHS/highs/interfaces/highs_c_api.h`. It is included in the default build. For more details, check out the documentation website https://ergo-code.github.io/HiGHS/.
217217

218218
### CSharp
219219

220-
The nuget package Highs.Native is on https://www.nuget.org, at https://www.nuget.org/packages/Highs.Native/.
220+
The nuget package Highs.Native is on https://www.nuget.org, at https://www.nuget.org/packages/Highs.Native/.
221221

222222
It can be added to your C# project with `dotnet`
223223

224224
```shell
225225
dotnet add package Highs.Native --version 1.12.0
226226
```
227227

228-
The nuget package contains runtime libraries for
228+
The nuget package contains runtime libraries for
229229

230230
* `win-x64`
231231
* `win-x32`
@@ -236,7 +236,7 @@ The nuget package contains runtime libraries for
236236

237237
Details for building locally can be found in `nuget/README.md`.
238238

239-
### Fortran
239+
### Fortran
240240

241241
The Fortran API is in `HiGHS/highs/interfaces/highs_fortran_api.f90`. It is *not* included in the default build. For more details, check out the documentation website https://ergo-code.github.io/HiGHS/.
242242

0 commit comments

Comments
 (0)