Comments (4)
Yes, there should be a rounding to the nearest integer value in such cases. I will create a patch to solve the issue, probably next week.
from optimus.
Is it possible to provide an example program that this issue appears in order to be able to test the changes that I made into the code?
from optimus.
If u clone this: https://github.com/da-steve101/chisel-utils
checkout branch optimusTest and run sbt "testOnly *SumSchedulerSuite"
To verify your change look at the following locations:
https://github.com/da-steve101/chisel-utils/blob/optimusTest/src/main/scala/chiselutils/math/SumScheduler.scala#L517
https://github.com/da-steve101/chisel-utils/blob/optimusTest/src/main/scala/chiselutils/math/SumScheduler.scala#L528
https://github.com/da-steve101/chisel-utils/blob/optimusTest/src/main/scala/chiselutils/math/SumScheduler.scala#L538
https://github.com/da-steve101/chisel-utils/blob/optimusTest/src/main/scala/chiselutils/math/SumScheduler.scala#L540
Sorry the codes a bit crappy btw. Was just seeing if I could use ILP for something ( turns out I can't )
from optimus.
The examples on this issue are outdated since Optimus has been undergone major changes and updates in version 3.0.0. If you still has this problem please send me an example using the newer version.
Thank you.
from optimus.
Related Issues (20)
- Binary Variable returning value 0.502.... HOT 4
- Constant constraints in gurobi solver. HOT 3
- java.lang.RuntimeException: OJalgo dependency is missing [CBT build] HOT 5
- Constant in cost function HOT 2
- Quadratic objective function + integer variable constraints? HOT 9
- Change in implicit behavior in 3.0.0 ? HOT 5
- OJSolver Outputs Incorrect Solution For Minimization Problem HOT 4
- Comparison of constraints and expressions is broken HOT 2
- Trigger log output HOT 3
- Problem solving models sequentially (Gurobi bronze license) HOT 3
- Warm start HOT 4
- No such method error while instantiating model HOT 3
- java.lang.IllegalStateException when using ojSolver HOT 1
- ojSolver: Time abort not working in case of feasible state HOT 4
- Incorrect quadratic expression? HOT 3
- Value positive is not a member of object optimus.optimization.model.MPFloatVar HOT 4
- Using division in Expressions HOT 1
- Published version 3.4.0 does not work HOT 7
- installation instructions: `sbt dist` not a valid command HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optimus.