Skip to content

Commit

Permalink
Merge pull request #534 from blegat/solve
Browse files Browse the repository at this point in the history
Update to upcoming v0.3 release of SemialgebraicSets
  • Loading branch information
saschatimme committed Jun 28, 2023
2 parents cbb5a3d + 1e45359 commit d4909ab
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ TreeViews = "a2a6695c-b41b-5b7d-aed9-dbfdeacea5d7"

[compat]
Arblib = "0.7,0.8"
DynamicPolynomials = "0.3, 0.4"
DynamicPolynomials = "0.5"
ElasticArrays = "1"
FiniteDiff = "2.15"
IntervalTrees = "1.1"
LRUCache = "1.3"
LoopVectorization = "0.12"
MixedSubdivisions = "1"
MultivariatePolynomials = "0.4"
MultivariatePolynomials = "0.5"
Parameters = "0.12"
PrettyTables = "2.1"
ProgressMeter = "1.7.2"
ProjectiveVectors = "1.1"
Reexport = "0.2, 1.0"
SemialgebraicSets = "0.2.5"
SemialgebraicSets = "0.3"
SimpleGraphs = "0.8"
StructArrays = "0.6"
SymEngine_jll = "0.9"
Expand Down
16 changes: 15 additions & 1 deletion src/semialgebraic_sets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ SemialgebraicSetsHCSolver(;
(compile = compile, options...),
)

function SemialgebraicSets.default_gröbner_basis_algorithm(
::Any,
::SemialgebraicSetsHCSolver,
)
return SemialgebraicSets.NoAlgorithm()
end

function SemialgebraicSets.promote_for(
::Type{T},
::Type{SemialgebraicSetsHCSolver},
) where {T}
return float(T)
end

function Base.show(io::IO, solver::SemialgebraicSetsHCSolver)
print(io, "SemialgebraicSetsHCSolver(; ")
if solver.excess_residual_tol !== nothing
Expand Down Expand Up @@ -87,7 +101,7 @@ function _reconsider_excess_solutions(tracker::OverdeterminedTracker, results, t
end
end

function SemialgebraicSets.solvealgebraicequations(
function SemialgebraicSets.solve(
V::SemialgebraicSets.AbstractAlgebraicSet,
hcsolver::SemialgebraicSetsHCSolver,
)
Expand Down

0 comments on commit d4909ab

Please sign in to comment.